1 2015-06-30 Torvald Riegel <triegel@redhat.com>
3 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
4 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
6 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8 * sysdeps/x86_64/bits/atomic.h: Likewise.
9 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10 to atomic_spin_nop and move ...
11 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15 atomic_spin_nop instead of BUSY_WAIT_NOP.
16 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
22 instead of atomic_delay.
24 2015-06-29 Joseph Myers <joseph@codesourcery.com>
27 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28 X_ADJ not X when adjusting exponent.
29 (__ieee754_gamma_r): Do intermediate computations in
30 round-to-nearest then adjust overflowing and underflowing results
32 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33 of X_ADJ not X when adjusting exponent.
34 (__ieee754_gammaf_r): Do intermediate computations in
35 round-to-nearest then adjust overflowing and underflowing results
37 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
38 log of X_ADJ not X when adjusting exponent.
39 (__ieee754_gammal_r): Do intermediate computations in
40 round-to-nearest then adjust overflowing and underflowing results
41 as needed. Use 1.0L not 1.0f as numerator of division.
42 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
43 log of X_ADJ not X when adjusting exponent.
44 (__ieee754_gammal_r): Do intermediate computations in
45 round-to-nearest then adjust overflowing and underflowing results
46 as needed. Use 1.0L not 1.0f as numerator of division.
47 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
48 of X_ADJ not X when adjusting exponent.
49 (__ieee754_gammal_r): Do intermediate computations in
50 round-to-nearest then adjust overflowing and underflowing results
51 as needed. Use 1.0L not 1.0f as numerator of division.
52 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
54 (tgamma_test): Use ALL_RM_TEST.
55 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
56 tests of tgamma with spurious-overflow.
57 * math/auto-libm-test-out: Regenerated.
58 * math/gen-libm-have-vector-test.sh: Do not check for START.
59 * sysdeps/i386/fpu/libm-test-ulps: Update.
60 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
64 arguments, just return 0.5 times the argument, with underflow
66 * math/auto-libm-test-in: Add more tests of j1.
67 * math/auto-libm-test-out: Regenerated.
70 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
71 (__ieee754_j1): Force underflow exception for small results.
72 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
73 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
74 (__ieee754_j1f): Force underflow exception for small results.
75 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
76 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
77 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
78 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
79 (__ieee754_j1l): Force underflow exception for small results.
80 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
81 * math/auto-libm-test-in: Add more tests of j1 and jn.
82 * math/auto-libm-test-out: Regenerated.
84 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
85 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
89 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
91 (MS_RMT_MASK): Include MS_LAZYTIME.
93 2015-06-26 Mel Gorman <mgorman@suse.de>
96 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
99 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
101 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
102 (DT_MIPS_NUM): Update.
103 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
106 2015-06-25 Joseph Myers <joseph@codesourcery.com>
110 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
111 round-to-nearest internally then recompute results that
112 underflowed to zero in the original rounding mode.
113 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
114 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
116 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
117 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
123 * NEWS: Fixed description of link with vector math library.
125 2015-06-25 Andreas Schwab <schwab@suse.de>
128 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
129 * libio/test-fmemopen.c (do_test): Add test for it.
131 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
134 * Makeconfig (no-pie-ldflag): New.
135 (+link): Set to $(+link-pie) if default to PIE.
136 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
137 * config.make.in (build-pie-default): New.
138 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
139 is default. AC_SUBST.
140 * configure: Regenerated.
141 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
143 2015-06-24 Roland McGrath <roland@hack.frob.com>
145 * nptl/descr.h (struct pthread): Change type of field setxid_futex
148 * resolv/gai_misc.h (struct waitlist): Change type of field
149 counterp to 'volatile unsigned int *'.
150 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
151 FUTEXADDR and OLDVAL.
152 * resolv/getaddrinfo_a.c (getaddrinfo_a):
153 Give local variable TOTAL type 'volatile unsigned int'.
154 (struct async_waitlist): Change type of field counter to 'unsigned int'.
155 * resolv/gai_suspend.c (gai_suspend):
156 Give local variable CNTR type 'unsigned int'.
158 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
159 counterp to 'volatile unsigned int *'.
160 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
161 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
162 (aio_suspend): Give local variable CNTR type 'unsigned int'.
163 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
164 Give local variable TOTAL type 'volatile unsigned int'.
165 (struct async_waitlist): Change type of field counter to 'unsigned int'.
167 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
170 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
171 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
172 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
173 comment for i386/x86-64.
174 (test-xfail-tst-tlsalign-extern-static): Removed.
176 2015-06-24 Joseph Myers <joseph@codesourcery.com>
178 * math/test-double.h: New file.
179 * math/test-float.h: Likewise.
180 * math/test-ldouble.h: Likewise.
181 * math/test-math-inline.h: Likewise.
182 * math/test-math-no-inline.h: Likewise.
183 * math/test-math-scalar.h: Likewise.
184 * math/test-math-vector.h: Likewise.
185 * math/test-vec-loop.h: Remove file. Contents moved into
187 * math/libm-test.inc (MATHCONST): Do not document macro.
188 * math/test-double.c: Include test-double.h, test-math-no-inline.h
189 and test-math-scalar.h.
190 (FUNC): Remove macro.
191 (FUNC_TEST): Likewise.
193 (MATHCONST): Likewise.
194 (PRINTF_EXPR): Likewise.
195 (PRINTF_XEXPR): Likewise.
196 (PRINTF_NEXPR): Likewise.
197 (TEST_DOUBLE): Likewise.
198 (TEST_MATHVEC): Likewise.
199 (__NO_MATH_INLINES): Likewise.
200 * math/test-float.c: Include test-float.h, test-math-no-inline.h
201 and test-math-scalar.h.
202 (FUNC): Remove macro.
203 (FUNC_TEST): Likewise.
205 (MATHCONST): Likewise.
206 (PRINTF_EXPR): Likewise.
207 (PRINTF_XEXPR): Likewise.
208 (PRINTF_NEXPR): Likewise.
209 (TEST_FLOAT): Likewise.
210 (TEST_MATHVEC): Likewise.
211 (__NO_MATH_INLINES): Likewise.
212 * math/test-idouble.c: Include test-double.h, test-math-inline.h
213 and test-math-scalar.h.
214 (FUNC): Remove macro.
215 (FUNC_TEST): Likewise.
217 (MATHCONST): Likewise.
218 (PRINTF_EXPR): Likewise.
219 (PRINTF_XEXPR): Likewise.
220 (PRINTF_NEXPR): Likewise.
221 (TEST_DOUBLE): Likewise.
222 (TEST_MATHVEC): Likewise.
223 (TEST_INLINE): Likewise.
224 (__NO_MATH_INLINES): Likewise.
225 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
227 (FUNC): Remove macro.
228 (FUNC_TEST): Likewise.
230 (MATHCONST): Likewise.
231 (PRINTF_EXPR): Likewise.
232 (PRINTF_XEXPR): Likewise.
233 (PRINTF_NEXPR): Likewise.
234 (TEST_FLOAT): Likewise.
235 (TEST_MATHVEC): Likewise.
236 (TEST_INLINE): Likewise.
237 (__NO_MATH_INLINES): Likewise.
238 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
239 and test-math-scalar.h.
240 (FUNC): Remove macro.
241 (FUNC_TEST): Likewise.
243 (MATHCONST): Likewise.
244 (PRINTF_EXPR): Likewise.
245 (PRINTF_XEXPR): Likewise.
246 (PRINTF_NEXPR): Likewise.
247 (TEST_LDOUBLE): Likewise.
248 (TEST_MATHVEC): Likewise.
249 (TEST_INLINE): Likewise.
250 (__NO_MATH_INLINES): Likewise.
251 * math/test-ldouble.c: Include test-ldouble.h,
252 test-math-no-inline.h and test-math-scalar.h.
253 (FUNC): Remove macro.
254 (FUNC_TEST): Likewise.
256 (MATHCONST): Likewise.
257 (PRINTF_EXPR): Likewise.
258 (PRINTF_XEXPR): Likewise.
259 (PRINTF_NEXPR): Likewise.
260 (TEST_LDOUBLE): Likewise.
261 (TEST_MATHVEC): Likewise.
262 (__NO_MATH_INLINES): Likewise.
263 * math/test-double-vlen2.h: Include test-double.h,
264 test-math-no-inline.h and test-math-vector.h.
265 (FLOAT): Remove macro.
267 (MATHCONST): Likewise.
268 (PRINTF_EXPR): Likewise.
269 (PRINTF_XEXPR): Likewise.
270 (PRINTF_NEXPR): Likewise.
271 (TEST_DOUBLE): Likewise.
272 (TEST_MATHVEC): Likewise.
273 (__NO_MATH_INLINES): Likewise.
276 (WRAPPER_NAME): Likewise.
277 (WRAPPER_DECL): Likewise.
278 (WRAPPER_DECL_ff): Likewise.
279 (WRAPPER_DECL_fFF): Likewise.
280 (VECTOR_WRAPPER): Likewise.
281 (VECTOR_WRAPPER_ff): Likewise.
282 (VECTOR_WRAPPER_fFF): Likewise.
283 (VEC_LEN): New macro.
284 * math/test-double-vlen4.h: Include test-double.h,
285 test-math-no-inline.h and test-math-vector.h.
286 (FLOAT): Remove macro.
288 (MATHCONST): Likewise.
289 (PRINTF_EXPR): Likewise.
290 (PRINTF_XEXPR): Likewise.
291 (PRINTF_NEXPR): Likewise.
292 (TEST_DOUBLE): Likewise.
293 (TEST_MATHVEC): Likewise.
294 (__NO_MATH_INLINES): Likewise.
297 (WRAPPER_NAME): Likewise.
298 (WRAPPER_DECL): Likewise.
299 (WRAPPER_DECL_ff): Likewise.
300 (WRAPPER_DECL_fFF): Likewise.
301 (VECTOR_WRAPPER): Likewise.
302 (VECTOR_WRAPPER_ff): Likewise.
303 (VECTOR_WRAPPER_fFF): Likewise.
304 (VEC_LEN): New macro.
305 * math/test-double-vlen8.h: Include test-double.h,
306 test-math-no-inline.h and test-math-vector.h.
307 (FLOAT): Remove macro.
309 (MATHCONST): Likewise.
310 (PRINTF_EXPR): Likewise.
311 (PRINTF_XEXPR): Likewise.
312 (PRINTF_NEXPR): Likewise.
313 (TEST_DOUBLE): Likewise.
314 (TEST_MATHVEC): Likewise.
315 (__NO_MATH_INLINES): Likewise.
318 (WRAPPER_NAME): Likewise.
319 (WRAPPER_DECL): Likewise.
320 (WRAPPER_DECL_ff): Likewise.
321 (WRAPPER_DECL_fFF): Likewise.
322 (VECTOR_WRAPPER): Likewise.
323 (VECTOR_WRAPPER_ff): Likewise.
324 (VECTOR_WRAPPER_fFF): Likewise.
325 (VEC_LEN): New macro.
326 * math/test-float-vlen4.h: Include test-float.h,
327 test-math-no-inline.h and test-math-vector.h.
328 (FLOAT): Remove macro.
330 (MATHCONST): Likewise.
331 (PRINTF_EXPR): Likewise.
332 (PRINTF_XEXPR): Likewise.
333 (PRINTF_NEXPR): Likewise.
334 (TEST_FLOAT): Likewise.
335 (TEST_MATHVEC): Likewise.
336 (__NO_MATH_INLINES): Likewise.
339 (WRAPPER_NAME): Likewise.
340 (WRAPPER_DECL): Likewise.
341 (WRAPPER_DECL_ff): Likewise.
342 (WRAPPER_DECL_fFF): Likewise.
343 (VECTOR_WRAPPER): Likewise.
344 (VECTOR_WRAPPER_ff): Likewise.
345 (VECTOR_WRAPPER_fFF): Likewise.
346 (VEC_LEN): New macro.
347 * math/test-float-vlen8.h: Include test-float.h,
348 test-math-no-inline.h and test-math-vector.h.
349 (FLOAT): Remove macro.
351 (MATHCONST): Likewise.
352 (PRINTF_EXPR): Likewise.
353 (PRINTF_XEXPR): Likewise.
354 (PRINTF_NEXPR): Likewise.
355 (TEST_FLOAT): Likewise.
356 (TEST_MATHVEC): Likewise.
357 (__NO_MATH_INLINES): Likewise.
360 (WRAPPER_NAME): Likewise.
361 (WRAPPER_DECL): Likewise.
362 (WRAPPER_DECL_ff): Likewise.
363 (WRAPPER_DECL_fFF): Likewise.
364 (VECTOR_WRAPPER): Likewise.
365 (VECTOR_WRAPPER_ff): Likewise.
366 (VECTOR_WRAPPER_fFF): Likewise.
367 (VEC_LEN): New macro.
368 * math/test-float-vlen16.h: Include test-float.h,
369 test-math-no-inline.h and test-math-vector.h.
370 (FLOAT): Remove macro.
372 (MATHCONST): Likewise.
373 (PRINTF_EXPR): Likewise.
374 (PRINTF_XEXPR): Likewise.
375 (PRINTF_NEXPR): Likewise.
376 (TEST_FLOAT): Likewise.
377 (TEST_MATHVEC): Likewise.
378 (__NO_MATH_INLINES): Likewise.
381 (WRAPPER_NAME): Likewise.
382 (WRAPPER_DECL): Likewise.
383 (WRAPPER_DECL_ff): Likewise.
384 (WRAPPER_DECL_fFF): Likewise.
385 (VECTOR_WRAPPER): Likewise.
386 (VECTOR_WRAPPER_ff): Likewise.
387 (VECTOR_WRAPPER_fFF): Likewise.
388 (VEC_LEN): New macro.
389 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
391 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
392 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
393 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
394 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
395 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
396 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
397 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
399 2015-06-24 Roland McGrath <roland@hack.frob.com>
401 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
402 (__getlogin_r): ... this.
404 2015-06-24 Joseph Myers <joseph@codesourcery.com>
407 * math/s_ccosh.c (__ccosh): Compare with least normal value
408 instead of comparing class with FP_SUBNORMAL.
409 * math/s_ccoshf.c (__ccoshf): Likewise.
410 * math/s_ccoshl.c (__ccoshl): Likewise.
411 * math/s_cexp.c (__cexp): Likewise.
412 * math/s_cexpf.c (__cexpf): Likewise.
413 * math/s_cexpl.c (__cexpl): Likewise.
414 * math/s_csin.c (__csin): Likewise.
415 * math/s_csinf.c (__csinf): Likewise.
416 * math/s_csinh.c (__csinh): Likewise.
417 * math/s_csinhf.c (__csinhf): Likewise.
418 * math/s_csinhl.c (__csinhl): Likewise.
419 * math/s_csinl.c (__csinl): Likewise.
420 * math/s_ctan.c (__ctan): Likewise.
421 * math/s_ctanf.c (__ctanf): Likewise.
422 * math/s_ctanh.c (__ctanh): Likewise.
423 * math/s_ctanhf.c (__ctanhf): Likewise.
424 * math/s_ctanhl.c (__ctanhl): Likewise.
425 * math/s_ctanl.c (__ctanl): Likewise.
426 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
427 csin, csinh, ctan and ctanh.
428 * math/auto-libm-test-out: Regenerated.
429 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
430 * sysdeps/i386/fpu/libm-test-ulps: Update.
431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433 2015-06-24 Roland McGrath <roland@hack.frob.com>
435 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
436 return value is wrong, print the expected value too.
438 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
441 * elf/readlib.c (is_gdb_python_file): New.
442 (process_file): Don't issue errors on filenames with -gdb.py
445 2015-06-24 Joseph Myers <joseph@codesourcery.com>
447 * math/auto-libm-test-in: Add more tests of csin and csinh.
448 * math/auto-libm-test-out: Regenerated.
449 * math/libm-test.inc (csin_test_data): Remove tests moved to
451 (csinh_test_data): Likewise.
454 * math/s_csin.c (__csin): Negate before rather than after possibly
455 overflowing multiplication.
456 * math/s_csinf.c (__csinf): Likewise.
457 * math/s_csinh.c (__csinh): Likewise.
458 * math/s_csinhf.c (__csinhf): Likewise.
459 * math/s_csinhl.c (__csinhl): Likewise.
460 * math/s_csinl.c (__csinl): Likewise.
461 * math/auto-libm-test-in: Add some tests of csin and csinh.
462 * math/auto-libm-test-out: Regenerated.
463 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
464 (csinh_test_data): Likewise.
465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
468 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
469 underflow exception for small results.
471 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
473 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
474 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
475 variable and included header.
476 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
477 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
478 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
479 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
480 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
481 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
482 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
483 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
484 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
485 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
486 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
487 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
488 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
489 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
490 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
491 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
493 2015-06-23 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
498 (__sin): Force underflow exception for arguments with small
500 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
501 (__kernel_sinf): Force underflow exception for arguments with
502 small absolute value.
503 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
504 (__kernel_sincosl): Force underflow exception for arguments with
505 small absolute value.
506 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
507 (__kernel_sinl): Force underflow exception for arguments with
508 small absolute value.
509 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
510 (__kernel_sincosl): Force underflow exception for arguments with
511 small absolute value.
512 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
513 (__kernel_sinl): Force underflow exception for arguments with
514 small absolute value.
515 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
516 (__kernel_sinl): Force underflow exception for arguments with
517 small absolute value.
518 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
519 (__kernel_sinf): Force underflow exception for arguments with
520 small absolute value.
521 * math/auto-libm-test-in: Add more tests of sin and sincos.
522 * math/auto-libm-test-out: Regenerated.
526 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
527 (__kernel_standard_l): Use feholdexcept and fesetenv around
528 conversion to double instead of special-casing overflow and
530 * math/libm-test.inc (fmod_test_data): Add more tests.
531 (remainder_test_data): Likewise.
532 (sqrt_test_data): Likewise.
534 2015-06-23 Torvald Riegel <triegel@redhat.com>
537 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
538 atomic_read_barrier, atomic_write_barrier): Define.
539 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
540 atomic_read_barrier, atomic_write_barrier): Define.
542 2015-06-23 Joseph Myers <joseph@codesourcery.com>
544 * math/Makefile [$(PERL) != no]
545 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
546 dependency on libm-test.stmp below the inclusion of Rules.
548 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
550 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
551 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
553 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
554 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
555 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
556 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
557 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
558 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
559 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
560 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
561 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
562 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
563 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
564 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
565 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
566 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
567 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
568 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
569 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
570 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
571 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
573 2015-06-23 Joseph Myers <joseph@codesourcery.com>
576 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
577 intermediate but not final result might underflow.
578 * math/s_csqrtf.c (__csqrtf): Likewise.
579 * math/s_csqrtl.c (__csqrtl): Likewise.
580 * math/auto-libm-test-in: Add more tests of csqrt.
581 * math/auto-libm-test-out: Regenerated.
582 * sysdeps/i386/fpu/libm-test-ulps: Update.
585 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
586 threshold on absolute value of exponent for which scaling is used.
587 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
588 * math/auto-libm-test-in: Add more tests of exp2.
589 * math/auto-libm-test-out: Regenerated.
591 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
594 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
595 when initializing interface list, based on the bug analysis
596 and the patch proposed by Eric Newton.
597 * resolv/tst-res_hconf_reorder.c: New test.
598 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
599 tst-res_hconf_reorder.
600 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
601 and $(shared-thread-library).
602 (tst-res_hconf_reorder-ENV): New variable.
604 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
607 2015-06-22 Joseph Myers <joseph@codesourcery.com>
610 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
611 (__expm1): Force underflow exception for arguments with small
613 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
614 (__expm1f): Force underflow exception for arguments with small
616 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
617 (__expm1): Force underflow exception for arguments with small
619 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
620 (__expm1f): Force underflow exception for arguments with small
622 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
623 Check for small arguments before calling __expm1.
624 * math/auto-libm-test-in: Do not mark underflow exceptions as
625 possibly missing for bug 16353.
626 * math/auto-libm-test-out: Regenerated.
628 2015-06-22 Andreas Schwab <schwab@suse.de>
631 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
634 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
636 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
638 * string/strcoll_l.c: Remove unused struct element idxnow.
640 2015-06-21 Joseph Myers <joseph@codesourcery.com>
643 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
644 underflow and return argument in case of subnormal argument.
645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
647 * math/auto-libm-test-in: Add more tests of expm1.
648 * math/auto-libm-test-out: Regenerated.
651 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
652 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
654 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
655 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
657 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
658 mark underflow exceptions as possibly missing for bug 16361.
659 * math/auto-libm-test-out: Regenerated.
661 2015-06-19 Joseph Myers <joseph@codesourcery.com>
663 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
664 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
666 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
667 (test-xfail-XOPEN2K8/utmpx.h/conform).
669 * conform/conformtest.pl ($xerrors): New variable.
670 (note_error): New function.
671 (compiletest): New argument $xfail. Use not_error.
673 (top level): Handle xfail- lines. Update calls to compiletest and
674 runtest. Handle xfail- and optional- in headers listed with
676 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
678 (O_SEARCH): Likewise.
679 * conform/data/stropts.h-data (ioctl): Likewise.
680 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
681 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
682 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
683 (msghdr.msg_controllen): Likewise.
684 (cmsghdr.cmsg_len): Likewise.
685 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
686 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
688 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
689 (test-xfail-XPG4/stropts.h/conform): Likewise.
690 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
691 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
692 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
693 (test-xfail-UNIX98/stropts.h/conform): Likewise.
694 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
695 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
696 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
697 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
698 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
699 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
700 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
701 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
702 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
703 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
704 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
705 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
706 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
707 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
708 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
710 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
712 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
713 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
714 definitions for proper unfolding of __MATHDECL_VEC.
716 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
718 * benchtests/bench-strcoll.c:
720 (main): Remove unused variable res.
722 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
724 * timezone/Makefile (%/UTC %/Universal):
725 Generate test-result files for UTC and Universal.
727 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
729 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
731 2015-06-18 Joseph Myers <joseph@codesourcery.com>
734 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
735 for arguments with small absolute value.
736 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
737 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
738 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
739 (__asinh): Force underflow exception for arguments with small
741 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
742 (__asinhf): Force underflow exception for arguments with small
744 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
745 (__asinhl): Force underflow exception for arguments with small
747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
748 (__asinhl): Force underflow exception for arguments with small
750 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
751 (__asinhl): Force underflow exception for arguments with small
753 * math/auto-libm-test-in: Do not mark underflow exceptions as
754 possibly missing for bug 16350.
755 * math/auto-libm-test-out: Regenerated.
757 * include/bits/ipc.h: Remove file.
758 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
760 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
761 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
762 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
763 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
764 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
765 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
766 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
767 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
768 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
770 * math/auto-libm-test-in: Remove spurious underflow allowance for
772 * math/auto-libm-test-out: Regenerated.
775 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
776 unconditional definition.
777 (MCAST_BLOCK_SOURCE): Likewise.
778 (MCAST_UNBLOCK_SOURCE): Likewise.
779 (MCAST_LEAVE_GROUP): Likewise.
780 (MCAST_JOIN_SOURCE_GROUP): Likewise.
781 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
782 (MCAST_MSFILTER): Likewise.
783 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
785 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
786 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
787 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
788 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
789 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
791 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
793 * NEWS: Mention addition of x86_64 vector sincosf.
794 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
795 * math/test-float-vlen4.h: Likewise.
796 * math/test-float-vlen8.h: Likewise.
797 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
798 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
799 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
800 * sysdeps/x86_64/fpu/Versions: New versions added.
801 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
802 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
803 Added build of SSE, AVX2 and AVX512 IFUNC versions.
804 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
805 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
806 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
807 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
808 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
809 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
810 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
811 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
812 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
813 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
814 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
815 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
816 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
817 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
818 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
819 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
820 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
821 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
822 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
823 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
824 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
826 * NEWS: Mention addition of x86_64 vector sincos.
827 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
828 * math/math.h (__MATHDECL_VEC): New macro.
829 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
830 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
831 declaration under condition.
832 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
833 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
834 TEST_VEC_LOOP change.
835 * math/test-double-vlen4.h: Likewise.
836 * math/test-double-vlen8.h: Likewise.
837 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
838 * math/test-float-vlen4.h: Likewise.
839 * math/test-float-vlen8.h: Likewise.
840 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
841 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
842 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
843 * sysdeps/x86_64/fpu/Versions: New versions added.
844 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
845 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
846 Added build of SSE, AVX2 and AVX512 IFUNC versions.
847 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
848 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
849 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
851 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
852 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
853 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
854 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
855 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
856 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
857 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
858 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
859 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
860 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
861 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
862 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
863 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
864 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
865 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
866 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
867 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
869 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
870 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
871 redirections for powf.
872 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
873 * sysdeps/x86_64/fpu/Versions: New versions added.
874 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
875 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
876 Added build of SSE, AVX2 and AVX512 IFUNC versions.
877 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
878 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
879 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
880 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
881 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
882 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
883 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
884 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
885 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
886 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
887 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
888 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
889 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
890 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
891 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
892 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
893 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
894 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
895 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
896 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
897 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
898 * math/test-float-vlen16.h: Fixed 2 argument macro.
899 * math/test-float-vlen4.h: Likewise.
900 * math/test-float-vlen8.h: Likewise.
901 * NEWS: Mention addition of x86_64 vector powf.
903 2015-06-17 Joseph Myers <joseph@codesourcery.com>
905 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
907 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
909 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
914 * resource/getpriority.c (getpriority): Rename to __getpriority
915 and define as weak alias of __getpriority.
916 * resource/setpriority.c (setpriority): Rename to __setpriority
917 and define as weak alias of __setpriority.
918 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
919 __getpriority and define as weak alias of __getpriority.
920 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
921 __setpriority and define as weak alias of __setpriority.
922 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
924 (setpriority): Use __setpriority as strong name.
925 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
926 __getpriority and define as weak alias of __getpriority.
927 * include/sys/resource.h (__getpriority): Declare. Use
929 (__setpriority): Likewise.
930 (getpriority): Don't use libc_hidden_proto.
931 (setpriority): Likewise.
932 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
933 getpriority. Call __setpriority instead of setpriority.
934 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
938 * misc/getttyent.c (getttynam): Rename to __getttynam and define
939 as weak alias of __getttynam. Use prototype function definition.
940 Call __setttyent, __getttyent and __endttyent instead of
941 setttyent, getttyent and endttyent.
942 (getttyent): Rename to __getttyent and define as weak alias of
943 __getttyent. Call __setttyent instead of setttyent. Call
944 __fgets_unlocked instead of fgets_unlocked.
945 (setttyent): Rename to __setttyent and define as weak alias of
947 (endttyent): Rename to __endttyent and define as weak alias of
949 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
950 (__setttyent): Likewise.
951 (__endttyent): Likewise.
952 (getttyent): Don't use libc_hidden_proto.
953 (setttyent): Likewise.
954 (endttyent): Likewise.
955 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
956 __endttyent instead of setttyent, getttyent and endttyent.
957 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
961 * socket/recv.c (__recv): Use libc_hidden_def.
962 * socket/socket.c (__socket): Likewise.
963 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
964 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
965 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
966 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
967 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
969 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
971 * include/sys/socket.h (__socket): Do not use attribute_hidden.
972 Use libc_hidden_proto.
974 * socket/Versions (libc): Export __recv and __socket at version
976 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
978 (init_mq_netlink): Call __socket instead of socket.
979 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
983 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
984 __mq_timedreceive and define as alias of __mq_timedreceive. Use
986 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
987 define as alias of __mq_timedsend. Use hidden_weak.
988 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
989 __mq_timedsend as strong name.
990 (mq_timedreceive): Use __mq_timedreceive as strong name.
991 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
992 (__mq_timedreceive): Likewise.
993 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
994 __mq_timedreceive instead of mq_timedreceive.
995 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
996 instead of mq_timedsend.
997 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1000 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1001 hidden_def and hidden_weak instead of libc_hidden_def and
1003 (top level): Refer to hidden_def in comment.
1004 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1005 macro. Use it instead of libc_hidden_def.
1006 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1007 specify __GI_* name explicitly.
1008 (mq_timedreceive): Likewise.
1009 (mq_setattr): Likewise.
1012 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1013 __pthread_barrier_init and define as weak alias of
1014 __pthread_barrier_init.
1015 * sysdeps/sparc/nptl/pthread_barrier_init.c
1016 (pthread_barrier_init): Likewise.
1017 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1018 __pthread_barrier_wait and define as weak alias of
1019 __pthread_barrier_wait.
1020 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1021 (pthread_barrier_wait): Likewise.
1022 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1023 (pthread_barrier_wait): Likewise.
1024 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1025 (pthread_barrier_wait): Likewise.
1026 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1027 (pthread_barrier_wait): Likewise.
1028 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1029 __pthread_barrier_wait at version GLIBC_PRIVATE.
1030 * include/pthread.h (__pthread_barrier_init): Declare.
1031 (__pthread_barrier_wait): Likewise.
1032 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1033 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1034 (helper_thread): Likewise.
1035 (init_mq_netlink): Call __pthread_barrier_init instead of
1036 pthread_barrier_init.
1039 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1040 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1041 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1042 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1044 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1048 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1049 strong alias of _IO_fflush. Use libc_hidden_def.
1050 * libio/iofflush_u.c (fflush_unlocked): Rename to
1051 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1052 Use libc_hidden_weak.
1053 * include/stdio.h (__fflush_unlocked): Declare. Use
1055 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1057 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1061 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1062 define as weak alias of __addseverity.
1063 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1065 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1066 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1067 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1070 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1071 (__tfind): Likewise.
1072 (__tdelete): Likewise.
1073 (__twalk): Likewise.
1074 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1075 __twalk to GLIBC_PRIVATE.
1076 * include/search.h (__tsearch): Use libc_hidden_proto.
1077 (__tfind): Likewise.
1078 (__tdelete): Likewise.
1079 (__twalk): Likewise.
1080 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1081 Call __tdelete instead of tdelete.
1082 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1083 tfind. Call __tsearch instead of tsearch.
1084 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1085 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1087 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1090 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1091 (dprintf): Define as a weak alias of __dprintf, not a strong
1093 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1094 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1096 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1098 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1099 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1102 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1104 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1108 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1109 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1110 (in6addr_loopback): Rename to __in6addr_loopback and define as
1111 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1112 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1114 (__in6addr_any): Likewise.
1115 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1117 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1119 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1121 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1123 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1124 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1125 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1126 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1127 redirections for pow.
1128 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1129 * sysdeps/x86_64/fpu/Versions: New versions added.
1130 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1131 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1132 build of SSE, AVX2 and AVX512 IFUNC versions.
1133 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1134 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1136 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1137 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1138 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1139 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1140 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1141 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1142 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1143 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1144 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1145 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1146 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1147 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1148 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1149 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1150 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1151 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1152 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1153 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1154 * NEWS: Mention addition of x86_64 vector pow.
1156 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1157 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1158 redirections for expf.
1159 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1160 * sysdeps/x86_64/fpu/Versions: New versions added.
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1162 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1163 build of SSE, AVX2 and AVX512 IFUNC versions.
1164 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1165 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1166 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1167 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1168 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1169 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1170 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1171 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1172 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1173 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1174 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1175 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1176 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1177 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1178 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1179 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1180 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1181 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1182 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1183 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1184 * NEWS: Mention addition of x86_64 vector expf.
1186 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1187 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1188 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1189 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1190 redirections for exp.
1191 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1192 * sysdeps/x86_64/fpu/Versions: New versions added.
1193 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1194 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1195 build of SSE, AVX2 and AVX512 IFUNC versions.
1196 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1197 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1198 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1199 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1200 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1201 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1202 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1203 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1204 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1205 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1206 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1207 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1208 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1209 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1210 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1211 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1212 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1213 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1214 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1215 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1216 * NEWS: Mention addition of x86_64 vector exp.
1218 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1219 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1220 redirections for logf.
1221 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1222 * sysdeps/x86_64/fpu/Versions: New versions added.
1223 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1224 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1225 build of SSE, AVX2 and AVX512 IFUNC versions.
1226 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1227 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1228 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1229 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1230 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1231 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1232 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1233 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1234 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1235 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1236 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1237 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1238 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1239 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1240 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1241 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1242 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1243 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1244 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1245 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1246 * NEWS: Mention addition of x86_64 vector logf.
1248 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1249 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1250 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1251 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1252 redirections for log.
1253 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1254 * sysdeps/x86_64/fpu/Versions: New versions added.
1255 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1256 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1257 build of SSE, AVX2 and AVX512 IFUNC versions.
1258 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1259 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1260 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1261 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1262 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1263 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1264 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1265 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1266 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1267 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1268 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1269 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1270 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1272 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1273 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1274 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1275 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1276 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1277 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1278 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1279 * NEWS: Mention addition of x86_64 vector log.
1281 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1283 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1284 cfi_adjust_cfa_offset argument.
1285 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1286 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1289 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1290 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1291 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1292 ordering using ldar.
1293 (_dl_tlsdesc_dynamic): Likewise.
1294 (_dl_tlsdesc_return_lazy): Likewise.
1295 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1296 relaxed atomics instead of volatile and synchronize with release store.
1297 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1299 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1301 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1303 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1304 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1305 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1306 * sysdeps/x86_64/fpu/Versions: New versions added.
1307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1308 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1309 build of SSE, AVX2 and AVX512 IFUNC versions.
1310 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1311 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1312 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1313 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1314 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1315 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1316 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1317 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1318 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1319 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1320 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1321 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1322 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1323 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1324 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1325 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1326 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1327 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1328 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1329 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1330 * NEWS: Mention addition of x86_64 vector sinf.
1332 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1334 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1335 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1336 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1338 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1339 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1341 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1344 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1345 strong alias of _IO_fputs. Use libc_hidden_def.
1346 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1347 and define as weak alias of __fputs_unlocked. Use
1349 * include/stdio.h (__fputs_unlocked): Declare. Use
1351 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1355 * resolv/netdb.h [__USE_POSIX]: Change condition to
1357 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1359 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1360 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1361 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1362 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1363 [XPG4 || UNIX98] (AI_ALL): Likewise.
1364 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1365 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1366 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1367 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1368 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1369 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1370 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1371 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1372 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1373 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1374 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1375 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1376 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1377 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1378 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1379 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1380 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1381 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1382 [XPG4 || UNIX98] (gai_strerror): Likewise.
1383 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1384 [XPG4 || UNIX98] (getnameinfo): Likewise.
1387 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1388 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1390 (getgrent): Likewise.
1391 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1393 [XPG3 || POSIX2008] (endgrent): Likewise.
1394 [XPG3] (setgrent): Likewise.
1395 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1397 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1400 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1401 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1402 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1403 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1404 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1405 * include/unistd.h (__getlogin_r): Declare. Use
1407 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1408 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1410 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1411 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1412 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1414 2015-06-12 Martin Sebor <msebor@redhat.com>
1417 * Makerules (check-install-supported): New target.
1418 (install): Add check-install-supported as a dependency.
1419 * manual/install.texi (Installing the C Library): Document
1420 that overriding prefix and exec_prefix is not supported.
1422 * INSTALL: Regenerate from the above.
1424 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1427 * posix/Versions (libc): Export __libc_pread at version
1429 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1431 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1436 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1437 (cvt_symbol): Use weak_alias instead of strong_alias.
1438 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1439 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1441 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1442 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1445 * inet/herrno.c (h_errno): Rename to __h_errno.
1446 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1447 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1448 to __h_errno instead of h_errno.
1449 * nptl/herrno.c (h_errno): Rename to __h_errno.
1450 (__h_errno_location): Refer to __h_errno not h_errno.
1451 * resolv/Versions (h_errno): Rename to __h_errno.
1452 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1454 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1456 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1458 * configure.ac: More strict check for AVX512 assembler support.
1459 * configure: Regenerated.
1461 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1462 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1463 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1464 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1465 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1466 * sysdeps/x86_64/fpu/Versions: New versions added.
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1468 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1469 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1470 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1471 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1472 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1473 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1474 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1475 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1476 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1477 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1478 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1479 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1480 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1481 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1482 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1484 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1485 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1486 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1487 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1488 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1489 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1490 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1491 * NEWS: Mention addition of x86_64 vector sin.
1493 2015-06-11 Florian Weimer <fweimer@redhat.com>
1495 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1498 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1501 * nptl/pt-interp.c: New file.
1502 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1504 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1505 $(common-objpfx)runtime-linker.h.
1507 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1509 * Makeconfig (+interp): Remove unused variable.
1510 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1511 only. Depend on $(common-objpfx)runtime-linker.h instead of
1512 $(elf-objpfx)runtime-linker.h.
1513 ($(elf-objpfx)runtime-linker.h): Rename to
1514 $(common-objpfx)runtime-linker.h and move ...
1515 * Makerules [$(build-shared) = yes]: ... here.
1516 * elf/interp.c: Include <runtime-linker.h> instead of
1517 <elf/runtime-linker.h>.
1519 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1521 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1522 (__gettimeofday_syscall): Remove vsyscall fallback.
1523 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1524 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1525 Add syscall fallback function.
1526 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1527 if vDSO is not present.
1528 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1530 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1533 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1535 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1538 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1540 (wcscmp): Define as weak alias of WCSCMP.
1541 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1543 (USE_HIDDEN_DEF): Define.
1544 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1545 __wcscoll. Don't use libc_hidden_weak.
1546 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1548 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1549 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1551 (weak_alias): Undefine and redefine.
1552 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1553 __wcscmp and define as weak alias of __wcscmp.
1554 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1555 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1556 (__wcscoll): Likewise.
1557 (wcscmp): Don't use libc_hidden_proto.
1558 (wcscoll): Likewise.
1559 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1561 * posix/regexec.c (check_node_accept_bytes): Likewise.
1562 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1564 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1565 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1568 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1569 __fstatvfs and define as weak alias of __fstatvfs. Use
1571 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1572 and define as weak alias of __statvfs. Use libc_hidden_weak.
1573 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1574 Define as alias of __fstatvfs, not fstatvfs.
1575 (fstatvfs64): Likewise.
1576 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1577 Define as alias of __statvfs, not statvfs.
1578 (statvfs64): Likewise.
1579 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1582 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1585 (HAVE_GETCPU_VSYSCALL): Define.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1587 (HAVE_GETCPU_VSYSCALL): Likewise.
1588 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1589 * sysdeps/unix/sysv/linux/sched_getcpu.c
1590 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1591 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1592 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1595 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1600 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1604 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1606 * sysdeps/x86_64/fpu/Makefile: New file.
1607 * sysdeps/x86_64/fpu/Versions: New file.
1608 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1609 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1610 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1611 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1612 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1613 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1614 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1615 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1616 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1617 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1618 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1619 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1620 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1621 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1622 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1623 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1624 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1625 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1626 * sysdeps/x86_64/configure: Regenerated.
1627 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1628 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1629 * manual/install.texi (Configuring and compiling): Document
1631 * INSTALL: Regenerated.
1632 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1634 * math/Makefile: Added rules for vector tests.
1635 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1636 declaration under condition.
1637 * math/test-double-vlen2.h: New file.
1638 * math/test-double-vlen4.h: New file.
1639 * math/test-double-vlen8.h: New file.
1640 * math/test-vec-loop.h: Added initialization macro.
1641 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1642 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1643 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1644 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1645 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1646 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1647 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1648 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1649 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1650 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1651 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1653 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1654 * sysdeps/x86_64/fpu/Versions: New versions added.
1655 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1656 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1657 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1658 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1659 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1660 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1661 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1662 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1663 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1664 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1665 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1666 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1667 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1668 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1669 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1670 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1671 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1672 * NEWS: Mention addition of x86_64 vector cosf.
1674 * math/Makefile: Added CFLAGS for new tests.
1675 * math/test-float-vlen16.h: New file.
1676 * math/test-float-vlen4.h: New file.
1677 * math/test-float-vlen8.h: New file.
1678 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1679 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1680 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1681 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1682 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1683 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1684 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1685 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1686 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1687 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1688 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1690 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1692 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1693 * locale/programs/ld-ctype.c: Likewise.
1695 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1697 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1698 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1699 bit_ZMM16_31_state): New macro.
1700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1701 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1703 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1705 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1707 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1709 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1711 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1714 * libio/memstream.c (open_memstream): Rename to __open_memstream
1715 and define as weak alias of __open_memstream.
1716 * include/stdio.h (__open_memstream): Declare. Use
1718 (open_memstream): Don't use libc_hidden_proto.
1719 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1721 * posix/getopt.c (_getopt_internal_r): Likewise.
1722 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1724 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1725 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1726 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1729 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1733 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1734 [__USE_XOPEN2K8]. Remove redundant #endif.
1735 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1736 Remove redundant #if.
1737 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1739 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1740 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1743 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1744 (__iswlower): Likewise.
1745 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1746 (__iswlower): Likewise.
1747 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1748 instead of towlower.
1749 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1750 instead of iswlower. Call __towupper instead of towupper.
1751 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1752 instead of iswalnum.
1754 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1756 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1759 2015-06-05 Florian Weimer <fweimer@redhat.com>
1763 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1764 Check for overflow properly. Check for O_APPEND. Ignore large
1765 file system block sizes. Add comments about problems.
1766 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1767 * manual/filesys.texi (Storage Allocation): New node.
1769 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1771 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1772 cancellable syscalls.
1773 (SYS_ify): Add guard to no redefine it.
1774 (INLINE_SYSCALL): Likewise.
1775 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1776 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1777 SYSCALL_CANCEL instead.
1778 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1779 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1780 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1781 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1782 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1783 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1784 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1785 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1786 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1787 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1788 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1789 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1790 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1791 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1792 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1793 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1795 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1796 (__libc_pread64): Likewise.
1797 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1798 (__libc_preadv): Likewise.
1799 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1800 (__libc_readv64): Likewise.
1801 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1802 (__libc_pwrite): Likewise.
1803 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1804 (__libc_pwrite64): Likewise.
1805 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1806 (__libc_pwritev): Likewise.
1807 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1808 (__libc_pwritev64): Likewise.
1809 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1810 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1811 (sync_file_range): Likewise.
1812 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1814 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1816 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1817 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1818 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1819 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1820 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1821 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1822 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1823 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1827 (__libc_read64): Likewise.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1837 (__libc_pread64): Likewise.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1841 (__libc_pwrite64): Likewise.
1842 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1843 (sync_file_range): Likewise.
1844 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1845 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1846 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1847 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1848 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1849 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1850 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1851 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1852 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1853 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1854 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1855 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1856 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1857 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1858 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1859 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1860 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1861 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1864 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1866 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1867 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1869 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1870 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1871 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1872 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1874 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1875 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1876 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1877 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1878 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1880 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1882 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1884 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1885 Use VDSO routines for gettimeofday, clock_gettime if
1887 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1888 Declare VDSO symbols.
1889 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1890 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1891 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1892 * sysdeps/unix/sysv/linux/arm/Versions: Add
1893 __vdso_clock_gettime.
1895 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1897 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1898 be an inline implementation regardless of library is built within.
1899 (open_not_cancel_2): Likewise.
1900 (__read_nocancel): Likewise.
1901 (__write_nocancel): Likewise.
1902 (openat_not_cancel): Likewise.
1903 (openat_not_cancel_3): Likewise.
1904 (openat64_not_cancel): Likewise.
1905 (openat64_not_cancel_3): Likewise.
1906 (__close_nocancel): Likewise.
1907 (pause_not_cancel): Likewise.
1908 (nanosleep_not_cancel): Likewise.
1909 (sigsuspend_not_cancel): Likewise.
1911 2015-06-04 Torvald Riegel <triegel@redhat.com>
1914 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1916 (__pthread_rwlock_rdlock_slow): Likewise.
1917 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1919 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1921 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1922 * nptl/tst-rwlock16.c: New file.
1923 * nptl/Makefile (tests): Add new test.
1925 2015-06-04 Torvald Riegel <triegel@redhat.com>
1928 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1929 missing wake-up of readers.
1930 * nptl/tst-rwlock15.c: New file.
1931 * nptl/Makefile (tests): Add new test.
1933 2015-06-03 Roland McGrath <roland@hack.frob.com>
1935 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1936 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1937 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1938 and __nacl_supply_interface_rtld.
1939 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1940 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1941 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1942 Add __nacl_supply_interface_rtld.
1943 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1945 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1947 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1950 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1952 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1954 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1955 __signbit* with standard C99 macros.
1956 * math/e_exp10l.c: Likewise.
1957 * math/e_exp2l.c: Likewise.
1958 * math/e_scalb.c: Likewise.
1959 * math/e_scalbf.c: Likewise.
1960 * math/e_scalbl.c: Likewise.
1961 * math/s_ldexp.c: Likewise.
1962 * math/s_ldexpf.c: Likewise.
1963 * math/s_ldexpl.c: Likewise.
1964 * math/w_atan2.c: Likewise.
1965 * math/w_atan2f.c: Likewise.
1966 * math/w_atan2l.c: Likewise.
1967 * math/w_cosh.c: Likewise.
1968 * math/w_coshf.c: Likewise.
1969 * math/w_coshl.c: Likewise.
1970 * math/w_exp10.c: Likewise.
1971 * math/w_exp10f.c: Likewise.
1972 * math/w_exp10l.c: Likewise.
1973 * math/w_exp2.c: Likewise.
1974 * math/w_exp2f.c: Likewise.
1975 * math/w_exp2l.c: Likewise.
1976 * math/w_fmod.c: Likewise.
1977 * math/w_fmodf.c: Likewise.
1978 * math/w_fmodl.c: Likewise.
1979 * math/w_hypot.c: Likewise.
1980 * math/w_hypotf.c: Likewise.
1981 * math/w_hypotl.c: Likewise.
1982 * math/w_jnl.c: Likewise.
1983 * math/w_lgamma.c: Likewise.
1984 * math/w_lgamma_r.c: Likewise.
1985 * math/w_lgammaf.c: Likewise.
1986 * math/w_lgammaf_r.c: Likewise.
1987 * math/w_lgammal.c: Likewise.
1988 * math/w_lgammal_r.c: Likewise.
1989 * math/w_pow.c: Likewise.
1990 * math/w_powf.c: Likewise.
1991 * math/w_powl.c: Likewise.
1992 * math/w_remainder.c: Likewise.
1993 * math/w_remainderf.c: Likewise.
1994 * math/w_remainderl.c: Likewise.
1995 * math/w_scalb.c: Likewise.
1996 * math/w_scalbf.c: Likewise.
1997 * math/w_scalbl.c: Likewise.
1998 * math/w_scalbln.c: Likewise.
1999 * math/w_scalblnf.c: Likewise.
2000 * math/w_scalblnl.c: Likewise.
2001 * math/w_sinh.c: Likewise.
2002 * math/w_sinhf.c: Likewise.
2003 * math/w_sinhl.c: Likewise.
2004 * math/w_tgamma.c: Likewise.
2005 * math/w_tgammaf.c: Likewise.
2006 * math/w_tgammal.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2014 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2015 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2016 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2017 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2038 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2039 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2040 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2041 * stdio-common/printf_fp.c: Likewise.
2042 * stdio-common/printf_fphex.c: Likewise.
2043 * stdio-common/printf_size.c: Likewise.
2045 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2048 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2050 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2052 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2053 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2054 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2055 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2056 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2057 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2058 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2059 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2060 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2061 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2064 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2065 weak alias of __wmemchr. Use libc_hidden_weak.
2066 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2067 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2070 2015-06-02 Roland McGrath <roland@hack.frob.com>
2073 * elf/tst-tlsalign-extern.c: New file.
2074 * elf/tst-tlsalign-extern-static.c: New file.
2075 * elf/tst-tlsalign-vars.c: New file.
2076 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2077 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2078 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2079 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2080 (test-xfail-tst-tlsalign-extern-static): New variable.
2082 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2084 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2085 Use variable name _sc_err instead of err.
2086 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2088 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2089 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2090 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2091 (INLINE_SYSCALL): Likewise.
2093 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2094 * include/string.h (__strnlen): Use libc_hidden_proto.
2095 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2096 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2097 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2099 (libc_hidden_def): Undefine and redefine.
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2101 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2103 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2105 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2108 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2109 weak alias of __towlower. Use libc_hidden_weak.
2110 (towupper): Rename to __towupper and define as weak alias of
2111 __towupper. Use libc_hidden_weak.
2112 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2113 (__towupper): Likewise.
2114 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2115 __towlower instead of towlower.
2117 2015-06-02 Roland McGrath <roland@hack.frob.com>
2119 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2120 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2122 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2124 * sysdeps/aarch64/libm-test-ulps: Update.
2126 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2128 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2130 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2132 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2133 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2134 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2135 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2136 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2138 2015-06-01 Martin Sebor <msebor@redhat.com>
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2142 (__setcontext): Use extended four-operand version of mtsf whenever
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2145 (__novec_swapcontext): Likewise.
2147 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2149 * benchtests/scripts/compare_bench.py: New file.
2150 * benchtests/scripts/import_bench.py (mean): New function.
2151 (split_list): Likewise.
2152 (do_for_all_timings): Likewise.
2153 (compress_timings): Likewise.
2155 * benchtests/scripts/import_bench.py: New file.
2156 * benchtests/scripts/validate_benchout.py: Import import_bench
2157 instead of jsonschema.
2158 (validate_bench): Remove function.
2159 (main): Use import_bench.
2161 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2163 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2164 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2166 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2170 2015-05-28 Roland McGrath <roland@hack.frob.com>
2172 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2173 set THREAD_SELF->tid to a magic value and futex-wake it.
2174 Pass its address to the thread_exit system call.
2175 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2177 * sysdeps/nacl/lowlevellock.h: New file.
2178 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2180 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2181 Add TIMEOUT to current time, don't subtract it.
2183 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2186 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2187 ($(objpfx)tst-audit2.out): Also depend on
2188 $(objpfx)tst-auditmod9b.so.
2189 * elf/tst-audit2.c: Include <dlfcn.h>.
2190 (calloc_called): New.
2191 (calloc): Allow to be called more than once.
2192 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2194 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2196 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2197 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2199 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2201 * stdlib/monetary.h: Fix comment.
2203 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2205 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2206 Avoid using variables in #defines that might cause shadowing.
2207 (INTERNAL_VSYSCALL_CALL): Likewise.
2209 2015-05-26 Roland McGrath <roland@hack.frob.com>
2211 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2213 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2214 * nptl/lll_timedlock_wait.c: ... to this new file.
2215 * nptl/Makefile (libpthread-routines): Add it.
2216 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2217 * nptl/lll_timedwait_tid.c: ... to this new file.
2218 * nptl/Makefile (libpthread-routines): Add it.
2219 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2220 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2221 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2222 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2223 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2224 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2225 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2226 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2227 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2228 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2230 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2232 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2233 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2234 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2236 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2238 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2240 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2241 * sysdeps/unix/sysv/linux/tile/sysdep.h
2242 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2243 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2244 using vDSO syscall macro.
2246 2015-05-26 Andriy Rysin <arysin@gmail.com>
2249 * uk_UA: Fix sorting order for Ukrainian locale
2251 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2253 * stdlib/monetary.h: Fix comment.
2255 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2258 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2259 st_mtim and st_ctim members.
2260 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2261 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2262 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2263 (struct stat64): Likewise.
2264 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2265 (struct stat64): Likewise.
2266 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2267 (struct stat64): Likewise.
2269 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2271 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2272 Define and include sysdep-vdso.h.
2273 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2275 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2277 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2278 Define with VDSO_SYMBOL and use PTR_MANGLE.
2279 (__vdso_clock_gettime): Likewise.
2280 (__vdso_clock_getres): Likewise.
2281 (_libc_vdso_platform_setup): Likewise.
2282 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2284 (_libc_vdso_platform_setup): Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2287 (__vdso_clock_gettime): Likewise.
2288 (__vdso_clock_getres): Likewise.
2289 (__vdso_get_tbfreq): Likewise.
2290 (__vdso_getcpu): Likewise.
2291 (__vdso_time): Likewise.
2292 (__vdso_sigtramp_rt64): Likewise.
2293 (__vdso_signtramp32): Likewise.
2294 (__vdso_sigtramp_rt32): Likewise.
2295 (_libc_vdso_platform_setup): Likewise.
2296 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2298 (__vdso_clock_gettime): Likewise.
2299 (__vdso_clock_getres): Likewise.
2300 (_libc_vdso_platform_setup): Likewise.
2301 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2303 (__vdso_clock_gettime): Likewise.
2304 (_libc_vdso_platform_setup): Likewise.
2305 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2307 (__vdso_getcpu): Likewise.
2308 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2309 Use VDSO_SYMBOL macro to define.
2310 (__vdso_clock_gettime): Likewise.
2311 (__vdso_clock_getres): Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2314 (__vdso_clock_gettime): Likewise.
2315 (__vdso_clock_getres): Likewise.
2316 (__vdso_get_tbfreq): Likewise.
2317 (__vdso_getcpu): Likewise.
2318 (__vdso_time): Likewise.
2319 (__vdso_sigtramp_rt64): Likewise.
2320 (__vdso_signtramp32): Likewise.
2321 (__vdso_sigtramp_rt32): Likewise.
2322 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2324 (__vdso_clock_gettime): Likewise.
2325 (__vdso_clock_getres): Likewise.
2326 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2328 (__vdso_clock_gettime): Likewise.
2329 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2333 (INTERNAL_VSYSCALL): Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2336 (INTERNAL_VSYSCALL): Likewise.
2337 (INTERNAL_VSYSCALL_NCS): Likewise.
2338 (INTERNAL_VSYSCALL_CALL): New macro.
2339 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2342 (INTERNAL_VSYSCALL): Likewise.
2343 (INTERNAL_VSYSCALL_NCS): Likewise.
2344 (INTERNAL_VSYSCALL_CALL): New macro.
2345 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2347 (INLINE_VSYSCALL): Remove macro.
2348 (INTERNAL_VSYSCALL): Remove macro.
2349 (INTERNAL_VSYSCALL_NCS): Remove macro.
2350 (INTERNAL_VSYSCALL_CALL): New macro.
2351 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2352 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2353 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2354 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2355 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2357 (INLINE_VSYSCALL): Remove macro.
2358 (INTERNAL_VSYSCALL): Likewise.
2359 (INTERNAL_VSYSCALL_NCS): Likewise.
2360 (INTERNAL_VSYSCALL_CALL): New macro.
2361 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2362 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2363 PTR_DEMANGLE on vDSO pointer.
2364 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2365 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2367 (INTERNAL_SYSCALL): Likewise.
2368 (INTERNAL_VSYSCALL_NCS): Remove macro.
2369 (INTERNAL_VSYSCALL_CALL): New macro.
2370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2372 (INTERNAL_VSYSCALL): Likewise.
2373 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2374 sysdep-vdso.h instead of libc-vdso.h.
2375 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2377 (INLINE_VSYSCALL): Likewise.
2378 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2379 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2381 (INLINE_VSYSCALL): Likewise.
2382 (INTERNAL_VSYSCALL): Likewise.
2383 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2384 * sysdeps/unix/sysv/linux/timespec_get.c
2385 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2386 (timespec_get): Use ANSI prototype.
2387 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2388 and definition for Linux.
2390 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2392 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2393 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2395 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2398 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2399 for missing DT_PLTRELSZ.
2401 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2403 Remove obsolete aliases that broke 'locale -a'
2405 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2406 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2407 breaking some applications that use 'locale -a' output.
2408 Change the encoding of this file from Latin-1 to ASCII to avoid
2409 other potential problems with people grepping this file.
2411 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2413 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2414 -fasynchronous-unwind-tables.
2415 (CFLAGS-sendto.c): Likewise.
2416 (CFLAGS-sendmsg.c): Likewise.
2417 (CFLAGS-connect.c): Likewise.
2418 (CFLAGS-recvmsg.c): Likewise.
2419 (CFLAGS-recvfrom.c): Likewise.
2420 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2421 (SOCKETCALL): New macro: non-cancellable socketcall.
2422 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2423 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2424 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2425 * sysdeps/unix/sysv/linux/accept.c: New file.
2426 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2427 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2428 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2429 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2430 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2431 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2432 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2433 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2434 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2435 * sysdeps/unix/sysv/linux/send.c: Likewise.
2436 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2437 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2438 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2439 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2440 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2441 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2442 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2444 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2445 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2446 instead of __internal_xxx function.
2447 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2449 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2450 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2451 instead of __internal_xxx function.
2452 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2454 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2455 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2456 instead of __internal_xxx function.
2457 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2458 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2459 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2460 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2461 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2462 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2463 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2464 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2465 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2466 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2467 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2468 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2469 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2470 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2471 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2472 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2473 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2474 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2475 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2476 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2479 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2480 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2481 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2482 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2483 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2484 * sysdeps/unix/sysv/linux/send.S: Likewise.
2485 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2486 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2487 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2488 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2489 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2490 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2491 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2493 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2494 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2495 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2496 socketcall is implemented in GLIBC.
2498 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2500 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2501 (__fma): Ignore uninitialized warnings around packing.
2502 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2503 (__fmaf): Ignore uninitialized warnings around packing.
2504 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2505 (__fmal): Ignore uninitialized warnings around packing.
2507 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2508 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2509 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2510 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2512 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2513 switch statement into default case.
2514 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2516 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2517 a conditional in forcing "inexact".
2518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2521 2015-05-22 Roland McGrath <roland@hack.frob.com>
2523 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2524 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2525 for each INTERNAL_SYSCALL use.
2527 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2530 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2531 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2535 * string/basename.c (basename): Rename to __basename and define as
2536 weak alias of __basename. Use libc_hidden_weak.
2537 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2538 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2539 __basename instead of basename.
2540 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2542 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2544 2015-05-18 Florian Weimer <fweimer@redhat.com>
2546 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2547 (_IO_JUMPS_FILE_plus): New.
2548 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2549 _IO_CAST_FIELD_ACCESS.
2550 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2551 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2552 * libio/freopen.c (freopen): Likewise.
2553 * libio/freopen64.c (freopen64): Likewise.
2554 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2555 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2556 * libio/iofwide.c (_IO_fwide): Likewise.
2557 * libio/memstream.c (open_memstream): Likewise.
2558 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2559 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2560 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2562 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2564 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2565 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2567 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2568 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2570 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2571 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2574 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2577 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2578 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2580 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2581 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2582 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2584 2015-05-21 Florian Weimer <fweimer@redhat.com>
2586 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2587 Adjust jump table label generation macros.
2589 2015-05-21 Florian Weimer <fweimer@redhat.com>
2591 * stdio-common/vfprintf.c (vfprintf): Move local variables
2592 args_malloced, specs, specs_malloced, and the code after
2593 do_positional to the printf_positional function.
2594 (printf_positional): New function.
2596 2015-05-21 Florian Weimer <fweimer@redhat.com>
2598 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2600 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2601 STEP4_TABLE, process_arg): Move macro definitions
2602 out of the vfprintf function. (Cosmetic change only.)
2604 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2606 * benchtests/Makefile (stdio-common-bench): Define.
2607 (benchset): Add stdio-common-bench.
2608 * sprintf-inputs: New file.
2609 * sprintf-source.c: New file.
2611 2015-05-21 Andreas Schwab <schwab@suse.de>
2615 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2616 of struct __res_state.
2617 * resolv/res_send.c (__libc_res_nsend): Likewise.
2618 (get_nsaddr): New function.
2619 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2622 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2624 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2625 -D_POSIX_C_SOURCE=199506L.
2627 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2629 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2630 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2631 Do not mention otherwise.
2632 [POSIX] (_XOPEN_VERSION): Do not expect.
2633 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2634 [POSIX] (_POSIX2_C_BIND): Likewise.
2635 [POSIX] (_POSIX2_VERSION): Likewise.
2636 [POSIX] (_XOPEN_XPG2): Likewise.
2637 [POSIX] (_XOPEN_XPG3): Likewise.
2638 [POSIX] (_XOPEN_XPG4): Likewise.
2639 [POSIX] (_XOPEN_UNIX): Likewise.
2640 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2641 [POSIX] (_POSIX_BARRIERS): Likewise.
2642 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2643 [POSIX] (_POSIX_CPUTIME): Likewise.
2644 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2645 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2646 [POSIX] (_POSIX_SHELL): Likewise.
2647 [POSIX] (_POSIX_SPAWN): Likewise.
2648 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2649 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2650 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2651 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2652 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2653 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2654 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2655 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2656 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2657 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2658 [POSIX] (_POSIX2_PBS): Likewise.
2659 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2660 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2661 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2662 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2663 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2664 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2665 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2666 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2667 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2668 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2669 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2670 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2671 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2672 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2673 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2674 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2675 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2676 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2677 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2678 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2679 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2680 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2681 [POSIX] (_SC_2_C_BIND): Likewise.
2682 [POSIX] (_SC_2_C_VERSION): Likewise.
2683 [POSIX] (_SC_2_PBS): Likewise.
2684 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2685 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2686 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2687 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2688 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2689 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2690 [POSIX] (_SC_BARRIERS): Likewise.
2691 [POSIX] (_SC_BASE): Likewise.
2692 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2693 [POSIX] (_SC_DEVICE_IO): Likewise.
2694 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2695 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2696 [POSIX] (_SC_FD_MGMT): Likewise.
2697 [POSIX] (_SC_FIFO): Likewise.
2698 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2699 [POSIX] (_SC_FILE_LOCKING): Likewise.
2700 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2701 [POSIX] (_SC_IOV_MAX): Likewise.
2702 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2703 [POSIX] (_SC_NETWORKING): Likewise.
2704 [POSIX] (_SC_PAGE_SIZE): Likewise.
2705 [POSIX] (_SC_PASS_MAX): Likewise.
2706 [POSIX] (_SC_PIPE): Likewise.
2707 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2708 [POSIX] (_SC_REGEXP): Likewise.
2709 [POSIX] (_SC_SHELL): Likewise.
2710 [POSIX] (_SC_SIGNALS): Likewise.
2711 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2712 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2713 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2714 [POSIX] (_SC_USER_GROUPS): Likewise.
2715 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2716 [POSIX] (_SC_STREAMS): Likewise.
2717 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2718 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2719 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2720 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2721 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2722 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2723 [POSIX] (_PC_FILESIZEBITS): Likewise.
2724 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2725 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2726 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2727 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2728 [POSIX] (uid_t): Likewise.
2729 [POSIX] (gid_t): Likewise.
2730 [POSIX] (off_t): Likewise.
2731 [POSIX] (pid_t): Likewise.
2732 [POSIX] (cuserid): Allow.
2733 (_SC_2_CHAR_TERM): Require constant.
2734 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2735 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2738 2015-05-20 Roland McGrath <roland@hack.frob.com>
2740 * sysdeps/nacl/pthread-pids.h: New file.
2741 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2742 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2744 * nptl/pthread-pids.h: New file.
2745 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2746 * nptl/nptl-init.c: Include <pthread-pids.h>.
2747 (__pthread_initialize_minimal_internal):
2748 Call __pthread_initialize_pids instead of set_tid_address syscall.
2750 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2751 * sysdeps/posix/usleep.c: ... here.
2753 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2755 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2756 call_pselect6 object.
2757 [$(subdir) = io]: Remove call_sync_file_range object.
2758 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2759 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2760 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2761 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2763 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2765 * math/s_cproj.c: Add include "math_private.h".
2766 * math/s_cprojf.c: Likewise.
2767 * math/s_cprojl.c: Likewise.
2769 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2772 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2773 high mantissa bit when testing whether P is a NaN.
2774 * math/libm-test.inc (remainder_test_data): Add more tests.
2775 (remquo_test_data): Likewise.
2778 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2779 below -32, return the argument, with underflow if subnormal.
2780 * math/auto-libm-test-in: Add more tests of atanh.
2781 * math/auto-libm-test-out: Regenerated.
2783 2015-05-19 Roland McGrath <roland@hack.frob.com>
2786 * nptl/tst-sem15.c: New file.
2787 * nptl/Makefile (tests): Add it.
2788 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2789 s/<</>>/ to fix typo in EOVERFLOW check.
2790 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2792 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2794 * manual/strings.texi (envz_remove): Fix typo in safety
2797 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2798 Steve Ellcey <sellcey@imgtec.com>
2800 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2801 in order to avoid strict alias warnings.
2802 (iruserok_af): Ditto for ra.
2804 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2808 (magicbyte): Convert to a function and avoid returning 0x01.
2809 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2810 (mem2chunk_check): Fix unsigned comparisons to zero.
2811 Hoist defs of sz and magic.
2813 2015-05-19 Richard Henderson <rth@redhat.com>
2815 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2817 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2819 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2822 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2823 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2824 (reused_arena): Find a non-corrupt arena.
2825 (heap_trim): Pass arena to unlink.
2826 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2828 (top_check): Likewise.
2829 (free_check): Likewise.
2830 (realloc_check): Likewise.
2831 * malloc/malloc.c (malloc_printerr): Add arena argument.
2833 (munmap_chunk): Adjust.
2834 (ARENA_CORRUPTION_BIT): New macro.
2835 (arena_is_corrupt): Likewise.
2836 (set_arena_corrupt): Likewise.
2837 (sysmalloc): Use mmap if there are no usable arenas.
2838 (_int_malloc): Likewise.
2839 (__libc_malloc): Don't fail if arena_get returns NULL.
2840 (_mid_memalign): Likewise.
2841 (__libc_calloc): Likewise.
2842 (__libc_realloc): Adjust for additional argument to
2844 (_int_free): Likewise.
2845 (malloc_consolidate): Likewise.
2846 (_int_realloc): Likewise.
2847 (_int_memalign): Don't touch corrupt arenas.
2848 * malloc/tst-malloc-backtrace.c: New test case.
2850 * Makefile (summarize-tests): Fix return value on success.
2852 * manual/string.texi (Envz Functions): Add envz_remove.
2854 2015-05-18 Roland McGrath <roland@hack.frob.com>
2856 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2857 (invalid_name): New function, broken out of ...
2858 (__opendirat): ... here. Call it.
2859 (need_isdir_precheck): New function, broken out of ...
2860 (__opendirat): ... here. Call it.
2861 Use __fxstatat64, not __xstatat64.
2862 (opendir_oflags): New function, broken out of ...
2863 (__opendirat): ... here. Call it.
2864 (opendir_tail): New function, broken out of ...
2865 (__opendirat): ... here. Call it.
2866 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2867 opendir_tail, rather than punting to __opendirat.
2868 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2870 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2872 * .gitignore: Ignore generated *.pyc.
2874 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2876 * include/stdio.h: Define __need_wint_t.
2877 * test-skeleton.c: Avoid `for' loop initial declaration.
2878 * nptl/tst-initializers1.c: Use test-skeleton.c.
2880 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2883 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2885 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2888 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2889 (__ieee754_atanh): Force underflow exception for results with
2890 small absolute value.
2891 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2892 (__ieee754_atanhf): Force underflow exception for results with
2893 small absolute value.
2894 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2895 (__ieee754_atanh): Force underflow exception for results with
2896 small absolute value.
2897 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2898 (__ieee754_atanhf): Force underflow exception for results with
2899 small absolute value.
2900 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2901 (__ieee754_atanhl): Force underflow exception for results with
2902 small absolute value.
2903 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2904 (__ieee754_atanhl): Force underflow exception for results with
2905 small absolute value.
2906 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2907 (__ieee754_atanhl): Force underflow exception for results with
2908 small absolute value.
2909 * math/auto-libm-test-in: Do not allow missing underflow
2910 exceptions from atanh.
2911 * math/auto-libm-test-out: Regenerated.
2914 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2915 2**-28 as threshold for returning x or +/- 1/x.
2916 * math/auto-libm-test-in: Add more tests of tan.
2917 * math/auto-libm-test-out: Regenerated.
2920 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2921 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2922 * math/auto-libm-test-in: Add another test of lgamma.
2923 * math/auto-libm-test-out: Regenerated.
2925 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2927 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2928 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2929 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2930 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2931 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2932 (ADD2A): Use fabs. (SUB2A): Use fabs.
2933 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2934 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2936 (log1): Use fabs. (my_log2): Use fabs.
2937 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2938 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2940 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2942 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2943 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2944 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2945 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2946 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2947 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2949 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2952 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2953 as threshold for returning 1 - x.
2954 * math/auto-libm-test-in: Add more tests of erfc.
2955 * math/auto-libm-test-out: Regenerated.
2957 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2960 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2961 threshold for large arguments.
2962 * math/auto-libm-test-in: Add another test of atan.
2963 * math/auto-libm-test-out: Regenerated.
2966 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2967 (__log1p): Force underflow exception for results with small
2969 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2970 (__log1pf): Force underflow exception for results with small
2972 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2973 (__log1p): Force underflow exception for results with small
2975 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2976 (__log1pf): Force underflow exception for results with small
2978 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2979 (__log1pl): Force underflow exception for results with small
2981 * math/auto-libm-test-in: Do not allow missing underflow
2982 exceptions from log1p.
2983 * math/auto-libm-test-out: Regenerated.
2985 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2986 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2989 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2991 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2993 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2994 (libmvec): New variable.
2995 * configure.ac: Added option for mathvec build.
2996 * configure: Regenerated.
2997 * mathvec/Depend: New file.
2998 * mathvec/Makefile: New file.
2999 * shlib-versions: Added libmvec.
3000 * math/Makefile: Added rule for libm.so installation.
3002 * bits/math-vector.h: New file.
3003 * bits/libm-simd-decl-stubs.h: New header.
3004 * math/Makefile (headers): Added new header
3005 libm-simd-decl-stubs.h.
3006 * math/math.h (__MATHCALL_VEC): New macro.
3008 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3009 for conditions in testing functions.
3010 * math/Makefile: Added call of libm-have-vector-test.sh.
3011 * math/libm-test.inc (HAVE_VECTOR): New macros.
3013 * math/libm-test.inc: START refactored.
3014 * math/test-double.c (TEST_MATHVEC): Add define.
3015 * math/test-float.c: Likewise.
3016 * math/test-idouble.c: Likewise.
3017 * math/test-ifloat.c: Likewise.
3018 * math/test-ildoubl.c: Likewise.
3019 * math/test-ldouble.c: Likewise.
3020 * sysdeps/generic/math-tests-arch.h
3021 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3024 * math/test-double.c (FUNC_TEST): New macro.
3025 * math/test-float.c: Likewise.
3026 * math/test-idouble.c: Likewise.
3027 * math/test-ifloat.c: Likewise.
3028 * math/test-ildoubl.c: Likewise.
3029 * math/test-ldouble.c: Likewise.
3030 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3032 2015-05-13 Roland McGrath <roland@hack.frob.com>
3034 * sysdeps/nacl/fdopendir.c: New file.
3036 * dirent/scandir-tail.c: New file.
3037 * dirent/scandir64-tail.c: New file.
3038 * dirent/Makefile (routines): Add them.
3039 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3040 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3041 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3042 [!SCANDIR] (SCANDIR_TAIL): New macro.
3043 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3044 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3045 (SCANDIRAT): Macro removed.
3046 (SCANDIR_TAIL): New macro.
3047 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3048 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3049 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3050 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3051 (READDIR): Macro removed.
3052 (SCANDIR_TAIL): New macro.
3053 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3054 (SCANDIR_TAIL): New macro.
3056 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3057 * dirent/scandir-cancel.c: ... to this new file.
3058 * dirent/Makefile (routines): Add it.
3059 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3060 * sysdeps/unix/sysv/linux/i386/scandir64.c
3061 (SKIP_SCANDIR_CANCEL): Macro removed.
3062 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3064 * dirent/tst-scandir.c: New file.
3065 * dirent/tst-scandir64.c: New file.
3066 * dirent/Makefile (tests): Add them.
3068 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3071 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3073 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3075 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3078 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3080 * benchtests/bench-strcoll.c: New benchmark.
3081 * benchtests/Makefile: Generate locales and run benchmark.
3082 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3083 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3084 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3085 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3086 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3087 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3088 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3089 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3090 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3091 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3092 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3093 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3094 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3095 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3096 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3097 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3098 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3099 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3100 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3101 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3102 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3103 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3104 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3105 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3107 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3109 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3110 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3112 2015-05-12 Roland McGrath <roland@hack.frob.com>
3114 * posix/uname-values.h: New file.
3115 * posix/uname.c: Include that instead of <config-name.h>.
3116 * sysdeps/nacl/uname-values.h: New file.
3117 * sysdeps/arm/nacl/uname-values.h: New file.
3119 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3121 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3122 splitting into fields.
3124 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3126 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3127 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3128 * locale/localeinfo.h: Add enum collation_encoding_type.
3129 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3130 * programs/ld-collate.c (collate_output): Add encoding type info.
3131 * string/strcoll_l.c (STRDIFF): New function.
3132 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3133 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3135 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3138 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3139 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3140 <fpu_control.h> instead of <math/fpu_control.c>.
3141 * sysdeps/mips/mips32/fpu/Makefile: New file.
3143 2015-05-11 Andreas Schwab <schwab@suse.de>
3146 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3148 (_nss_compat_endgrent): Call nss_endgrent.
3149 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3151 (_nss_compat_endpwent): Call nss_endpwent.
3152 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3153 needent, call nss_setspent only if non-zero.
3154 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3155 (internal_endspent): Don't call nss_endspent.
3156 (_nss_compat_endspent): Call nss_endspent.
3157 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3158 Remove. All uses removed.
3159 (internal_setent): Remove parameter stayopen, add parameter
3160 stream. Use it instead of global variable.
3161 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3162 (internal_endent, internal_getent): Add parameter stream. Use it
3163 instead of global variable.
3164 (CONCAT(_nss_files_end,ENTNAME))
3165 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3166 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3167 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3169 (internal_setent, internal_endent): Add parameter stream. Use it
3170 instead of global variable.
3171 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3173 (get_next_alias): Add parameter stream.
3174 (_nss_files_getaliasent_r): Pass global stream.
3175 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3176 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3177 (_nss_files_gethostbyname4_r): Pass local stream to
3178 internal_setent, internal_getent and internal_endent. Remove
3181 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3183 * tst-strfmon1.c (tests): Update expected currency symbol.
3185 2015-05-08 Roland McGrath <roland@hack.frob.com>
3187 * sysdeps/nacl/gethostname.c: New file.
3189 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3191 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3193 * math/auto-libm-test-out: Regenerated.
3194 * sysdeps/i386/fpu/libm-test-ulps: Update.
3195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3197 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3200 * stdlib/tst-setcontext3.c: New file.
3201 * stdlib/tst-setcontext3.sh: New file.
3202 * stdlib/Makefile (tests): Add tst-setcontext3.
3203 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3204 to verify test program created output file.
3205 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3206 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3207 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3208 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3210 2015-05-06 Roland McGrath <roland@hack.frob.com>
3213 * elf/tst-tlsalign.c: New file.
3214 * elf/tst-tlsalign-static.c: New file.
3215 * elf/tst-tlsalign-lib.c: New file.
3216 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3217 (tests-static): Add tst-tlsalign-static.
3218 (modules-names): Add tst-tlsalign-lib.
3219 (test-xfail-tst-tlsalign): New variable.
3220 (test-xfail-tst-tlsalign-static): New variable.
3222 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3223 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3225 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3227 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3228 csqrt, erfc, sin and sincos.
3229 * math/auto-libm-test-out: Regenerated.
3230 * sysdeps/i386/fpu/libm-test-ulps: Update.
3231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3233 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3235 * sysdeps/aarch64/libm-test-ulps: Update.
3237 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3239 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3240 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3241 * math/auto-libm-test-out: Regenerated.
3242 * sysdeps/i386/fpu/libm-test-ulps: Update.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3245 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3248 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3249 (wcsncpy): Likewise.
3251 2015-05-05 Florian Weimer <fweimer@redhat.com>
3253 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3254 Assume __ASSUME_FALLOCATE is always true.
3255 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3256 (__posix_fallocate64_l64): Likweise.
3257 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3258 (posix_fallocate): Likewise.
3259 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3260 (__posix_fallocate64_l64): Likewise.
3261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3262 [!__ASSUME_FALLOCATE]: Add comment.
3264 2015-05-05 Florian Weimer <fweimer@redhat.com>
3266 * sysdeps/unix/sysv/linux/i386/Makefile
3267 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3268 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3269 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3270 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3271 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3272 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3273 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3275 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3277 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3278 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3280 * math/auto-libm-test-out: Regenerated.
3281 * sysdeps/i386/fpu/libm-test-ulps: Update.
3282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3284 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3286 * math/auto-libm-test-in: Add more tests of tgamma.
3287 * math/auto-libm-test-out: Regenerated.
3288 * sysdeps/i386/fpu/libm-test-ulps: Update.
3289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291 * math/auto-libm-test-in: Add more tests of tanh.
3292 * math/auto-libm-test-out: Regenerated.
3293 * sysdeps/i386/fpu/libm-test-ulps: Update.
3294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3296 * math/auto-libm-test-in: Add more tests of tan.
3297 * math/auto-libm-test-out: Regenerated.
3298 * sysdeps/i386/fpu/libm-test-ulps: Update.
3299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3301 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3302 * math/auto-libm-test-out: Regenerated.
3303 * sysdeps/i386/fpu/libm-test-ulps: Update.
3304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3306 * math/auto-libm-test-in: Add another test of pow.
3307 * math/auto-libm-test-out: Regenerated.
3308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3310 * math/auto-libm-test-in: Add more tests of lgamma.
3311 * math/auto-libm-test-out: Regenerated.
3312 * sysdeps/i386/fpu/libm-test-ulps: Update.
3313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3315 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3317 * math/auto-libm-test-out: Regenerated.
3318 * sysdeps/i386/fpu/libm-test-ulps: Update.
3319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3321 2015-05-01 Mark Wielaard <mjw@redhat.com>
3323 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3324 Elf64_Chdr structs and ELFCOMPRESS constants.
3326 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3328 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3330 * math/auto-libm-test-out: Regenerated.
3331 * sysdeps/i386/fpu/libm-test-ulps: Update.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3334 * math/auto-libm-test-in: Add more tests of erf and erfc.
3335 * math/auto-libm-test-out: Regenerated.
3336 * sysdeps/i386/fpu/libm-test-ulps: Update.
3337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3341 * config.h.in (HAVE_AARCH64_BE): Add.
3343 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3345 * math/auto-libm-test-in: Add more tests of csqrt.
3346 * math/auto-libm-test-out: Regenerated.
3347 * sysdeps/i386/fpu/libm-test-ulps: Update.
3348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3350 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3351 * math/auto-libm-test-out: Regenerated.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3357 2015-04-29 Roland McGrath <roland@hack.frob.com>
3359 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3360 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3362 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3363 (euidaccess, eaccess): Define as weak aliases.
3365 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3366 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3367 but __suseconds_t is often 'long int' so some sources assume that
3368 type is being used (e.g. they use %ld to print tv_usec).
3370 2015-04-29 Florian Weimer <fweimer@redhat.com>
3373 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3375 * nss/tst-nss-getpwent.c: New file.
3376 * nss/Makefile (tests): Add new test.
3378 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3381 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3382 exponents less than 48 as cases where high part of mantissa needs
3383 examining to determine whether argument is integral.
3384 * math/libm-test.inc (round_test_data): Add more tests.
3386 2015-04-28 Mark Wielaard <mjw@redhat.com>
3388 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3390 2015-04-27 David S. Miller <davem@davemloft.net>
3392 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3394 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3396 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3399 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3401 2015-04-27 Florian Weimer <fweimer@redhat.com>
3404 * time/tzset.c (parse_tzname): Return error on memory allocation
3406 * test-skeleton.c (struct temp_name_list): Change type of name
3407 member to non-const.
3408 (add_temp_file): Create a copy of the file name.
3409 (delete_temp_files): Deallocate memory.
3410 (create_temp_file): Add comment.
3412 2015-04-24 Florian Weimer <fweimer@redhat.com>
3414 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3415 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3417 2015-04-24 Roland McGrath <roland@hack.frob.com>
3419 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3420 * sysdeps/arm/configure: Regenerated.
3422 2015-04-24 Florian Weimer <fweimer@redhat.com>
3425 * time/tzfile.c (__tzfile_read): Check for large values of
3426 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3427 * time/tzset.c (__tzstring_len): New function, based on the old
3428 __tzstring function.
3429 (__tzstring): Call __tzstring_len.
3430 (parse_tzname): New helper function extracted from
3431 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3433 (parse_offset): New helper function extracted from
3434 __tzset_parse_tz. Replace switch with fallthrough with
3435 initialization before sscanf.
3436 (parse_rule): Likewise.
3437 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3438 new-style function definition.
3439 * timezone/Makefile (tests): Add tst-tzset.
3440 (tst-tzset.out): Dependencies on time zone files.
3441 (tst-tzset-ENV): Set TZDIR.
3442 (testdata/XT%): Copy crafted time zone files.
3443 * timezone/README: Mention crafted time zone files.
3444 * timezone/testdata/XT1, timezone/testdata/XT2,
3445 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3447 * timezone/tst-tzset.c: New test.
3449 2015-04-24 Florian Weimer <fweimer@redhat.com>
3451 * Makeconfig (+gccwarn): Remove -Winline.
3453 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3455 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3457 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3459 * NEWS: Mention sysconf() cache information support for s390.
3460 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3462 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3464 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3465 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3466 (__nearbyint): Likewise.
3467 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3468 (copysignl): Likewise.
3470 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3473 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3474 based on padding. (CVE-2015-1781)
3476 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3478 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3480 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3481 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3482 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3483 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3484 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3485 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3488 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3489 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3490 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3491 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3492 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3493 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3494 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3495 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3496 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3498 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3499 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3500 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3501 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3502 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3504 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3506 * stdlib/setenv.c (__add_to_environ):
3507 Dump core quickly if setenv (..., NULL, ...) is called.
3508 This time, do it the right way, and pacify GCC with a pragma.
3510 2015-04-17 Roland McGrath <roland@hack.frob.com>
3512 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3513 IMAP->l_prev cannot be null, and #if out the code for the contrary
3514 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3515 believe that NS (&_dl_ns[NSID]) could point outside the array.
3517 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3518 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3519 before using NSID as an index.
3521 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3524 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3525 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3526 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3528 2015-04-17 Roland McGrath <roland@hack.frob.com>
3530 Add preliminary port to Google Native Client on ARM.
3531 * abi-tags (.*-.*-nacl.*): New entry.
3532 * sysdeps/arm/nacl: New directory.
3533 * sysdeps/nacl: New directory.
3535 2015-04-16 David S. Miller <davem@davemloft.net>
3537 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3538 lowlevellock-futex.h
3540 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3542 * sysdeps/tile/configure.ac: New file.
3543 * sysdeps/tile/configure: Regenerated.
3545 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3547 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3548 conditionals for weak_alias and libc_hidden_weak.
3549 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3550 libc_hidden_weak and weak_alias.
3551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3552 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3553 and weak_alias for static one.
3555 2015-04-15 David S. Miller <davem@davemloft.net>
3557 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3559 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3562 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3563 Use signed comparision instead of substraction to avoid
3565 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3566 Take the sign of ret.
3567 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3568 Do not expect precise return values. Only the sign matters.
3569 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3570 * wcsmbs/test-wcsncmp.c: New File.
3571 * string/test-strncmp.c: Add wcsncmp support.
3573 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3576 * math/w_log1p.c: New file.
3577 * math/w_log1pf.c: Likewise.
3578 * math/w_log1pl.c: Likewise.
3579 * math/Makefile (libm-calls): Add w_log1p.
3580 * math/s_log1pl.c (log1pl): Remove weak_alias.
3581 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3582 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3583 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3584 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3585 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3586 [NO_LONG_DOUBLE] (log1pl): Likewise.
3587 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3588 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3589 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3590 (log1p): Remove long_double_symbol.
3591 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3592 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3593 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3594 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3595 remove weak_alias for corresponding log1p function.
3596 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3597 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3598 * sysdeps/ia64/fpu/w_log1p.c: New file.
3599 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3600 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3601 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3603 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3607 decimal exponent by 1.
3608 * stdlib/tst-strtod-round-data: Add more tests.
3609 * stdlib/tst-strtod-round.c (tests): Regenerated.
3611 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3613 * math/auto-libm-test-in: Add more tests of clog and clog10.
3614 * math/auto-libm-test-out: Regenerated.
3615 * sysdeps/i386/fpu/libm-test-ulps: Update.
3616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3618 2015-04-09 Roland McGrath <roland@hack.frob.com>
3620 * Makeconfig (module-cppflags): Exclude all .v.i files.
3621 (skip-module-cppflags): Variable removed.
3623 * configure.ac (libc_config_ok): Initialize before reading
3624 preconfigure scripts, not after.
3625 * configure: Regenerated.
3627 * test-skeleton.c (TIMEOUT): Move #define to top level.
3628 (main): Grok environment variable TEST_DIRECT. If set, print
3629 test expectation details into that file and then behave as if
3632 2015-04-09 Florian Weimer <fweimer@redhat.com>
3634 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3637 2015-04-08 David S. Miller <davem@davemloft.net>
3639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3641 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3643 * math/auto-libm-test-in: Add more tests of atanh.
3644 * math/auto-libm-test-out: Regenerated.
3645 * sysdeps/i386/fpu/libm-test-ulps: Update.
3646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3648 * math/auto-libm-test-in: Add more tests of atan.
3649 * math/auto-libm-test-out: Regenerated.
3650 * sysdeps/i386/fpu/libm-test-ulps: Update.
3651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3653 2015-04-08 Florian Weimer <fweimer@redhat.com>
3655 * elf/pldd.c (main): Rewrite to use struct
3656 scratch_buffer instead of extend_alloca.
3657 * elf/pldd-xx.c (find_maps): Likewise.
3658 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3660 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3661 scratch_buffer instead of extend_alloca.
3662 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3663 grp/compat-initgroups.c.
3664 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3665 Rewrite to use struct scratch_buffer instead of extend_alloca.
3666 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3667 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3669 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3671 * math/auto-libm-test-in: Add more tests of cbrt.
3672 * math/auto-libm-test-out: Regenerated.
3673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3675 * math/auto-libm-test-in: Add more tests of cabs.
3676 * math/auto-libm-test-out: Regenerated.
3677 * sysdeps/i386/fpu/libm-test-ulps: Update.
3678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3682 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3683 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3685 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3687 * math/auto-libm-test-out: Regenerated.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3693 (atan): Set FE_TONEAREST mode for internal computations.
3694 * math/auto-libm-test-in: Add more tests of atan.
3695 * math/auto-libm-test-out: Regenerated.
3697 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3700 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3702 2015-04-07 Florian Weimer <fweimer@redhat.com>
3704 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3706 2015-04-07 Florian Weimer <fweimer@redhat.com>
3708 * include/scratch_buffer.h: New file.
3709 * malloc/scratch_buffer_grow.c: Likewise.
3710 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3711 * malloc/scratch_buffer_set_array_size.c: Likewise.
3712 * malloc/tst-scratch_buffer.c: Likewise.
3713 * malloc/Makefile (routines): Add scratch_buffer_grow.
3714 (tests): Add test case.
3715 * malloc/Versions (GLIBC_PRIVATE): Export
3716 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3717 __libc_scratch_buffer_set_array_size.
3719 2015-04-06 Richard Henderson <rth@redhat.com>
3721 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3722 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3724 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3725 unsigned int before printing.
3727 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3730 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3731 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3733 2015-04-02 Florian Weimer <fweimer@redhat.com>
3735 * include/libc-internal.h (libc_max_align_t): Define.
3737 2015-04-02 Andreas Schwab <schwab@suse.de>
3740 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3742 2015-04-02 Mel Gorman <mgorman@suse.de>
3745 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3746 as well as the main arena.
3748 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3751 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3752 sharing L2 cache to 2 for Silvermont/Knights Landing.
3754 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3757 * config.make.in (have-protected-data): New.
3758 * configure.ac: Check linker support for protected data symbol.
3759 * configure: Regenerated.
3760 * elf/Makefile (modules-names): Add tst-protected1moda and
3761 tst-protected1modb if $(have-protected-data) is yes.
3762 (tests): Add tst-protected1a and tst-protected1b if
3763 $(have-protected-data) is yes.
3764 ($(objpfx)tst-protected1a): New.
3765 ($(objpfx)tst-protected1b): Likewise.
3766 (tst-protected1modb.so-no-z-defs): Likewise.
3767 * elf/tst-protected1a.c: New file.
3768 * elf/tst-protected1b.c: Likewise.
3769 * elf/tst-protected1mod.h: Likewise.
3770 * elf/tst-protected1moda.c: Likewise.
3771 * elf/tst-protected1modb.c: Likewise.
3773 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3776 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3777 indicates it is called from do_lookup_x on relocation against
3778 protected data, skip the data definion in the executable from
3780 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3781 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3782 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3783 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3784 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3786 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3787 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3788 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3789 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3790 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3791 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3793 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3795 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3796 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3798 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3800 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3802 * sysdeps/x86_64/nptl/tls.h: Ditto.
3804 2015-03-27 Roland McGrath <roland@hack.frob.com>
3806 * dlfcn/tststatic.c (main): Converted to ...
3807 (do_test): ... this.
3808 (TEST_FUNCTION): New macro.
3809 Include test-skeleton.c.
3811 2015-03-26 Alan Modra <amodra@gmail.com>
3813 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3814 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3815 zero for undefined weak.
3816 (elf_machine_plt_conflict): Similarly.
3818 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3820 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3822 * math/auto-libm-test-out: Regenerated.
3823 * sysdeps/i386/fpu/libm-test-ulps: Update.
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3826 * math/auto-libm-test-in: Add another test of asin.
3827 * math/auto-libm-test-out: Regenerated.
3828 * sysdeps/i386/fpu/libm-test-ulps: Update.
3829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3831 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3833 (LLL_EBX_REG): Likewise.
3834 (LLL_ENTER_KERNEL): Likewise.
3836 * math/auto-libm-test-in: Add more tests of asin.
3837 * math/auto-libm-test-out: Regenerated.
3838 * sysdeps/i386/fpu/libm-test-ulps: Update.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3843 libc_do_syscall_args): New structure.
3844 (INTERNAL_SYSCALL_MAIN_0): New macro.
3845 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3846 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3847 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3848 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3849 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3850 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3851 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3852 Replace conditional definitions by conditional definitions of ....
3853 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3854 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3855 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3856 (libpthread-sysdep_routines): Add libc-do-syscall.
3857 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3858 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3859 to __NR_futex not 240.
3861 2015-03-25 Alan Modra <amodra@gmail.com>
3863 * NEWS: Advertise TLS optimization.
3864 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3865 (DT_PPC_NUM): Increment.
3866 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3867 (CHECK_STATIC_TLS): Use here.
3868 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3871 * sysdeps/powerpc/dl-tls.c: New file.
3872 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3873 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3874 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3875 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3880 2015-03-25 Alan Modra <amodra@gmail.com>
3882 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3883 for overlapping .opd entries" to "support...".
3884 * sysdeps/powerpc/powerpc64/configure: Regenerate
3886 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3888 * math/auto-libm-test-in: Add more tests of acos.
3889 * math/auto-libm-test-out: Regenerated.
3890 * sysdeps/i386/fpu/libm-test-ulps: Update.
3891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3893 * math/auto-libm-test-in: Add more tests of expm1.
3894 * math/auto-libm-test-out: Regenerated.
3895 * sysdeps/i386/fpu/libm-test-ulps: Update.
3896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3898 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3900 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3901 * math/auto-libm-test-out: Regenerated.
3902 * sysdeps/i386/fpu/libm-test-ulps: Update.
3903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3908 * math/auto-libm-test-in: Add more tests of log2.
3909 * math/auto-libm-test-out: Regenerated.
3910 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913 2015-03-23 Roland McGrath <roland@hack.frob.com>
3915 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3916 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3917 _IO_IS_APPENDING bit in READ_WRITE instead.
3919 2015-03-23 Florian Weimer <fweimer@redhat.com>
3921 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3922 (__determine_cpumask_size): Replace extend_alloca with a
3923 variable-length array. Do not treat res == 0 as an error.
3925 2015-03-23 Florian Weimer <fweimer@redhat.com>
3928 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3929 and integer overflow.
3930 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3931 (main): Add integer overflow tests.
3932 * manual/pattern.texi (Calling Wordexp): Document additional use
3935 2015-03-23 Alan Modra <amodra@gmail.com>
3937 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3938 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3939 and false branch of conditional.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3943 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3945 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3947 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3948 unused declaration of _hurd_intr_rpc_msg_in_trap.
3949 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3950 defined instead of whether it is non-zero.
3951 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3952 input constraint instead of both input and output constraint. Use ecx
3953 clobber instead of %ecx.
3954 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3955 mutex_unlock): Use a statement expression instead of an expression list.
3956 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3957 type to vm_size_t instead of vm_address_t.
3958 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3959 defined instead of whether it is non-zero.
3960 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3961 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3962 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3963 comparisons with mapaddr.
3964 * nscd/nscd-client.h: Include <time.h>.
3965 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3966 9th parameter to __vm_region instead of int.
3967 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3968 * scripts/check-local-headers.sh (exclude): Add device/,
3969 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3972 2015-03-19 Roland McGrath <roland@hack.frob.com>
3974 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3975 to account for alignment padding.
3976 * sysdeps/arm/memmove.S: Likewise.
3978 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3980 * sysdeps/unix/sysv/linux/generic/README: New file.
3982 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3985 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3986 (futex_abstimed_wait)
3987 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3988 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3989 of lll_futex_timed_wait.
3991 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3994 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3996 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4003 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4004 entries with Static TLS too. Skip entries past the end of the
4005 allocated DTV, from Alan Modra.
4006 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4007 Static TLS DTV entry set up from...
4008 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4009 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4010 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4011 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4013 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4014 that the slot we find is associated with the given map before
4015 using its generation count.
4016 * nptl_db/db_info.c: Include ldsodefs.h.
4017 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4018 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4019 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4020 (link_map::l_tls_offset): New struct field.
4021 (dtv_t::counter): Likewise.
4022 (rtld_global): New struct.
4023 (_rtld_global): New rtld variable.
4024 (dl_tls_dtv_slotinfo_list): New rtld global field.
4025 (dtv_slotinfo_list): New struct.
4026 (dtv_slotinfo): Likewise.
4027 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4028 (td_lookup): Rename to...
4029 (td_mod_lookup): ... this. Use new mod parameter instead of
4031 * nptl_db/td_thr_tlsbase.c: Include link.h.
4032 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4033 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4034 addresses even if the DTV is out of date or missing them.
4035 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4036 index zero-length arrays.
4037 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4038 (td_lookup): Make it a macro implemented in terms of...
4039 (td_mod_lookup): ... this declaration.
4040 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4041 (DB_MAIN_VARIABLE): Likewise.
4043 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4046 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4048 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4050 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4052 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4055 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4056 (atomic_add, atomic_increment_and_test)
4057 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4059 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4061 * stdlib/setenv.c (__add_to_environ):
4062 Dump core quickly if setenv (..., NULL, ...) is called.
4064 2015-03-13 Roland McGrath <roland@hack.frob.com>
4066 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4067 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4068 all the necessary asm magic in one place.
4069 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4072 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4075 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4076 traced file mtime. Use consistent log message.
4077 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4078 (register_traced_file): Call install_watches. Always set mtime.
4079 (invalidate_cache): Iterate over all trace files. Call install_watches.
4080 (inotify_check_files): Don't inline. Handle watching parent
4081 directories and configuration file movement in and out.
4082 (handle_inotify_events): New function.
4083 (main_loop_poll): Call handle_inotify_events.
4084 (main_loop_epoll): Likewise.
4085 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4086 (struct traced_file): Use array of inotify fds. Add parent directory,
4088 (struct database_dyn): Remove unused file_mtime.
4089 (init_traced_file): New inline function.
4090 (define_traced_file): New macro.
4091 * nss/nss_db/db-init.c: Use define_traced_file.
4092 (_nss_db_init): Use init_traced_file.
4093 * nss/nss_files/files-init.c: Use define_traced_file.
4094 (_nss_files_init): Use init_traced_file.
4096 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4098 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4099 [_LIBC]: Do not include <stdlib.h>.
4100 [!_LIBC] (abort): Remove declaration.
4101 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4102 _FP_STATIC_ASSERT instead of conditionally calling abort.
4103 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4104 (_FP_EXTEND_CNAN): Likewise.
4105 (FP_TRUNC): Likewise.
4106 (__FP_CLZ): Likewise.
4107 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4109 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4111 * manual/string.texi (XPG basename): Fix prototype.
4113 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4117 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4118 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4119 (__setcontext): Likewise.
4120 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4121 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4122 Call rt_sigprocmask syscall one time to set new signal mask
4123 and retrieve the current signal mask instead of two calls.
4124 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4125 (__swapcontext): Likewise.
4126 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4127 * stdlib/tst-setcontext2.c: New file.
4129 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4131 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4133 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4136 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4139 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4142 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4144 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4146 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4147 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4149 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4150 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4151 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4152 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4153 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4154 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4156 * nptl_db/td_symbol_list.c (td_lookup): Remove
4157 HAVE_ASM_GLOBAL_DOT_NAME code.
4158 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4159 HAVE_ASM_GLOBAL_DOT_NAME check.
4160 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4161 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4162 (DOT_LABEL): Remove define.
4163 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4164 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4165 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4166 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4167 (__TLS_GET_ADDR): Likewise.
4168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4169 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4171 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4174 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4175 (_FPU_SETCW): Initialize cw from fpsr before storing.
4176 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4177 (fesetexceptflag): Rewrite using fpu_control.h.
4178 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4180 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4183 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4185 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4187 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4189 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4190 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4192 (_FP_FMA): Likewise.
4193 (_FP_DIV): Likewise.
4195 2015-03-10 Roland McGrath <roland@hack.frob.com>
4197 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4198 with 0 in that case.
4199 * Makefile (summarize-tests): New canned sequence, factored out of
4200 commands for targets tests and xtests. Display summary lines that
4201 don't start with PASS: or XFAIL: rather than ones that do start with
4202 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4203 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4204 do start with ERROR: or FAIL:.
4205 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4206 (except for [$(build-shared) = yes]).
4207 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4208 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4209 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4210 * nptl/Makefile: Revert 2015-03-04 changes.
4211 [$(CXX) empty] (tests-unsupported): New variable.
4212 * debug/Makefile: Likewise.
4214 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4215 gnulib file. Replace __attribute with __attribute__ throughout.
4217 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4219 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4221 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4224 * math/auto-libm-test-in: Add another test of pow.
4225 * math/auto-libm-test-out: Regenerated.
4227 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4229 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4230 $(config-cflags-nofma).
4232 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4234 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4235 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4236 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4237 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4238 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4239 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4240 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4241 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4242 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4243 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4244 Add comment on closing #endif.
4246 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4248 * posix/wordexp.c (CHAR_IN_SET): New macro.
4249 (parse_param): Use it.
4251 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4253 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4255 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4258 * posix/wordexp.c (parse_param): Fix buffer overflow.
4259 * posix/wordexp-test.c (test_case): Add test case.
4261 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4264 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4265 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4267 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4270 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4271 (do_bz18043): Delete.
4273 (testit): Refactor to have words at the edge of unreadable page.
4275 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4278 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4279 Cleanup read-only streams as well.
4280 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4282 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4284 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4287 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4289 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4291 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4292 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4293 * soft-fp/op-common.h (_FP_DECL): Likewise.
4295 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4297 * elf/ifuncdep2.c (global): Replace
4298 __attribute__((visibility("protected"))) with
4299 asm (".protected global").
4300 * elf/ifuncmod1.c (global): Likewise.
4301 * elf/ifuncmod5.c (global): Likewise.
4303 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4305 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4306 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4308 2015-03-06 Roland McGrath <roland@hack.frob.com>
4310 * manual/install.texi (Configuring and compiling):
4311 Document test-wrapper-env-only.
4312 * INSTALL: Regenerated.
4314 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4317 * posix/wordexp.c (parse_param): Fix buffer overflow.
4318 * posix/wordexp-test.c (do_bz18043): Add test case.
4320 2015-03-06 Vincent Bernat <vincent@bernat.im>
4322 * time/tst-strptime2.c (do_test): Ensure failing tests are
4324 * time/tst-strptime3.c (do_test): Likewise.
4326 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4328 Fix aio_error thread-safety.
4329 * sysdeps/pthread/aio_error.c: New file
4330 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4333 2015-03-06 Florian Weimer <fweimer@redhat.com>
4335 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4336 (group_number, vfprintf): Use it.
4337 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4338 (JUMP, REF): Use it.
4339 (WORK_BUFFER_SIZE): New enum constant.
4340 (process_arg, vfprintf): Use it.
4342 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4344 * manual/errno.texi (Error Messages): Complete example function
4345 by adding missing #define.
4346 (program_invocation_name): Add statement indicating GNU
4347 extension and reference which header file declares the variable.
4348 (program_invocation_short_name): Likewise.
4350 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4352 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4355 2015-03-05 Roland McGrath <roland@hack.frob.com>
4357 * Makeconfig (test-wrapper-env-only): New variable.
4358 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4359 then use that with $(test-wrapper-env-only) rather than using
4360 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4362 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4365 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4366 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4367 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4368 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4369 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4370 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4371 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4372 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4374 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4375 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4381 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4383 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4384 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4388 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4389 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4391 2015-03-04 Roland McGrath <roland@hack.frob.com>
4393 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4394 (ETH_ALEN): New macro.
4395 (struct ether_addr): Use it for length of ether_addr_octet.
4397 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4398 (setdb): Don't call __nss_configure_lookup for "rpc".
4399 (do_test): Don't call test_rpc.
4400 (output_rpcent, test_rpc): Functions moved ...
4401 * sunrpc/test-rpcent.c: ... to this new file.
4402 * sunrpc/Makefile (tests): Add it.
4404 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4406 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4407 * nptl/tst-signal6.c: Likewise.
4408 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4409 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4411 * configure.ac (libc_cv_cxx_link_ok): New check.
4412 Reset CXX to empty if it fails to link.
4413 * configure: Regenerated.
4414 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4415 bug-atexit3-lib only if $(CXX) is nonempty.
4416 * nptl/Makefile (tests): Likewise for tst-cancel24.
4417 (tests, tests-static): Likewise for tst-cancel24-static.
4418 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4419 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4420 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4421 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4423 2015-03-04 Andreas Schwab <schwab@suse.de>
4426 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4427 for non-GCC compilers.
4428 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4431 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4434 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4435 integer before bitwise and assembly operations.
4436 (feclearexcept): Likewise.
4437 * math/test-fenvinline.c: New file.
4438 * math/Makefile: Add test-fenvinline test.
4440 2015-03-03 Alan Modra <amodra@gmail.com>
4443 * scripts/localplt.awk: Strip off symbol version.
4444 * NEWS: Mention bug fix.
4446 2015-03-02 Roland McGrath <roland@hack.frob.com>
4448 * sysdeps/pthread/timer_routines.c
4449 (timer_free_list, thread_free_list, thread_active_list): Make static.
4451 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4454 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4455 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4457 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4458 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4460 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4461 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4464 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4467 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4468 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4470 2015-03-02 Andreas Schwab <schwab@suse.de>
4472 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4475 2015-03-02 Florian Weimer <fweimer@redhat.com>
4477 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4478 Return error status.
4480 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4483 * locale/findlocale.c (_nl_find_locale): Introduce const
4484 version of loc_name and drop unsafe type casts.
4486 2015-02-27 Roland McGrath <roland@hack.frob.com>
4488 * dlfcn/tststatic2.c (main): Converted to ...
4489 (do_test): ... this.
4490 (TEST_FUNCTION): New macro.
4491 Include test-skeleton.c.
4493 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4496 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4497 (tests-pie): Add vismain.
4498 (CFLAGS-vismain.c): New.
4499 * elf/vismain.c: Add comments for PIE requirement.
4501 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4506 0x1p-56L as threshold for just returning the argument.
4507 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4508 0x1p-32L as threshold for just returning the argument.
4509 * math/auto-libm-test-in: Add more tests of atanh.
4510 * math/auto-libm-test-out: Regenerated.
4511 * sysdeps/i386/fpu/libm-test-ulps: Update.
4512 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4514 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4516 * string/bcopy.c (bcopy): Call memmove for performance.
4518 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4520 * string/bzero.c (__bzero): Call memset for performance.
4522 2015-02-27 John David Anglin <dave.anglin@bell.net>
4525 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4528 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4530 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4532 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4534 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4535 (__kernel_standard): Use CSTR macro when setting exc.name.
4536 * sysdeps/ieee754/Makefile [$(subdir) = math]
4537 (CFLAGS-k_standard.c): Remove variable.
4539 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4540 setting p and q from "else if" to "else".
4542 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4544 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4546 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4548 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4550 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4555 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4556 return pi/2 for arguments below 0x1p-113L.
4557 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4558 return pi/2 for arguments below 0x1p-106L.
4559 * math/auto-libm-test-in: Add more tests of acos.
4560 * math/auto-libm-test-out: Regenerated.
4563 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4565 (__ieee754_asin): Force underflow exception for results with small
4567 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4569 (__ieee754_asinf): Force underflow exception for results with
4570 small absolute value.
4571 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4572 (__ieee754_asin): Force underflow exception for results with small
4574 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4575 (__ieee754_asinf): Force underflow exception for results with
4576 small absolute value.
4577 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4578 (__ieee754_asinl): Force underflow exception for results with
4579 small absolute value.
4580 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4581 (__ieee754_asinl): Force underflow exception for results with
4582 small absolute value.
4583 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4584 (__ieee754_asinl): Force underflow exception for results with
4585 small absolute value.
4586 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4588 * math/auto-libm-test-in: Do not mark underflow exceptions as
4589 possibly missing for bug 16351.
4590 * math/auto-libm-test-out: Regenerated.
4593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4594 of power of 2 down when low part has opposite sign.
4595 * math/libm-test.inc (logb_test_data): Add more tests.
4597 2015-02-26 Andreas Schwab <schwab@suse.de>
4600 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4601 over collating symbol inside a bracket expression. Minor cleanup.
4602 * posix/tst-fnmatch3.c (do_test): Add test case.
4604 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4607 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4608 Adjust exponent of power of 2 down when low part has opposite
4610 * math/libm-test.inc (ilogb_test_data): Add more tests.
4612 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4615 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4616 the previous change.
4619 * locale/findlocale.c (_nl_find_locale): Retry archive search
4620 after alias expansion.
4622 2015-02-25 Roland McGrath <roland@hack.frob.com>
4624 * iconv/tst-iconv3.c (main): Converted to ...
4625 (do_test): ... this.
4626 (TEST_FUNCTION): New macro.
4627 Include test-skeleton.c.
4629 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4630 (convert): Make function static.
4631 (test_unalign): Likewise. Add const to argument pointee types.
4632 (main): Replace with static function do_test.
4633 Print "Succeeded." only if RET is zero.
4634 (TEST_FUNCTION): New macro.
4635 Include test-skeleton.c.
4637 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4638 returns a null pointer.
4640 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4642 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4643 to __memcpy_ppc only for static builds.
4645 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4648 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4649 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4650 * math/auto-libm-test-in: Add more tests of asinh.
4651 * math/auto-libm-test-out: Regenerated.
4652 * sysdeps/i386/fpu/libm-test-ulps: Update.
4653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4655 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4658 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4659 and ip6_mtuinfo definitions here.
4660 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4661 in this define too. Update comment.
4663 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4665 * elf/sprof.c (load_shobj): Tweak error message to match others.
4667 2015-02-24 Kevin Easton <kevin@guarana.org>
4669 [BZ #16145] (partial fix)
4670 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4671 to reduce lock contention.
4673 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4675 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4676 (struct timex): Update time comment.
4677 (ADJ_SETOFFSET): Define.
4679 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4682 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4683 2**56 not 2**28 as threshold for log (2x) formula.
4684 * math/auto-libm-test-in: Add more tests of acosh.
4685 * math/auto-libm-test-out: Regenerated.
4686 * sysdeps/i386/fpu/libm-test-ulps: Update.
4687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4689 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4691 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4692 parenthesis around the buf assignment.
4693 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4695 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4698 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4699 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4700 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4701 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4702 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4703 * math/libm-test.inc (scalb_test_data): Add more tests.
4705 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4708 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4709 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4711 2015-02-24 Eric Rannaud <e@nanocritical.com>
4714 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4715 * io/bits/fcntl2.h (open): Use it.
4717 * io/open.c (__libc_open): Likewise.
4718 * io/open64.c (__libc_open64): Likewise.
4719 * io/open64_2.c (__open64_2): Likewise.
4720 * io/open_2.c (__open_2): Likewise.
4721 * io/openat.c (__openat): Likewise.
4722 * io/openat64.c (__openat64): Likewise.
4723 * io/openat64_2.c (__openat64_2): Likewise.
4724 * io/openat_2.c (__openat_2): Likewise.
4725 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4726 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4727 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4728 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4729 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4730 (__open_nocancel): Likewise.
4731 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4732 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4733 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4735 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4738 * resolv/gethnamaddr.c (getanswer): Skip logging if
4739 RES_USE_DNSSEC is set.
4740 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4742 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4744 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4746 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4748 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4749 201304L, for Unicode 7.
4751 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4754 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4755 shared library. Add gmon-start.os otherwise.
4756 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4757 $(objpfx)gmon-start.os if builing shared library.
4758 ($(objpfx)g$(static-start-installed-name)): Likewise.
4760 2015-02-23 Andreas Schwab <schwab@suse.de>
4762 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4764 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4767 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4768 (enlarge_userbuf): Likewise.
4770 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4772 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4773 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4774 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4775 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4777 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4779 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4780 expression inside statement expression.
4782 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4784 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4785 <sysdeps/nptl/lowlevellock.h> and remove macros and
4786 functions that are now defined there.
4787 (SYS_futex): Remove.
4788 (lll_compare_and_swap): Remove.
4789 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4791 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4794 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4795 instead of scandirat.
4796 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4797 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4798 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4800 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4801 (__scandirat): Declare. Use libc_hidden_proto.
4802 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4804 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4806 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4809 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4811 (__ieee754_atan2): For results with small absolute value, force
4812 underflow exception and remove excess range and precision from
4814 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4816 (__ieee754_atan2f): For results with small absolute value, force
4817 underflow exception and remove excess range and precision from
4819 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4821 (__atan): For results with small absolute value, force underflow
4822 exception and remove excess range and precision from return value.
4823 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4825 (__atanf): For results with small absolute value, force underflow
4826 exception and remove excess range and precision from return value.
4827 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4829 (__ieee754_atan2): Force underflow exception for results with
4830 small absolute value.
4831 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4833 (atan): Force underflow exception for results with small absolute
4835 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4836 (__atanf): Force underflow exception for results with small
4838 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4840 (__atanl): Force underflow exception for results with small
4842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4843 (__atanl): Force underflow exception for results with small
4845 * sysdeps/x86/fpu/bits/mathinline.h
4846 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4847 (__ieee754_atan2): Only define inline for long double.
4848 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4849 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4850 * math/auto-libm-test-in: Do not mark underflow exceptions as
4851 possibly missing for bug 15319. Add more tests of atan2.
4852 * math/auto-libm-test-out: Regenerated.
4853 * math/libm-test.inc (casin_test_data): Do not mark underflow
4854 exceptions as possibly missing for bug 15319.
4855 (casinh_test_data): Likewise.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update.
4858 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4860 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4861 * sysdeps/mips/bits/endian.h: Fix comments.
4863 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4866 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4867 (hdestroy_r): Likewise.
4868 (hsearch_r): Likewise.
4869 (__hcreate_r): Declare and use libc_hidden_proto.
4870 (__hdestroy_r): Likewise.
4871 (__hsearch_r): Likewise.
4872 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4873 (hcreate): Call __hcreate_r instead of hcreate_r.
4874 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4875 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4876 as weak alias of __hcreate_r.
4877 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4879 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4881 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4883 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4884 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4885 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4886 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4888 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4890 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4891 arena_lock into a single arena_get.
4893 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4895 * dl-reloc.c: Inlucde libc-internal.h.
4896 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4897 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4898 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4899 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4900 (grow_heap): Likewise.
4901 * malloc/malloc.c: Include libc-internal.h.
4902 (do_check_malloc): Call powerof2.
4903 (sysmalloc): Use pagesize. Call ALIGN_UP.
4904 (systrim): Use pagesize.
4905 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4906 (__libc_valloc): Use pagesize.
4907 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4909 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4912 * include/sys/resource.h (__getrlimit64): Declare. Use
4914 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4915 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4916 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4918 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4920 [!getrlimit64] (getrlimit64): Define as weak alias of
4921 __getrlimit64. Use libc_hidden_weak.
4922 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4923 using __getrlimit64 not __new_getrlimit64.
4924 (__GI_getrlimit64): Likewise.
4925 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4927 (__GI_getrlimit64): Likewise.
4928 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4930 (getrlimit): Add __getrlimit64 alias.
4931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4933 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4935 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4936 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4938 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4940 * libio/fileops.c: Add missing sys/mman.h
4941 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4943 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4945 * manual/math.texi (Errors in Math Functions): Clarify goals
4946 regarding inexact and underflow exceptions.
4948 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4950 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4951 * sysdeps/mips/memset.S: Ditto.
4953 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4955 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4957 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4959 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4960 (__v1longjmp): Remove versioned symbol.
4961 (__v1siglongjmp): Remove alias and versioned symbol.
4962 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4963 (__v2siglongjmp): Likewise.
4965 2015-02-16 Torvald Riegel <triegel@redhat.com>
4967 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4969 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4971 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4973 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4976 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4977 zero result does not depend on the sign resulting from
4979 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4981 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4982 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4984 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4985 * math/libm-test.inc (remquo_test_data): Add more tests.
4987 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4989 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4990 Problem reported by J William Piggott.
4992 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4995 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4996 products 4 * y and 2 * y where those would overflow.
4997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4999 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5000 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5001 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5003 * math/libm-test.inc (remquo_test_data): Add more tests.
5005 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5007 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5008 [defined _COMPILING_NEWLIB].
5009 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5010 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5012 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5013 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5015 2015-02-16 Torvald Riegel <triegel@redhat.com>
5017 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5020 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5023 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5024 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5025 HOST_STACK_END_ADDR): Likewise.
5027 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5029 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5030 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5031 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5033 2015-02-13 Roland McGrath <roland@hack.frob.com>
5035 * sysdeps/generic/c++-types.data: New file.
5036 * sysdeps/generic/ld.abilist: New file.
5037 * sysdeps/generic/libBrokenLocale.abilist: New file.
5038 * sysdeps/generic/libanl.abilist: New file.
5039 * sysdeps/generic/libc.abilist: New file.
5040 * sysdeps/generic/libcrypt.abilist: New file.
5041 * sysdeps/generic/libdl.abilist: New file.
5042 * sysdeps/generic/libm.abilist: New file.
5043 * sysdeps/generic/libpthread.abilist: New file.
5044 * sysdeps/generic/libresolv.abilist: New file.
5045 * sysdeps/generic/librt.abilist: New file.
5047 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5050 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5051 Compute absolute value of x as modified by fmod, not original
5053 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5054 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5055 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5056 RUN_TEST_ffI_f1_mod8.
5057 (remquo_test_data): Add more tests.
5059 2015-02-13 Roland McGrath <roland@hack.frob.com>
5061 * sysdeps/init_array/pt-crti.S: New file.
5063 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5066 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5067 __builtin_fmaf instead of relying on contraction of a * b + c.
5069 2015-02-12 J William Piggott <elseifthen@gmx.com>
5072 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5075 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5078 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5079 __builtin_fma instead of relying on contraction of a * b + c.
5081 2015-02-12 Roland McGrath <roland@hack.frob.com>
5083 * Makeconfig (ASFLAGS): Add -Werror=undef.
5084 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5085 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5086 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5088 * Makeconfig (after-link): New variable.
5089 (+link-pie, +link-pie-tests): Use it.
5090 (+link-static, +link-static-tests): Likewise.
5091 (+link, +link-tests): Likewise.
5092 * Makerules (build-module, build-module-asneeded): Likewise.
5093 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5095 * elf/Makefile ($(objpfx)ld.so): Likewise.
5097 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5100 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5101 both struct timeval and struct timespec.
5103 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5106 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5108 (__ieee754_exp2l): Do not multiply small fractional parts by
5110 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5112 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5113 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5114 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5115 * math/auto-libm-test-in: Add more tests of exp2.
5116 * math/auto-libm-test-out: Regenerated.
5118 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5120 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5123 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5128 2015-02-12 Andreas Schwab <schwab@suse.de>
5131 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5132 Filter out elision flags from value returned in kind.
5133 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5134 * nptl/tst-pthread-mutexattr.c: New file.
5136 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5138 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5139 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5140 into gnu-gnu, and update comment to refer to abi-tags.
5142 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5145 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5146 (__sincos): Set errno to EDOM for infinite argument.
5147 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5148 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5149 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5150 (__sincosl): Set errno to EDOM for infinite argument.
5151 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5152 (__sincosl): Set errno to EDOM for infinite argument.
5153 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5154 (__sincosl): Set errno to EDOM for infinite argument.
5155 * math/libm-test.inc (sincos_test_data): Test errno setting.
5157 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5159 * string/strxfrm_l.c: Remove #define STRCMP.
5160 * string/strcoll_l.c: Remove #define STRLEN.
5161 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5162 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5164 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5166 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5167 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5168 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5169 * sysdeps/mips/mips64/Makefile: ... here.
5170 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5171 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5172 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5173 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5174 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5175 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5176 * sysdeps/mips/mips64/n64/Implies: Likewise.
5178 2015-02-10 Roland McGrath <roland@hack.frob.com>
5180 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5181 <sys/time.h>, <string.h>, and <errno.h>.
5182 (dest_offset, dest_address, value, zero): Remove unused variables.
5183 (ldouble): Remove typedef.
5184 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5185 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5187 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5188 (check): Function removed.
5190 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5191 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5192 Don't call set_sigaction_FP and remove_sigaction_FP here.
5193 (ldouble_test): Just use 'long double' as macro argument, no need for
5194 the 'ldouble' typedef.
5195 (do_test): Set up SIGFPE handler at start, using plain signal rather
5196 than sigaction. Fix code style.
5198 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5201 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5204 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5206 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5209 * sysdeps/powerpc/configure.ac: Remove file.
5210 * sysdeps/powerpc/configure: Likewise.
5212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5213 [sysdep_routines]: Remove wordcopy-power6 object.
5214 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5215 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5216 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5217 (__memmove_ppc32): Likewise.
5218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5220 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5221 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5222 Remove preprocessor.
5224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5225 [sysdep_routines]: Remove wide chars objects.
5226 [wcsmbs]: New rule for wide char objects.
5228 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5229 Remove wordcopy-power6 obejct.
5230 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5231 Use local call for wordcopy and memcpy symbols.
5232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5233 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5234 implementation for loader.
5235 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5237 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5238 Remove wordcopy-power7 object.
5239 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5240 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5241 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5242 (_wordcopy_fwd_dest_aligned): Likewise.
5243 (_wordcopy_bwd_aligned): Likewise.
5244 (_wordcopy_bwd_dest_aligned): Likewise.
5246 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5247 Rewrite to call __memmove_ppc instead of include default
5250 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5251 Remove wide chars objects.
5252 [wcsmbs]: New rule for wide char objects.
5254 2015-02-09 Andreas Schwab <schwab@suse.de>
5257 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5258 in terms of __O_DIRECTORY.
5260 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5262 * time/getdate.c: Include <stdbool.h>.
5263 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5265 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5268 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5270 Add ersatz _Static_assert on older C hosts
5271 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5272 pre-C11 C platform that is not known to support _Static_assert.
5274 2015-02-07 Richard Braun <rbraun@sceen.net>
5276 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5278 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5280 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5282 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5283 priority against unexistent AIO_PRIO_DELTA_MAX.
5284 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5286 * misc/fchflags.c (fchflags): Likewise.
5287 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5288 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5289 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5290 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5291 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5293 [__USE_MISC] (chflags, fchflags): Declare functions.
5294 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5295 EINVAL when nfds is greater than FD_SETSIZE.
5296 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5297 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5299 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5300 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5301 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5303 * hurd/hurd/signal.h (_hurd_self_sigstate,
5304 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5305 Explicit casts from void *.
5306 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5307 * abi-tags: Rename gnu-gnu os into gnu.
5310 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5311 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5312 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5313 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5314 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5315 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5318 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5319 duplicates ADDR->sun_path with sockaddr LEN limitation.
5320 * sysdeps/mach/hurd/connect.c: Include <string.h>
5321 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5322 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5323 * sysdeps/mach/hurd/sendto.c: Likewise.
5324 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5325 implementing it by hand.
5327 2015-02-06 Roland McGrath <roland@hack.frob.com>
5329 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5330 Use sfi_breg on ldr.
5331 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5334 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5336 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5337 Test SIGSETXID only if it's defined.
5339 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5341 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5342 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5344 * nptl/tst-align2.c: Moved ...
5345 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5346 * nptl/Makefile (tests): Remove tst-align2.
5347 * sysdeps/unix/sysv/linux/Makefile
5348 [$(subdir) = nptl] (tests): Add tst-align-clone.
5349 * nptl/tst-getpid1.c: Moved ...
5350 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5351 * nptl/tst-getpid2.c: Moved ...
5352 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5353 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5354 * sysdeps/unix/sysv/linux/Makefile
5355 [$(subdir) = nptl] (tests): ... here.
5356 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5357 * sysdeps/unix/sysv/linux/Makefile
5358 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5360 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5361 Drop trailing \n from perror argument. Use return rather than exit.
5363 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5365 * nptl/tst-cancel21.c (do_test): Likewise.
5366 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5367 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5368 [!SA_SIGINFO]: Make it a stub test.
5370 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5371 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5373 * posix/tst-getlogin.c: Move to ...
5374 * login/tst-getlogin.c: ... here.
5375 * posix/Makefile (tests): Move tst-getlogin to ...
5376 * login/Makefile (tests): ... here.
5378 * libio/tst-atime.c (do_test): Move local variables SV and E
5379 inside [ST_NOATIME] conditional.
5381 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5383 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5385 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5386 (wait_code): New function replaces macro.
5387 Call nanosleep rather than syscall.
5389 * nptl/pt-system.c: Rewritten. Put everything under
5390 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5391 Use IFUNC to redirect when possible.
5393 * nptl/pt-longjmp.c: Rewritten. Put everything under
5394 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5395 Use IFUNC to redirect when possible.
5397 * nptl/pt-fork.c: Rewritten. Put everything under
5398 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5399 Use IFUNC to redirect when possible.
5400 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5403 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5404 unconditionally nowadays. This included the only reference to
5405 __vdso_clock_gettime that appears outside libc proper.
5406 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5407 Remove version set (containing only __vdso_clock_gettime).
5408 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5409 Add attribute_hidden.
5410 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5411 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5412 libc_hidden_data_def.
5413 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5414 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5416 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5417 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5418 setrpcent, and getrpcport to ...
5419 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5420 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5421 getrpcbynumber_r, and getrpcent_r to ...
5422 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5423 * inet/getrpcbyname.c: Moved ...
5424 * sunrpc/getrpcbyname.c: ... here.
5425 * inet/getrpcbyname_r.c: Moved ...
5426 * sunrpc/getrpcbyname_r.c: ... here.
5427 * inet/getrpcbynumber.c: Moved ...
5428 * sunrpc/getrpcbynumber.c: ... here.
5429 * inet/getrpcbynumber_r.c: Moved ...
5430 * sunrpc/getrpcbynumber_r.c: ... here.
5431 * inet/getrpcent.c: Moved ...
5432 * sunrpc/getrpcent.c: ... here.
5433 * inet/getrpcent_r.c: Moved ...
5434 * sunrpc/getrpcent_r.c: ... here.
5435 * inet/Makefile (routines): Move those to ...
5436 * sunrpc/Makefile (routines): ... here.
5437 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5438 the $(subdirs) list.
5439 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5440 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5441 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5442 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5444 * elf/Makefile (routines): Include $(all-dl-routines), not just
5446 (rtld-routines): Likewise. Use = rather than :=.
5447 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5448 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5449 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5450 * sysdeps/arm/Makefile: Likewise.
5451 * sysdeps/i386/Makefile: Likewise.
5452 * sysdeps/x86_64/Makefile: Likewise.
5453 * sysdeps/hppa/Makefile [$(subdir) = elf]
5454 (sysdep_routines, sysdep-rtld-routines): Don't add
5455 $(sysdep-dl-routines) to these.
5456 * sysdeps/ia64/Makefile: Likewise.
5457 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5458 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5459 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5460 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5461 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5462 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5464 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5465 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5466 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5467 these; sysdep-dl-routines alone is enough.
5469 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5472 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5473 where multiplication results in zero and third argument is finite
5475 * math/auto-libm-test-in: Add more tests of fma.
5476 * math/auto-libm-test-out: Regenerated.
5478 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5479 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5480 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5481 (_FP_CMP_EQ): Likewise.
5482 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5484 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5485 extra argument CHECK_NAN. Redefine as wrapper around
5488 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5490 * version.h (RELEASE): Set to "stable".
5491 (VERSION): Set to "2.21"
5492 * include/features.h (__GLIBC_MINOR__): Set to 21.
5494 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5496 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5497 Paul Eggert <eggert@cs.ucla.edu>
5500 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5502 size in bytes. Store needed elements in wpmax. Use needed size
5503 in bytes for extend_alloca.
5505 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5507 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5508 binutls 2.25, and texinfo 5.2.
5509 * INSTALL: Regenerate.
5510 * sysdeps/nios2/configure: Regenerate.
5511 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5512 * manual/contrib.texi: Update.
5536 * po/pt_BR.po: Update.
5545 * po/zh_CN.po: Update.
5546 * po/zh_TW.po: Update.
5548 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5549 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5550 * sysdeps/hppa/dl-irel.h: Remove #warning.
5551 * sysdeps/hppa/entry.h: Provide prototype for
5552 __canonicalize_funcptr_for_compare and cast argument.
5553 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5554 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5555 * sysdeps/hppa/sotruss-lib.c: New file.
5556 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5557 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5558 (atomic_compare_and_exchange_bool_acq): Likewise.
5559 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5560 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5562 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5563 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5564 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5566 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5568 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5569 called function in non-PIC case.
5571 2015-01-31 David S. Miller <davem@davemloft.net>
5573 * sysdeps/sparc/sparc32/bits/atomic.h
5574 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5575 unlock not after it.
5576 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5577 volatile register usage warnings from the compiler.
5579 * sysdeps/sparc/nptl/sem_init.c: Delete.
5580 * sysdeps/sparc/nptl/sem_post.c: Delete.
5581 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5582 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5583 * sysdeps/sparc/sparc32/sem_init.c: New file.
5584 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5585 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5586 padding explicitly initialized.
5587 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5588 padding for in-semaphore spinlock.
5589 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5590 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5591 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5592 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5593 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5594 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5595 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5596 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5598 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5599 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5601 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5605 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5606 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5608 (index_AVX_Fast_Unaligned_Load): Likewise.
5609 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5610 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5611 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5612 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5613 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5614 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5615 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5616 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5617 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5619 2015-01-29 Andreas Schwab <schwab@suse.de>
5621 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5623 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5626 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5628 2015-01-28 Martin Sebor <msebor@redhat.com>
5630 * math/README.libm-test: Clarify. Add "How to read the test output."
5632 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5634 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5637 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5639 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5640 (__HAVE_64B_ATOMICS): Define to 0.
5642 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5645 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5646 value to set as new flag.
5649 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5650 and use _ARCH_PPCSQ instead.
5651 (__ieee754_sqrt): Likewise.
5652 (__ieee754_sqrtf): Likewise.
5653 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5654 _ARCH_PPCSQ is defined.
5655 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5657 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5658 _ARCH_PPCSQ is defined.
5659 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5663 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5665 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5666 bug (GCC BZ #64739).
5668 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5670 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5671 Mark _retval as used.
5672 (lll_futex_wake_unlock): Likewise.
5673 (lll_futex_timed_wait_requeue_pi): Likewise.
5675 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5676 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5679 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5682 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5683 (__bswap_64): Mark as __always_inline.
5685 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5688 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5689 when none of the search directories exist.
5691 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5694 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5695 power8 in .machine directive.
5698 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5699 set dependency from opd value.
5701 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5704 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5707 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5710 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5712 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5714 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5715 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5716 Replace 1UL with (uint64_t) 1.
5717 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5720 2015-01-23 Roland McGrath <roland@hack.frob.com>
5722 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5723 (if_freenameindex): Likewise.
5725 * resource/getrlimit64.c: Add missing libc_hidden_def.
5727 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5729 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5731 (_FP_FMA): Likewise.
5732 (_FP_TO_INT_ROUND): Likewise.
5733 (_FP_FROM_INT): Likewise.
5735 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5738 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5739 Make code racy and cancel safe.
5741 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5743 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5744 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5747 * pwd/tst-getpw.c: Rewrite.
5750 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5751 (modules-names): Add moddummy1 and moddummy2.
5752 ($(objpfx)tst-rec-dlopen): Define.
5753 * dlfcn/moddummy1.c: New file.
5754 * dlfcn/moddummy2.c: New file.
5755 * dlfcn/tst-rec-dlopen.c: New file.
5756 * elf/dl-cache.c (_dl_load_cache_lookup):
5757 Return char*. Copy result with alloca/strcpy/strdup.
5758 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5759 returns char*. Free cached. If not saving realname
5761 * elf/dl-open.c (dl_open_worker): Do not assert that
5762 _r_debug->r_state is RT_CONSISTENT.
5763 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5766 2015-01-21 Torvald Riegel <triegel@redhat.com>
5767 Carlos O'Donell <carlos@redhat.com>
5770 * nptl/sem_waitcommon.c: New file.
5771 * nptl/sem_wait.c: Include sem_waitcommon.c.
5772 (__sem_wait_cleanup, do_futex_wait): Remove.
5773 (__new_sem_wait): Adapt.
5774 (__new_sem_trywait): New function.
5775 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5776 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5777 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5778 (sem_timedwait): Adapt.
5779 * nptl/sem_post.c (__new_sem_post): Adapt.
5780 (futex_wake): New function.
5781 (__old_sem_post): Add release MO fence.
5782 * nptl/sem_open.c (sem_open): Adapt.
5783 * nptl/sem_init.c (__new_sem_init): Adapt.
5784 (futex_private_if_supported): New function.
5785 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5786 (__old_sem_getvalue): Add using previous code.
5787 * sysdeps/nptl/internaltypes.h: Adapt.
5788 * nptl/tst-sem13.c (do_test): Adapt.
5789 * nptl/tst-sem11.c (main): Adapt.
5790 * nptl/sem_trywait.c: Remove.
5791 * nptl/DESIGN-sem.txt: Remove.
5792 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5793 (gen-as-const-headers): Remove structsem.sym.
5794 * nptl/structsem.sym: Remove.
5795 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5796 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5797 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5798 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5799 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5800 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5801 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5802 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5803 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5804 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5805 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5806 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5807 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5808 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5809 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5810 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5811 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5812 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5813 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5814 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5815 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5816 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5818 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5820 * INSTALL: Regenerated.
5822 * po/libc.pot: Regenerated.
5824 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5825 Sandra Loosemore <sandra@codesourcery.com>
5826 Andrew Jenner <andrew@codesourcery.com>
5827 Joseph Myers <joseph@codesourcery.com>
5828 Nathan Sidwell <nathan@codesourcery.com>
5830 * NEWS: Mention new Nios II port.
5831 * sysdeps/nios2/Implies: New file.
5832 * sysdeps/nios2/Makefile: New file.
5833 * sysdeps/nios2/Subdirs: New file.
5834 * sysdeps/nios2/Versions: New file.
5835 * sysdeps/nios2/__longjmp.S: New file.
5836 * sysdeps/nios2/abort-instr.h: New file.
5837 * sysdeps/nios2/backtrace.c: New file.
5838 * sysdeps/nios2/bits/endian.h: New file.
5839 * sysdeps/nios2/bits/fenv.h: New file.
5840 * sysdeps/nios2/bits/link.h: New file.
5841 * sysdeps/nios2/bits/setjmp.h: New file.
5842 * sysdeps/nios2/bsd-_setjmp.S: New file.
5843 * sysdeps/nios2/bsd-setjmp.S: New file.
5844 * sysdeps/nios2/configure: New generated file.
5845 * sysdeps/nios2/configure.ac: New file.
5846 * sysdeps/nios2/crti.S: New file.
5847 * sysdeps/nios2/crtn.S: New file.
5848 * sysdeps/nios2/dl-init.c: New file.
5849 * sysdeps/nios2/dl-machine.h: New file.
5850 * sysdeps/nios2/dl-sysdep.h: New file.
5851 * sysdeps/nios2/dl-tls.h: New file.
5852 * sysdeps/nios2/dl-trampoline.S: New file.
5853 * sysdeps/nios2/gccframe.h: New file.
5854 * sysdeps/nios2/gmp-mparam.h: New file.
5855 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5856 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5857 * sysdeps/nios2/ldsodefs.h: New file.
5858 * sysdeps/nios2/libc-tls.c: New file.
5859 * sysdeps/nios2/libm-test-ulps: New file.
5860 * sysdeps/nios2/machine-gmon.h: New file.
5861 * sysdeps/nios2/math-tests.h: New file.
5862 * sysdeps/nios2/math_private.h: New file.
5863 * sysdeps/nios2/memusage.h: New file.
5864 * sysdeps/nios2/nptl/Makefile: New file.
5865 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5866 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5867 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5868 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5869 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5870 * sysdeps/nios2/nptl/tls.h: New file.
5871 * sysdeps/nios2/preconfigure: New file.
5872 * sysdeps/nios2/s_fma.c: New file.
5873 * sysdeps/nios2/s_fmaf.c: New file.
5874 * sysdeps/nios2/setjmp.S: New file.
5875 * sysdeps/nios2/sfp-machine.h: New file.
5876 * sysdeps/nios2/sotruss-lib.c: New file.
5877 * sysdeps/nios2/stackguard-macros.h: New file.
5878 * sysdeps/nios2/stackinfo.h: New file.
5879 * sysdeps/nios2/start.S: New file.
5880 * sysdeps/nios2/sysdep.h: New file.
5881 * sysdeps/nios2/tls-macros.h: New file.
5882 * sysdeps/nios2/tst-audit.h: New file.
5883 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5884 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5885 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5886 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5887 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5888 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5889 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5890 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5891 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5892 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5893 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5894 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5895 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5896 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5897 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5898 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5899 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5900 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5901 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5902 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5903 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5904 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5905 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5906 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5907 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5908 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5909 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5910 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5911 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5912 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5913 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5914 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5915 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5916 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5917 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5918 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5919 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5920 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5921 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5922 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5923 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5924 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5925 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5926 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5928 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5931 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5932 (getutent): Use weak_alias in non SHARED case
5933 and default_symbol_version in SHARED case.
5934 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5935 (getutent_r, pututline): Likewise.
5936 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5937 (getutid): Likewise.
5938 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5939 (getutid_r): Likewise.
5940 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5941 (getutline): Likewise.
5942 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5943 (getutline_r): Likewise.
5944 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5945 (updwtmp): Likewise.
5947 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5950 * sysdeps/s390/s390-32/memcmp.S
5951 (memcmp_g5): Rename to __memcmp_g5.
5952 * sysdeps/s390/s390-32/memcpy.S
5953 (memcpy_g5): Rename to __memcpy_g5.
5954 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5955 (memcpy_mvcle) Rename to __memcpy_mvcle.
5956 * sysdeps/s390/s390-32/memset.S
5957 (memset_g5): Rename to __memset_g5.
5958 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5959 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5960 and use prefixed functions.
5961 * sysdeps/s390/s390-32/multiarch/memcmp.S
5962 (memcmp_z196): Rename to __memcmp_z196.
5963 (memcmp_z10): Rename to __memcmp_z10.
5964 (memcmp): Set alias to __memcmp_g5.
5965 (bcmp): Set alias to __memcmp_g5.
5966 * sysdeps/s390/s390-32/multiarch/memcpy.S
5967 (memcpy_z196): Rename to __memcpy_z196.
5968 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5969 (memcpy_z10): Rename to __memcpy_z10.
5970 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5971 (memcpy): Set alias to __memcpy_g5.
5972 * sysdeps/s390/s390-32/multiarch/memset.S
5973 (memset_z196): Rename to __memset_z196.
5974 Jump to __memset_mvcle instead of memset_mvcle.
5975 (memset_z10): Rename to __memset_z10.
5976 Jump to __memset_mvcle instead of memset_mvcle.
5977 (memset_mvcle) Rename to __memset_mvcle.
5978 (memset): Set alias to __memset_g5.
5979 * sysdeps/s390/s390-64/memcmp.S
5980 (memcmp_z900): Rename to __memcmp_z900.
5981 * sysdeps/s390/s390-64/memcpy.S
5982 (memcpy_z900): Rename to __memcpy_z900.
5983 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5984 (memcpy_mvcle) Rename to __memcpy_mvcle.
5985 * sysdeps/s390/s390-64/memset.S
5986 (memset_z900): Rename to __memset_z900.
5987 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5988 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5989 and use prefixed functions.
5990 * sysdeps/s390/s390-64/multiarch/memcmp.S
5991 (memcmp_z196): Rename to __memcmp_z196.
5992 (memcmp_z10): Rename to __memcmp_z10.
5993 (memcmp): Set alias to __memcmp_z900.
5994 (bcmp): Set alias to __memcmp_z900.
5995 * sysdeps/s390/s390-64/multiarch/memcpy.S
5996 (memcpy_z196): Rename to __memcpy_z196.
5997 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5998 (memcpy_z10): Rename to __memcpy_z10.
5999 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6000 (memcpy): Set alias to __memcpy_z900.
6001 * sysdeps/s390/s390-64/multiarch/memset.S
6002 (memset_z196): Rename to __memset_z196.
6003 Jump to __memset_mvcle instead of memset_mvcle.
6004 (memset_z10): Rename to __memset_z10.
6005 Jump to __memset_mvcle instead of memset_mvcle.
6006 (memset_mvcle) Rename to __memset_mvcle.
6007 (memset): Set alias to __memset_z900.
6009 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6012 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6013 __fesetenv instead of fesetenv.
6015 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6017 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6020 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6025 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6026 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6028 strncmp-power8 object.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6030 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6031 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6034 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6035 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6038 trailing byte check.
6040 2015-01-13 David S. Miller <davem@davemloft.net>
6042 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6044 2015-01-13 Roland McGrath <roland@hack.frob.com>
6046 * login/logout.c (logout): Use memset rather than bzero.
6047 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6048 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6049 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6050 (_gethtbyaddr): Likewise.
6051 * locale/programs/simple-hash.c (bcopy): Macro removed.
6053 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6056 Add strcmp-power8 object.
6057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6058 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6059 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6061 __strcmp_power8 implementation.
6062 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6066 Add strncpy-power8 and stpncpy-power8 objects.
6067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6068 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6070 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6071 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6072 __stpncpy_power8 implementation.
6073 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6074 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6075 __strncpy_power8 implementation.
6076 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6077 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6080 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6081 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6082 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6084 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6085 strncat-power8 object.
6086 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6087 __strcat_power8 implementation.
6088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6089 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6090 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6091 optimized strcat for power8.
6093 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6094 strcpy-power8 and stpcpy-power8 objects.
6095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6096 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6098 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6099 multiarch stpcpy implementation for POWER8.
6100 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6101 multiarch strcpy implementation for POWER8.
6102 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6103 __strcpy_power8 function.
6104 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6106 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6110 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6113 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6114 weights and rules. Use do_xfrm_cached if data fits in cache,
6115 do_xfrm otherwise. Moved former main loop to...
6116 * (do_xfrm_cached): New function.
6117 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6118 find_idx, find_position and stack_push.
6119 * (find_idx): New function.
6120 * (find_position): Likewise.
6121 * localedata/sort-test.sh: Added test run for do_xfrm.
6122 * localedata/xfrm-test.c (main): Added command line option
6123 -nocache to run the test with strings that are too large for
6126 2015-01-13 Torvald Riegel <triegel@redhat.com>
6128 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6129 variable to lll_futex_wake call, not the value itself.
6131 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6134 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6135 twom64. Adjust value to 0x1p-64L.
6136 (__scalblnl): Only return standard underflowing result for K <=
6137 -64 not K <= -63; adjust exponent for underflowing result by 64
6139 * math/libm-test.inc (scalbn_test_data): Add more tests.
6140 (scalbln_test_data): Likewise.
6143 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6145 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6147 * math/libm-test.inc (scalbn_test_data): Add more tests.
6148 (scalbln_test_data): Likewise.
6150 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6151 Stefani Seibold <stefani@seibold.net>
6153 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6154 (sysdep_routines): Add dl-vdso here, ...
6155 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6156 (sysdep_routines): ... not here.
6157 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6158 fallback when vDSO is not presented.
6159 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6160 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6161 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6162 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6163 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6164 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6165 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6167 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6169 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6170 fallback configurable symbol when vDSO is not available.
6171 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6172 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6173 be able to redefine fallback symbol when vDSO is not available.
6174 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6175 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6177 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6179 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6180 (TLS_INIT_TP): Add tm_capable initialization.
6181 (TLS_DEFINE_INIT_TP): Likewise.
6182 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6184 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6185 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6187 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6188 transactoion is lock elision is built and TCB tm_capable is set.
6189 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6191 (INTERNAL_SYSCALL_NCS): Likewise.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6193 (INTERNAL_SYSCALL_NCS): Likewise.
6194 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6196 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6198 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6199 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6200 and remove it for 32 bits case.
6201 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6204 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6205 Disable lock elision with rdlocks if elision is not available.
6207 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6208 (sysdep_routines): Add lock elision objects.
6209 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6210 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6211 [pthread_mutex_t] (__elision): Add field.
6212 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6213 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6214 elision definitions for powerpc.
6215 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6216 implementation of lock elision for powerpc.
6217 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6218 implementation of timed lock elision for powerpc.
6219 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6220 implementation of trylock with lock elision for powerpc.
6221 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6222 implementaion of unlock for lock elision for powerpc.
6223 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6224 automatic enable lock elision for mutexes.
6225 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6226 transaction execution definitions for powerpc.
6227 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6229 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6230 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6231 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6232 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6235 2015-01-09 Roland McGrath <roland@hack.frob.com>
6237 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6238 for #include of <shm-directory.h>.
6240 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6243 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6245 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6248 * NEWS: Mention bug fix.
6249 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6250 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6251 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6253 2015-01-09 Torvald Riegel <triegel@redhat.com>
6255 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6257 2015-01-09 Torvald Riegel <triegel@redhat.com>
6259 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6261 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6263 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6264 pointer and cast to uintptr_t.
6266 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6268 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6270 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6272 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6274 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6277 2015-01-08 Roland McGrath <roland@hack.frob.com>
6279 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6280 <nptl/pthreadP.h> instead.
6281 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6283 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6285 [__SIGRTMIN] (init): Function removed.
6286 [__SIGRTMIN] (initialized): Variable removed.
6287 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6288 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6289 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6290 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6291 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6292 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6293 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6294 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6295 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6296 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6297 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6298 * sysdeps/nptl/allocrtsig.c: New file.
6299 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6300 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6301 * sysdeps/generic/testrtsig.h: File removed.
6303 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6304 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6306 * nptl/nptl-init.c (pthread_functions): Conditionalize
6307 .ptr__nptl_setxid initialization on [SIGSETXID].
6309 * sysdeps/nptl/sys/procfs.h: New file.
6310 * nptl_db/Makefile (headers): Add it.
6311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6313 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6314 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6315 * nptl/pthread_attr_setaffinity.c: Include it.
6316 * nptl/pthread_setattr_default_np.c: Likewise.
6317 * nptl/check-cpuset.h: New file.
6319 2015-01-08 Richard Henderson <rth@redhat.com>
6321 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6322 (CFLAGS-tst-execstack-prog.c): Likewise.
6323 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6325 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6326 Sandra Loosemore <sandra@codesourcery.com>
6327 Andrew Jenner <andrew@codesourcery.com>
6328 Joseph Myers <joseph@codesourcery.com>
6329 Nathan Sidwell <nathan@codesourcery.com>
6331 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6332 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6333 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6334 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6335 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6336 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6337 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6338 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6339 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6340 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6341 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6342 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6343 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6344 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6345 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6346 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6347 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6349 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6351 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6352 timespec struct member in syscall macro.
6353 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6354 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6355 first timeval struct member in syscall macro.
6356 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6358 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6361 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6362 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6363 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6364 __feupdateenv and define as weak alias of __feupdateenv. Use
6366 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6368 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6369 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6370 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6371 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6373 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6374 __feupdateenv and define as weak alias of __feupdateenv. Use
6376 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6378 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6379 __feupdateenv and define as weak alias of __feupdateenv. Use
6381 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6383 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6384 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6385 (__feupdateenv): Likewise.
6386 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6387 __feupdateenv and define as weak alias of __feupdateenv. Use
6389 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6390 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6392 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6394 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6396 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6397 __feupdateenv instead of feupdateenv.
6398 (default_libc_feupdateenv_test): Likewise.
6399 (libc_feresetround_ctx): Likewise.
6401 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6406 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6408 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6409 COLL_SYM in a couple of places to avoid uninitialized variable
6410 wanings on tilegx gcc 4.8.2.
6412 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6414 * sysdeps/aarch64/strcpy.S: New file.
6415 * sysdeps/aarch64/stpcpy.S: New file.
6418 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6420 * sysdeps/aarch64/strrchr.S: New file.
6423 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6426 * stdlib/setenv.c: Fix memory leak when setting large,
6429 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6432 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6433 and tabs from buffer before parsing fstab entry.
6434 * misc/tst-mntent.c (main): Add test for mount entry with
6435 trailing spaces and tabs.
6437 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6440 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6441 * math/fesetround.c (fesetround): Rename to __fesetround and
6442 define as weak alias of __fesetround. Use libm_hidden_weak.
6443 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6444 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6445 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6446 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6447 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6448 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6449 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6450 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6451 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6452 __fesetround_inline.
6453 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6454 __fesetround_inline instead of __fesetround.
6455 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6456 __fesetround and define as weak alias of __fesetround. Use
6457 libm_hidden_weak. Call __fesetround_inline instead of
6459 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6460 __fesetround and define as weak alias of __fesetround. Use
6462 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6464 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6465 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6466 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6467 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6468 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6469 __fesetround and define as weak alias of __fesetround. Use
6471 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6472 __fesetround instead of fesetround.
6473 (default_libc_feholdexcept_setround): Likewise.
6474 (libc_feholdsetround_ctx): Likewise.
6475 (libc_feholdsetround_noex_ctx): Likewise.
6478 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6479 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6480 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6481 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6482 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6483 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6484 define as weak alias of __fesetenv. Use libm_hidden_weak.
6485 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6486 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6487 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6488 define as weak alias of __fesetenv. Use libm_hidden_weak.
6489 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6490 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6491 define as weak alias of __fesetenv. Use libm_hidden_weak.
6492 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6494 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6495 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6497 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6498 define as weak alias of __fesetenv. Use libm_hidden_weak.
6499 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6500 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6501 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6502 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6503 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6504 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6505 __fesetenv instead of fesetenv.
6506 (libc_feresetround_noex_ctx): Likewise.
6507 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6508 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6509 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6510 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6511 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6512 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6513 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6514 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6515 (__feupdateenv): Likewise.
6516 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6517 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6518 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6519 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6521 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6524 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6525 addresses have been freed.
6527 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6529 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6532 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6534 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6535 Clean up check_pf allocation pattern. addresses
6537 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6540 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6541 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6542 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6543 * nptl/pthread_join.c (pthread_join): Likewise.
6544 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6545 * sysdeps/posix/waitid.c (__waitid): Likewise.
6546 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6547 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6548 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6549 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6550 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6552 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6553 (__libc_pread64): Likewise.
6554 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6555 (__libc_pwrite): Likewise.
6556 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6557 (__libc_pwrite64): Likewsie.
6558 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6559 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6560 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6561 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6562 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6563 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6564 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6568 (__libc_pread64): Likewise.
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6572 (__libc_pwrite64): Likewise.
6573 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6574 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6575 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6576 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6577 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6578 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6579 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6580 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6581 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6582 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6583 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6584 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6585 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6586 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6587 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6588 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6591 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6593 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6594 (CFLAGS-test-double.c): Likewise.
6595 (CFLAGS-test-ldouble.c): Likewise.
6596 (CPPFLAGS-test-ifloat.c): Likewise.
6597 (CPPFLAGS-test-idouble.c): Likewise.
6598 (CPPFLAGS-test-ildoubl.c): Likewise.
6599 (CFLAGS-test-test-fenv.c): Remove variable.
6600 (CFLAGS-test-misc.c): Likewise.
6602 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6605 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6606 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6607 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6608 CLOCKS_PER_SEC == 1000000.
6609 * time/clocktest.c (main): Replace %ld with %jd and cast to
6612 2015-01-05 Roland McGrath <roland@hack.frob.com>
6614 * sysdeps/generic/unwind-resume.h: New file.
6615 * sysdeps/gnu/unwind-resume.c: Include it.
6616 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6617 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6619 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6620 global rather than static.
6621 (_Unwind_Resume): Update user.
6622 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6623 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6624 rather than static. Add __attribute__ ((cold)).
6625 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6626 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6627 * sysdeps/arm/arm-unwind-resume.S: New file.
6628 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6629 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6630 * sysdeps/arm/Makefile [$(subdir) = csu]
6631 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6632 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6633 Add rt-arm-unwind-resume.
6635 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6636 Add pt-arm-unwind-resume.
6637 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6638 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6640 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6643 * include/fenv.h (__feholdexcept): Declare. Use
6645 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6646 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6647 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6648 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6649 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6650 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6651 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6652 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6653 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6654 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6655 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6656 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6657 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6658 (feholdexcept): Likewise.
6659 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6661 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6662 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6663 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6664 __feholdexcept instead of feholdexcept.
6665 (default_libc_feholdexcept_setround): Likewise.
6667 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6669 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6670 to avoid using stl/str to align destination.
6672 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6674 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6676 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6680 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6681 Define as weak alias not strong alias.
6683 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6685 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6686 bltzal with addiupc.
6687 (RTLD_START): Ditto.
6689 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6691 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6692 for __vdso_* functions in declarations.
6693 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6695 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6696 INTERNAL_VSYSCALL): Use struct return types to check for error.
6698 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6699 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6700 function with cast from llround().
6701 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6702 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6705 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6708 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6709 Define as weak alias not strong alias.
6712 * ctype/ctype-c99.c: New file. isblank implementation moved from
6714 * ctype/ctype-extn.c: ... here.
6715 (__isblank_l): Move to ...
6716 * ctype/ctype-c99_l.c: ... here. New file.
6717 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6718 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6720 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6721 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6722 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6723 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6724 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6727 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6728 (posix_fadvise64): Define as weak alias not strong alias.
6729 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6730 (posix_fallocate64): Likewise.
6731 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6733 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6734 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6735 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6736 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6737 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6739 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6742 * NEWS: Mention bug fix.
6743 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6744 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6745 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6746 (HOST_STACK_END_ADDR): Likewise.
6748 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6751 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6752 * math/fegetround.c (fegetround): Rename to __fegetround and
6753 define as weak alias of __fegetround. Use libm_hidden_weak.
6754 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6755 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6756 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6757 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6758 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6759 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6760 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6761 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6762 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6763 Undefine after rather than before function definition; use
6764 parentheses around function name in definition.
6765 (__fegetround): Also undefine macro after function definition.
6766 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6767 __fegetround and define as weak alias of __fegetround. Use
6768 libm_hidden_weak. Do not undefine as macro.
6769 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6771 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6772 __fegetround and define as weak alias of __fegetround. Use
6774 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6775 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6776 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6777 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6778 __fegetround and define as weak alias of __fegetround. Use
6780 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6781 __fegetround instead of fegetround.
6784 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6785 Condition macro definition on [__USE_MISC].
6788 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6789 (struct sigaction): Change type of sa_flags field to int.
6792 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6793 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6796 * nptl/version.c (banner): Use single year in copyright notice.
6798 * NEWS: Update copyright dates.
6799 * catgets/gencat.c (print_version): Likewise.
6800 * csu/version.c (banner): Likewise.
6801 * debug/catchsegv.sh: Likewise.
6802 * debug/pcprofiledump.c (print_version): Likewise.
6803 * debug/xtrace.sh (do_version): Likewise.
6804 * elf/ldconfig.c (print_version): Likewise.
6805 * elf/ldd.bash.in: Likewise.
6806 * elf/pldd.c (print_version): Likewise.
6807 * elf/sotruss.sh: Likewise.
6808 * elf/sprof.c (print_version): Likewise.
6809 * iconv/iconv_prog.c (print_version): Likewise.
6810 * iconv/iconvconfig.c (print_version): Likewise.
6811 * locale/programs/locale.c (print_version): Likewise.
6812 * locale/programs/localedef.c (print_version): Likewise.
6813 * login/programs/pt_chown.c (print_version): Likewise.
6814 * malloc/memusage.sh (do_version): Likewise.
6815 * malloc/memusagestat.c (print_version): Likewise.
6816 * malloc/mtrace.pl: Likewise.
6817 * manual/libc.texinfo: Likewise.
6818 * nptl/version.c (banner): Likewise.
6819 * nscd/nscd.c (print_version): Likewise.
6820 * nss/getent.c (print_version): Likewise.
6821 * nss/makedb.c (print_version): Likewise.
6822 * posix/getconf.c (main): Likewise.
6823 * scripts/test-installation.pl: Likewise.
6824 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6826 2015-01-02 Will Newton <will.newton@linaro.org>
6828 * sysdeps/arm/armv7/configure: Removed.
6829 * sysdeps/arm/armv7/configure.ac: Likewise.
6831 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6833 * All files with FSF copyright notices: Update copyright dates
6834 using scripts/update-copyrights.
6835 * intl/plural.c: Regenerated.
6836 * locale/programs/charmap-kw.h: Likewise.
6837 * locale/programs/locfile-kw.h: Likewise.
6839 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6843 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6846 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6847 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6848 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6849 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6850 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6851 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6852 define as weak alias of __fegetenv. Use libm_hidden_weak.
6853 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6854 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6855 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6856 define as weak alias of __fegetenv. Use libm_hidden_weak.
6857 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6858 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6859 define as weak alias of __fegetenv. Use libm_hidden_weak.
6860 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6862 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6863 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6865 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6866 define as weak alias of __fegetenv. Use libm_hidden_weak.
6867 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6868 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6869 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6870 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6871 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6872 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6873 __fegetenv instead of fegetenv.
6874 (libc_feholdsetround_noex_ctx): Likewise.
6876 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6878 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6879 (Elf_MIPS_ABIFlags_v0): New structure.
6880 (EF_MIPS_FP64): Define.
6881 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6882 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6883 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6884 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6885 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6886 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6887 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6888 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6889 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6890 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6891 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6892 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6893 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6894 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6895 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6896 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6897 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6898 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6899 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6900 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6901 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6902 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6904 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6906 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6907 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6908 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6909 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6910 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6911 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6912 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6913 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6914 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6915 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6916 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6917 record the current FP ABI extension.
6918 (mips-mode-switch): Define to show if kernel headers support mode
6920 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6921 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6922 supported SYSV ABI version to 3.
6923 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6926 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6927 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6931 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6933 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6935 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6936 __fegetround and redefine to call __fegetround. Remove condition
6937 on [!__NO_MATH_INLINES].
6938 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6940 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6943 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6944 instead of <fenv_libc.h>.
6945 (__llrintl): Call fegetround instead of __fegetround.
6946 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6947 instead of <fenv_libc.h>.
6948 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6949 (__lrintl): Call fegetround instead of __fegetround.
6950 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6951 instead of <fenv_libc.h>.
6952 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6953 (__rintl): Call fegetround instead of __fegetround.
6955 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6957 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6960 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6963 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6964 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6965 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6967 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6969 * sysdeps/i386/tls-macros.h: Include <features.h>.
6970 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6974 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6975 define for GCC >= 5.0.
6977 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6979 * math/test-fenv.c (test_single_exception, set_single_exc,
6980 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6981 feexcp_mask_test, feenable_test, fe_single_test): Add
6982 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6983 case where they are not used.
6984 * math/libm-test.inc: Likewise.
6985 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6986 unused in the absence of FP rounding/exception support.
6987 * stdio-common/tst-printf-round.c: Likewise.
6988 * stdlib/tst-strtod-round.c: Likewise.
6989 * stdlib/tst-strtod-underflow.c: Likewise.
6991 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6994 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6995 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6996 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6997 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6999 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7000 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7001 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7003 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7004 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7006 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7008 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7009 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7010 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7012 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7014 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7015 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7016 (__feraiseexcept): Likewise.
7017 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7018 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7020 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7021 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7023 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7024 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7025 Use libm_hidden_def.
7026 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7028 (feraiseexcept): Define as weak not strong alias. Use
7030 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7031 New inline function. Factored out of ...
7032 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7033 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7034 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7036 * math/w_acos.c (__acos): Likewise.
7037 * math/w_asin.c (__asin): Likewise.
7038 * math/w_ilogb.c (__ilogb): Likewise.
7039 * math/w_j0.c (y0): Likewise.
7040 * math/w_j1.c (y1): Likewise.
7041 * math/w_jn.c (yn): Likewise.
7042 * math/w_log.c (__log): Likewise.
7043 * math/w_log10.c (__log10): Likewise.
7044 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7045 * sysdeps/aarch64/fpu/math_private.h
7046 (libc_feupdateenv_test_aarch64): Likewise.
7047 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7048 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7049 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7050 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7051 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7052 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7053 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7054 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7055 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7056 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7058 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7061 * io/test-utime.c (main): Replace %ld with %jd and cast to
7063 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7064 * nptl/tst-mutex5.c: Include <stdint.h>.
7065 (do_test): Replace %ld with %jd and cast to intmax_t.
7066 * posix/tst-regex.c (run_test): Likewise.
7067 (run_test_backwards): Likewise.
7068 * rt/tst-clock.c: Include <stdint.h>.
7069 (clock_test): Replace %ld with %jd and cast to intmax_t.
7070 * rt/tst-cpuclock1.c: Include <stdint.h>.
7071 (do_test): Replace %lu with %ju and cast to uintmax_t.
7072 * rt/tst-cpuclock2.c: Include <stdint.h>.
7073 (do_test): Replace %lu with %ju and cast to uintmax_t.
7074 * rt/tst-mqueue1.c: Include <stdint.h>.
7075 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7076 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7078 * rt/tst-mqueue4.c (do_test): Likewise.
7079 * rt/tst-timer4.c: Include <stdint.h>.
7080 (check_ts): Replace %ld with %jd and cast to intmax_t.
7081 (do_test): Likewise.
7082 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7083 and cast to intmax_t.
7084 * sysdeps/pthread/tst-timer.c (main): Likewise.
7085 * time/clocktest.c (main): Likewise.
7086 * time/tst-posixtz.c (do_test): Likewise.
7087 * timezone/tst-timezone.c (main): Likewise.
7089 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7090 H.J. Lu <hongjiu.lu@intel.com>
7092 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7093 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7094 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7095 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7096 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7097 version if bit_Fast_Unaligned_Load is set.
7098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7105 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7106 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7107 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7109 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7110 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7111 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7112 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7114 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7116 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7117 instead of #if to avoid a Wundef warning.
7118 * stdlib/tst-limits.c (do_test): Likewise.
7120 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7121 parallel other exception macros.
7122 (fegetenv): Convert from macro to extern inline so that it applies
7123 retroactively to inline functions already seen by the compiler.
7124 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7126 * posix/Makefile (before-compile): Use $(objpfx) for
7127 posix-conf-vars-def.h.
7129 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7131 * posix/getconf.c (main): Use size_t for type of I.
7132 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7135 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7136 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7137 * posix/posix-envs.def: Likewise.
7138 * sysdeps/posix/sysconf.c: Likewise.
7139 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7140 (specs): Remove array.
7141 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7144 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7145 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7146 (__sysconf): Use CONF_IS_* macros.
7148 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7149 ($(objpfx)posix-conf-vars-def.h): New target.
7150 * posix/posix-conf-vars.list: New file.
7151 * posix/posix-conf-vars.h: New file.
7152 * posix/confstr.c: Include posix-conf-vars.h.
7153 (confstr): Use CONF_IS_* macros.
7154 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7156 * scripts/gen-posix-conf-vars.awk: New file.
7158 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7160 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7161 fegetround): Add no-op macros to avoid linknamespace issues.
7163 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7164 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7166 * sysdeps/unix/sysv/linux/tile/sysdep.h
7167 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7168 assembly-specific section to avoid a redefinition warning.
7170 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7171 long before casting to pointer to avoid a cast warning.
7173 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7175 * sysdeps/tile/tilegx/Implies: New file.
7177 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7179 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7181 2014-12-23 Florian Weimer <fweimer@redhat.com>
7183 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7185 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7189 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7190 <kernel-features.h>.
7191 (__utimes) [__NR_utimes]: Make code unconditional.
7192 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7193 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7194 (__ASSUME_UTIMES): Do not undefine.
7195 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7196 (__ASSUME_UTIMES): Likewise.
7197 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7198 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7199 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7200 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7202 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7204 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7206 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7209 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7210 alias to weak alias for j0l, y0l.
7211 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7212 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7215 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7218 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7220 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7221 to zero if not already defined.
7223 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7226 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7227 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7228 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7229 (char *) casts added.
7230 * sysdeps/ieee754/k_standardf.c: New file.
7231 * sysdeps/ieee754/k_standardl.c: Likewise.
7232 * math/Makefile (libm-support): Remove k_standard.
7233 (libm-calls): Add k_standard.
7235 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7237 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7238 Optimize to avoid an unnecessary FPCR read.
7240 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7242 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7243 Optimize to reduce FPCR/FPSR accesses.
7245 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7247 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7248 Call libc_fetestexcept_aarch64.
7250 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7252 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7253 Call libc_fesetround_aarch64.
7255 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7258 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7259 (__bind): Do not define as weak alias.
7260 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7262 (__getsockname): Do not define as weak alias.
7264 2014-12-22 Will Newton <will.newton@linaro.org>
7266 * manual/install.texi: Document that we require bison 2.7
7268 * INSTALL: Regenerate.
7269 * configure.ac: Use AC_CHECK_PROG_VER instead of
7270 AC_PATH_PROG when checking for bison and check for
7271 version 2.7 or above.
7272 * configure: Regenerate.
7274 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7277 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7278 * sysdeps/tile/ffsll.c (ffsll): To here.
7280 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7282 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7284 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7286 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7288 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7289 hidden ___tls_get_addr.
7290 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7291 hidden __tls_get_addr.
7292 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7293 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7296 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7298 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7301 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7303 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7304 from "call _dl_init@PLT".
7305 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7307 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7309 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7312 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7314 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7316 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7319 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7322 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7324 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7326 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7327 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7328 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7329 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7330 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7332 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7334 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7335 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7336 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7337 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7338 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7340 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7342 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7344 * string/strncat.c (STRNCAT): Simplify implementation.
7346 2014-12-19 David S. Miller <davem@davemloft.net>
7348 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7349 access the quad as both a long double and as a series of 4 words.
7351 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7352 link_map->l_info array access.
7354 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7356 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7358 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7359 * math/atest-exp2.c (TIMEOUT): Likewise.
7360 * math/atest-sincos.c (TIMEOUT): Likewise.
7362 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7364 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7365 -Wno-error with -fno-builtin-lround.
7367 2014-12-19 Torvald Riegel <triegel@redhat.com>
7369 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7370 Contains futex constants and functions moved over from ...
7371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7372 <lowlevellock-futex.h>.
7373 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7374 (lll_timedwait_tid): Add comments and parentheses around macro
7377 2014-12-19 Torvald Riegel <triegel@redhat.com>
7379 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7380 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7381 (__lll_private_flag): Remove.
7382 (lll_futex_wait): Likewise.
7383 (lll_futex_timed_wait): Likewise.
7384 (lll_futex_wake): Likewise.
7385 (lll_futex_requeue): Likewise.
7386 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7387 (__lll_timedwait_tid): Spell out argument names.
7388 (lll_timedwait_tid): Add comments and parentheses around macro
7390 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7391 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7393 2014-12-19 Torvald Riegel <triegel@redhat.com>
7395 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7396 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7397 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7398 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7399 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7400 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7401 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7402 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7403 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7404 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7405 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7406 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7408 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7409 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7410 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7411 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7412 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7413 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7415 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7417 * sysdeps/x86_64/x32/Makefile: New file.
7419 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7421 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7422 1L with (mp_limb_t) 1.
7424 2014-12-17 Roland McGrath <roland@hack.frob.com>
7426 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7427 * nptl/libc_pthread_init.c: ... here.
7428 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7429 * nptl/register-atfork.c: ... here.
7431 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7432 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7433 Use assert_perror to check its return value.
7434 (__gai_create_helper_thread): Likewise.
7436 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7438 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7440 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7443 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7445 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7447 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7449 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7451 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7452 (profil_counter): Likewise.
7453 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7454 (profil_counter): Likewise.
7455 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7457 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7459 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7460 (profil_counter): Likewise.
7461 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7463 [!__profil_counter] (profil_counter): Define as weak alias of
7465 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7466 (profil_counter): Rename to __profil_counter.
7467 [!__profil_counter] (profil_counter): Define as weak alias of
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7470 (profil_counter): Rename to __profil_counter.
7471 [!__profil_counter] (profil_counter): Define as weak alias of
7473 * sysdeps/posix/profil.c: Update comment referring to
7475 (__profil): Use __profil_counter instead of profil_counter.
7476 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7477 __profil_counter. Use __profil_counter_ushort and
7478 __profil_counter_uint in definitions.
7479 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7480 instead of profil_counter_uint and profil_counter_ushort.
7483 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7484 define as weak alias of __inet_makeaddr.
7485 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7486 as weak alias of __inet_addr.
7487 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7488 as weak alias of __inet_pton. Use libc_hidden_weak.
7489 * include/arpa/inet.h (__inet_pton): Declare. Use
7491 (inet_makeaddr): Don't use libc_hidden_proto.
7492 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7493 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7494 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7495 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7497 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7498 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7500 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7502 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7504 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7506 * stdio-common/bug-vfprintf-nargs.c (do_test):
7507 Cast value to intptr_t to avoid format warning
7508 for usage with PRIdPTR printing macro.
7510 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7512 * libio/tst-widetext.c (do_test):
7513 Use format type %td instead of %Zd for ptrdiff_t
7514 in order to avoid format warning.
7516 2014-12-17 Andreas Schwab <schwab@suse.de>
7518 * nscd/mem.c (gc): Add size_t cast to match printf format.
7520 2014-12-16 Roland McGrath <roland@hack.frob.com>
7522 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7523 (init): Apply PTR_MANGLE to pointers before storing them.
7524 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7527 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7530 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7531 define as weak alias of __memrchr.
7532 (__memrchr): Do not define as strong alias of memrchr.
7533 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7535 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7536 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7537 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7540 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7541 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7542 (if_indextoname): Rename to __if_indextoname and define as weak
7543 alias of __if_indextoname. Use libc_hidden_weak.
7544 (if_freenameindex): Rename to __if_freenameindex and define as
7545 weak alias of __if_freenameindex.
7546 (if_nameindex): Rename to __if_nameindex and define as weak alias
7548 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7549 __if_nametoindex and define as weak alias of __if_nametoindex.
7550 Use libc_hidden_weak.
7551 (if_freenameindex): Rename to __if_freenameindex and define as
7552 weak alias of __if_freenameindex.
7553 (if_nameindex): Rename to __if_nameindex and define as weak alias
7555 (if_indextoname): Rename to __if_indextoname and define as weak
7556 alias of __if_indextoname. Use libc_hidden_weak.
7557 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7558 __if_nametoindex and define as weak alias of __if_nametoindex.
7559 Use libc_hidden_weak.
7560 (if_freenameindex): Rename to __if_freenameindex and define as
7561 weak alias of __if_freenameindex. Use libc_hidden_weak.
7562 (if_nameindex_netlink): Use __if_freenameindex instead of
7564 (if_nameindex): Rename to __if_nameindex and define as weak alias
7565 of __if_nameindex. Use libc_hidden_weak.
7566 (if_indextoname): Rename to __if_indextoname and define as weak
7567 alias of __if_indextoname. Use libc_hidden_weak.
7568 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7570 [!_ISOMAC] (__if_freenameindex): Likewise.
7571 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7573 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7575 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7576 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7577 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7578 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7579 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7580 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7581 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7583 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7585 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7586 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7588 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7590 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7591 subscript above bounds'
7593 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7596 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7598 * libio/tst-fopenloc.c: Use test-skeleton.c.
7600 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7601 (entry): Rename to ITEM.
7602 (do_test, comp): Adjust.
7604 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7606 2014-12-16 Torvald Riegel <triegel@redhat.com>
7608 * string/tester.c: Include <libc-internal.h>.
7609 (test_memset): Ignore -Wmemset-transposed-args.
7611 2014-12-16 Torvald Riegel <triegel@redhat.com>
7613 * misc/tst-mntent2.c (do_test): Fix warning.
7615 2014-12-16 Torvald Riegel <triegel@redhat.com>
7617 * elf/tst-unique4lib.cc(a): Mark as used.
7619 2014-12-16 Florian Weimer <fweimer@redhat.com>
7622 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7625 2014-12-16 Allan McRae <allan@archlinux.org>
7627 * stdio-common/Makefile (tests): Re-add bug26.
7629 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7632 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7635 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7637 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7638 (__lll_lock_wait): Likewise.
7639 (__lll_timedlock_wait): Likewise.
7640 (__lll_timedwait_tid): Likewise.
7641 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7642 (__lll_robust_timedlock_wait): Likewise.
7643 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7644 (lll_cond_trylock): Likewise.
7645 (__lll_lock): Likewise.
7646 (__lll_robust_lock): Likewise.
7647 (__lll_cond_lock): Likewise.
7648 (lll_robust_cond_lock): Likewise.
7649 (__lll_timedlock): Likewise.
7650 (__lll_robust_timedlock): Likewise.
7651 (__lll_unlock): Likewise.
7652 (__lll_robust_unlock): Likewise.
7653 (lll_wait_tid): Likewise.
7654 (lll_timedwait_tid): Likewise.
7656 2014-12-15 Torvald Riegel <triegel@redhat.com>
7658 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7660 2014-12-15 Torvald Riegel <triegel@redhat.com>
7662 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7664 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7666 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7667 * stdio-common/tst-sprintf.c: Likewise.
7669 2014-12-15 Torvald Riegel <triegel@redhat.com>
7671 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7673 2014-12-15 Jeff Law <law@redhat.com>
7676 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7677 on the heap. (CVE-2012-3406)
7678 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7679 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7680 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7682 2014-12-15 Will Newton <will.newton@linaro.org>
7684 * manual/install.texi: Bump required version of texinfo
7686 * INSTALL: Regenerated.
7687 * configure.ac: Check for makeinfo version 4.7 and above.
7688 * configure: Regenerated.
7690 2014-12-12 Roland McGrath <roland@hack.frob.com>
7692 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7693 PREFIX, string constant to insert between directory and name.
7694 * sysdeps/posix/shm_open.c: Update caller.
7695 * sysdeps/posix/shm_unlink.c: Likewise.
7696 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7697 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7698 (SEM_SHM_PREFIX): New macro.
7699 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7700 [$(have-thread-library) = no].
7701 * nptl/Makefile (libpthread-routines): Add shm-directory.
7702 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7703 * sysdeps/nptl/shm-directory.h: New file.
7704 * sysdeps/posix/shm-directory.c
7705 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7706 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7707 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7709 (__where_is_shmfs): Function removed.
7710 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7712 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7714 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7716 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7717 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7718 unconditional for use inside libpthread.
7719 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7721 2014-12-12 Roland McGrath <roland@hack.frob.com>
7723 * nptl/pthread_getaffinity.c: New file.
7724 * nptl/pthread_setaffinity.c: New file.
7725 * nptl/pthread_getname.c: New file.
7726 * nptl/pthread_setname.c: New file.
7728 * nptl/pthread_create.c (START_THREAD_DEFN)
7729 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7731 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7732 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734 * resolv/res_send.c (send_vc): Disable warning resplen may
7735 be used uninitialized.
7737 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7740 (ATTR_NULL): New define checks ATTR against NULL.
7741 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7742 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7744 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7748 (mem2mem_check): Revert my previous change.
7749 (malloc_check_get_size): Revert my previous change.
7750 (mem2chunk_check): Revert my previous change.
7752 2014-12-11 Roland McGrath <roland@hack.frob.com>
7754 * sysdeps/posix/shm-directory.c: New file.
7755 * sysdeps/posix/shm-directory.h: New file.
7756 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7757 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7758 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7759 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7760 Transmute EPERM to EACCES.
7761 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7763 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7764 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7766 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7768 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7769 pointer and cast to uintptr_t.
7770 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7771 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7772 Add cast to avoid warning.
7773 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7775 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7777 * nptl/semaphore.h: Move to ...
7778 * sysdeps/pthread/semaphore.h: ... here.
7779 * Makefile (installed-headers): Change nptl/semaphore.h to
7780 sysdeps/pthread/semaphore.h.
7782 2014-12-11 Roland McGrath <roland@hack.frob.com>
7784 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7785 generated error format strings.
7787 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7788 -Wformat-extra-args warnings for scanf formats.
7789 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7790 test of zero-length format (duh).
7791 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7792 corner-case scanf format test.
7793 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7794 generated fprintf format string.
7795 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7796 corner-case sprintf format tests.
7797 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7798 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7799 -Wformat-extra-args warnings throughout.
7800 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7801 (CFLAGS-scanf4.c): Likewise.
7802 (CFLAGS-scanf7.c): Likewise.
7803 (CFLAGS-tst-sprintf.c): Likewise.
7804 (CFLAGS-tst-printf.c): Likewise.
7805 (CFLAGS-tst-printfsz.c): Likewise.
7807 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7809 * include/cpio.h: New file.
7810 * include/fmtmsg.h: Likewise.
7812 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7813 corresponding format argument to size_t.
7814 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7816 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7817 corresponding format argument to size_t.
7818 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7820 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7821 corresponding format argument to size_t.
7822 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7823 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7824 (CFLAGS-tst-mbswcs2.c): Likewise.
7825 (CFLAGS-tst-mbswcs3.c): Likewise.
7826 (CFLAGS-tst-mbswcs4.c): Likewise.
7827 (CFLAGS-tst-mbswcs5.c): Likewise.
7828 (CFLAGS-tst-trans.c): Likewise
7830 2014-12-11 Roland McGrath <roland@hack.frob.com>
7832 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7833 rather than assuming they won't contain any '%'s.
7835 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7837 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7838 inhibit_loop_to_libcall to avoid recursive calls.
7839 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7840 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7842 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7844 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7847 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7849 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7850 integer value instead of boolean.
7852 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7854 * malloc/malloc.c: Fix powerof2 check.
7856 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7858 * locale/programs/locfile.h (maybe_swap_uint32):
7859 Remove inline and add unused attribute.
7861 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7863 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7864 Truncating assembler expression to a .long expression.
7866 2014-12-11 Andreas Schwab <schwab@suse.de>
7868 * elf/rtld.c (struct map_args): Constify str member.
7869 (do_preload): Constify fname argument.
7871 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7873 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7874 constants definition.
7876 2014-12-11 Andreas Schwab <schwab@suse.de>
7879 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7880 FORCE_ELISION instead of DO_ELISION.
7881 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7883 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7886 * iconvdata/gconv-modules: Remove duplicate entry.
7888 2014-12-11 Will Newton <will.newton@linaro.org>
7890 Merge gettext 0.19.3 into intl/.
7892 This involves a number of cosmetic changes to comments
7893 and ANSI function definitions and prototypes throughout
7894 all the files. The gettext copyright header is used but
7895 with the date ranges taken from the glibc copy.
7897 * NEWS: Add gettext merge to 2.21.
7898 * intl/bindtextdom.c: Switch to gettext copyright.
7899 Use ANSI definitions and prototypes.
7900 Use gl_* locking primitives rather than __libc_* ones.
7901 Use __builtin_expect rather than __glibc_likely/unlikely.
7902 * intl/dcgettext.c: Switch to gettext copyright.
7903 Use ANSI definitions and prototypes.
7904 * intl/dcigettext.c: Switch to gettext copyright.
7905 Use ANSI definitions and prototypes.
7906 (INTDIV0_RAISES_SIGFPE): New define.
7907 Use gl_* locking primitives rather than __libc_* ones.
7908 Include eval-plural.h instead of plural-eval.c.
7909 Use __builtin_expect rather than __glibc_likely/unlikely.
7910 * intl/dcngettext.c: Switch to gettext copyright.
7911 Use ANSI definitions and prototypes.
7912 * intl/dgettext.c: Likewise.
7913 * intl/dngettext.c: Likewise.
7914 * intl/plural-eval.c: Renamed to...
7915 * intl/eval-plural.h: ...this.
7916 * intl/explodename.c: Switch to gettext copyright.
7917 Use ANSI definitions and prototypes.
7918 (_nl_explode_name): Use strchr instead of __rawmemchr.
7919 * intl/finddomain.c: Switch to gettext copyright.
7920 Use ANSI definitions and prototypes.
7921 Use gl_* locking primitives rather than __libc_* ones.
7922 (_nl_find_domain): Use malloc rather than alloca for
7923 allocation of temporary locale name.
7924 * intl/gettext.c: Switch to gettext copyright.
7925 Use ANSI definitions and prototypes.
7926 * intl/gettextP.h: Switch to gettext copyright.
7927 Use ANSI definitions and prototypes.
7928 Use gl_* locking primitives rather than __libc_* ones.
7929 * intl/gmo.h: Switch to gettext copyright.
7930 (struct sysdep_string): Move struct segment_pair outside of
7932 * intl/hash-string.c: Use ANSI definitions and prototypes.
7933 * intl/hash-string.h: Switch to gettext copyright.
7934 Use ANSI definitions and prototypes.
7935 * intl/l10nflist.c: Switch to gettext copyright.
7936 Use ANSI definitions and prototypes.
7937 (_nl_normalize_codeset): Avoid integer overflow.
7938 * intl/loadinfo.h: Switch to gettext copyright.
7939 Use ANSI definitions and prototypes.
7940 (LIBINTL_DLL_EXPORTED): New define.
7941 (PATH_SEPARATOR): New define.
7942 * intl/loadmsgcat.c: Switch to gettext copyright.
7943 * intl/localealias.c: Switch to gettext copyright.
7944 Use ANSI definitions and prototypes.
7945 (_nl_expand_alias): Use PATH_SEPARATOR.
7946 * intl/ngettext.c: Switch to gettext copyright.
7947 Use ANSI definitions and prototypes.
7948 * intl/plural-exp.c: Likewise.
7949 * intl/plural-exp.h: Switch to gettext copyright.
7950 Use ANSI definitions and prototypes.
7951 (struct expression): Move definition of enum operator outside
7952 of struct definition.
7953 * intl/plural.c: Regenerate.
7954 * intl/plural.y: Switch to gettext copyright.
7955 Use ANSI definitions and prototypes.
7957 * intl/textdomain.c: Switch to gettext copyright.
7958 Use ANSI definitions and prototypes.
7959 Use gl_* locking primitives rather than __libc_* ones.
7961 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7963 * debug/warning-nop.c: Add used atrribute.
7965 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7967 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7969 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7970 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7971 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7973 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7974 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7978 Undefine after defining function. Define as weak alias of
7979 __wcschr. Use libc_hidden_weak.
7980 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7981 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7982 (libc_hidden_def): Also define __GI___wcschr alias.
7983 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7984 __wcschr and define as weak alias of __wcschr.
7985 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7987 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7988 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7989 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7990 libc_hidden_weak. Do not use libc_hidden_def.
7991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7992 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7993 __GI___wcschr alias.
7994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7995 [IS_IN (libc)] (wcschr): Define as macro expanding to
7997 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7998 [IS_IN (libc)] (__wcschr_power6): Likewise.
7999 [IS_IN (libc)] (__wcschr_power7): Likewise.
8000 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8002 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8004 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8005 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8006 __wcschr and define as weak alias of __wcschr. Use
8007 libc_hidden_builtin_def.
8008 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8009 as weak alias of __wcschr. Use libc_hidden_weak.
8010 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8012 * time/era.c (_nl_init_era_entries): Likewise.
8013 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8015 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8016 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8018 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8020 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8021 format for long int variable.
8023 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8026 * manual/search.texi: (Array Sort Function): Remove claim how to make
8029 2014-12-10 Andreas Schwab <schwab@suse.de>
8032 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8033 user-controlled locks.
8035 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8037 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8040 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8042 * configure.ac (--disable-werror): New configure option.
8043 (enable_werror): New AC_SUBST.
8044 * configure: Regenerated.
8045 * config.make.in (enable-werror): New variable.
8046 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8048 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8049 * manual/install.texi (Configuring and compiling): Document
8051 * INSTALL: Regenerated.
8052 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8053 (CFLAGS-tst-chk2.c): Likewise.
8054 (CFLAGS-tst-chk3.c): Likewise.
8055 (CFLAGS-tst-chk4.cc): Likewise.
8056 (CFLAGS-tst-chk5.cc): Likewise.
8057 (CFLAGS-tst-chk6.cc): Likewise.
8058 (CFLAGS-tst-lfschk1.c): Likewise.
8059 (CFLAGS-tst-lfschk2.c): Likewise.
8060 (CFLAGS-tst-lfschk3.c): Likewise.
8061 (CFLAGS-tst-lfschk4.cc): Likewise.
8062 (CFLAGS-tst-lfschk5.cc): Likewise.
8063 (CFLAGS-tst-lfschk6.cc): Likewise.
8065 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8066 (main): Disable -Wdeprecated-declarations around calls to
8067 register_printf_function.
8069 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8070 (do_test): Disable -Wdiv-by-zero around some calls to
8071 fwrite_unlocked and fread_unlocked.
8073 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8074 (DIAG_POP_NEEDS_COMMENT): Likewise.
8075 (_DIAG_STR1): Likewise.
8076 (_DIAG_STR): Likewise.
8077 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8078 * stdio-common/bug21.c: Include <libc-internal.h>.
8079 (do_test): Disable -Wformat around call to sscanf.
8080 * stdio-common/scanf14.c: Include <libc-internal.h>.
8081 (main): Disable -Wformat around some calls to scanf functions.
8083 2014-12-09 Torvald Riegel <triegel@redhat.com>
8085 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8087 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8089 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8090 stack variable alignment.
8092 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8095 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8096 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8097 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8098 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8099 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8100 __getrlimit instead of getrlimit.
8101 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8102 __gettimeofday instead of gettimeofday.
8103 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8105 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8107 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8108 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8110 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8111 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8113 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8115 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8116 for wide-character tests.
8118 2014-12-04 Roland McGrath <roland@hack.frob.com>
8120 * io/openat64.c: #include <libc-internal.h>
8121 (__openat64): Prototypify. Use ignore_value on MODE.
8122 * io/openat.c: Likewise.
8123 * misc/reboot.c: #include <libc-internal.h>
8124 (reboot): Prototypify. Use ignore_value on HOWTO.
8125 * misc/ptrace.c: #include <libc-internal.h>
8126 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8128 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8130 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8131 XPG4, UNIX98 and XOPEN2K.
8132 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8134 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8136 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8138 * libio/fileops.c: Use ISO C style for function definitions.
8139 * libio/iofopen.c: Likewise.
8140 * libio/wfileops.c: Likewise.
8143 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8145 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8146 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8147 (fgets_func): Function pointer to fgets and fgetws.
8148 (do_ftell_test): Add test to verify ftell value after read
8150 (do_test): Set fgets_func.
8152 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8153 O_TRUNC flag for w and w+ modes.
8154 (do_rewind_test): Likewise.
8155 (do_ftell_test): Likewise.
8156 (do_write_test): Likewise.
8159 * libio/fileops.c (do_ftell): Seek only when there are
8161 * libio/wfileops.c (do_ftell_wide): Likewise.
8162 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8164 (do_one_test): Call it.
8166 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8168 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8169 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8170 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8172 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8173 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8174 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8176 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8178 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8180 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8183 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8184 as weak alias of __getifaddrs. Use libc_hidden_weak.
8185 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8186 __freeifaddrs. Use libc_hidden_weak.
8187 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8188 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8189 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8190 __freeifaddrs. Use libc_hidden_weak.
8191 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8192 __getifaddrs and define as weak alias of __getifaddrs. Use
8194 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8195 __freeifaddrs. Use libc_hidden_weak.
8196 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8198 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8199 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8201 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8204 * sysdeps/mips/start.S (__start): Use indirect jump to call
8207 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8209 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8211 * nptl/tst-mutex1.c: Include <stdbool.h>.
8212 [!ATTR] (ATTR_NULL): New macro.
8213 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8214 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8215 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8217 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8221 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8222 Change conditional to [__USE_MISC].
8225 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8227 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8229 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8231 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8233 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8234 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8235 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8236 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8237 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8238 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8239 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8240 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8241 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8243 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8245 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8247 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8248 Remove strpbrk objects.
8249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8250 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8251 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8252 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8253 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8254 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8256 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8257 Remove strcspn objects.
8258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8259 (__libc_ifunc_impl_list): Remove strcspn implementation.
8260 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8261 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8262 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8263 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8265 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8266 Remove strspn objetcs.
8267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8268 (__libc_ifunc_impl_list): Remove strspn implementation.
8269 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8270 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8271 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8272 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8274 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8278 (mem2mem_check): Add a terminator to the chain of checking blocks.
8279 (malloc_check_get_size): Use it here.
8280 (mem2chunk_check): Ditto.
8282 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8284 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8285 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8287 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8289 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8291 * nptl/nptl-init.c: Include libc-internal.h.
8292 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8294 * elf/ldconfig.c (search_dir): Expand comment.
8296 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8298 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8300 (linknamespace-symlist-stdlibs-tests): Likewise.
8301 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8302 instead of $(objpfx)symlist-stdlibs.
8303 (linknamespace-libs-isoc): New variable.
8304 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8305 (linknamespace-libs-ISO): New variable.
8306 (linknamespace-libs-ISO99): Likewise.
8307 (linknamespace-libs-ISO11): Likewise.
8308 (linknamespace-libs-XPG3): Likewise.
8309 (linknamespace-libs-XPG4): Likewise.
8310 (linknamespace-libs-POSIX): Likewise.
8311 (linknamespace-libs-UNIX98): Likewise.
8312 (linknamespace-libs-XOPEN2K): Likewise.
8313 (linknamespace-libs-POSIX2008): Likewise.
8314 (linknamespace-libs-XOPEN2K8): Likewise.
8315 ($(objpfx)symlist-stdlibs): Replace by
8316 $(linknamespace-symlist-stdlibs-tests). Use
8317 $(linknamespace-libs-$*) as set of libraries.
8318 ($(linknamespace-header-tests)): Update dependencies. Use
8319 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8320 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8321 * conform/linknamespace.pl: Remove comment about considering
8322 definitions of symbols from irrelevant libraries.
8324 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8327 * elf/dl-tls.c: Include <atomic.h>.
8328 (oom): Remove #ifdef SHARED/#endif.
8329 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8330 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8331 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8333 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8334 * nptl/Makefile (tests): Add tst-stack4.
8335 (modules-names): Add tst-stack4mod.
8336 ($(objpfx)tst-stack4): New.
8337 (tst-stack4mod.sos): Likewise.
8338 ($(objpfx)tst-stack4.out): Likewise.
8339 ($(tst-stack4mod.sos)): Likewise.
8341 * nptl/tst-stack4.c: New file.
8342 * nptl/tst-stack4mod.c: Likewise.
8344 2014-11-27 J. Brown <jb999@gmx.de>
8346 * sysdeps/x86/bits/string.h: Add recent CPUs.
8348 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8350 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8353 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8356 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8359 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8361 * nscd/connections.c: Include libc-internal.h because of macro
8364 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8366 * string/bits/string3.h (__warn_memset_zero_len): Don't
8367 declare for gcc newer than 5.0.
8368 (memset): Don't test for zero-length __LEN for gcc newer than
8371 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8373 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8374 size_t for %zu format.
8376 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8377 difference, not %ju.
8379 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8381 * include/libc-internal.h (ignore_value): New macro.
8382 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8385 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8388 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8389 pthread_cleanup_push to void *.
8391 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8397 instead of 1L << 52.
8399 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8400 * libio/bug-rewind2.c (do_test): Likewise.
8402 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8403 * debug/test-strcpy_chk-ifunc.c: Likewise.
8404 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8405 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8406 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8407 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8408 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8409 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8410 * Rules [$(multi-arch) = no] (tests): Do not filter out
8412 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8413 * debug/Makefile (tests-ifunc): Remove variable.
8414 (tests): Do not add $(tests-ifunc).
8415 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8416 (tests): Do not add $(tests-ifunc).
8417 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8418 [TEST_IFUNC]: Remove conditionals.
8419 * string/test-string.h (TEST_IFUNC): Remove macro.
8420 [TEST_IFUNC]: Remove conditionals.
8422 * string/test-strchr.c [!WIDE] (L): New macro.
8423 [WIDE] (L): Likewise.
8424 (check1): Use CHAR instead of char. Use L on string and character
8427 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8429 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8431 * sysdeps/powerpc/bits/atomic.h
8432 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8433 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8434 (atomic_exchange_and_add_acq): Likewise.
8435 (atomic_exchange_and_add_rel): Likewise.
8436 * sysdeps/powerpc/powerpc32/bits/atomic.h
8437 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8438 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8439 * sysdeps/powerpc/powerpc64/bits/atomic.h
8440 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8441 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8443 2014-11-26 Torvald Riegel <triegel@redhat.com>
8445 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8446 Change synchronization of __sched_fifo_min_prio and
8447 __sched_fifo_max_prio.
8448 * nptl/pthread_mutexattr_getprioceiling.c
8449 (pthread_mutexattr_getprioceiling): Likewise.
8450 * nptl/pthread_mutexattr_setprioceiling.c
8451 (pthread_mutexattr_setprioceiling): Likewise.
8452 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8453 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8456 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8458 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8461 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8463 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8464 third argument const.
8466 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8468 fnmatch: work around GCC compiler warning bug with uninit var
8469 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8470 This works around a bug with x86-64 GCC 4.9.2 and earlier
8471 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8472 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8473 used uninitialized in this function [-Wmaybe-uninitialized]".
8475 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8477 * posix/bug-regex31.c (main): Return RES not 0.
8479 2014-11-25 Anton Blanchard <anton@samba.org>
8481 * sysdeps/powerpc/bits/atomic.h
8482 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8484 2014-11-24 Sterling Augustine <saugustine@google.com>
8486 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8488 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8491 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8493 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8496 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8497 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8499 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8500 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8502 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8504 * string/strncpy.c (strncpy): Improve performance by using memset.
8506 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8508 * string/strcpy.c (strcpy):
8509 Improve performance by using strlen and memcpy.
8511 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8513 * string/strcoll_l.c (get_next_seq): __always_inline.
8514 * string/strcoll_l.c (do_compare): __always_inline.
8516 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8518 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8520 * include/mqueue.h: Likewise.
8521 * include/stdlib.h: Likewise.
8523 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8524 (get_null_defines): Adjust.
8525 * sunrpc/Makefile: Adjust comment.
8526 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8527 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8528 (CFLAGS-interp.c): Likewise.
8529 (CFLAGS-ldconfig.c): Likewise.
8530 (CPPFLAGS-.os): Likewise.
8531 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8532 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8533 * extra-modules.mk (extra-modules.mk): Likewise.
8534 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8535 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8536 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8537 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8538 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8539 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8540 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8541 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8542 * iconvdata/Makefile (CPPFLAGS): Likewise.
8543 (cpp-srcs-left): Add libof for all iconvdata routines.
8544 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8545 * include/assert.h: Likewise.
8546 * include/ctype.h: Likewise.
8547 * include/errno.h: Likewise.
8548 * include/libc-symbols.h: Likewise.
8549 * include/math.h: Likewise.
8550 * include/netdb.h: Likewise.
8551 * include/resolv.h: Likewise.
8552 * include/stdio.h: Likewise.
8553 * include/stdlib.h: Likewise.
8554 * include/string.h: Likewise.
8555 * include/sys/stat.h: Likewise.
8556 * include/wctype.h: Likewise.
8557 * intl/l10nflist.c: Likewise.
8558 * libidn/idn-stub.c: Likewise.
8559 * libio/libioP.h: Likewise.
8560 * nptl/libc_multiple_threads.c: Likewise.
8561 * nptl/pthreadP.h: Likewise.
8562 * posix/regex_internal.h: Likewise.
8563 * resolv/res_hconf.c: Likewise.
8564 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8565 * sysdeps/arm/memmove.S: Likewise.
8566 * sysdeps/arm/sysdep.h: Likewise.
8567 * sysdeps/generic/_itoa.h: Likewise.
8568 * sysdeps/generic/symbol-hacks.h: Likewise.
8569 * sysdeps/gnu/errlist.awk: Likewise.
8570 * sysdeps/gnu/errlist.c: Likewise.
8571 * sysdeps/i386/i586/memcpy.S: Likewise.
8572 * sysdeps/i386/i586/memset.S: Likewise.
8573 * sysdeps/i386/i686/memcpy.S: Likewise.
8574 * sysdeps/i386/i686/memmove.S: Likewise.
8575 * sysdeps/i386/i686/mempcpy.S: Likewise.
8576 * sysdeps/i386/i686/memset.S: Likewise.
8577 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8578 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8579 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8580 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8581 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8583 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8584 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8585 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8586 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8587 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8588 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8589 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8590 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8591 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8592 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8593 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8594 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8595 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8596 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8597 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8598 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8599 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8600 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8601 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8602 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8603 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8604 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8605 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8607 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8608 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8610 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8611 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8613 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8614 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8617 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8618 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8621 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8622 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8623 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8624 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8625 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8626 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8627 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8628 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8629 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8630 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8631 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8632 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8633 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8634 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8635 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8636 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8637 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8639 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8640 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8641 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8642 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8643 * sysdeps/posix/closedir.c: Likewise.
8644 * sysdeps/posix/opendir.c: Likewise.
8645 * sysdeps/posix/readdir.c: Likewise.
8646 * sysdeps/posix/rewinddir.c: Likewise.
8647 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8648 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8649 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8650 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8651 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8653 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8655 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8657 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8658 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8659 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8660 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8662 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8663 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8664 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8665 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8667 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8668 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8669 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8670 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8671 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8673 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8675 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8683 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8684 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8685 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8686 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8687 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8688 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8689 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8691 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8692 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8693 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8694 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8695 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8696 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8697 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8699 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8700 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8701 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8702 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8703 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8704 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8705 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8706 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8707 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8708 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8709 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8710 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8711 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8712 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8713 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8714 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8715 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8716 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8718 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8719 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8720 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8721 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8722 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8723 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8724 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8725 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8726 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8727 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8728 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8729 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8731 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8733 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8734 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8735 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8736 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8737 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8738 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8739 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8741 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8742 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8743 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8745 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8746 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8748 * sysdeps/unix/alpha/sysdep.S: Likewise.
8749 * sysdeps/unix/alpha/sysdep.h: Likewise.
8750 * sysdeps/unix/make-syscalls.sh: Likewise.
8751 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8753 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8754 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8755 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8756 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8757 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8758 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8759 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8760 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8761 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8762 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8763 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8764 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8765 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8766 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8767 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8768 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8769 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8770 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8771 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8772 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8773 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8774 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8775 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8776 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8777 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8780 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8781 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8785 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8787 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8789 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8790 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8791 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8792 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8793 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8794 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8795 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8801 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8802 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8803 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8804 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8806 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8807 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8809 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8810 * sysdeps/x86_64/memcpy.S: Likewise.
8811 * sysdeps/x86_64/memmove.c: Likewise.
8812 * sysdeps/x86_64/memset.S: Likewise.
8813 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8814 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8815 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8816 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8817 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8818 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8819 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8820 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8821 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8822 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8823 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8824 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8825 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8826 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8827 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8828 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8829 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8830 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8831 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8832 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8833 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8834 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8835 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8837 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8838 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8839 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8840 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8841 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8842 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8843 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8844 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8845 * sysdeps/x86_64/strcmp.S: Likewise.
8847 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8849 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8850 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8851 * elf/rtld-Rules: Likewise.
8852 * elf/setup-vdso.h: Likewise.
8853 * include/assert.h: Likewise.
8854 * include/bits/stdlib-float.h: Likewise.
8855 * include/errno.h: Likewise.
8856 * include/sys/stat.h: Likewise.
8857 * include/unistd.h: Likewise.
8858 * sysdeps/aarch64/setjmp.S: Likewise.
8859 * sysdeps/alpha/setjmp.S: Likewise.
8860 * sysdeps/arm/__longjmp.S: Likewise.
8861 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8862 * sysdeps/arm/setjmp.S: Likewise.
8863 * sysdeps/arm/sysdep.h: Likewise.
8864 * sysdeps/generic/_itoa.h: Likewise.
8865 * sysdeps/generic/dl-sysdep.h: Likewise.
8866 * sysdeps/generic/ldsodefs.h: Likewise.
8867 * sysdeps/i386/dl-tls.h: Likewise.
8868 * sysdeps/i386/setjmp.S: Likewise.
8869 * sysdeps/m68k/setjmp.c: Likewise.
8870 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8871 * sysdeps/mach/hurd/opendir.c: Likewise.
8872 * sysdeps/posix/getcwd.c: Likewise.
8873 * sysdeps/posix/opendir.c: Likewise.
8874 * sysdeps/posix/profil.c: Likewise.
8875 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8878 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8879 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8880 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8881 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8882 * sysdeps/s390/dl-tls.h: Likewise.
8883 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8884 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8885 * sysdeps/sh/sh3/setjmp.S: Likewise.
8886 * sysdeps/sh/sh4/setjmp.S: Likewise.
8887 * sysdeps/unix/alpha/sysdep.h: Likewise.
8888 * sysdeps/unix/arm/sysdep.S: Likewise.
8889 * sysdeps/unix/i386/sysdep.S: Likewise.
8890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8891 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8892 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8893 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8894 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8895 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8896 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8897 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8898 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8899 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8900 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8901 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8902 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8905 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8907 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8908 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8909 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8910 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8913 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8914 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8918 * sysdeps/x86_64/setjmp.S: Likewise.
8920 * include/math.h: Use IS_IN instead of IS_IN_libm.
8921 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8924 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8927 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8928 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8930 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8931 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8932 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8933 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8934 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8935 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8936 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8941 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8942 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8943 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8944 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8945 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8946 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8948 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8949 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8950 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8951 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8952 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8953 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8964 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8965 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8966 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8967 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8968 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8969 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8975 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8976 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8977 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8978 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8979 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8980 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8982 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8983 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8984 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8985 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8986 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8987 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8988 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8990 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8992 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8993 * nptl/pthreadP.h: Likewise.
8994 * nptl_db/structs.def: Likewise.
8995 * sysdeps/arm/sysdep.h: Likewise.
8996 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8997 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8998 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8999 * sysdeps/unix/alpha/sysdep.h: Likewise.
9000 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9002 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9003 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9004 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9005 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9006 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9007 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9008 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9009 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9010 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9011 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9012 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9013 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9017 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9018 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9020 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9021 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9022 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9023 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9024 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9025 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9027 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9028 * nptl/pthreadP.h: Likewise.
9029 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9030 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9031 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9032 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9033 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9034 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9035 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9036 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9037 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9038 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9039 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9040 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9050 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9051 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9052 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9054 * dlfcn/dladdr.c: Use IS_IN.
9055 * dlfcn/dladdr1.c: Likewise.
9056 * dlfcn/dlclose.c: Likewise.
9057 * dlfcn/dlerror.c: Likewise.
9058 * dlfcn/dlinfo.c: Likewise.
9059 * dlfcn/dlmopen.c: Likewise.
9060 * dlfcn/dlopen.c: Likewise.
9061 * dlfcn/dlsym.c: Likewise.
9062 * dlfcn/dlvsym.c: Likewise.
9064 * include/ifaddrs.h: Use IS_IN.
9065 * inet/check_pf.c: Likewise.
9066 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9067 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9069 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9071 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9072 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9074 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9075 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9078 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9080 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9081 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9082 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9083 * include/libc-symbols.h (IS_IN_LIB): New macro.
9084 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9085 * include/netdb.h: Likewise.
9086 * include/stap-probe.h: Remove all uses of IN_LIB.
9088 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9089 instead of IN_MODULE.
9090 * include/libc-symbols.h (IN_MODULE): Define using
9092 (PASTE_NAME, PASTE_NAME1): New macros.
9093 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9095 (STAP_PROBE_ASM): Likewise.
9097 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9099 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9100 __mach_init in dlopened libc.
9102 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9104 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9105 * sysdeps/arm/preconfigure: Regenerate.
9107 2014-11-21 Roland McGrath <roland@hack.frob.com>
9109 * nptl/pthread_create.c (__pthread_create_2_1): Set
9110 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9111 when copying values from IATTR into PD.
9113 2014-11-21 Will Newton <will.newton@linaro.org>
9114 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9116 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9117 Refactor inline-asm. Also add comment.
9119 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9120 ElfW macro instead of hardcoded Elf64 types.
9121 (la_aarch64_gnu_pltenter): Likewise.
9122 * sysdeps/aarch64/dl-machine.h
9123 (elf_machine_runtime_setup): Use ElfW(Addr).
9125 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9126 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9127 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9128 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9129 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9130 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9131 (R_AARCH64_TLS_DTPMOD): This.
9132 (R_AARCH64_TLS_DTPREL64): Rename to ...
9133 (R_AARCH64_TLS_DTPREL): This.
9134 (R_AARCH64_TLS_TPREL64): Rename to ...
9135 (R_AARCH64_TLS_TPREL): This.
9136 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9137 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9138 R_AARCH64_TLS_TPREL64.
9139 (elf_machine_rela): Likewise.
9141 2014-11-21 Torvald Riegel <triegel@redhat.com>
9143 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9144 by setting it to 0. 64b atomics are not supported currently.
9146 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9149 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9150 search domain names.
9152 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9156 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9158 * posix/tst-getaddrinfo5.c: New.
9159 * posix/Makefile (tests): Add it.
9161 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9165 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9166 after parsing line but before break_if_match.
9167 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9168 if there is a protocol mismatch.
9170 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9172 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9173 because the potential race is on the user-supplied stream.
9175 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9177 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9178 string literal if not passed a buffer.
9179 * manual/job.texi (ctermid): Update reasoning, note deviation
9180 from posix, suggest mtasurace when not passed a buffer, for
9181 future non-preliminary safety notes.
9183 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9185 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9186 of not passing it a buffer.
9187 Reported by Peng Haitao.
9189 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9191 * manual/Makefile ($(objpfx)stamp-summary): Require
9192 check-safety.sh to pass.
9193 * manual/check-safety.sh: Wish for verification that every
9194 @deftypefn and @deftypefun is followed by a @safety remark.
9196 2014-11-20 Roland McGrath <roland@hack.frob.com>
9198 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9200 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9201 PTHREAD_CANCEL_ASYNCHRONOUS.
9202 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9205 * nptl/default-sched.h: New file.
9206 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9207 * nptl/pthread_create.c: Include it.
9208 (__pthread_create_2_1): Use collect_default_sched instead of making
9209 Linux syscalls here directly.
9211 2014-11-20 Torvald Riegel <triegel@redhat.com>
9213 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9214 __pthread_once): Use C11 atomics.
9216 2014-11-20 Torvald Riegel <triegel@redhat.com>
9218 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9220 2014-11-20 Torvald Riegel <triegel@redhat.com>
9222 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9223 atomic_thread_fence_acquire, atomic_thread_fence_release,
9224 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9225 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9226 atomic_compare_exchange_weak_relaxed,
9227 atomic_compare_exchange_weak_acquire,
9228 atomic_compare_exchange_weak_release,
9229 atomic_exchange_acquire, atomic_exchange_release,
9230 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9231 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9232 atomic_fetch_and_acquire,
9233 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9235 2014-11-20 Torvald Riegel <triegel@redhat.com>
9237 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9238 USE_ATOMIC_COMPILER_BUILTINS): Define.
9239 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9240 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9241 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9242 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9243 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9244 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9245 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9246 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9247 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9248 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9249 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9250 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9251 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9253 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9255 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9256 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9257 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9258 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9259 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9260 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9261 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9262 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9263 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9264 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9265 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9266 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9267 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9268 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9269 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9270 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9271 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9272 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9273 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9274 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9275 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9277 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9278 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9280 2014-11-19 Roland McGrath <roland@hack.frob.com>
9282 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9283 the sched_priority value here. It was already checked when the user
9284 called pthread_attr_setschedparam.
9286 * nptl/tst-bad-schedattr.c: New file.
9287 * nptl/Makefile (tests): Add it.
9289 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9290 Florian Weimer <fweimer@redhat.com>
9291 Joseph Myers <joseph@codesourcery.com>
9292 Adam Conrad <adconrad@0c3.net>
9293 Andreas Schwab <schwab@suse.de>
9294 Brooks <bmoses@google.com>
9297 * wordexp-test.c (__dso_handle): Add prototype.
9298 (__register_atfork): Likewise.
9299 (__app_register_atfork): New function.
9300 (registered_forks): New global.
9301 (register_fork): New function.
9302 (test_case): Add 3 new tests for WRDE_CMDSUB.
9303 (main): Call __app_register_atfork.
9304 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9305 fork count is non-zero fail the test.
9306 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9308 (parse_dollars): Remove check for WRDE_NOCMD.
9309 (parse_dquote): Likewise.
9311 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9313 * Makeconfig (built-modules): List non-library modules to be
9315 (module-cppflags): Include libc-modules.h for
9316 everything except shlib-versions.v.i.
9318 (before-compile): Add libc-modules.h.
9319 ($(common-objpfx)libc-modules.h,
9320 $(common-objpfx)libc-modules.stmp): New targets.
9321 (common-generated): Add libc-modules.h and libc-modules.stmp.
9322 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9323 * include/libc-symbols.h: Don't include libc-modules.h.
9324 * include/libc-modules.h: Remove file.
9325 * scripts/gen-libc-modules.awk: New script to generate
9327 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9328 Depend on libc-modules.stmp.
9330 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9332 * Makeconfig (in-module): Get value of libof set for the
9334 (CPPFLAGS): Use $(in-module).
9335 * Makerules: Don't suffix routine names for nonlib.
9336 * include/libc-modules.h: New file.
9337 * include/libc-symbols.h: Include libc-modules.h
9338 (IS_IN): New macro to replace IS_IN_* macros.
9339 * elf/Makefile: Set libof-* for each routine.
9340 * elf/rtld-Rules: Likewise.
9341 * extra-modules.mk: Likewise.
9342 * iconv/Makefile: Likewise.
9343 * iconvdata/Makefile: Likewise.
9344 * locale/Makefile: Likewise.
9345 * malloc/Makefile: Likewise.
9346 * nss/Makefile: Likewise.
9347 * sysdeps/gnu/Makefile: Likewise.
9348 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9349 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9350 * sysdeps/s390/s390-64/Makefile: Likewise.
9351 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9352 CPPFLAGS for nscd instead of nonlib.
9354 2014-11-18 Roland McGrath <roland@hack.frob.com>
9356 * nptl/createthread.c: New file.
9358 * nptl/createthread.c: Moved ...
9359 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9361 * nptl/createthread.c: Add proper top-line comment.
9362 (do_clone): Folded into ...
9363 (create_thread): ... here. Take new arguments STOPPED_START and
9364 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9365 increment __nptl_threads, do event-reporting logic, do
9366 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9367 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9368 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9369 just send SIGCANCEL.
9370 * nptl/pthread_create.c: Forward-declare create_thread before
9371 including createthread.c.
9372 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9373 declaration, and new macro START_THREAD_SELF to replace argument.
9374 Remove return statement.
9375 (report_thread_creation): New function.
9376 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9377 synchronization logic, and __nptl_nthreads increment here, around
9378 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9379 PD->parent_cancelhandling here, before create_thread. When
9380 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9381 __deallocate_stack, and ENOMEM translation here.
9383 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9386 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9387 (mptwo): Rename to __mptwo.
9388 (__inv): Use __mptwo instead of mptwo.
9389 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9390 (mptwo): Rename to __mptwo.
9391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9392 of mpone and __mptwo instead of mptwo.
9393 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9396 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9397 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9398 of mpone and __mptwo instead of mptwo.
9399 (__mpranred): Use __mpone instead of mpone.
9400 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9402 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9403 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9404 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9405 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9406 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9407 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9408 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9409 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9410 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9411 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9412 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9413 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9414 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9415 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9416 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9417 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9418 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9419 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9420 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9422 2014-11-18 Tom de Vries <tom@codesoucery.com>
9424 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9425 replace BSD Handler xref with BSD Signal Handling.
9427 2014-11-17 Richard Henderson <rth@redhat.com>
9429 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9430 (_FP_PACK_RAW_2): Remove.
9431 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9432 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9433 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9434 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9435 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9436 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9437 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9438 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9439 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9440 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9441 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9442 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9443 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9444 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9445 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9446 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9448 2014-11-14 Roland McGrath <roland@hack.frob.com>
9450 * signal/signal.h [__USE_MISC]
9451 (struct sigvec): Remove type.
9452 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9453 (sigvec): Remove declaration.
9454 * sysdeps/posix/sigvec.c: Moved ...
9455 * signal/sigvec.c: ... here, replacing old file.
9456 (struct sigvec): New type, copied from old signal.h definition.
9457 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9458 (__sigvec): Convert definition to prototype.
9459 (sigvec): Replace weak_alias with compat_symbol.
9460 * signal/Versions (libc: GLIBC_2.21): New version set.
9461 * include/signal.h: Remove __sigvec declaration.
9462 * sysdeps/unix/bsd/sigvec.c: Remove file.
9463 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9464 * manual/signal.texi (BSD Handler): Remove subsection.
9465 Move siginterrupt up to ...
9466 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9467 (Blocking in BSD): Fold subsection into its parent.
9468 * NEWS: Mention sigvec removal.
9470 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9472 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9473 (DLA_FMS): Make definition conditional only on [__FMA4__].
9474 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9477 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9478 Make definition conditional only on [PROF].
9479 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9481 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9482 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9484 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9486 * include/signal.h (__sigpause): Move declaration above call to
9488 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9490 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9491 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9493 2014-11-14 David S. Miller <davem@davemloft.net>
9495 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9496 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9498 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9500 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9501 * configure: Regenerated.
9502 * manual/install.texi (Tools for Compilation): Document a
9503 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9504 compiler verified to work.
9505 * INSTALL: Regenerated.
9507 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9508 redeclare with asm name.
9509 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9510 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9511 including <string.h>.
9512 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9513 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9514 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9515 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9516 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9517 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9518 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9520 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9522 * stdlib/strtol.c (__strtol): Use prototype definition.
9525 * stdlib/strtol.c (SYM__): New macro.
9527 (__strtol): Likewise.
9528 (strtol): Rename to __strtol and define as weak alias of
9529 __strtol. Use libc_hidden_weak.
9531 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9533 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9534 Use numbered labels in inline assembly.
9536 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9538 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9539 Add setjmp LIBC_PROBE.
9540 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9542 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9543 Add longjmp, longjmp_target LIBC_PROBE.
9544 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9547 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9549 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9550 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9551 to get rid of unused variable warning.
9553 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9555 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9556 Check for unwind_backtrace == NULL only in SHARED case.
9557 (__backchain_backtrace): Compile only in SHARED case.
9558 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9560 (__backchain_backtrace): Declare as static.
9562 2014-11-12 Roland McGrath <roland@hack.frob.com>
9564 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9565 (__libc_multiple_threads_ptr): Variable moved ...
9566 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9568 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9570 * conform/GlibcConform.pm: New file.
9571 * conform/conformtest.pl: Use GlibcConform module.
9572 * conform/linknamespace.pl: New file.
9573 * conform/list-header-symbols.pl: Likewise.
9574 * conform/Makefile (linknamespace-symlists-base): New variable.
9575 (linknamespace-symlists-tests): Likewise.
9576 (linknamespace-header-base): Likewise.
9577 (linknamespace-header-tests): Likewise.
9578 (tests-special): Add new tests.
9579 ($(linknamespace-symlists-tests)): New rule.
9580 (linknamespace-libs): New variable.
9581 ($(objpfx)symlist-stdlibs): New rule.
9582 ($(linknamespace-header-tests)): Likewise.
9583 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9584 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9585 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9586 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9587 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9588 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9589 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9590 (test-xfail-ISO/math.h/linknamespace): Likewise.
9591 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9592 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9593 (test-xfail-ISO/time.h/linknamespace): Likewise.
9594 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9595 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9596 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9597 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9598 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9599 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9600 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9601 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9602 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9603 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9604 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9605 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9606 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9607 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9608 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9609 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9610 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9611 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9612 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9613 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9614 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9615 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9616 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9617 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9618 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9619 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9620 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9621 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9622 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9623 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9624 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9625 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9626 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9627 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9628 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9629 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9630 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9631 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9632 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9633 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9634 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9635 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9636 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9637 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9638 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9639 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9640 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9641 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9642 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9643 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9644 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9645 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9646 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9647 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9648 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9649 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9650 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9651 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9652 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9653 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9654 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9655 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9656 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9657 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9658 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9659 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9660 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9661 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9662 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9663 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9664 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9665 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9666 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9667 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9668 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9669 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9670 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9671 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9672 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9673 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9674 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9675 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9676 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9677 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9678 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9679 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9680 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9681 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9682 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9683 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9684 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9685 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9686 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9687 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9688 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9689 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9690 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9691 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9692 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9693 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9694 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9695 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9696 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9697 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9698 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9699 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9700 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9701 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9702 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9703 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9704 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9705 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9706 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9707 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9708 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9709 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9710 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9711 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9712 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9713 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9714 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9715 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9716 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9717 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9718 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9719 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9720 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9721 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9722 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9723 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9724 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9725 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9726 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9727 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9728 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9729 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9730 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9731 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9732 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9733 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9734 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9735 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9736 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9737 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9738 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9739 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9740 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9741 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9742 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9743 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9746 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9750 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9751 (memmem): Rename to __memmem and define as weak alias of
9752 __memmem. Use libc_hidden_weak.
9753 (__memmem): Use libc_hidden_def.
9754 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9755 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9759 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9760 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9761 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9762 and define as weak alias of __fgets_unlocked. Use
9764 (__fgets_unlocked): Use libc_hidden_def.
9765 * include/stdio.h (__fgets_unlocked): Declare. Use
9767 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9768 __fgets_unlocked instead of fgets_unlocked.
9769 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9770 (GET_NPROCS_CONF_PARSER): Likewise.
9771 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9772 (GET_NPROCS_CONF_PARSER): Likewise.
9775 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9776 weak alias of __wmemset. Use libc_hidden_weak.
9777 (__wmemset): Use libc_hidden_def.
9778 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9779 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9783 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9784 with asm name __mempcpy.
9785 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9788 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9789 and define as weak alias of __rawmemchr.
9790 (__rawmemchr): Do not define as strong alias of rawmemchr.
9793 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9795 (qsort): Call __qsort_r instead of qsort_r.
9796 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9797 (__qsort_r): Declare. Call libc_hidden_proto.
9798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9800 * nscd/gai.c (__qsort_r): Define to qsort_r.
9801 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9802 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9803 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9806 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9807 define as weak alias of __malloc_info.
9810 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9811 as weak alias of __rewinddir. Don't use libc_hidden_def.
9812 (__rewinddir): Use libc_hidden_def.
9813 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9814 as weak alias of __rewinddir. Don't use libc_hidden_def.
9815 (__rewinddir): Use libc_hidden_def.
9816 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9817 weak alias of __rewinddir. Don't use libc_hidden_def.
9818 (__rewinddir): Use libc_hidden_def.
9819 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9820 (__rewinddir): Use libc_hidden_proto.
9821 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9823 (__getcwd): Use __rewinddir instead of rewinddir.
9826 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9827 alias of __fileno. Use libc_hidden_weak.
9828 (__fileno): Use libc_hidden_def.
9829 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9830 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9832 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9834 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9835 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9837 (fread_unlocked): Don't use libc_hidden_ver.
9838 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9839 and define as weak alias of __fread_unlocked. Don't use
9841 (__fread_unlocked): Use libc_hidden_def.
9842 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9843 (ftello): Don't use libc_hidden_proto.
9844 (__ftello): Declare. Use libc_hidden_proto.
9845 (fread_unlocked): Don't use libc_hidden_proto.
9846 (__fread_unlocked): Declare. Use libc_hidden_proto.
9847 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9848 and __ftello instead of fileno, fread_unlocked and ftello.
9850 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9852 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9854 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9856 (_dl_start_user): Likewise.
9857 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9859 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9860 Siddhesh Poyarekar <siddhesh@redhat.com>
9862 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9863 Move argv and envp down instead of moving argc up.
9864 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9866 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9869 * test-skeleton.c (main): Return successful if one of
9870 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9871 * string/tst-strcoll-overflow.c: Define expected status.
9873 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9876 * locale/iso-639.def: Define Bhili and Tulu language codes.
9878 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9880 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9882 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9885 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9887 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9889 * configure.ac: Updated check of minimal required version to
9891 * manual/install.texi (Tools for Compilation): Updated version
9893 * configure: Regenerated.
9894 * INSTALL: Likewise.
9896 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9898 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9901 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9903 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9904 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9905 (__waitpid): Don't define as alias. Use libc_hidden_def not
9907 (waitpid): Define as alias of __waitpid.
9908 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9910 (__waitpid): Don't define as alias. Use libc_hidden_def not
9912 (waitpid): Define as alias of __waitpid.
9913 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9914 __libc_waitpid alias.
9915 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9916 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9918 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9920 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9922 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9924 (__waitpid): Don't define as alias. Use libc_hidden_def not
9926 (waitpid): Define as alias of __waitpid.
9928 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9930 * manual/llio.texi: Add comment that write safety has been
9933 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9934 (localplt-build-dso): Add elf/ld.so.
9935 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9936 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9939 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9944 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9945 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9946 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9947 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9948 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9949 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9950 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9951 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9952 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9953 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9954 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9956 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9959 * include/libc-symbols.h (INTUSE): Remove macro.
9961 (INTVARDEF): Likewise.
9962 (_INTVARDEF): Likewise.
9963 (INTDEF2): Likewise.
9964 (INTVARDEF2): Likewise.
9965 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9966 rtld_hidden_def instead of INTVARDEF.
9967 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9968 (_dl_starting_up_internal): Remove declaration.
9969 (_dl_starting_up): Use rtld_hidden_proto.
9970 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9972 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9973 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9975 * elf/dl-writev.h (_dl_writev): Likewise.
9976 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9977 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9978 _dl_starting_up_internal.
9980 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9982 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9985 2014-11-05 Will Newton <will.newton@linaro.org>
9987 * benchtests/Makefile: (bench-malloc): Add malloc thread
9988 scalability benchmark.
9989 * benchtests/bench-malloc-threads.c: New file.
9991 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9993 * sysdeps/aarch64/strchrnul.S: New file.
9995 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9999 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10001 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10003 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10005 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10010 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10012 * catgets/test-gencat.c: Use test-skeleton.c.
10013 * catgets/tst-catgets.c: Likewise.
10014 * csu/tst-empty.c: Likewise.
10015 * elf/tst-audit2.c: Likewise.
10016 * elf/tst-global1.c: Likewise.
10017 * elf/tst-pathopt.c: Likewise.
10018 * elf/tst-piemod1.c: Likewise.
10019 * elf/tst-tls10.c: Likewise.
10020 * elf/tst-tls11.c: Likewise.
10021 * elf/tst-tls12.c: Likewise.
10022 * gnulib/tst-gcc.c: Likewise.
10023 * iconvdata/tst-e2big.c: Likewise.
10024 * iconvdata/tst-loading.c: Likewise.
10025 * iconv/tst-iconv1.c: Likewise.
10026 * iconv/tst-iconv2.c: Likewise.
10027 * inet/test-inet6_opt.c: Likewise.
10028 * inet/tst-gethnm.c: Likewise.
10029 * inet/tst-network.c: Likewise.
10030 * inet/tst-ntoa.c: Likewise.
10031 * intl/tst-codeset.c: Likewise.
10032 * intl/tst-gettext2.c: Likewise.
10033 * intl/tst-gettext3.c: Likewise.
10034 * intl/tst-ngettext.c: Likewise.
10035 * intl/tst-translit.c: Likewise.
10036 * io/test-stat.c: Likewise.
10037 * libio/test-fmemopen.c: Likewise.
10038 * libio/tst-freopen.c: Likewise.
10039 * libio/tst-sscanf.c: Likewise.
10040 * libio/tst-ungetwc1.c: Likewise.
10041 * libio/tst-ungetwc2.c: Likewise.
10042 * libio/tst-widetext.c: Likewise.
10043 * localedata/tst-ctype.c: Likewise.
10044 * localedata/tst-digits.c: Likewise.
10045 * localedata/tst-leaks.c: Likewise.
10046 * localedata/tst-mbswcs1.c: Likewise.
10047 * localedata/tst-mbswcs2.c: Likewise.
10048 * localedata/tst-mbswcs3.c: Likewise.
10049 * localedata/tst-mbswcs4.c: Likewise.
10050 * localedata/tst-mbswcs5.c: Likewise.
10051 * localedata/tst-setlocale.c: Likewise.
10052 * localedata/tst-trans.c: Likewise.
10053 * localedata/tst-wctype.c: Likewise.
10054 * localedata/tst-xlocale1.c: Likewise.
10055 * login/tst-grantpt.c: Likewise.
10056 * malloc/tst-calloc.c: Likewise.
10057 * malloc/tst-malloc.c: Likewise.
10058 * malloc/tst-mallocstate.c: Likewise.
10059 * malloc/tst-mcheck.c: Likewise.
10060 * malloc/tst-mtrace.c: Likewise.
10061 * malloc/tst-obstack.c: Likewise.
10062 * math/atest-exp2.c: Likewise.
10063 * math/atest-exp.c: Likewise.
10064 * math/atest-sincos.c: Likewise.
10065 * math/test-matherr.c: Likewise.
10066 * math/test-misc.c: Likewise.
10067 * math/test-powl.c: Likewise.
10068 * math/tst-definitions.c: Likewise.
10069 * misc/tst-dirname.c: Likewise.
10070 * misc/tst-efgcvt.c: Likewise.
10071 * misc/tst-fdset.c: Likewise.
10072 * misc/tst-hsearch.c: Likewise.
10073 * misc/tst-mntent2.c: Likewise.
10074 * nptl/tst-sem7.c: Likewise.
10075 * nptl/tst-sem8.c: Likewise.
10076 * nptl/tst-sem9.c: Likewise.
10077 * nss/test-netdb.c: Likewise.
10078 * posix/tst-fnmatch.c: Likewise.
10079 * posix/tst-getlogin.c: Likewise.
10080 * posix/tst-gnuglob.c: Likewise.
10081 * posix/tst-mmap.c: Likewise.
10082 * pwd/tst-getpw.c: Likewise.
10083 * resolv/tst-inet_ntop.c: Likewise.
10084 * rt/tst-timer.c: Likewise.
10085 * stdio-common/test-fseek.c: Likewise.
10086 * stdio-common/test-popen.c: Likewise.
10087 * stdio-common/test-vfprintf.c: Likewise.
10088 * stdio-common/tst-cookie.c: Likewise.
10089 * stdio-common/tst-fileno.c: Likewise.
10090 * stdio-common/tst-gets.c: Likewise.
10091 * stdio-common/tst-obprintf.c: Likewise.
10092 * stdio-common/tst-perror.c: Likewise.
10093 * stdio-common/tst-sprintf2.c: Likewise.
10094 * stdio-common/tst-sprintf3.c: Likewise.
10095 * stdio-common/tst-sprintf.c: Likewise.
10096 * stdio-common/tst-swprintf.c: Likewise.
10097 * stdio-common/tst-tmpnam.c: Likewise.
10098 * stdio-common/tst-unbputc.c: Likewise.
10099 * stdio-common/tst-wc-printf.c: Likewise.
10100 * stdlib/tst-environ.c: Likewise.
10101 * stdlib/tst-fmtmsg.c: Likewise.
10102 * stdlib/tst-limits.c: Likewise.
10103 * stdlib/tst-rand48-2.c: Likewise.
10104 * stdlib/tst-rand48.c: Likewise.
10105 * stdlib/tst-random2.c: Likewise.
10106 * stdlib/tst-random.c: Likewise.
10107 * stdlib/tst-strtol.c: Likewise.
10108 * stdlib/tst-strtoll.c: Likewise.
10109 * stdlib/tst-tls-atexit.c: Likewise.
10110 * stdlib/tst-xpg-basename.c: Likewise.
10111 * string/test-ffs.c: Likewise.
10112 * string/tst-bswap.c: Likewise.
10113 * string/tst-inlcall.c: Likewise.
10114 * string/tst-strtok.c: Likewise.
10115 * string/tst-strxfrm.c: Likewise.
10116 * sysdeps/x86_64/tst-audit10.c: Likewise.
10117 * sysdeps/x86_64/tst-audit3.c: Likewise.
10118 * sysdeps/x86_64/tst-audit4.c: Likewise.
10119 * sysdeps/x86_64/tst-audit5.c: Likewise.
10120 * time/tst-ftime_l.c: Likewise.
10121 * time/tst-getdate.c: Likewise.
10122 * time/tst-mktime3.c: Likewise.
10123 * time/tst-mktime.c: Likewise.
10124 * time/tst-posixtz.c: Likewise.
10125 * time/tst-strptime2.c: Likewise.
10126 * time/tst-strptime3.c: Likewise.
10127 * wcsmbs/tst-btowc.c: Likewise.
10128 * wcsmbs/tst-mbrtowc.c: Likewise.
10129 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10130 * wcsmbs/tst-wchar-h.c: Likewise.
10131 * wcsmbs/tst-wcpncpy.c: Likewise.
10132 * wcsmbs/tst-wcrtomb.c: Likewise.
10133 * wcsmbs/tst-wcsnlen.c: Likewise.
10134 * wcsmbs/tst-wcstof.c: Likewise.
10136 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10139 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10141 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10143 (_dl_mcount): Use rtld_hidden_proto.
10144 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10146 * elf/rtld.c (_rtld_global_ro): Likewise.
10149 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10150 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10151 of _dl_init_internal.
10152 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10153 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10154 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10155 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10156 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10157 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10158 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10159 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10160 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10161 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10162 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10163 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10164 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10165 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10166 * sysdeps/tile/dl-start.S (_start): Likewise.
10167 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10168 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10171 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10172 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10173 (rtld_progname): Make macro definition unconditional.
10174 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10176 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10177 (dl_main): Likewise.
10178 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10179 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10180 instead of _dl_argv_internal.
10181 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10182 __GI__dl_argv instead of INTUSE(_dl_argv).
10183 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10184 __GI__dl_argv instead of _dl_argv_internal.
10186 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10187 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10189 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10190 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10192 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10193 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10195 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10196 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10198 2014-11-04 Andreas Schwab <schwab@suse.de>
10200 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10202 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10204 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10205 mtvsrd instruction in binary form.
10207 2014-11-03 Andreas Schwab <schwab@suse.de>
10210 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10211 for less than MB_LEN_MAX use a local buffer of that size.
10212 * libio/tst-fputws.c: New file.
10213 * libio/Makefile (tests): Add tst-fputws.
10215 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10217 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10218 the size of the fpu_fr.fpu_dregs[] array.
10220 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10222 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10223 (__nanosleep): Do not define as alias.
10224 (nanosleep): Define as alias of __nanosleep.
10225 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10226 __libc_nanosleep name.
10228 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10230 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10231 install.texi in comment.
10233 2014-10-31 Torvald Riegel <triegel@redhat.com>
10235 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10236 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10237 ... add here and use lwsync or sync ...
10238 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10239 ... and add here using lwsync.
10241 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10243 * elf/dl-machine-reject-phdr.h: New file.
10244 * elf/dl-load.c: #include that.
10245 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10246 if that returned true.
10248 2014-10-31 Roland McGrath <roland@hack.frob.com>
10251 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10252 gen-as-const-headers chunk. Add a big scare comment after the last
10253 safe place to touch before-compile.
10255 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10257 * manual/install.texi (Tools for Compilation): Update autoconf
10258 version requirements.
10259 * INSTALL: Regenerated.
10261 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10262 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10263 (__libc_pselect): Likewise.
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10271 2014-10-31 Torvald Riegel <triegel@redhat.com>
10273 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10274 correct barrier instruction.
10275 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10277 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10280 2014-10-30 Roland McGrath <roland@hack.frob.com>
10282 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10283 after defining inlines. Instead, just use parens to defeat macro
10284 expansion of __isctype in its declaration.
10286 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10288 * include/sys/uio.h (__libc_readv): Remove declaration.
10289 (__libc_writev): Likewise.
10290 * misc/readv.c (__libc_readv): Rename to __readv.
10291 (__readv): Do not define as alias.
10292 (readv): Define as alias of __readv.
10293 * misc/writev.c (__libc_writev): Rename to __writev.
10294 (__writev): Do not define as alias.
10295 (writev): Define as alias of __writev.
10296 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10297 (__readv): Do not define as alias.
10298 (readv): Define unconditionally as alias of __readv.
10299 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10300 (__writev): Do not define as alias.
10301 (writev): Define unconditionally as alias of __writev.
10302 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10304 (writev): Do not define __libc_writev name.
10306 2014-10-30 Roland McGrath <roland@hack.frob.com>
10308 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10309 (convert_charseq): New function, broken out of ...
10310 (use_from_charmap): ... here. Call it.
10311 (use_to_charmap): Use convert_charseq and free instead of duplicating
10312 its code with a variable-length stack struct.
10314 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10316 * include/fcntl.h (__libc_creat): Remove declaration.
10317 * io/creat.c (__libc_creat): Rename to creat.
10318 (creat): Do not define as alias.
10319 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10320 of creat instead of __libc_creat.
10321 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10323 (creat): Do not define as alias.
10324 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10326 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10331 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10333 * manual/llio.texi: Add comments discussing why write() may be
10334 considered MT-unsafe on Linux.
10336 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10338 * dl-load.c (local_strdup): Remove.
10339 (expand_dynamic_string_token): Use __strdup.
10340 (decompose_rpath): Likewise.
10341 (_dl_map_object): Likewise.
10343 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10346 * sysdeps/generic/unwind-dw2-fde.c
10347 (__register_frame_info_bases_internal): Do not declare.
10348 (__register_frame_info_table_bases_internal): Likewise.
10349 (__deregister_frame_info_bases_internal): Likewise.
10350 (__register_frame_info_bases): Declare and use hidden_proto before
10351 definition. Use hidden_def instead of INTDEF.
10352 (__register_frame_info_table_bases): Likewise.
10353 (__deregister_frame_info_bases): Likewise.
10354 (__register_frame_info): Do not use INTUSE.
10355 (__register_frame): Likewise.
10356 (__register_frame_info_table): Likewise.
10357 (__register_frame_table): Likewise.
10358 (__deregister_frame_info): Likewise.
10359 (__deregister_frame): Likewise.
10361 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10363 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10364 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10366 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10368 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10371 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10374 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10375 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10376 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10377 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10378 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10379 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10380 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10381 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10382 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10383 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10385 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10386 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10388 (setfsuid): Likewise.
10389 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10390 (setfsuid): Likewise.
10391 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10392 (setfsuid): Likewise.
10393 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10395 (setfsuid): Likewise.
10396 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10397 (setfsuid): Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10400 (setfsuid): Likewise.
10402 2014-10-27 Andreas Schwab <schwab@suse.de>
10405 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10406 check for Slow_SSE4_2 feature bit.
10407 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10408 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10409 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10410 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10412 2014-10-24 Roland McGrath <roland@hack.frob.com>
10414 * configure.ac: Validate compiler version with a empirical test of
10415 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10417 * configure: Regenerated.
10419 * inet/htons.c (htons): Prototypify.
10420 * inet/htonl.c (htonl): Likewise.
10422 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10424 * string/strncat.c (strncat): Improve performance by using strlen.
10426 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10428 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10430 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10432 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10433 Call libc_fetestexcept_aarch64.
10435 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10437 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10438 Call libc_feholdexcept_aarch64.
10440 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10442 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10443 Call get_rounding_mode.
10445 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10447 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10450 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10452 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10455 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10458 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10459 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10460 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10461 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10462 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10463 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10464 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10466 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10467 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10468 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10469 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10470 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10471 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10472 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10473 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10474 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10475 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10476 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10477 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10478 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10481 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10482 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10483 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10484 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10485 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10486 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10487 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10488 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10489 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10490 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10491 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10492 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10493 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10494 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10495 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10496 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10497 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10498 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10500 (geteuid): Likewise.
10501 (getgid): Likewise.
10502 (getuid): Likewise.
10503 (getresgid): Likewise.
10504 (getresuid): Likewise.
10505 (getgroups): Likewise.
10506 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10507 (geteuid): Likewise.
10508 (getgid): Likewise.
10509 (getuid): Likewise.
10510 (getresgid): Likewise.
10511 (getresuid): Likewise.
10512 (getgroups): Likewise.
10513 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10514 (geteuid): Likewise.
10515 (getgid): Likewise.
10516 (getuid): Likewise.
10517 (getresgid): Likewise.
10518 (getresuid): Likewise.
10519 (getgroups): Likewise.
10520 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10522 (geteuid): Likewise.
10523 (getgid): Likewise.
10524 (getuid): Likewise.
10525 (getresgid): Likewise.
10526 (getresuid): Likewise.
10527 (getgroups): Likewise.
10528 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10529 (geteuid): Likewise.
10530 (getgid): Likewise.
10531 (getuid): Likewise.
10532 (getresgid): Likewise.
10533 (getresuid): Likewise.
10534 (getgroups): Likewise.
10535 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10537 (geteuid): Likewise.
10538 (getgid): Likewise.
10539 (getuid): Likewise.
10540 (getgroups): Likewise.
10543 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10544 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10545 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10547 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10548 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10549 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10550 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10551 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10552 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10553 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10554 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10555 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10557 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10558 (lchown): Likewise.
10559 (fchown): Likewise.
10560 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10562 (lchown): Likewise.
10563 (fchown): Likewise.
10564 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10565 (lchown): Likewise.
10566 (fchown): Likewise.
10567 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10569 (lchown): Likewise.
10570 (fchown): Likewise.
10572 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10574 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10577 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10579 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10582 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10584 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10585 Remove unused include.
10587 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10589 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10590 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10591 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10592 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10594 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10595 Helge Deller <deller@gmx.de>
10598 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10599 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10600 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10602 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10605 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10606 Remove macro definition.
10607 (__ashrdi3_v_glibc20): Likewise.
10608 (__lshrdi3_v_glibc20): Likewise.
10609 (__cmpdi2_v_glibc20): Likewise.
10610 (__ucmpdi2_v_glibc20): Likewise.
10611 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10612 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10613 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10614 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10615 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10616 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10618 2014-10-22 Roland McGrath <roland@hack.frob.com>
10620 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10621 old GNU extension [0] syntax.
10622 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10623 alloca rather than an array member with variable length.
10624 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10625 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10626 (parse_opt): ... here. Likewise use alloca there.
10627 Validate the -i argument before checking for rootness.
10628 (send_shutdown): New function, broken out of ...
10629 (parse_opt): ... here.
10631 2014-10-22 Roland McGrath <roland@hack.frob.com>
10633 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10634 macro to get at the _rt_local_ro field.
10635 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10636 ([PIC] case) or _dl_hwcap ([!PIC] case).
10637 * sysdeps/arm/setjmp.S: Likewise.
10639 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10640 * sysdeps/arm/configure.ac: New check to define it.
10641 * sysdeps/arm/configure: Regenerated.
10642 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10643 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10644 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10645 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10646 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10647 Use move/movt pair instead of a load.
10648 (LDST_GLOBAL): Macro removed.
10649 (LDR_GLOBAL): New macro replaces it.
10650 (LDR_HIDDEN): New macro.
10651 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10652 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10654 * setjmp/tst-setjmp-static.c: New file.
10655 * setjmp/Makefile (tests): Add it.
10656 (tests-static): New variable.
10658 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10661 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10663 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10666 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10668 2014-10-21 Roland McGrath <roland@hack.frob.com>
10670 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10672 2014-10-20 Roland McGrath <roland@hack.frob.com>
10674 * io/fts.c (dirent_not_directory): New function.
10675 (fts_build): Call it.
10677 2014-10-20 Roland McGrath <roland@hack.frob.com>
10679 * nptl/version.c (__nptl_main): Use normal __write rather than
10681 (banner): Update copyright years.
10683 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10685 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10686 * nptl/pthread_cond_timedwait.c: Likewise.
10687 * nptl/pthread_mutex_timedlock.c: Likewise.
10688 * nptl/sem_timedwait.c: Likewise.
10690 * sysdeps/nptl/bits/libc-lock.h
10691 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10692 (__libc_lock_init_recursive): Return void, not 0.
10693 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10694 (__libc_rwlock_init): Likewise.
10695 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10697 2014-10-20 Torvald Riegel <triegel@redhat.com>
10700 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10701 (__pthread_once_slow): ... here.
10702 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10703 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10705 2014-10-20 Torvald Riegel <triegel@redhat.com>
10708 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10709 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10710 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10711 * nptl/pthread_once.c (__pthread_once): Likewise.
10714 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10717 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10719 (writev): Use __libc_writev as strong name.
10720 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10721 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10723 2014-10-17 Roland McGrath <roland@hack.frob.com>
10725 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10727 * sysdeps/i386/nptl/tls.h
10728 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10729 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10731 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10732 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10733 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10734 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10735 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10736 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10738 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10739 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10741 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10743 (__pthread_mutex_init): ... here. Call it.
10744 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10745 Conditionalize PI cases on [__NR_futex].
10746 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10747 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10748 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10750 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10751 conditional on [SIGSETXID].
10752 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10753 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10754 is defined. Likewise for SIGSETXID.
10755 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10756 Conditionalize definitions on [SIGSETXID].
10757 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10758 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10759 unblocking on [SIGCANCEL].
10761 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10762 [__NR_set_robust_list].
10764 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10766 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10767 (do_compare): Likewise.
10769 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10772 * string/strcoll_l.c: Don't include stdio.h.
10773 (coll_seq): Remove members idxarr and rulearr.
10774 (get_next_seq_cached): Remove function.
10775 (get_next_seq): Likewise.
10776 (get_next_seq_nocache): Rename to get_next_seq.
10777 (do_compare): Remove function.
10778 (do_compare_nocache): Rename to do_compare.
10779 (STRCOLL): Remove weight and rules cache.
10781 2014-10-16 Roland McGrath <roland@hack.frob.com>
10783 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10784 * sysdeps/arm/sfp-machine.h: ... to here.
10785 * sysdeps/arm/Implies: Remove arm/soft-fp.
10787 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10789 * conform/data/sys/utsname.h-data (*_t): Allow.
10790 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10791 [POSIX] (WEXITED): Do not expect constant.
10792 [POSIX] (WSTOPPED): Likewise.
10793 [POSIX] (WNOHANG): Likewise.
10794 [POSIX] (WNOWAIT): Likewise.
10795 [POSIX] (siginfo_t): Do not expect type or elements.
10796 [POSIX] (pid_t): Do not expect type.
10797 [POSIX] (signal.h): Do not allow header.
10798 [POSIX] (sys/resource.h): Likewise.
10799 [POSIX] (si_*): Do not allow pattern.
10800 [POSIX] (W*): Likewise.
10801 [POSIX] (P_*): Likewise.
10802 [POSIX] (BUS_*): Likewise.
10803 [POSIX] (CLD_*): Likewise.
10804 [POSIX] (FPE_*): Likewise.
10805 [POSIX] (ILL_*): Likewise.
10806 [POSIX] (POLL_*): Likewise.
10807 [POSIX] (SEGV_*): Likewise.
10808 [POSIX] (SI_*): Likewise.
10809 [POSIX] (TRAP_*): Likewise.
10810 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10813 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10816 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10817 infinite loop when __recvmsg returns 0.
10819 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10821 * CANCEL-FCT-WAIVE: Remove file.
10822 * CANCEL-FILE-WAIVE: Likewise.
10825 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10826 instead of INTVARDEF.
10827 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10828 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10829 rtld_hidden_data_def instead of INTVARDEF.
10830 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10831 * elf/dl-deps.c (expand_dst): Likewise.
10832 * elf/dl-load.c (_dl_dst_count): Likewise.
10833 (_dl_dst_substitute): Likewise.
10834 (decompose_rpath): Likewise.
10835 (_dl_init_paths): Likewise.
10836 (open_path): Likewise.
10837 (_dl_map_object): Likewise.
10838 * elf/rtld.c (dl_main): Likewise.
10839 (process_dl_audit): Likewise.
10840 (process_envvars): Likewise.
10841 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10842 Remove declaration.
10843 (__libc_enable_secure): Use rtld_hidden_proto.
10845 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10848 (add_path): New function broken out of _dl_rtld_di_serinfo.
10849 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10851 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10853 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10854 parentheses around macro arguments.
10855 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10856 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10857 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10858 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10859 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10860 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10861 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10864 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10865 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10866 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10867 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10868 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10869 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10870 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10871 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10872 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10873 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10874 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10875 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10876 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10878 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10879 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10882 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10883 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10884 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10885 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10886 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10887 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10888 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10889 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10890 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10893 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10894 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10895 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10898 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10899 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10900 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10901 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10902 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10903 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10904 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10905 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10906 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10907 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10909 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10910 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10912 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10913 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10914 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10915 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10916 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10917 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10918 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10919 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10920 (_FP_FRAC_SRS_1): Likewise.
10921 (_FP_FRAC_CLZ_1): Likewise.
10922 (_FP_MUL_MEAT_1_imm): Likewise.
10923 (_FP_MUL_MEAT_1_wide): Likewise.
10924 (_FP_MUL_MEAT_1_hard): Likewise.
10925 (_FP_SQRT_MEAT_1): Likewise.
10926 (_FP_FRAC_ASSEMBLE_1): Likewise.
10927 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10928 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10929 (__FP_CLZ_2): Likewise.
10930 (_FP_MUL_MEAT_2_wide): Likewise.
10931 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10932 (_FP_MUL_MEAT_2_gmp): Likewise.
10933 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10934 (_FP_SQRT_MEAT_2): Likewise.
10935 (_FP_FRAC_ASSEMBLE_2): Likewise.
10936 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10937 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10938 (_FP_FRAC_CLZ_4): Likewise.
10939 (_FP_MUL_MEAT_4_wide): Likewise.
10940 (_FP_MUL_MEAT_4_gmp): Likewise.
10941 (_FP_SQRT_MEAT_4): Likewise.
10942 (_FP_FRAC_ASSEMBLE_4): Likewise.
10943 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10944 * soft-fp/op-common.h (_FP_CMP): Likewise.
10945 (_FP_CMP_EQ): Likewise.
10946 (_FP_CMP_UNORD): Likewise.
10947 (_FP_TO_INT): Likewise.
10948 (_FP_FROM_INT): Likewise.
10949 [!__FP_CLZ] (__FP_CLZ): Likewise.
10950 (_FP_DIV_HELP_imm): Likewise.
10951 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10953 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10954 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10955 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10956 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10957 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10958 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10959 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10960 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10961 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10962 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10963 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10964 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10965 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10966 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10967 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10968 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10969 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10970 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10971 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10972 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10973 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10974 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10975 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10976 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10977 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10978 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10979 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10980 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10981 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10982 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10983 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10984 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10985 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10986 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10987 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10988 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10989 (FP_UNPACK_RAW_SP): Likewise.
10990 (FP_PACK_RAW_S): Likewise.
10991 (FP_PACK_RAW_SP): Likewise.
10992 (FP_UNPACK_S): Likewise.
10993 (FP_UNPACK_SP): Likewise.
10994 (FP_UNPACK_SEMIRAW_S): Likewise.
10995 (FP_UNPACK_SEMIRAW_SP): Likewise.
10996 (FP_PACK_S): Likewise.
10997 (FP_PACK_SP): Likewise.
10998 (FP_PACK_SEMIRAW_S): Likewise.
10999 (FP_PACK_SEMIRAW_SP): Likewise.
11000 (_FP_SQRT_MEAT_S): Likewise.
11001 (FP_CMP_S): Likewise.
11002 (FP_CMP_EQ_S): Likewise.
11003 (FP_CMP_UNORD_S): Likewise.
11004 (FP_TO_INT_S): Likewise.
11005 (FP_FROM_INT_S): Likewise.
11007 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11009 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11010 (FP_EX_INVALID_IMZ): Likewise.
11011 (FP_EX_INVALID_IMZ_FMA): Likewise.
11012 (FP_EX_INVALID_ISI): Likewise.
11013 (FP_EX_INVALID_ZDZ): Likewise.
11014 (FP_EX_INVALID_IDI): Likewise.
11015 (FP_EX_INVALID_SQRT): Likewise.
11016 (FP_EX_INVALID_CVI): Likewise.
11017 (FP_EX_INVALID_VC): Likewise.
11018 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11019 "invalid" exceptions.
11020 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11021 (_FP_ADD_INTERNAL): Likewise.
11022 (_FP_MUL): Likewise.
11023 (_FP_FMA): Likewise.
11024 (_FP_DIV): Likewise.
11025 (_FP_CMP_CHECK_NAN): Likewise.
11026 (_FP_SQRT): Likewise.
11027 (_FP_TO_INT): Likewise.
11028 (FP_EXTEND): Likewise.
11030 2014-10-09 Allan McRae <allan@archlinux.org>
11032 * po/fr.po: Update French translation from translation project.
11034 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11037 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11039 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11040 (__cxa_atexit): Use libc_hidden_proto.
11041 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11044 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11046 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11047 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11048 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11049 [!_ISOMAC] (__iswctype_internal): Likewise.
11050 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11051 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11053 (fcntl): Remove __fcntl_internal alias.
11054 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11055 __connect_internal alias.
11056 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11059 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11060 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11062 (_FP_CHECK_FLUSH_ZERO): New macro.
11063 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11064 (_FP_CMP): Likewise.
11065 (_FP_CMP_EQ): Likewise.
11066 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11068 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11069 (FP_TRUNC): Likewise.
11071 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11072 treated as invalid conversion, not as normal exponent.
11074 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11075 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11076 (_FP_CMP_EQ): Likewise.
11077 (_FP_CMP_UNORD): Likewise.
11078 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11079 (FP_CMP_EQ_D): Likewise.
11080 (FP_CMP_UNORD_D): Likewise.
11081 * soft-fp/extended.h (FP_CMP_E): Likewise.
11082 (FP_CMP_EQ_E): Likewise.
11083 (FP_CMP_UNORD_E): Likewise.
11084 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11085 (FP_CMP_EQ_Q): Likewise.
11086 (FP_CMP_UNORD_Q): Likewise.
11087 * soft-fp/single.h (FP_CMP_S): Likewise.
11088 (FP_CMP_EQ_S): Likewise.
11089 (FP_CMP_UNORD_S): Likewise.
11090 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11091 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11092 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11093 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11094 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11095 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11096 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11097 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11098 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11099 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11100 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11101 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11102 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11104 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11106 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11107 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11109 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11111 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11112 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11113 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11114 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11116 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11118 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11119 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11121 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11123 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11124 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11125 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11126 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11129 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11130 a subnormal result, set the underflow exception if trapping on
11131 underflow is enabled.
11132 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11133 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11134 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11136 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11137 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11138 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11139 * soft-fp/extendxftf2.c (__extendxftf2): Use
11140 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11142 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11143 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11144 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11145 FP_HANDLE_EXCEPTIONS.
11146 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11147 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11148 FP_HANDLE_EXCEPTIONS.
11149 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11150 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11151 FP_HANDLE_EXCEPTIONS.
11152 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11153 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11154 FP_HANDLE_EXCEPTIONS.
11156 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11159 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11160 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11162 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11163 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11165 (__adjtimex): Define using libc_hidden_ver.
11166 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11167 Remove declaration.
11168 (ntp_gettime): Call __adjtimex directly.
11169 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11170 Remove declaration.
11171 (ntp_gettimex): Call __adjtimex directly.
11172 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11173 __adjtimex_internal alias.
11175 2014-10-08 Roland McGrath <roland@hack.frob.com>
11178 * nscd/nscd.c (more_help): Rewrite list of tables collection
11179 using xstrdup and asprintf.
11181 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11183 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11184 Roland McGrath <roland@hack.frob.com>
11186 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11187 (do_lookup_unique): ... local function 'enter' here; update callers.
11189 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11191 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11192 compat_symbol calls on [SHARED].
11193 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11194 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11196 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11197 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11198 (oldsetrlimit): Remove.
11199 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11201 (lchown): New syscall entry.
11202 (oldsetrlimit): Remove.
11203 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11204 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11205 (oldsetrlimit): Remove.
11206 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11209 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11210 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11211 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11212 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11214 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11215 (fchown): Likewise.
11216 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11217 (fchown): Likewise.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11221 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11223 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11224 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11225 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11226 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11227 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11229 (__old_sem_post): Likewise.
11231 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11233 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11234 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11235 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11236 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11237 Use INLINE_VSYSCALL macro.
11238 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11239 __vdso_clock_gettime.
11240 * sysdeps/unix/sysv/linux/tile/init-first.c
11241 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11242 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11243 __vdso_clock_gettime.
11245 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11246 to set up frame more cleanly.
11248 * sysdeps/tile/memcmp.c: New file.
11250 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11252 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11253 * sysdeps/tile/tilegx/strcasestr.c: New file.
11254 * sysdeps/tile/tilegx/strnlen.c: New file.
11255 * sysdeps/tile/tilegx/strstr.c: New file.
11257 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11259 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11261 * nptl/tst-setuid3.c: Write errors to stdout.
11263 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11266 (preload): New functions broken out of _dl_map_object_deps.
11267 (_dl_map_object_deps): Remove a nested function. Update call sites.
11269 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11272 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11273 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11275 2014-10-01 Steve Ellcey <sellcey@mips.com>
11277 * sysdeps/mips/strcmp.S: New.
11279 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11282 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11283 (linkat): Likewise.
11284 (mkdirat): Likewise.
11285 (readlinkat): Likewise.
11286 (renameat): Likewise.
11287 (symlinkat): Likewise.
11288 (unlinkat): Likewise.
11289 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11290 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11291 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11292 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11293 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11294 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11295 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11297 2014-09-30 Will Newton <will.newton@linaro.org>
11299 * math/math.h: Define long double math functions if
11300 _LIBC_TEST is defined.
11301 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11303 * localedata/Makefile: Move assignment to tests-special
11304 into an ifdef testing run-built-tests.
11305 * timezone/Makefile: Likewise.
11307 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11309 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11310 with $(BASH) not $(SHELL).
11312 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11313 Matthew LeGendre <legendre1@llnl.gov>
11316 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11319 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11321 * stdio-common/printf_fp.c
11322 (hack_digit): New function, broken out of ...
11323 (__printf_fp): ... local function here. Update call sites.
11324 hack_digit now takes an additional parameter that is a pointer
11325 to a struct of the referenced locals. Those locals moved inside
11326 the struct and references updated.
11328 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11330 * aclocal.m4: Require autoconf 2.69.
11331 * configure: Regenerated.
11332 * sysdeps/aarch64/configure: Likewise.
11333 * sysdeps/alpha/configure: Likewise.
11334 * sysdeps/arm/armv7/configure: Likewise.
11335 * sysdeps/arm/configure: Likewise.
11336 * sysdeps/ia64/configure: Likewise.
11337 * sysdeps/mach/configure: Likewise.
11338 * sysdeps/mips/configure: Likewise.
11339 * sysdeps/s390/configure: Likewise.
11340 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11343 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11345 * sysdeps/ia64/configure.ac: Likewise.
11347 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11350 specify symbol version for ld.so. Do not include entry for
11352 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11353 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11357 * Makeconfig [$(build-shared) = yes]
11358 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11360 [$(build-shared) = yes && $(soversions.mk-done) = t]
11361 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11362 [$(build-shared) = yes && $(soversions.mk-done) = t]
11363 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11365 [$(build-shared) = yes && $(soversions.mk-done) = t]
11366 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11368 [$(build-shared) = yes && $(soversions.mk-done) = t]
11369 (common-generated): Don't append gnu/lib-names.h and
11370 gnu/lib-names.stmp here.
11371 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11372 (lib-names-h-abi): New variable.
11373 [$(build-shared) = yes && $(soversions.mk-done) = t]
11374 (lib-names-stmp-abi): Likewise.
11375 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11376 abi-variants] (before-compile): Append
11377 $(common-objpfx)$(lib-names-h-abi).
11378 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11379 abi-variants] (common-generated): Append gnu/lib-names.h.
11380 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11381 abi-variants] (install-others-nosubdir): Depend on
11382 $(inst_includedir)/$(lib-names-h-abi).
11383 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11384 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11385 [$(build-shared) = yes && $(soversions.mk-done) = t]
11386 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11387 [$(build-shared) = yes && $(soversions.mk-done) = t]
11388 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11389 [$(build-shared) = yes && $(soversions.mk-done) = t]
11390 (common-generated): Append $(lib-names-h-abi) and
11391 $(lib-names-stmp-abi).
11392 * scripts/lib-names.awk: Do not handle multi being set.
11393 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11395 (abi-lp64_be-ld-soname): Likewise.
11396 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11398 (abi-hard-ld-soname): Likewise.
11399 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11400 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11402 (abi-o32_hard-ld-soname): Likewise.
11403 (abi-o32_soft_2008-ld-soname): Likewise.
11404 (abi-o32_hard_2008-ld-soname): Likewise.
11405 (abi-n32_soft-ld-soname): Likewise.
11406 (abi-n32_hard-ld-soname): Likewise.
11407 (abi-n32_soft_2008-ld-soname): Likewise.
11408 (abi-n32_hard_2008-ld-soname): Likewise.
11409 (abi-n64_soft-ld-soname): Likewise.
11410 (abi-n64_hard-ld-soname): Likewise.
11411 (abi-n64_soft_2008-ld-soname): Likewise.
11412 (abi-n64_hard_2008-ld-soname): Likewise.
11413 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11415 (abi-64-v2-ld-soname): Likewise.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11418 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11420 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11422 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11424 (abi-64-ld-soname): Likewise.
11425 (abi-x32-ld-soname): Likewise.
11426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11428 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11430 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11433 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11434 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11435 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11436 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11438 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11439 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11440 syscall entry for GLIBC_2.2 symbol version.
11441 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11444 (setrlimit): Likewise.
11445 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11448 2014-09-23 Will Newton <will.newton@linaro.org>
11450 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11451 _LINUX_ARM_SYSDEP_H include guard too.
11452 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11455 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11457 * sysdeps/unix/sysv/linux/eventfd.c:
11458 Make first argument unsigned.
11459 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11460 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11462 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11464 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11465 * socket/sys/socket.h: Likewise
11466 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11468 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11470 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11472 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11474 * time/tst-ftime.c: New test.
11475 * time/Makefile (tests): Add tst-ftime.
11477 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11479 * soft-fp/extended.h: Fix comment formatting.
11480 * soft-fp/op-1.h: Likewise.
11481 * soft-fp/op-2.h: Likewise.
11482 * soft-fp/op-4.h: Likewise.
11483 * soft-fp/op-8.h: Likewise.
11484 * soft-fp/op-common.h: Likewise.
11485 * soft-fp/soft-fp.h: Likewise.
11487 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11489 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11492 * Makeconfig (soversions-default-setname): Remove variable.
11493 ($(common-objpfx)soversions.i): Don't pass default_setname to
11495 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11496 oldest_abi to abi-versions.awk.
11497 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11498 * config.make.in (oldest-abi): Remove variable.
11499 * configure.ac (--enable-oldest-abi): Remove configure option.
11500 * configure: Regenerated.
11501 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11503 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11504 * scripts/soversions.awk: Do not handle default_setname variable.
11505 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11507 * sysdeps/mach/hurd/configure: Regenerated.
11508 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11510 * sysdeps/unix/sysv/linux/configure: Regenerated.
11512 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11514 * elf/Makefile (CFLAGS-interp.c): Remove.
11515 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11517 * elf/interp.c: Include generated runtime-linker.h
11519 * Makerules (lib%.so): Don't include $(+interp) in
11521 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11522 * dlfcn/eval.c: Remove file.
11524 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11528 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11532 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11534 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11535 Jakub Jelinek <jakub@redhat.com>
11538 * libio/stdio.h: Check definition of __fortify_function
11539 instead of __extern_always_inline to include bits/stdio2.h.
11540 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11541 check if __extern_always_inline is defined.
11542 [__USE_MISC || __USE_XOPEN]: Likewise.
11543 [__USE_ISOC99] Likewise.
11544 * misc/sys/cdefs.h (__fortify_function): Define only if
11545 __extern_always_inline is defined.
11546 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11547 __extern_always_inline and __extern_inline only for g++-4.3
11548 and newer or a compatible gcc.
11550 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11553 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11554 last change to handle zero prefix length.
11556 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11558 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11561 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11562 _POSIX_RAW_SOCKETS.
11564 2014-09-13 Allan McRae <allan@archlinux.org>
11566 * po/ru.po: Update Russian translation from translation project.
11568 2014-09-12 Roland McGrath <roland@hack.frob.com>
11570 * locale/programs/locale.c (show_locale_vars): Inline local function
11571 into its sole call site. Clean up some style nits.
11572 (print_item): New function, broken out of ...
11573 (show_info): ... local function here. Clean up style nits.
11575 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11577 (set_class_defaults): ... local function set_default here.
11578 Define set_default as a macro locally to pass constant parameters.
11579 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11580 rather than a shared local.
11582 * stdlib/rpmatch.c (try): New function, broken out of ...
11583 (rpmatch): ... local function here. Also, prototypify definition.
11585 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11587 * scripts/soversions.awk: Do not handle configuration names.
11588 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11589 vendor and os variables to soversions.awk.
11590 * configure.ac: Do not modify gnu-* host_os.
11591 * configure: Regenerated
11592 * shlib-versions: Remove first column with configuration names.
11593 * nptl/shlib-versions: Likewise.
11594 * nptl_db/shlib-versions: Likewise.
11595 * sysdeps/hppa/shlib-versions: Likewise.
11596 * sysdeps/m68k/shlib-versions: Likewise.
11597 * sysdeps/mach/hurd/shlib-versions: Likewise.
11598 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11599 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11600 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11601 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11602 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11603 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11604 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11605 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11608 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11609 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11610 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11611 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11612 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11613 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11614 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11615 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11618 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11621 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11623 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11625 * shlib-versions: Remove OS-specific entries. Moved to files in
11627 * sysdeps/mach/hurd/shlib-versions: New file.
11628 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11630 * nptl/shlib-versions: Remove architecture-specific entries.
11631 Moved to files in sysdeps.
11632 * shlib-versions: Likewise.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11635 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11636 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11638 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11640 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11641 (UDP_NO_CHECK6_RX): Likewise.
11643 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 * sysdeps/posix/sysconf.c (__sysconf): Spell
11646 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11648 2014-08-12 Florian Weimer <fweimer@redhat.com>
11650 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11652 * iconv/Versions (__gconv_transliterate): Export for use from
11654 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11655 (struct __gconv_trans_data, __gconv_trans_fct,
11656 __gconv_trans_context_fct, __gconv_trans_query_fct,
11657 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11659 (struct __gconv_step_data): Remove __trans member.
11660 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11661 longer hidden. Remove unused trans_data argument.
11662 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11663 (__gconv_translit_find): Remove declaration.
11664 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11666 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11667 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11668 trans_data argument. Add hidden definition.
11669 (__gconv_translit_find): Remove.
11670 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11671 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11672 * iconv/skeleton.c: Remove transliteration initialization.
11673 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11674 __gconv_step_data initialization.
11675 * libio/iofwide.c (__libio_translit_): Remove.
11676 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11677 * wcsmbs/btowc.c (__btowc): Likewise.
11678 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11679 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11680 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11681 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11682 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11683 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11684 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11685 * wcsmbs/wctob.c (wctob): Likewise.
11687 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11690 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11691 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11693 * sysdeps/x86/Makefile: Adjust.
11695 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11696 Roland McGrath <roland@hack.frob.com>
11698 * locale/weight.h: Add include guard.
11699 (findidx): Make static rather than auto; take new parameters
11700 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11701 * locale/weightwc.h: Likewise.
11702 * posix/fnmatch_loop.c
11703 (FCT): Change type of EXTRA from int32_t to wint_t.
11704 Don't include either header inside the function.
11705 Call FINDIDX rather than findidx, and pass new arguments.
11706 #undef FINDIDX at the end of the file.
11707 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11708 FINDIDX before including fnmatch_loop.c for the non-wide version.
11709 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11710 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11711 for the wide version.
11712 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11713 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11714 Pass new arguments to findidx.
11715 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11716 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11717 Don't #include it inside the function. Pass new arguments to findidx.
11718 * posix/regex_internal.h
11719 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11720 (re_string_elem_size_at): Don't #include it inside the function.
11721 Pass new arguments to findidx.
11722 * string/strcoll_l.c: #include WEIGHT_H at top level.
11723 (get_next_seq): Don't #include it inside the function.
11724 Pass new arguments to findidx.
11725 (get_next_seq_nocache): Likewise.
11726 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11727 (STRXFRM): Don't #include it inside the function.
11728 Pass new arguments to findidx.
11730 2014-09-11 Florian Weimer <fweimer@redhat.com>
11733 * malloc/malloc.c (unlink): Turn asserts into a call to
11736 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11739 * libio/wfileops (do_ftell_wide): Free OUT.
11741 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11743 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11745 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11748 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11749 group if the current group is empty.
11751 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11753 * benchtests/bench-memset.c (test_main): Add more test from size
11754 from 32 to 512 bytes.
11755 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11756 Add POWER8 memset object.
11757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11758 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11759 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11761 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11763 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11764 multiarch POWER8 memset optimization.
11765 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11766 POWER8 memset optimization.
11768 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11769 Remove bzero multiarch objects.
11770 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11771 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11772 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11773 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11775 [__bzero]: Redefine to specific name.
11776 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11777 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11778 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11780 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11781 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11783 2014-09-10 Florian Weimer <fweimer@redhat.com>
11785 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11786 warnings into errors.
11788 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11789 __cxa_thread_atexit_impl prototype.
11791 2014-09-09 Steve Ellcey <sellcey@mips.com>
11793 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11794 Fix capitalization of error message.
11796 2014-09-09 Steve Ellcey <sellcey@mips.com>
11798 * sysdeps/mips/preconfigure: Modify ABI tests.
11800 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11802 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11804 2014-09-07 Roland McGrath <roland@hack.frob.com>
11805 Carlos O'Donell <carlos@systemhalted.org>
11807 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11808 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11809 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11810 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11811 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11812 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11813 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11814 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11815 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11816 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11817 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11818 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11819 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11820 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11821 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11822 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11823 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11824 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11825 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11826 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11827 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11828 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11829 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11830 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11831 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11832 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11833 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11834 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11835 Deconditionalize the code that was previously under [RESET_PID].
11836 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11837 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11838 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11839 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11842 2014-09-08 Allan McRae <allan@archlinux.org>
11844 * version.h (RELEASE): Set to "development".
11845 (VERSION): Set to "2.20.90"
11847 2014-09-07 Allan McRae <allan@archlinux.org
11849 * version.h (RELEASE): Set to "stable".
11850 (VERSION): Set to "2.20"
11851 * include/features.h (__GLIBC_MINOR__): Set to 20.
11853 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11856 * po/ko.po: Update Korean translation from translation project.
11858 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11861 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11862 macro for handling signed relocations.
11864 2014-09-03 Florian Weimer <fweimer@redhat.com>
11867 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11868 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11870 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11871 * iconvdata/ibm935.c (BODY): Likewise.
11872 * iconvdata/ibm937.c (BODY): Likewise.
11873 * iconvdata/ibm939.c (BODY): Likewise.
11874 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11876 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11878 * iconvdata/run-iconv-test.sh: New test loop for checking for
11881 2014-09-02 Khem Raj <raj.khem@gmail.com>
11883 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11886 2014-09-01 Allan McRae <allan@archlinux.org>
11888 * po/eo.po: Update Esperanto translation from translation project.
11890 * po/ca.po: Update Catalan translation from translation project.
11892 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11894 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11895 __proc_dostop call.
11897 2014-08-27 Mark Wielaard <mjw@redhat.com>
11900 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11901 to call set_thread_area instead of hand written asm.
11902 (__NR_set_thread_area): Removed define.
11903 (TLS_FLAG_WRITABLE): Likewise.
11904 (__ASSUME_SET_THREAD_AREA): Remove check.
11905 (TLS_EBX_ARG): Remove define.
11906 (TLS_LOAD_EBX): Likewise.
11908 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11910 Simplify atomicity of socket creation in bind.
11912 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11913 looking up the name after linking the file.
11915 2014-08-27 Allan McRae <allan@archlinux.org>
11917 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11919 2014-08-26 Florian Weimer <fweimer@redhat.com>
11922 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11923 trans_compare, open_translit, __gconv_translit_find):
11924 Remove module loading code.
11926 2014-08-26 Allan McRae <allan@archlinux.org>
11928 * po/vi.po: Update Vietnamese translation from translation project.
11930 * po/uk.po: Update Ukrainian translation from translation project.
11932 * po/fr.po: Update French translation from translation project.
11934 * po/ru.po: Update Russian translation from translation project.
11936 * po/pl.po: Update Polish translation from translation project.
11938 * po/cs.po: Update Czech translation from translation project.
11940 * po/de.po: Update German translation from translation project.
11942 * po/bg.po: Update Bulgarian translation from translation project.
11944 * po/sv.po: Update Sweedish translation from translation project.
11946 * po/nl.po: Update Dutch translation from translation project.
11948 * po/es.po: Update Spanish translation from translation project.
11950 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11952 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11954 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11955 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11956 (CPPFLAGS-iconvconfig): Likewise.
11957 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11959 * include/libc-symbols.h: Remove unnecessary check for
11961 * nptl/pthreadP.h: Likewise.
11962 * sysdeps/aarch64/setjmp.S: Likewise.
11963 * sysdeps/alpha/setjmp.S: Likewise.
11964 * sysdeps/arm/sysdep.h: Likewise.
11965 * sysdeps/i386/setjmp.S: Likewise.
11966 * sysdeps/m68k/setjmp.c: Likewise.
11967 * sysdeps/posix/getcwd.c: Likewise.
11968 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11969 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11970 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11971 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11972 * sysdeps/sh/sh3/setjmp.S: Likewise.
11973 * sysdeps/sh/sh4/setjmp.S: Likewise.
11974 * sysdeps/unix/alpha/sysdep.h: Likewise.
11975 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11976 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11977 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11978 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11983 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11986 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11988 * sysdeps/x86_64/setjmp.S: Likewise.
11990 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11993 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11995 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11996 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11998 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12000 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12003 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12004 and __x86_64__ when disabling x87 inline functions.
12006 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12009 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12010 asm statement with __cpuid_count.
12012 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12014 * configure.ac: Change __ehdr_start code to dereference the struct.
12015 Run readelf on the output to look for relocations.
12016 * configure: Regenerated.
12018 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12021 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12023 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12025 2014-08-12 Roland McGrath <roland@hack.frob.com>
12027 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12029 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12032 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12033 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12035 2014-08-12 Sean Anderson <seanga2@gmail.com>
12037 * malloc/malloc.c: Fix typo in comment.
12039 2014-08-09 Allan McRae <allan@archlinux.org>
12041 * Regenerate libc.po.
12043 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12045 * intl/tst-gettext2.sh: Check every lang file for creation.
12047 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12049 * sysdeps/aarch64/fpu/math_private.h
12050 (libc_feholdsetround_noex_aarch64_ctx): New function.
12052 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12054 * sysdeps/arm/armv6/strcpy.S (strcpy):
12055 Fix performance issue in misaligned cases.
12057 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12059 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12060 Move definition from termios.h.
12061 (struct termio): Likewise.
12062 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12063 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12064 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12065 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12067 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12068 Move definition to ioctl-types.h
12069 (struct termio): Likewise.
12070 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12071 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12072 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12073 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12076 2014-08-05 Richard Henderson <rth@redhat.com>
12078 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12080 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12082 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12083 Use __feraiseexcept.
12084 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12085 Protect libm symbols with IS_IN_libm.
12087 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12089 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12091 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12093 2014-08-04 Will Newton <will.newton@linaro.org>
12095 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12098 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12100 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12101 variants for each function.
12103 2014-08-04 Roland McGrath <roland@hack.frob.com>
12105 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12107 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12108 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12110 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12111 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12112 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12113 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12114 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12115 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12116 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12117 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12118 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12119 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12120 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12121 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12122 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12123 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12124 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12125 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12126 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12127 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12128 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12129 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12130 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12131 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12133 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12134 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12135 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12136 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12137 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12138 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12139 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12140 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12142 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12144 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12145 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12146 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12147 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12148 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12149 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12150 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12151 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12152 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12153 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12154 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12155 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12156 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12157 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12158 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12159 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12160 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12161 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12162 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12164 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12165 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12167 2014-08-04 Roland McGrath <roland@hack.frob.com>
12169 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12170 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12171 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12172 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12173 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12174 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12176 2014-08-04 Roland McGrath <roland@hack.frob.com>
12178 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12179 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12180 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12181 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12183 2014-08-04 Roland McGrath <roland@hack.frob.com>
12185 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12186 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12187 (__libc_vfork): Define function under this name.
12188 (__vfork): Define as an alias.
12189 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12190 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12192 2014-08-04 Roland McGrath <roland@hack.frob.com>
12194 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12195 that was previously under [RESET_PID].
12196 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12198 2014-08-04 Andreas Schwab <schwab@suse.de>
12200 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12202 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12204 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12207 2014-08-01 Roland McGrath <roland@hack.frob.com>
12209 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12211 2014-08-01 Richard Henderon <rth@redhat.com>
12213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12214 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12215 typo in exact zero test.
12216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12220 2014-08-01 Roland McGrath <roland@hack.frob.com>
12222 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12223 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12224 * sysdeps/arm/sysdep.h: ... here.
12225 [!__ASSEMBLER__]: Include <stdint.h>.
12227 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12229 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12230 (HAVE_WCTYPE_H): Likewise.
12231 (HAVE_ISWCTYPE): Likewise.
12232 (ENABLE_NLS): Likewise.
12233 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12234 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12236 * posix/regex_internal.c: Check if DEBUG is defined and is
12239 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12240 (HAVE_MBSRTOWCS): Likewise.
12241 * posix/fnmatch.c: Include string.h unconditionally.
12243 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12245 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12248 2014-07-31 Roland McGrath <roland@hack.frob.com>
12250 * sysdeps/generic/safe-fatal.h: New file.
12251 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12252 * nptl/forward.c: Include it.
12253 (__pthread_unwind): Use __safe_fatal as default action, rather
12254 than a bogus use of INTERNAL_SYSCALL that could never work.
12256 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12257 * configure.ac (libc_cv_builtin_trap): New test.
12258 * configure: Regenerated.
12259 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12260 (ABORT_INSTRUCTION): Define using __builtin_trap.
12262 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12263 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12264 * sysdeps/nptl/nptl-signals.h: New file.
12265 * nptl/pthreadP.h: Include <nptl-signals.h>.
12267 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12269 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12270 (ONE_DIRECTION): Define.
12271 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12272 (ONE_DIRECTION): Define.
12273 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12274 (ONE_DIRECTION): Define.
12276 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12278 * sysdeps/s390/Makefile: Delete file.
12279 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12280 * sysdeps/s390/__longjmp.c: Delete file.
12281 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12282 Remove fields __flags and __reserved.
12283 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12284 and add versioning.
12285 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12286 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12287 * sysdeps/s390/rtld-setjmp.S: Likewise.
12288 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12289 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12290 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12291 * sysdeps/s390/s390-32/setjmp.S: ... here.
12293 (__sigsetjmp): Remove setting __flags field.
12294 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12295 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12296 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12297 * sysdeps/s390/s390-64/setjmp.S: ... here.
12299 (__sigsetjmp): Remove setting __flags field.
12300 * sysdeps/s390/setjmp.S: Delete file.
12301 * sysdeps/s390/sigjmp.c: Likewise.
12302 * sysdeps/s390/v1-longjmp.c: Likewise.
12303 * sysdeps/s390/v1-setjmp.h: Likewise.
12304 * sysdeps/s390/v1-sigjmp.c: Likewise.
12305 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12306 Remove v1-longjmp_chk.
12307 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12308 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12309 Include debug/longjmp_chk.c and add versioning.
12310 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12311 Include nptl/pt-longjmp.c and add versioning.
12312 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12313 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12314 Include __longjmp.c.
12315 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12317 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12318 (__getcontext): Remove setting __flags field.
12320 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12321 Don't restore upper high grps.
12322 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12324 (__swapcontext): Remove setting uc_flags field.
12325 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12327 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12328 Include __longjmp.c.
12329 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12331 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12332 (__getcontext): Remove setting __flags field.
12334 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12335 (__swapcontext): Remove setting uc_flags field.
12336 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12337 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12338 Remove fields uc_high_gprs and __reserved.
12339 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12340 New file with reverted content.
12341 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12342 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12344 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12347 2014-07-31 Andreas Schwab <schwab@suse.de>
12349 * config.h.in (HAVE_IFUNC): Define to 0.
12350 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12353 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12356 memmove-avx-unaligned, memcpy-avx-unaligned and
12357 mempcpy-avx-unaligned.
12358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12359 Add tests for AVX memcpy functions.
12360 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12361 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12363 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12364 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12366 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12367 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12369 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12370 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12371 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12373 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12376 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12379 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12382 * manual/llio.texi: Add section about open file description locks.
12383 * manual/examples/ofdlocks.c: Example of open file description
12385 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12386 F_OFD_SETLK, and F_OFD_SETLKW.
12388 2014-07-23 Allan McRae <allan@archlinux.org>
12390 * po/es.po: Update Spanish translation from translation project.
12392 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12394 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12396 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12399 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12400 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12401 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12403 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12406 * math/fesetenv.c (__fesetenv)
12407 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12408 * math/feupdateenv.c (__feupdateenv)
12409 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12412 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12413 (__ASSUME_SOCKETCALL): Do not define.
12415 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12416 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12417 (__ASSUME_SOCKETCALL): Do not define.
12418 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12419 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12420 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12421 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12422 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12423 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12424 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12425 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12428 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12429 (__ASSUME_SOCKETCALL): Do not define.
12430 (__ASSUME_IPC64): Define unconditionally.
12431 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12432 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12433 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12434 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12435 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12436 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12437 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12440 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12441 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12442 (__ASSUME_SOCKETCALL): Do not define.
12443 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12444 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12445 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12446 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12447 (__ASSUME_REQUEUE_PI): Define unconditionally.
12448 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12449 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12450 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12451 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12452 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12453 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12455 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12456 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12457 (__ASSUME_SOCKETCALL): Do not define.
12458 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12459 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12460 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12461 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12462 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12463 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12465 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12466 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12467 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12468 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12469 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12470 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12471 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12472 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12473 (__ASSUME_GETCPU_SYSCALL): Likewise.
12475 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12476 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12477 cases for individual architectures.
12478 * sysdeps/gnu/configure: Regenerated.
12479 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12480 LIBC_SLIBDIR_RTLDDIR.
12481 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12482 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12483 LIBC_SLIBDIR_RTLDDIR.
12484 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12486 LIBC_SLIBDIR_RTLDDIR.
12487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12489 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12490 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12492 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12493 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12495 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12496 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12497 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12500 * sysdeps/aarch64/shlib-versions: Move to ...
12501 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12502 * sysdeps/alpha/shlib-versions: Move to ...
12503 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12504 * sysdeps/arm/shlib-versions: Move to ...
12505 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12506 * sysdeps/hppa/shlib-versions: Move all contents except for
12507 libgcc_s entry to ...
12508 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12510 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12511 * sysdeps/ia64/shlib-versions: Move to ...
12512 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12514 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12515 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12516 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12517 * sysdeps/microblaze/shlib-versions: Move to ...
12518 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12519 * sysdeps/mips/shlib-versions: Move to ...
12520 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12522 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12523 * sysdeps/tile/shlib-versions: Move to ...
12524 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12525 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12527 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12530 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12532 2014-07-17 Will Newton <will.newton@linaro.org>
12534 * sysdeps/arm/bits/atomic.h
12535 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12536 (__arch_compare_and_exchange_bool_16_int): Likewise.
12537 (__arch_compare_and_exchange_bool_64_int): Likewise.
12539 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12540 into an #else block.
12542 2014-07-16 Roland McGrath <roland@hack.frob.com>
12544 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12545 just Linux configurations. Test empirically that the compiler sets
12546 __ARM_EABI__, rather than using the tuple to decide.
12547 * sysdeps/arm/preconfigure: Regenerated.
12548 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12549 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12550 contents appended ...
12551 * sysdeps/arm/configure.ac: ... here.
12552 * sysdeps/arm/configure: Regenerated.
12554 2014-07-15 Roland McGrath <roland@hack.frob.com>
12556 * nptl/pthread_kill.c: New file.
12557 * nptl/pthread_sigmask.c: New file.
12558 * nptl/pthread_sigqueue.c: New file.
12560 * sysdeps/nptl/lowlevellock.h: New file.
12561 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12562 * sysdeps/nptl/lowlevellock-futex.h: New file.
12564 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12565 Remove dead declarations.
12567 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12569 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12570 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12571 config-cflags-avx2.
12572 * sysdeps/x86_64/configure.ac: Likewise.
12573 * sysdeps/i386/configure: Regenerated.
12574 * sysdeps/x86_64/configure: Likewise.
12575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12576 memset-avx2 only if config-cflags-avx2 is yes.
12577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12578 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12580 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12581 only if HAVE_AVX2_SUPPORT is defined.
12582 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12584 2014-07-14 Alan Modra <amodra@gmail.com>
12587 * elf/elf.h (DT_PPC64_NUM): Correct value.
12588 * NEWS: Add to fixed bug list.
12590 2014-07-13 Jim Meyering <meyering@fb.com>
12593 regex: don't deref NULL upon heap allocation failure
12594 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12595 failure in one more place.
12596 To trigger the segfault, configure grep -with-included-regex,
12597 build it, and run these commands:
12598 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12600 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12602 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12604 2014-07-11 Richard Henderson <rth@redhat.com>
12606 * sysdeps/aarch64/libm-test-ulps: Update.
12608 2014-07-10 Florian Weimer <fweimer@redhat.com>
12611 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12612 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12613 (__nptl_setxid): Initialize error member. Call
12614 __nptl_setxid_error.
12615 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12616 * nptl/descr.h (struct xid_command): Add error member.
12617 * nptl/tst-setuid3.c: New file.
12618 * nptl/Makefile (tests): Add it.
12620 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12624 (__lll_trylock): Use __lll_base_trylock.
12625 (__lll_cond_trylock): Likewise.
12627 2014-07-10 Roland McGrath <roland@hack.frob.com>
12629 * nptl/pthread_create.c (start_thread): Use atomic_or and
12630 lll_futex_wake directly rather than lll_robust_dead.
12631 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12632 (lll_robust_dead): Macro removed.
12633 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12634 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12635 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12636 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12637 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12638 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12639 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12640 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12641 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12643 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12644 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12645 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12646 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12649 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12650 Use atomic_compare_and_exchange_val_acq directly rather than
12651 lll_robust_trylock.
12652 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12653 (__lll_robust_trylock, lll_robust_trylock): Removed.
12654 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12655 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12656 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12657 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12658 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12659 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12660 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12661 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12662 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12663 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12666 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12669 2014-07-02 Florian Weimer <fweimer@redhat.com>
12671 * manual/locale.texi (Locale Names): New section documenting
12672 locale name syntax. Adjust menu and node chaining accordingly.
12673 (Choosing Locale): Reference Locale Names, Locale Categories.
12674 Mention setting LC_ALL=C. Reflect that name syntax is now
12676 (Locale Categories): New section title. Reference Locale Names.
12677 LC_ALL is an environment variable, but not a category.
12678 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12679 description, now in Locale Name. Reference that section. Locale
12680 name syntax is now documented.
12682 2014-07-02 Florian Weimer <fweimer@redhat.com>
12685 * locale/findlocale.c (name_present, valid_locale_name): New
12687 (_nl_find_locale): Use the loc_name variable to store name
12688 candidates. Call name_present and valid_locale_name to check and
12689 validate locale names. Return an error if the locale is invalid.
12691 2014-07-02 Florian Weimer <fweimer@redhat.com>
12693 * locale/setlocale.c (setlocale): Use strdup for allocating
12694 composite name copy.
12696 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12698 Sync up with gnulib.
12699 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12700 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12701 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12702 and _GL_ARG_NONNULL.
12703 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12704 [!_LIBC]: Include code for Windows and Cygwin.
12705 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12706 Include prototype for int strerror_r.
12707 [!_LIBC] (is_open): New function.
12708 (flush_stdout): New function.
12709 (print_errno_message): Use it.
12711 (error_at_line): Likewise.
12712 (error_tail) Add function attribute macros. Use
12715 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12717 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12719 * io/ftw.c: Include sys/param.h unconditionally.
12721 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12724 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12726 (freecache): New function to free CACHE on exit.
12728 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12731 2014-07-09 David S. Miller <davem@davemloft.net>
12733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12735 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12736 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12737 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12738 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12739 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12740 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12741 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12742 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12743 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12744 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12745 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12746 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12747 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12749 2014-07-09 Andreas Schwab <schwab@suse.de>
12751 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12753 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12754 (do_test): Likewise.
12756 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12758 2014-07-09 Will Newton <will.newton@linaro.org>
12760 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12761 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12762 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12763 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12764 * sysdeps/hppa/start.S (_start): Likewise.
12766 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12768 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12770 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12773 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12775 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12776 after checking that it is non-NULL.
12778 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12780 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12782 * sysdeps/powerpc/memmove.c: Remove file.
12783 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12784 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12786 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12787 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12788 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12789 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12790 string memmove instead of removed powerpc one.
12792 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12793 [weak_alias]: Fix compiler warning due trailing data.
12794 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12795 [weak_alias]: Likewise.
12796 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12797 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12800 (__libc_ifunc_impl_list): Add memmove functions.
12802 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12804 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12806 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12808 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12810 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12812 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12814 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12816 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12818 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12820 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12822 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12824 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12826 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12828 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12830 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12832 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12834 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12836 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12839 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12841 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12842 to avoid alignment traps in non-cacheable memory.
12843 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12847 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12848 file: multiarch power7 memmove.
12849 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12850 multiarch default memmove.
12851 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12852 multiarch memove for powerpc32/power4.
12854 * string/bcopy.c: Use full path to include memmove.c.
12855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12857 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12858 bcopy for powerpc64.
12859 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12860 bcopy for powerpc64.
12861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12862 and memmove implementations.
12863 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12864 optimized multiarch memmove for POWER7/powerpc64.
12865 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12866 default multiarch memmove for powerpc64.
12867 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12868 multiarch for powerpc64.
12869 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12870 for POWER7/powerpc64.
12871 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12872 memmove for POWER7/powerpc64.
12874 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12877 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12878 __ELF_NATIVE_CLASS equal to 64.
12880 2014-07-07 Roland McGrath <roland@hack.frob.com>
12882 * sysdeps/nptl/lowlevellock.h: File removed.
12884 * NEWS: NPTL is no longer an add-on!
12885 * nptl/internaltypes.h: Moved ...
12886 * sysdeps/nptl/internaltypes.h: ... here.
12887 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12888 * sysdeps/nptl/fork.c: Likewise.
12889 * sysdeps/nptl/gai_misc.h: Likewise.
12890 * sysdeps/nptl/librt-cancellation.c: Likewise.
12891 * sysdeps/nptl/jmp-unwind.c: Likewise.
12892 * sysdeps/nptl/setxid.h: Likewise.
12893 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12894 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12895 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12896 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12897 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12898 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12899 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12900 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12901 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12902 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12903 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12904 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12905 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12906 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12907 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12908 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12909 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12910 * nptl/Makeconfig: Moved ...
12911 * sysdeps/nptl/Makeconfig: ... here.
12912 * nptl/configure: File removed.
12913 * nptl/ANNOUNCE: File removed.
12914 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12915 * sysdeps/unix/sysv/linux/configure: Regenerated.
12917 * nptl/Makefile (routines): Add libc_pthread_init,
12918 libc_multiple_threads, register-atfork and unregister-atfork.
12919 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12920 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12921 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12922 pthread-pi-defines.sym, structsem.sym.
12923 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12924 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12925 [$(subdir) = nptl] (tests): Add tst-setgetname.
12926 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12927 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12928 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12929 [!LIBC_SIGACTION]: Remove aliases.
12930 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12931 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12932 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12933 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12934 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12935 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12936 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12939 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12940 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12941 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12942 __libc_allocate_rtsig_private.
12943 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12944 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12945 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12946 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12947 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12948 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12949 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12950 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12951 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12952 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12953 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12954 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12955 * nptl/internaltypes.h: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12957 * sysdeps/nptl/jmp-unwind.c: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12959 * nptl/libc-lowlevellock.c: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12961 * nptl/libc_multiple_threads.c: ... here.
12962 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12963 * nptl/libc_pthread_init.c: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12965 * nptl/lowlevelbarrier.sym: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12967 * nptl/lowlevelcond.sym: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12969 * nptl/lowlevellock.c: ... here.
12970 * nptl/lowlevellock.h: Moved ...
12971 * sysdeps/nptl/lowlevellock.h: ... here.
12972 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12973 * nptl/lowlevelrobustlock.c: ... here.
12974 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12975 * nptl/lowlevelrobustlock.sym: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12977 * nptl/lowlevelrwlock.sym: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12979 * nptl/pt-fork.c: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12981 * nptl/pthread-pi-defines.sym: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12983 * nptl/pthread_attr_getaffinity.c: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12985 * nptl/pthread_attr_setaffinity.c: ... here.
12986 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12987 * nptl/pthread_mutex_cond_lock.c: ... here.
12988 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12990 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12991 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12992 * nptl/pthread_once.c: ... here, replacing old file.
12993 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12994 * nptl/pthread_yield.c: ... here.
12995 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12996 * nptl/register-atfork.c: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12998 * nptl/sem_post.c: ... here.
12999 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13000 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13001 * nptl/sem_timedwait.c: ... here.
13002 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13003 * nptl/sem_trywait.c: ... here.
13004 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13005 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13006 * nptl/sem_wait.c: ... here.
13007 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13008 * nptl/structsem.sym: ... here.
13009 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13010 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13011 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13012 * nptl/unregister-atfork.c: ... here.
13013 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13014 * nptl/unwindbuf.sym: ... here.
13015 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13016 * sysdeps/nptl/fork.c: ... here.
13017 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13018 * sysdeps/nptl/fork.h: ... here.
13019 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13020 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13021 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13023 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13024 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13025 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13026 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13027 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13028 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13029 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13030 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13031 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13032 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13033 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13034 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13035 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13036 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13037 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13039 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13040 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13041 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13042 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13043 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13044 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13045 * sysdeps/unix/sysv/linux/raise.c: ... here.
13046 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13047 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13048 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13049 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13050 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13051 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13052 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13053 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13054 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13055 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13056 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13057 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13059 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13060 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13062 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13064 * sysdeps/generic/memcopy.h: Add comment for
13065 MEMCPY_OK_FOR_FWD_MEMMOVE.
13067 2014-07-04 Will Newton <will.newton@linaro.org>
13069 * string/memchr.c: Merge from gnulib.
13070 [_LIBC]: Remove conditionals.
13071 (__ptr_t): Remove define.
13072 (LONG_MAX_32_BITS): Likewise.
13073 (LONG_MAX): Likewise.
13074 (MEMCHR): Use ANSI prototype and optimize algorithm.
13076 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13078 2014-07-03 Roland McGrath <roland@hack.frob.com>
13080 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13081 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13083 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13084 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13085 in a bare environment with no <stdlib.h> installed.
13086 * sysdeps/nptl/configure: Regenerated.
13088 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13090 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13091 AC_EGREP_CPP for kernel header checks, so they only succeed if
13092 including <linux/version.h> actually works right.
13093 * sysdeps/unix/sysv/linux/configure: Regenerated.
13095 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13096 value so it's not diagnosed as unused.
13098 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13099 thing) with "ifeq ($(subdir),rt)".
13101 2014-07-03 Richard Henderson <rth@redhat.com>
13103 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13104 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13105 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13107 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13108 (math_force_eval): New.
13110 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13111 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13113 * sysdeps/alpha/fpu/s_round.c: Remove file.
13114 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13116 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13117 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13118 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13119 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13120 (_dl_start, print_statistics): Likewise.
13121 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13122 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13124 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13125 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13126 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13127 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13129 (HP_SMALL_TIMING_AVAIL): Define.
13130 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13131 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13132 (HP_SMALL_TIMING_AVAIL): Define.
13133 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13134 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13136 * sysdeps/aarch64/hp-timing.h: New file.
13138 * sysdeps/generic/hp-timing.h: Remove dead comment.
13139 * sysdeps/generic/hp-timing-common.h: New file.
13140 * sysdeps/alpha/hp-timing.h: Include it.
13141 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13142 * sysdeps/i386/i686/hp-timing.h: Likewise.
13143 * sysdeps/ia64/hp-timing.h: Likewise.
13144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13145 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13146 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13147 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13148 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13149 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13150 (hp_timing_t): New.
13152 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13153 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13154 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13155 * elf/rtld.c (_dl_start_final): Likewise.
13156 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13157 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13158 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13159 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13160 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13161 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13162 (HP_TIMING_DIFF_INIT): Remove.
13163 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13164 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13165 (HP_TIMING_DIFF_INIT): Remove.
13166 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13167 * sysdeps/i386/i686/hp-timing.c: Remove file.
13168 * sysdeps/x86_64/hp-timing.c: Remove file.
13169 * sysdeps/ia64/hp-timing.c: Remove file.
13170 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13171 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13172 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13173 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13175 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13176 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13177 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13178 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13180 (HP_TIMING_ACCUM): Remove.
13181 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13183 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13185 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13186 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13187 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13188 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13189 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13190 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13191 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13192 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13194 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13196 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13198 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13200 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13202 Sync up with gettext.
13203 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13204 [_MSC_VER]: Include malloc.h
13205 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13206 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13207 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13208 TEMP_FAILURE_RETRY. Cast return of alloca.
13209 [!_LIBC] Call gl_rwlock_init.
13210 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13212 2014-07-02 Roland McGrath <roland@hack.frob.com>
13214 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13215 before checking its value.
13217 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13219 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13221 * debug/memcpy_chk.c: Don't include pagecopy.h.
13222 * debug/mempcpy_chk.c: Likewise.
13223 * string/memcpy.c: Likewise.
13224 * string/memmove.c: Likewise.
13225 * sysdeps/powerpc/memmove.c: Likewise.
13226 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13227 definition of PAGE_COPY_FWD_MAYBE here...
13228 * sysdeps/generic/pagecopy.h: ... from here.
13229 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13231 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13232 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13238 (__libc_ifunc_impl_list): Likewise.
13239 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13240 multiarch strcat for PPC64.
13241 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13242 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13244 2014-07-02 Roland McGrath <roland@hack.frob.com>
13246 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13248 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13250 * intl/loadmsgcat.c: Remove declaration of
13251 get_sysdep_segment_value.
13252 (get_sysdep_segment_value): Use ISO C style.
13253 (_nl_load_domain): Use ISO C style. Get rid of redundant
13254 semicolon. Fix typo and formatting in comment.
13255 (_nl_unload_domain): Use ISO C style.
13257 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13259 2014-07-02 Will Newton <will.newton@linaro.org>
13261 * malloc/obstack.c: Merge from gnulib master.
13262 [HAVE_CONFIG_H]: Remove conditional code.
13263 [!_LIBC]: Include config.h.
13264 [!ELIDE_CODE]: Don't include inttypes.h, include
13265 stdint.h unconditionally.
13266 (print_and_abort): Mark as _Noreturn.
13267 (_obstack_allocated_p): Mark as __attribute_pure__.
13268 (obstack_free): Rename to __obstack_free.
13269 [!__attribute__]: Remove conditional code.
13270 * malloc/obstack.h: Merge from gnulib master.
13271 [__cplusplus]: Move conditional down.
13272 [!__attribute_pure__]: Define __attribute_pure__ here
13273 if it is not already defined.
13274 (_obstack_memory_used): Mark as __attribute_pure__.
13275 [!__obstack_free]: Define as obstack_free.
13276 [__GNUC__]: Remove check for ancient NeXT gcc.
13278 2014-07-02 Will Newton <will.newton@linaro.org>
13279 Paul Eggert <eggert@cs.ucla.edu>
13281 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13283 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13285 * resolv/gethnamaddr.c: Add comment warning that the file is
13288 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13290 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13293 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13294 entry for aio_cancel and aio_cancel64.
13295 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13296 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13297 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13298 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13299 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13300 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13301 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13302 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13303 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13304 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13305 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13306 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13307 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13309 2014-07-01 Roland McGrath <roland@hack.frob.com>
13311 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13312 * nptl/pthread_mutex_lock.c: Likewise.
13313 * nptl/pthread_mutex_timedlock.c: Likewise.
13314 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13316 2014-07-01 Richard henderson <rth@redhat.com>
13318 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13319 (__isnan, __isnanl): Remove.
13320 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13322 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13324 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13326 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13328 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13330 * resolv/nss_dns/dns-host.c (getanswer_r)
13331 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13333 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13336 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13338 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13339 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13341 2014-07-01 Roland McGrath <roland@hack.frob.com>
13343 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13344 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13346 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13347 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13349 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13350 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13352 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13353 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13355 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13356 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13357 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13358 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13360 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13361 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13362 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13363 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13364 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13366 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13368 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13369 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13370 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13371 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13372 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13373 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13374 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13375 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13376 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13377 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13378 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13379 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13380 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13381 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13382 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13383 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13385 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13386 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13387 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13389 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13390 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13391 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13392 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13393 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13394 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13395 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13396 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13398 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13400 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13401 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13402 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13405 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13409 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13411 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13412 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13414 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13416 * sysdeps/arm/libm-test-ulps: Regenerated.
13418 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13419 Roland McGrath <roland@hack.frob.com>
13421 * test-skeleton.c (signal_handler): Kill the whole process group
13422 before killing the child individually.
13423 (main): Report any failure on `setpgid'.
13425 2014-06-30 Roland McGrath <roland@hack.frob.com>
13427 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13428 from _TLS_H to _ARM_NPTL_TLS_H.
13429 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13430 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13432 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13436 (__expm1l): Return argument unchanged when small but not
13439 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13440 include macro name.
13441 (_FP_UNPACK_RAW_1_P): Likewise.
13442 (_FP_PACK_RAW_1): Likewise.
13443 (_FP_PACK_RAW_1_P): Likewise.
13444 (_FP_MUL_MEAT_1_wide): Likewise.
13445 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13446 (_FP_MUL_MEAT_1_hard): Likewise.
13447 (_FP_DIV_MEAT_1_imm): Likewise.
13448 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13449 (_FP_DIV_MEAT_1_udiv): Likewise.
13450 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13451 (_FP_UNPACK_RAW_2): Likewise.
13452 (_FP_UNPACK_RAW_2_P): Likewise.
13453 (_FP_PACK_RAW_2): Likewise.
13454 (_FP_PACK_RAW_2_P): Likewise.
13455 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13456 (_FP_MUL_MEAT_2_wide): Likewise.
13457 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13458 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13459 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13460 (_FP_MUL_MEAT_2_gmp): Likewise.
13461 (_FP_DIV_MEAT_2_udiv): Likewise.
13462 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13463 (_FP_FRAC_SRL_4): Likewise.
13464 (_FP_FRAC_SRST_4): Likewise.
13465 (_FP_FRAC_SRS_4): Likewise.
13466 (_FP_UNPACK_RAW_4): Likewise.
13467 (_FP_UNPACK_RAW_4_P): Likewise.
13468 (_FP_PACK_RAW_4): Likewise.
13469 (_FP_PACK_RAW_4_P): Likewise.
13470 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13471 (_FP_MUL_MEAT_4_wide): Likewise.
13472 (_FP_MUL_MEAT_4_gmp): Likewise.
13473 (umul_ppppmnnn): Likewise.
13474 (_FP_DIV_MEAT_4_udiv): Likewise.
13475 (__FP_FRAC_ADD_4): Likewise.
13476 (__FP_FRAC_SUB_3): Likewise.
13477 (__FP_FRAC_SUB_4): Likewise.
13478 (__FP_FRAC_DEC_3): Likewise.
13479 (__FP_FRAC_DEC_4): Likewise.
13480 (__FP_FRAC_ADDI_4): Likewise.
13481 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13482 (_FP_FRAC_SRL_8): Likewise.
13483 (_FP_FRAC_SRS_8): Likewise.
13485 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13486 include macro name.
13487 (FP_UNPACK_RAW_EP): Likewise.
13488 (FP_PACK_RAW_E): Likewise.
13489 (FP_PACK_RAW_EP): Likewise.
13490 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13491 (_FP_ISSIGNAN): Likewise.
13492 (_FP_ADD_INTERNAL): Likewise.
13493 (_FP_FMA): Likewise.
13494 (_FP_CMP): Likewise.
13495 (_FP_SQRT): Likewise.
13496 (_FP_TO_INT): Likewise.
13497 (_FP_FROM_INT): Likewise.
13498 (FP_EXTEND): Likewise.
13499 (_FP_DIV_MEAT_N_loop): Likewise.
13501 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13503 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13506 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13509 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13510 result with correct sign in case of exponents that produce
13511 overflow except for X very close to 1.
13513 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13515 mktime: merge #if/#ifdef usage from glibc
13516 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13517 as that works with both Glibc's and Gnulib's style.
13518 See thread starting at Siddhesh Poyarekar's bug report at:
13519 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13521 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13523 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13524 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13525 * sysdeps/tile/tilegx/memmove.c: Remove file.
13527 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13529 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13530 abi-name definition.
13531 * scripts/soversions.awk: Do not handle or generate ABI lines.
13532 * shlib-versions: Remove ABI entries.
13533 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13534 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13536 2014-06-27 Roland McGrath <roland@hack.frob.com>
13538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13539 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13540 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13541 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13542 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13543 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13544 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13546 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13549 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13550 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13551 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13552 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13553 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13555 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13557 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13559 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13560 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13562 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13564 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13565 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13566 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13567 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13569 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13572 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13573 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13574 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13575 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13577 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13579 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13581 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13583 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13586 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13587 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13588 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13589 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13591 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13592 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13594 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13595 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13596 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13599 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13601 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13602 Identical file removed.
13603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13605 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13607 Identical file removed.
13608 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13609 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13610 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13612 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13614 Identical file removed.
13615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13616 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13617 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13618 Identical file removed.
13619 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13621 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13622 Identical file removed.
13623 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13624 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13625 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13626 Identical file removed.
13627 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13629 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13630 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13631 Identical file removed.
13632 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13634 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13635 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13636 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13637 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13638 Identical file removed.
13639 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13641 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13643 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13644 Identical file removed.
13645 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13647 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13649 Identical file removed.
13650 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13652 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13653 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13654 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13656 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13657 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13659 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13661 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13663 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13664 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13665 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13666 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13667 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13669 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13672 * nscd/nscd.c (monitor_child): Return exit status of child
13673 instead of return value from wait syscall.
13675 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13677 * configure.ac (libc_commonpagesize): Remove variable.
13678 (libc_relro_required): Likewise.
13679 (libc_cv_z_relro): Remove configure test.
13680 * configure: Regenerated.
13681 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13683 (libc_relro_required): Likewise.
13684 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13685 (libc_relro_required): Likewise.
13686 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13687 (libc_relro_required): Likewise.
13688 * sysdeps/arm/preconfigure: Regenerated.
13689 * sysdeps/ia64/preconfigure: Remove file.
13690 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13692 (libc_relro_required): Likewise.
13696 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13697 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13698 recompute overflowing results in original rounding mode.
13699 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13700 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13701 recompute overflowing results in original rounding mode.
13702 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13703 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13704 recompute overflowing results in original rounding mode.
13705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13706 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13707 recompute overflowing results in original rounding mode.
13708 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13709 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13710 recompute overflowing results in original rounding mode.
13711 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13712 (libc_feholdsetround_ctx): New macro.
13713 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13714 * sysdeps/i386/fpu/libm-test-ulps: Update.
13715 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13717 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13719 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13720 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13721 corresponding .cpsetup call.
13723 2014-06-26 Roland McGrath <roland@hack.frob.com>
13725 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13726 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13727 * sysdeps/arm/Makefile [$(subdir) = csu]
13728 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13729 (static-only-routines): Add aeabi_read_tp here.
13730 (shared-only-routines): Add libc-aeabi_read_tp here.
13731 (CFLAGS-libc-start.c): Add -fexceptions here.
13732 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13733 (sysdep_routines, static-only-routines, shared-only-routines):
13734 Don't add to these here.
13735 (CFLAGS-libc-start.c): Likewise.
13737 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13738 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13739 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13740 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13741 * sysdeps/arm/Makefile [$(subdir) = rt]
13742 (librt-sysdep_routines, librt-shared-only-routines):
13743 Append rt-aeabi_unwind_cpp_pr1 here.
13744 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13745 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13746 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13747 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13748 Append nptl-aeabi_unwind_cpp_pr1 here.
13749 (tests): Filter out tst-cleanupx4 here.
13750 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13751 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13752 Don't do those here.
13754 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13756 * scripts/list-sources.sh: Do not handle ports specially.
13758 2014-06-26 Roland McGrath <roland@hack.frob.com>
13760 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13761 * sysdeps/arm/feupdateenv.c: Likewise.
13763 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13765 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13767 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13768 trailing whitespace removed.
13769 * scripts/config.guess: Update to version 2014-03-23.
13770 * scripts/config.sub: Update to version 2014-05-01
13771 * scripts/install-sh: Update to version 2013-12-25.23.
13772 * scripts/move-if-change: Update from gnulib.
13774 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13776 * debug/memmove_chk.c: Remove pagecopy.h include.
13778 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13780 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13781 identical to gnulib mktime.
13783 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13785 * configure.ac: Do not test for machine being rs6000. Do not test
13786 for powerpc*-*soft.
13787 * configure: Regenerated.
13790 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13792 * configure: Regenerated.
13793 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13794 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13795 Remove configure test.
13796 * sysdeps/arm/configure: Regenerated.
13797 * sysdeps/nptl/configure.ac: Do not check
13798 libc_cv_asm_cfi_directives.
13799 * sysdeps/nptl/configure: Regenerated.
13800 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13801 * sysdeps/x86_64/nptl/configure: Remove generated file.
13802 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13804 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13806 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13808 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13809 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13810 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13813 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13814 instead of whether it is defined.
13815 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13816 * sysdeps/hppa/dl-machine.h: Likewise.
13817 * sysdeps/ia64/dl-machine.h: Likewise.
13818 * sysdeps/m68k/dl-machine.h: Likewise.
13819 * sysdeps/microblaze/dl-machine.h: Likewise.
13820 * sysdeps/mips/dl-machine.: Likewise.
13821 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13822 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13823 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13824 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13825 * sysdeps/sh/dl-machine.h: Likewise.
13826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13827 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13828 * sysdeps/tile/dl-machine.h: Likewise.
13829 * sysdeps/x86_64/dl-machine.h: Likewise.
13831 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13833 (verify_persistent_db): Likewise.
13835 2014-06-26 Roland McGrath <roland@hack.frob.com>
13837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13838 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13840 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13843 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13846 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13848 Identical file removed.
13849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13850 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13852 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13854 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13856 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13858 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13861 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13863 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13865 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13868 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13870 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13872 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13874 Identical file removed.
13875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13876 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13878 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13881 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13884 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13888 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13890 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13895 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13898 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13903 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13905 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13909 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13910 * sysdeps/unix/sysv/linux/s390/Versions
13911 (libpthread: GLIBC_2.19): New version set.
13912 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13913 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13914 (librt: GLIBC_2.3.3): New version set.
13915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13916 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13917 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13919 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13921 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13922 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13923 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13924 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13925 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13927 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13928 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13929 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13930 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13931 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13932 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13933 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13935 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13936 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13937 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13938 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13939 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13940 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13941 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13942 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13943 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13944 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13945 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13946 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13947 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13950 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13951 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13952 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13953 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13954 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13955 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13957 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13958 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13959 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13962 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13963 (__libc_vfork): Define the function under this name.
13964 [!NOT_IN_libc] (__vfork): Make this an alias.
13965 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13966 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13967 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13968 (__libc_vfork): Define the function under this name.
13969 [!NOT_IN_libc] (__vfork): Make this an alias.
13970 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13971 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13972 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13974 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13975 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13977 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13978 code that was previously under [RESET_PID].
13979 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13980 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13983 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13984 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13985 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13986 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13987 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13988 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13989 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13990 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13991 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13992 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13993 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13995 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14005 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14006 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14007 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14008 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14009 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14010 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14011 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14013 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14014 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14015 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14016 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14017 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14018 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14019 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14020 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14021 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14022 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14023 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14025 2014-06-25 Roland McGrath <roland@hack.frob.com>
14027 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14028 that was previously under [RESET_PID].
14029 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14031 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14033 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14034 not undefine and redefine.
14035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14036 [O_CLOEXEC]: Make code unconditional.
14037 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14038 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14039 <kernel-features.h>.
14040 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14041 conditional variable definition.
14042 (shm_open) [O_CLOEXEC]: Make code unconditional.
14043 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14046 * configure.ac (USE_REGPARMS): Don't define here.
14047 * configure: Regenerated.
14048 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14049 * sysdeps/i386/configure: Regenerated.
14051 * nptl/createthread.c: Don't include kernel-features.h.
14052 * nptl/pthread_cancel.c: Likewise.
14053 * nptl/pthread_condattr_setclock.c: Likewise.
14054 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14055 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14056 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14057 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14058 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14059 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14060 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14061 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14063 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14064 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14065 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14066 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14067 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14068 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14069 * nscd/gai.c: Likewise.
14070 * nss/nss_db/db-open.c: Likewise.
14071 * sysdeps/generic/ldsodefs.h: Likewise.
14072 * sysdeps/sh/nptl/tls.h: Likewise.
14073 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14074 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14075 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14076 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14077 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14078 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14079 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14080 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14081 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14082 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14083 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14084 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14085 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14086 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14087 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14088 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14089 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14090 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14091 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14092 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14093 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14094 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14095 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14096 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14097 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14098 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14099 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14100 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14101 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14102 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14103 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14104 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14105 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14106 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14107 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14108 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14109 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14110 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14111 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14112 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14113 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14114 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14115 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14116 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14117 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14118 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14119 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14120 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14121 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14122 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14123 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14124 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14125 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14126 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14127 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14128 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14130 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14153 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14154 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14155 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14156 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14157 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14159 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14160 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14161 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14162 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14163 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14164 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14165 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14166 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14167 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14168 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14170 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14171 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14172 * sysdeps/unix/sysv/linux/system.c: Likewise.
14173 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14174 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14175 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14176 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14177 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14178 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14179 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14181 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14182 * configure: Regenerated.
14183 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14185 * configure.ac (base_machine): Do not set specially for particular
14187 * configure: Regenerated.
14188 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14189 settings from configure.ac.
14190 * sysdeps/i386/preconfigure: New file.
14191 * sysdeps/s390/preconfigure: Likewise.
14192 * sysdeps/sh/preconfigure: Likewise.
14193 * sysdeps/sparc/preconfigure: Likewise.
14195 2014-06-25 Roland McGrath <roland@hack.frob.com>
14197 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14198 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14199 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14200 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14201 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14202 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14203 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14204 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14205 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14206 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14207 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14208 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14209 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14210 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14211 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14212 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14213 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14214 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14215 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14217 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14218 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14219 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14220 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14221 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14222 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14223 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14224 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14225 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14226 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14227 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14228 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14229 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14230 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14231 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14232 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14233 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14234 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14235 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14236 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14237 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14238 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14239 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14240 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14241 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14242 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14243 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14244 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14245 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14246 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14247 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14248 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14249 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14250 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14251 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14252 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14253 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14254 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14257 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14262 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14265 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14267 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14270 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14279 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14282 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14284 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14287 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14289 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14291 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14293 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14295 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14298 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14301 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14303 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14306 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14308 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14310 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14312 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14315 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14318 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14320 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14323 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14325 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14327 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14329 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14331 * timezone/checktab.awk: Update from tzcode 2014e.
14332 * timezone/private.h: Likewise.
14333 * timezone/tzfile.h: Likewise.
14334 * timezone/zdump.c: Likewise.
14335 * timezone/zic.c: Likewise.
14337 * sysdeps/unix/sysv/linux/kernel-features.h
14338 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14339 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14340 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14341 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14342 Remove conditional code.
14344 2014-06-25 Will Newton <will.newton@linaro.org>
14346 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14347 (_dl_arm_cap_flags): Add HWCAP2 values.
14348 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14349 (_DL_HWCAP_COUNT): Increase to 37.
14350 (_DL_HWCAP_LAST): New define.
14351 (_DL_HWCAP2_LAST): New define.
14352 (_dl_procinfo): Add support for printing
14354 (_dl_string_hwcap): Use _dl_hwcap_string.
14356 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14360 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14362 * README: Do not mention ports directory.
14364 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14366 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14367 <kernel-features.h>.
14368 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14369 conditional variable definition.
14370 (__futimes): Update comment.
14371 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14372 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14375 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14376 arguments close to 0.
14377 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14379 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14381 * math/auto-libm-test-in: Add more tests of exp10.
14382 * math/auto-libm-test-out: Regenerated.
14383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14385 * sysdeps/unix/sysv/linux/kernel-features.h
14386 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14387 * sysdeps/unix/sysv/linux/readv.c: Do not include
14388 <kernel-features.h>.
14389 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14390 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14391 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14393 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14395 * sysdeps/unix/sysv/linux/writev.c: Do not include
14396 <kernel-features.h>.
14397 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14398 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14399 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14401 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14404 2014-06-25 Will Newton <will.newton@linaro.org>
14406 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14407 comment changes throughout the file. Remove checks
14408 for HAVE_*_H definitions that are not required.
14409 (__gen_tempname): Call abort if an unknown kind value is
14412 2014-06-25 Andreas Schwab <schwab@suse.de>
14415 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14416 scalbln, scalblnf, scalblnl in libc.
14418 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14421 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14422 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14423 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14425 2014-06-24 Roland McGrath <roland@hack.frob.com>
14427 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14428 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14429 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14430 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14432 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14433 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14435 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14436 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14437 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14438 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14439 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14440 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14441 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14442 * sysdeps/x86/bits/semaphore.h: ... here.
14443 * sysdeps/x86/nptl/elide.h: Moved ...
14444 * sysdeps/x86/elide.h: ... here.
14445 * sysdeps/x86_64/nptl/Implies: File removed.
14446 * sysdeps/i386/nptl/Implies: File removed.
14448 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14452 return the argument for normal arguments with exponent below -64.
14453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14455 * math/auto-libm-test-in: Add another test of expm1.
14456 * math/auto-libm-test-out: Regenerated.
14459 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14460 calling __erfcl for arguments at least 16.
14461 * math/auto-libm-test-in: Add more tests of erf.
14462 * math/auto-libm-test-out: Regenerated.
14464 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14465 individual architectures.
14466 * sysdeps/unix/sysv/linux/configure: Regenerated.
14467 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14468 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14469 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14470 (ldd_rewrite_script): Define variable.
14471 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14476 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14477 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14478 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14479 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14480 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14481 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14482 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14483 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14485 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14488 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14489 Rename member __data.d to __data.__elision_data.
14491 2014-06-24 Wilco <wdijkstr@arm.com>
14493 * NEWS: Add 16918 to fixed bug list.
14495 2014-06-24 Wilco <wdijkstr@arm.com>
14497 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14499 2014-06-24 Wilco <wdijkstr@arm.com>
14501 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14502 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14503 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14504 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14505 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14506 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14507 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14510 2014-06-24 Wilco <wdijkstr@arm.com>
14512 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14514 2014-06-24 Wilco <wdijkstr@arm.com>
14516 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14517 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14518 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14519 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14521 2014-06-24 Wilco <wdijkstr@arm.com>
14524 * sysdeps/arm/feupdateenv.c (feupdateenv):
14525 Rewrite to reduce FPSCR accesses and fix return value.
14527 2014-06-24 Wilco <wdijkstr@arm.com>
14529 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14530 Optimize to avoid unnecessary FPSCR writes.
14531 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14532 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14533 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14534 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14536 2014-06-24 Wilco <wdijkstr@arm.com>
14538 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14539 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14540 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14541 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14542 Call libc_fetestexcept_vfp.
14543 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14544 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14545 __SOFTFP__ ifdef so that they can be built for softfp.
14547 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14549 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14550 argument type signed char.
14552 * Makerules (check-abi): Dump diff of symlist if the test
14555 2014-06-23 Roland McGrath <roland@hack.frob.com>
14557 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14560 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14561 Remove unused variable ST.
14563 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14567 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14568 small arguments before calling __expm1.
14569 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14570 small arguments before calling __expm1f.
14571 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14572 small arguments before calling __expm1l.
14573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14575 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14576 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14577 spurious underflow for some cosh tests.
14578 * math/auto-libm-test-out: Regenerated.
14579 * sysdeps/i386/fpu/libm-test-ulps: Update.
14582 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14583 (__ieee754_y1): Set errno if return value overflows.
14584 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14585 (__ieee754_y1f): Set errno if return value overflows.
14586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14587 (__ieee754_y1l): Set errno if return value overflows.
14588 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14589 (__ieee754_y1l): Set errno if return value overflows.
14590 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14591 * math/auto-libm-test-out: Regenerated.
14593 * math/gen-auto-libm-tests.c: Document use of
14594 ignore-zero-inf-sign.
14595 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14596 (input_flags): Add ignore-zero-inf-sign.
14597 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14598 * math/gen-libm-test.pl (generate_testfile): Handle
14599 ignore-zero-inf-sign.
14600 * math/auto-libm-test-in: Mark some cpow tests with
14601 ignore-zero-inf-sign and some with xfail-rounding.
14602 * math/auto-libm-test-out: Regenerated.
14603 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14604 * sysdeps/i386/fpu/libm-test-ulps: Update.
14605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14608 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14609 overflowing or underflowing operations take place with sign of
14611 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14612 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14613 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14614 (__ieee754_pow): Recompute overflowing and underflowing results in
14615 original rounding mode.
14616 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14617 (__powl_helper): Allow negative argument X and scale negated value
14618 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14619 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14620 overflowing or underflowing operations take place with sign of
14622 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14624 * math/auto-libm-test-in: Add more tests of pow.
14625 * math/auto-libm-test-out: Regenerated.
14626 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14627 (pow_tonearest_test_data): Remove.
14628 (pow_test_tonearest): Likewise.
14629 (pow_towardzero_test_data): Likewise.
14630 (pow_test_towardzero): Likewise.
14631 (pow_downward_test_data): Likewise.
14632 (pow_test_downward): Likewise.
14633 (pow_upward_test_data): Likewise.
14634 (pow_test_upward): Likewise.
14635 (main): Don't call removed functions.
14636 * sysdeps/i386/fpu/libm-test-ulps: Update.
14637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14639 2014-06-23 Roland McGrath <roland@hack.frob.com>
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14815 2014-06-23 Will Newton <will.newton@linaro.org>
14816 Wilco <wdijkstr@arm.com>
14818 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14819 implementation. Include get-rounding-mode.h.
14820 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14821 [!libc_feholdsetround_noex_ctx]: Define
14822 libc_feholdsetround_noex_ctx.
14823 [!libc_feholdsetround_noexf_ctx]: Define
14824 libc_feholdsetround_noexf_ctx.
14825 [!libc_feholdsetround_noexl_ctx]: Define
14826 libc_feholdsetround_noexl_ctx.
14827 (libc_feholdsetround_ctx): New function.
14828 (libc_feresetround_ctx): New function.
14829 (libc_feholdsetround_noex_ctx): New function.
14830 (libc_feresetround_noex_ctx): New function.
14832 2014-06-23 Roland McGrath <roland@hack.frob.com>
14834 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14835 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14836 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14837 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14838 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14839 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14841 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14842 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14843 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14844 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14845 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14846 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14847 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14848 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14850 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14853 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14855 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14856 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14857 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14858 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14859 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14861 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14862 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14863 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14864 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14865 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14866 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14867 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14868 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14870 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14871 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14873 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14874 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14875 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14876 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14878 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14879 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14880 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14881 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14882 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14883 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14884 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14885 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14886 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14887 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14889 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14891 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14892 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14893 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14894 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14895 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14896 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14897 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14898 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14899 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14900 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14901 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14902 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14903 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14905 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14906 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14907 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14908 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14909 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14910 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14912 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14913 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14914 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14915 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14916 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14918 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14919 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14920 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14921 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14922 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14923 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14924 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14925 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14927 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14928 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14929 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14930 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14931 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14932 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14933 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14934 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14935 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14936 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14937 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14938 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14939 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14940 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14941 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14942 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14943 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14944 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14945 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14947 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14950 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14951 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14952 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14953 (IPV6_PMTUDISC_INTERFACE): Likewise.
14954 (IPV6_PMTUDISC_OMIT): Likewise.
14956 2014-06-23 Andreas Schwab <schwab@suse.de>
14958 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14959 Remove unused errout label.
14961 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14963 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14964 macro: hardware supports Vector Crypto instructions.
14966 2014-06-23 Will Newton <will.newton@linaro.org>
14968 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14969 rather than __builtin_expect.
14971 * elf/dl-lookup.c (undefined_msg): Remove variable.
14972 (_dl_lookup_symbol_x): Replace undefined_msg with string
14975 * elf/dl-lookup.c (do_lookup_unique): New function.
14976 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14977 to a separate function.
14979 2014-06-23 Andreas Schwab <schwab@suse.de>
14982 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14983 before reading the next line.
14985 2014-06-23 Will Newton <will.newton@linaro.org>
14987 * test-skeleton.c (signal_handler): Use printf and %m
14988 rather than perror. Use printf rather than fprintf to
14989 stderr. Use puts rather than fputs to stderr.
14992 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14994 * nscd/nscd.c (thread_info_t): Remove typedef.
14995 (thread_info): Remove variable.
14997 2014-06-21 Allan McRae <allan@archlinux.org>
14999 * NEWS: Mention CVE-2014-4043.
15001 2014-06-20 Roland McGrath <roland@hack.frob.com>
15003 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15004 * nptl/smp.h: ... here.
15006 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15008 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15009 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15010 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15011 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15013 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15014 * nptl/stack-aliasing.h: New file.
15015 * sysdeps/i386/i686/stack-aliasing.h: New file.
15016 * sysdeps/i386/i686/nptl/Makefile: File removed.
15017 * sysdeps/x86_64/stack-aliasing.h: New file.
15018 * sysdeps/x86_64/nptl/Makefile
15019 (CFLAGS-pthread_create.c): Variable removed.
15021 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15022 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15024 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15025 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15028 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15031 (__ASSUME_SIGFRAME_V2): Remove macro.
15032 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15033 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15034 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15035 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15036 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15037 Declare as function. Remove conditional macro definitions.
15038 (__default_rt_sa_restorer): Likewise.
15039 (__default_sa_restorer_v1): Remove declaration.
15040 (__default_sa_restorer_v2): Likewise.
15041 (__default_rt_sa_restorer_v1): Likewise.
15042 (__default_rt_sa_restorer_v2): Likewise.
15043 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15044 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15045 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15047 2014-06-20 Roland McGrath <roland@hack.frob.com>
15049 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15050 (libpthread-routines): Add sysdep.
15051 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15052 * sysdeps/unix/sysv/linux/sparc/Versions
15053 (libpthread: GLIBC_2.3.3): New version set.
15054 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15055 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15056 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15057 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15058 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15059 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15061 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15062 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15063 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15064 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15065 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15066 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15067 * sysdeps/sparc/nptl/sem_init.c: ... here.
15068 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15069 * sysdeps/sparc/nptl/sem_post.c: ... here.
15070 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15071 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15072 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15073 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15074 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15075 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15076 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15077 (libpthread-routines): Add cpu_relax.
15078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15080 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15081 (librt: GLIBC_2.3.3): New version set.
15082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15083 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15084 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15085 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15088 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15091 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15093 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15095 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15097 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15099 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15102 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15110 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15114 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15118 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15122 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15125 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15131 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15133 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15136 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15140 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15142 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15144 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15145 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15146 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15147 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15148 * nscd/nscd.c: Likewise.
15149 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15150 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15151 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15152 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15154 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15155 <kernel-features.h>.
15156 (init_mq_netlink): Remove conditional have_sock_cloexec
15157 definitions. Remove code conditional on have_sock_cloexec < 0.
15158 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15159 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15160 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15161 <kernel-features.h>.
15162 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15163 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15165 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15168 Add tests for memset_chk and memset.
15170 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15173 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15176 * elf/tst-dl-iter-static.c: New file.
15177 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15179 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15182 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15184 * sysdeps/unix/sysv/linux/kernel-features.h
15185 (__ASSUME_F_GETOWN_EX): Remove macro.
15186 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15187 <kernel-features.h>.
15188 (miss_F_GETOWN_EX): Remove variable or macro.
15189 (do_fcntl): Do not check miss_F_GETOWN_EX.
15190 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15195 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15196 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15198 * sysdeps/unix/sysv/linux/kernel-features.h
15199 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15200 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15201 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15202 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15204 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15207 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15208 Fix calculation of the symbol's value.
15209 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15210 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15211 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15212 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15213 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15214 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15215 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15216 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15217 (modules-names): Add `tst-armtlsdescmod',
15218 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15219 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15220 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15221 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15222 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15223 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15224 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15225 ($(objpfx)tst-armtlsdescloc): New dependency.
15226 ($(objpfx)tst-armtlsdescextnow): Likewise.
15227 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15228 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15229 TLS scheme support.
15230 * sysdeps/arm/configure: Regenerate.
15232 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15234 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15235 (__atfct_seterrno_2): Likewise.
15236 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15237 <kernel-features.h>.
15238 (__ASSUME_ATFCTS): Do not undefine and redefine.
15239 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15240 (__have_atfcts): Remove conditional definition.
15241 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15242 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15243 unreachable if [__ASSUME_ATFCTS].
15244 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15245 not undefine and redefine.
15246 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15247 <kernel-features.h>.
15248 (faccessat) [__NR_faccessat]: Make code unconditional.
15249 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15250 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15251 <kernel-features.h>.
15252 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15253 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15254 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15255 <kernel-features.h>.
15256 (fchownat) [__NR_fchownat]: Make code unconditional.
15257 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15258 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15259 <kernel-features.h>.
15260 (futimesat) [__NR_futimesat]: Make code unconditional.
15261 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15262 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15263 <kernel-features.h>.
15264 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15265 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15266 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15267 <kernel-features.h>.
15268 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15269 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15270 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15271 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15272 <kernel-features.h>.
15273 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15274 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15275 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15276 <kernel-features.h>.
15277 (linkat) [__NR_linkat]: Make code unconditional.
15278 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15279 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15280 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15281 <kernel-features.h>.
15282 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15283 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15284 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15285 <kernel-features.h>.
15286 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15287 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15288 * sysdeps/unix/sysv/linux/openat.c: Do not include
15289 <kernel-features.h>.
15290 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15291 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15292 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15293 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15294 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15295 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15296 <kernel-features.h>.
15297 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15298 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15299 result of INLINE_SYSCALL directly, not via int variable.
15300 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15301 <kernel-features.h>.
15302 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15303 (renameat) [__NR_renameat]: Make code unconditional.
15304 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15305 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15306 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15307 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15308 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15309 (__ASSUME_ATFCTS): Do not undefine and redefine.
15310 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15311 <kernel-features.h>.
15312 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15313 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15314 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15315 <kernel-features.h>.
15316 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15317 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15318 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15319 (__ASSUME_ATFCTS): Do not undefine and redefine.
15320 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15321 <kernel-features.h>.
15322 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15323 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15324 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15325 <kernel-features.h>.
15326 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15327 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15329 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15331 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15333 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15336 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15337 constructed tree before returning error.
15338 * posix/bug-regexp36.c: Expand test case.
15340 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15343 * math/libm-test.inc (scalbln_test_date):
15344 Add errno expectations.
15345 * math/w_scalblnf.c: New File.
15346 Add wrapper which checks for setting errno to ERANGE.
15347 Add weak_alias for corresponding scalbln function.
15348 * math/w_scalbln.c: Likewise.
15349 * math/w_scalblnl.c: Likewise.
15350 * math/Makefile (libm-calls): Add w_scalbln.
15351 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15352 Remove weak_alias for corresponding scalbln function.
15353 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15355 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15357 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15358 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15359 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15361 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15362 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15363 Remove long_double_symbol for scalblnl function in libm, libc.
15364 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15365 Add wrapper which checks for setting errno to ERANGE.
15366 Add long_double_symbol for scalblnl function in libm, libc.
15367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15368 Remove long_double_symbol for scalblnl in libm.
15369 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15370 Add wrapper which checks for setting errno to ERANGE.
15371 Add long_double_symbol for scalblnl function in libm.
15372 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15373 Do not use wrapper because of own implementation.
15375 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15377 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15378 3 bytes for __pad1 for x32.
15379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15381 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15382 H.J. Lu <hongjiu.lu@intel.com>
15384 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15385 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15386 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15387 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15388 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15390 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15393 * posix/regcomp.c (parse_expression): Deallocate partially
15394 constructed tree before returning error.
15395 * posix/Makefile.c (tests): Add bug-regex36.
15396 (generated): Add bug-regex36.mtrace.
15397 (tests-special): Add $(objpfx)bug-regex36-mem.out
15398 (bug-regex36-ENV): New variable.
15399 ($(objpfx)bug-regex36-mem.out): New rule.
15400 * posix/bug-regex36.c: New file.
15402 2014-06-19 Will Newton <will.newton@linaro.org>
15404 * malloc/malloc.c (systrim): If extra is zero then return
15407 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15409 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15411 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15413 * sysdeps/aarch64/strchr.S: New file.
15415 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15418 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15419 from arguments -2 or below.
15420 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15421 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15423 2014-06-18 Andreas Schwab <schwab@suse.de>
15426 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15427 of a bracket expr not to run off the end of the string.
15428 * posix/Makefile (tests): Add tst-fnmatch3.
15429 * posix/tst-fnmatch3.c: New file.
15431 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15433 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15434 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15435 [$(cross-compiling) = no]: Likewise.
15436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15437 [$(cross-compiling) = no]: Likewise.
15439 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15442 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15443 double, adjusted for any remainder from the high double.
15444 * math/libm-test.inc (nearbyint): Add tests.
15447 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15449 * nptl/sysdeps/powerpc/Makefile: Moved ...
15450 * sysdeps/powerpc/nptl/Makefile: ... here.
15451 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15452 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15453 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15454 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15455 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15456 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15457 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15458 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15459 * nptl/sysdeps/powerpc/tls.h: Moved ...
15460 * sysdeps/powerpc/nptl/tls.h: ... here.
15462 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15465 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15466 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15467 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15468 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15469 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15470 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15471 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15472 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15473 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15475 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15477 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15479 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15481 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15484 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15487 2014-06-16 Florian Weimer <fweimer@redhat.com>
15490 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15491 non-executed part of the test.
15493 2014-06-16 Andreas Schwab <schwab@suse.de>
15495 * string/bits/string2.h (strdup, strndup): Update feature guard.
15497 2014-06-14 David S. Miller <davem@davemloft.net>
15499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15501 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15503 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15504 that was previously under [RESET_PID].
15505 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15507 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15508 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15509 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15510 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15511 (__libc_vfork): New strong alias.
15512 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15514 2014-06-14 Andi Kleen <ak@linux.intel.com>
15516 * sysdeps/generic/elide.h: New file.
15518 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15520 * Makefile (installed-headers): Adjust path of pthread.h header.
15522 2014-06-13 Roland McGrath <roland@hack.frob.com>
15524 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15525 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15526 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15527 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15529 * nptl/sysdeps/s390/Makefile: Moved ...
15530 * sysdeps/s390/nptl/Makefile: ... here.
15531 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15532 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15533 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15534 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15535 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15536 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15537 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15538 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15539 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15540 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15541 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15542 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15543 * nptl/sysdeps/s390/tls.h: Moved ...
15544 * sysdeps/s390/nptl/tls.h: ... here.
15546 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15547 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15549 2014-06-13 David S. Miller <davem@davemloft.net>
15551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15554 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15558 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15559 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15560 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15562 Remove RESET_PID cpp guards.
15563 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15564 Remove RESET_PID cpp guards.
15565 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15567 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15569 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15572 2014-06-13 Andi Kleen <ak@linux.intel.com>
15574 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15576 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15577 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15578 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15579 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15580 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15581 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15582 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15583 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15585 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15587 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15590 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15591 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15592 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15593 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15595 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15596 (pthread_rwlock_rdlock): Add elision.
15597 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15598 (pthread_rwlock_wrlock): Add elision.
15599 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15600 (pthread_rwlock_trywrlock): Add elision.
15601 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15602 (pthread_rwlock_tryrdlock): Add elision.
15603 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15604 (pthread_rwlock_tryrdlock): Add elision unlock.
15605 * nptl/sysdeps/pthread/pthread.h:
15606 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15607 (PTHREAD_RWLOCK_INITIALIZER,
15608 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15609 Handle new elision field.
15610 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15611 * sysdeps/arm/nptl/bits/pthreadtypes.h
15612 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15613 * sysdeps/sh/nptl/bits/pthreadtypes.h
15614 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15615 * sysdeps/tile/nptl/bits/pthreadtypes.h
15616 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15617 * sysdeps/a/nptl/bits/pthreadtypes.h
15618 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15619 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15620 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15621 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15623 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15624 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15625 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15626 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15627 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15628 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15629 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15630 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15631 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15633 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15635 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15636 (elision_init): Set try_xbegin to zero when no RTM.
15637 * sysdeps/x86/nptl/bits/pthreadtypes.h
15638 (pthread_rwlock_t): Change __pad1 to __rwelision.
15639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15641 2014-06-13 Andi Kleen <ak@linux.intel.com>
15643 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15644 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15645 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15646 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15648 2014-06-13 Meador Inge <meadori@codesourcery.com>
15651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15652 that the cached result has been set before returning it.
15654 2014-06-12 Roland McGrath <roland@hack.frob.com>
15656 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15657 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15658 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15659 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15660 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15661 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15663 * nptl/sysdeps/sparc/Makefile: Moved ...
15664 * sysdeps/sparc/nptl/Makefile: ... here.
15665 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15666 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15667 * nptl/sysdeps/sparc/tls.h: Moved ...
15668 * sysdeps/sparc/nptl/tls.h: ... here.
15669 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15670 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15671 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15672 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15673 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15674 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15675 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15676 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15677 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15678 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15679 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15680 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15681 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15682 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15683 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15684 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15685 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15686 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15688 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15689 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15691 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15692 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15694 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15698 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15700 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15701 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15703 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15704 (struct list_links): Type removed.
15705 (struct thread_node, struct timer_node): Replace struct list_links
15706 with struct list_head.
15707 (list_unlink_ip): Likewise.
15708 * sysdeps/pthread/timer_routines.c
15709 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15710 (list_append, list_insbefore): Likewise.
15711 (list_init): Function removed.
15712 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15713 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15714 * sysdeps/pthread/Makefile: ... here, new file.
15716 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15717 * sysdeps/nptl/Implies: ... here.
15718 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15719 * nptl/sysdeps/pthread/list.h: Moved ...
15720 * include/list.h: ... here.
15721 * nptl/sysdeps/pthread/createthread.c: Moved ...
15722 * nptl/createthread.c: ... here.
15723 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15724 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15725 * nptl/pt-longjmp.c: ... here.
15726 * nptl/sysdeps/pthread/Makefile: Moved ...
15727 * sysdeps/nptl/Makefile: ... here.
15728 * nptl/sysdeps/pthread/Subdirs: Moved ...
15729 * sysdeps/nptl/Subdirs: ... here.
15730 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15731 * sysdeps/nptl/aio_misc.h: ... here.
15732 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15733 * sysdeps/nptl/bits/libc-lock.h: ... here.
15734 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15735 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15736 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15737 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15738 * nptl/sysdeps/pthread/configure: Moved ...
15739 * sysdeps/nptl/configure: ... here.
15740 * nptl/sysdeps/pthread/configure.ac: Moved ...
15741 * sysdeps/nptl/configure.ac: ... here.
15742 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15743 * sysdeps/nptl/gai_misc.h: ... here.
15744 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15745 * sysdeps/nptl/librt-cancellation.c: ... here.
15746 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15747 * sysdeps/nptl/malloc-machine.h: ... here.
15748 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15749 * sysdeps/nptl/pthread-functions.h: ... here.
15750 * nptl/sysdeps/pthread/pthread.h: Moved ...
15751 * sysdeps/nptl/pthread.h: ... here.
15752 * nptl/sysdeps/pthread/setxid.h: Moved ...
15753 * sysdeps/nptl/setxid.h: ... here.
15754 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15755 * sysdeps/nptl/sigfillset.c: ... here.
15756 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15757 * sysdeps/nptl/tcb-offsets.h: ... here.
15758 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15759 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15760 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15761 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15762 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15763 * sysdeps/pthread/allocalim.h: ... here.
15764 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15765 * sysdeps/pthread/bits/sigthread.h: ... here.
15766 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15767 * sysdeps/pthread/flockfile.c: ... here.
15768 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15769 * sysdeps/pthread/ftrylockfile.c: ... here.
15770 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15771 * sysdeps/pthread/funlockfile.c: ... here.
15772 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15773 * sysdeps/pthread/posix-timer.h: ... here.
15774 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15775 * sysdeps/pthread/timer_create.c: ... here.
15776 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15777 * sysdeps/pthread/timer_delete.c: ... here.
15778 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15779 * sysdeps/pthread/timer_getoverr.c: ... here.
15780 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15781 * sysdeps/pthread/timer_gettime.c: ... here.
15782 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15783 * sysdeps/pthread/timer_routines.c: ... here.
15784 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15785 * sysdeps/pthread/timer_settime.c: ... here.
15786 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15787 * sysdeps/pthread/tst-timer.c: ... here.
15788 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15789 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15791 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15792 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15794 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15795 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15796 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15797 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15798 Update #include target.
15799 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15800 * sysdeps/i386/i686/nptl/Makefile: ... here.
15801 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15802 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15803 Update #include target.
15804 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15805 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15806 * nptl/sysdeps/i386/Makefile: Moved ...
15807 * sysdeps/i386/nptl/Makefile: ... here.
15808 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15809 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15810 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15811 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15812 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15813 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15814 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15815 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15816 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15817 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15818 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15819 * nptl/sysdeps/i386/tls.h: Moved ...
15820 * sysdeps/i386/nptl/tls.h: ... here.
15822 * sysdeps/sh/Makefile [$(subdir) = csu]
15823 (gen-as-const-headers): Add tcb-offsets.sym.
15824 * nptl/sysdeps/sh/Makefile: File removed.
15825 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15826 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15827 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15828 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15829 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15830 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15831 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15832 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15833 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15834 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15835 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15836 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15837 * nptl/sysdeps/sh/tls.h: Moved ...
15838 * sysdeps/sh/nptl/tls.h: ... here.
15839 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15840 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15841 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15842 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15843 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15844 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15845 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15847 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15848 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15849 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15850 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15851 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15852 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15853 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15854 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15855 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15856 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15857 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15858 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15859 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15860 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15861 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15862 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15863 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15865 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15866 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15868 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15869 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15870 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15871 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15872 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15873 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15874 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15875 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15876 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15877 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15878 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15879 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15880 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15881 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15882 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15883 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15884 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15885 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15886 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15888 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15890 * posix/spawn_faction_addopen.c: Include string.h.
15892 2014-06-11 Roland McGrath <roland@hack.frob.com>
15894 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15895 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15896 * nptl/sysdeps/x86_64/Makefile: Moved ...
15897 * sysdeps/x86_64/nptl/Makefile: ... here.
15898 * nptl/sysdeps/x86_64/configure: Moved ...
15899 * sysdeps/x86_64/nptl/configure: ... here.
15900 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15901 * sysdeps/x86_64/nptl/configure.ac: ... here.
15902 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15903 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15904 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15905 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15906 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15907 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15908 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15909 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15910 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15911 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15912 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15913 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15914 * nptl/sysdeps/x86_64/tls.h: Moved ...
15915 * sysdeps/x86_64/nptl/tls.h: ... here.
15916 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15917 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15918 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15919 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15921 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15923 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15927 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15929 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15931 [POSIX] (off_t): Likewise.
15932 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15933 [POSIX] (S_ISBLK): Require macro.
15934 [POSIX] (S_ISCHR): Likewise.
15935 [POSIX] (S_ISDIR): Likewise.
15936 [POSIX] (S_ISFIFO): Likewise.
15937 [POSIX] (S_ISREG): Likewise.
15938 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15940 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15942 [POSIX] (time_t): Likewise.
15943 [POSIX] (timer_t): Likewise.
15945 2014-06-11 Florian Weimer <fweimer@redhat.com>
15948 * posix/spawn_int.h (struct __spawn_action): Make the path string
15949 non-const to support deallocation.
15950 * posix/spawn_faction_addopen.c
15951 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15952 * posix/spawn_faction_destroy.c
15953 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15954 path in all spawn_do_open actions.
15955 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15956 posix_spawn_file_actions_addopen.
15958 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15960 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15961 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15962 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15963 conditional code always true.
15964 (__libc_vfork): New alias.
15966 2014-06-11 Roland McGrath <roland@hack.frob.com>
15968 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15969 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15971 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15973 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15974 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15976 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15977 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15979 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15980 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15982 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15984 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15985 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15986 multiarch strcmp for PPC64.
15987 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15988 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15990 multiarch optimizations.
15991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15992 (__libc_ifunc_impl_list): Likewise.
15994 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15996 * benchtests/scripts/validate_benchout.py: New script.
15997 * benchtests/Makefile (bench-func): Call it.
15998 * benchtests/scripts/benchout.schema.json: New file.
16000 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16002 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16003 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16004 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16005 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16006 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16007 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16008 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16009 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16010 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16011 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16012 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16013 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16014 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16015 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16016 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16017 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16121 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16122 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16123 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16124 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16125 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16127 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16129 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16130 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16131 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16132 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16133 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16134 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16135 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16136 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16137 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16138 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16139 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16140 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16141 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16143 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16146 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16147 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16148 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16149 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16151 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16152 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16153 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16154 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16155 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16156 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16157 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16159 2014-06-10 Wilco <wdijkstr@arm.com>
16161 * math/test-fenv-return.c: New file.
16162 * math/Makefile: Add new test test-fenv-return.
16164 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16167 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16168 when x - 1 is zero.
16169 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16170 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16171 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16172 0.0L for an argument of 1.0L.
16173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16175 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16176 value when x - 1 is zero.
16177 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16178 * sysdeps/i386/fpu/libm-test-ulps: Update.
16179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16181 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16184 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16186 2014-06-09 Roland McGrath <roland@hack.frob.com>
16188 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16189 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16191 2014-06-09 Roland McGrath <roland@hack.frob.com>
16193 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16194 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16196 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16197 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16199 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16200 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16202 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16203 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16205 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16206 if not already defined.
16207 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16208 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16209 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16210 (TLS_INIT_TP): Use it.
16211 (TLS_DEFINE_INIT_TP): New macro.
16212 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16214 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16216 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16218 [POSIX] (IXANY): Likewise.
16219 [POSIX] (OLCUC): Likewise.
16220 [POSIX || POSIX2008] (CBAUD): Do not allow.
16221 [POSIX || POSIX2008] (DEFECHO): Likewise.
16222 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16223 [POSIX || POSIX2008] (ECHOKE): Likewise.
16224 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16225 [POSIX || POSIX2008] (EXTA): Likewise.
16226 [POSIX || POSIX2008] (EXTB): Likewise.
16227 [POSIX || POSIX2008] (FLUSHO): Likewise.
16228 [POSIX || POSIX2008] (LOBLK): Likewise.
16229 [POSIX || POSIX2008] (PENDIN): Likewise.
16230 [POSIX || POSIX2008] (SWTCH): Likewise.
16231 [POSIX || POSIX2008] (VDISCARD): Likewise.
16232 [POSIX || POSIX2008] (VDSUSP): Likewise.
16233 [POSIX || POSIX2008] (VLNEXT): Likewise.
16234 [POSIX || POSIX2008] (VREPRINT): Likewise.
16235 [POSIX || POSIX2008] (VSTATUS): Likewise.
16236 [POSIX || POSIX2008] (VWERASE): Likewise.
16237 (B*): Change to B[0123456789]*.
16238 * conform/data/time.h-data [POSIX || UNIX98]
16239 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16240 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16241 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16242 [POSIX] (tm_*): Do not allow.
16244 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16246 * Makefile (install): Don't set LANGUAGE.
16247 * Makefile.in (install): Likewise.
16248 * assert/Makefile (test-assert-ENV): Remove variable.
16249 (test-assert-perr-ENV): Likewise.
16250 * elf/Makefile (neededtest4-ENV): Likewise.
16251 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16252 [$(cross-compiling) = no]: Don't set LANGUAGE.
16253 * io/ftwtest-sh (LANG): Remove variable.
16254 * libio/Makefile (tst-widetext-ENV): Likewise.
16255 * manual/install.texi (Running make install): Don't refer to
16256 environment settings for make install.
16257 * INSTALL: Regenerated.
16258 * nptl/tst-tls6.sh: Don't set LANG.
16259 * posix/globtest.sh (LANG): Remove variable.
16260 * string/Makefile (tester-ENV): Likewise.
16261 (inl-tester-ENV): Likewise.
16262 (noinl-tester-ENV): Likewise.
16263 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16264 [$(cross-compiling) = no]: Don't set LANGUAGE.
16265 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16266 without explicit environment settings.
16268 2014-06-06 Roland McGrath <roland@hack.frob.com>
16270 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16271 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16272 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16273 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16275 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16277 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16278 other files in the crypt directory.
16279 * crypt/crypt.c: Remove duplicate includes.
16280 * crypt/crypt-entry.c: Likewise.
16281 * crypt/crypt_util.c: Likewise.
16283 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16285 * Makeconfig (run-program-env): New variable.
16286 (run-program-prefix-before-env): Likewise.
16287 (run-program-prefix-after-env): Likewise.
16288 (run-program-prefix): Define in terms of new variables.
16289 (built-program-cmd-before-env): New variable.
16290 (built-program-cmd-after-env): Likewise.
16291 (built-program-cmd): Define in terms of new variables.
16292 (test-program-prefix-before-env): New variable.
16293 (test-program-prefix-after-env): Likewise.
16294 (test-program-prefix): Define in terms of new variables.
16295 (test-program-cmd-before-env): New variable.
16296 (test-program-cmd-after-env): Likewise.
16297 (test-program-cmd): Define in terms of new variables.
16298 * Rules (make-test-out): Use $(run-program-env).
16299 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16300 (help): Do not mention environment variables. Mention
16301 --timeoutfactor option.
16302 (timeoutfactor): New variable.
16303 (blacklist_exports): Remove function.
16304 (exports): Remove variable.
16305 (command): Do not include ${exports}.
16306 * manual/install.texi (Configuring and compiling): Do not mention
16307 test wrappers preserving environment variables. Mention that last
16308 assignment to a variable must take precedence.
16309 * INSTALL: Regenerated.
16310 * benchtests/Makefile (run-bench): Use $(run-program-env).
16311 * catgets/Makefile ($(objpfx)test1.cat): Use
16312 $(built-program-cmd-before-env), $(run-program-env) and
16313 $(built-program-cmd-after-env).
16314 ($(objpfx)test2.cat): Do not specify environment variables
16316 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16317 $(run-program-env) and $(built-program-cmd-after-env).
16318 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16319 $(run-program-env) and $(test-program-cmd-after-env).
16320 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16322 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16323 run_program_env and test_program_cmd_after_env arguments.
16324 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16325 * elf/tst-pathopt.sh: Use run_program_env argument.
16326 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16327 $(test-wrapper-env) and $(run-program-env).
16328 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16329 run_program_env arguments.
16330 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16331 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16332 $(test-program-prefix-before-env), $(run-program-env) and
16333 $(test-program-prefix-after-env).
16334 ($(objpfx)tst-gettext2.out): Likewise.
16335 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16336 run_program_env and test_program_prefix_after_env arguments.
16337 * intl/tst-gettext2.sh: Likewise.
16338 * intl/tst-gettext4.sh: Do not set environment variables
16340 * intl/tst-gettext6.sh: Likewise.
16341 * intl/tst-translit.sh: Likewise.
16342 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16343 $(test-program-prefix-before-env), $(run-program-env) and
16344 $(test-program-prefix-after-env).
16345 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16346 run_program_env and test_program_prefix_after_env arguments.
16347 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16348 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16349 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16350 explicitly with each use of ${test_wrapper_env}.
16351 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16352 $(test-program-prefix-before-env), $(run-program-env) and
16353 $(test-program-prefix-after-env).
16354 * posix/tst-getconf.sh: Do not set environment variables
16356 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16357 run_program_env and test_program_prefix_after_env arguments.
16358 * stdio-common/tst-printf.sh: Do not set environment variables
16360 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16361 $(test-program-prefix-before-env), $(run-program-env) and
16362 $(test-program-prefix-after-env).
16363 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16364 run_program_env and test_program_prefix_after_env arguments.
16365 Split $test calls into $test_pre and $test.
16366 * timezone/Makefile (build-testdata): Use
16367 $(built-program-cmd-before-env), $(run-program-env) and
16368 $(built-program-cmd-after-env).
16370 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16372 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16373 strlen for non SHARED builds.
16375 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16377 * nptl/allocatestack.c (check_list): Inlined function...
16378 (__reclaim_stacks): ... here.
16380 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16383 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16386 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16388 * Rules (make-test-out): Include
16389 LOCPATH=$(common-objpfx)localedata in default environment.
16390 * debug/Makefile (tst-chk1-ENV): Remove variable.
16391 (tst-chk2-ENV): Likewise.
16392 (tst-chk3-ENV): Likewise.
16393 (tst-chk4-ENV): Likewise.
16394 (tst-chk5-ENV): Likewise.
16395 (tst-chk6-ENV): Likewise.
16396 (tst-lfschk1-ENV): Likewise.
16397 (tst-lfschk2-ENV): Likewise.
16398 (tst-lfschk3-ENV): Likewise.
16399 (tst-lfschk4-ENV): Likewise.
16400 (tst-lfschk5-ENV): Likewise.
16401 (tst-lfschk6-ENV): Likewise.
16402 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16403 (tst-iconv7-ENV): Likewise.
16404 * intl/Makefile (LOCPATH-ENV): Likewise.
16405 (tst-codeset-ENV): Likewise.
16406 (tst-gettext3-ENV): Likewise.
16407 (tst-gettext5-ENV): Likewise.
16408 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16409 (tst-fopenloc-ENV): Likewise.
16410 (tst-fgetws-ENV): Remove variable.
16411 (tst-ungetwc1-ENV): Likewise.
16412 (tst-ungetwc2-ENV): Likewise.
16413 (bug-ungetwc2-ENV): Likewise.
16414 (tst-swscanf-ENV): Likewise.
16415 (bug-ftell-ENV): Likewise.
16416 (tst-fgetwc-ENV): Likewise.
16417 (tst-fseek-ENV): Likewise.
16418 (tst-ftell-partial-wide-ENV): Likewise.
16419 (tst-ftell-active-handler-ENV): Likewise.
16420 (tst-ftell-append-ENV): Likewise.
16421 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16422 (tst-regexloc-ENV): Likewise.
16423 (bug-regex1-ENV): Likewise.
16424 (tst-regex-ENV): Likewise.
16425 (tst-regex2-ENV): Likewise.
16426 (bug-regex5-ENV): Likewise.
16427 (bug-regex6-ENV): Likewise.
16428 (bug-regex17-ENV): Likewise.
16429 (bug-regex18-ENV): Likewise.
16430 (bug-regex19-ENV): Likewise.
16431 (bug-regex20-ENV): Likewise.
16432 (bug-regex22-ENV): Likewise.
16433 (bug-regex23-ENV): Likewise.
16434 (bug-regex25-ENV): Likewise.
16435 (bug-regex26-ENV): Likewise.
16436 (bug-regex30-ENV): Likewise.
16437 (bug-regex32-ENV): Likewise.
16438 (bug-regex33-ENV): Likewise.
16439 (bug-regex34-ENV): Likewise.
16440 (bug-regex35-ENV): Likewise.
16441 (tst-rxspencer-ENV): Likewise.
16442 (tst-rxspencer-no-utf8-ENV): Likewise.
16443 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16444 (tst-sscanf-ENV): Likewise.
16445 (tst-swprintf-ENV): Likewise.
16446 (tst-swscanf-ENV): Likewise.
16447 (test-vfprintf-ENV): Likewise.
16448 (scanf13-ENV): Likewise.
16449 (bug14-ENV): Likewise.
16450 (tst-grouping-ENV): Likewise.
16451 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16452 (tst-strtod3-ENV): Likewise.
16453 (tst-strtod4-ENV): Likewise.
16454 (tst-strtod5-ENV): Likewise.
16455 (testmb2-ENV): Likewise./
16456 * string/Makefile (tst-strxfrm-ENV): Likewise.
16457 (tst-strxfrm2-ENV): Likewise.
16458 (bug-strcoll1-ENV): Likewise.
16459 (test-strcasecmp-ENV): Likewise.
16460 (test-strncasecmp-ENV): Likewise.
16461 * time/Makefile (tst-strptime-ENV): Likewise.
16462 (tst-ftime_l-ENV): Likewise.
16463 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16464 (tst-mbrtowc-ENV): Likewise.
16465 (tst-wcrtomb-ENV): Likewise.
16466 (tst-mbrtowc2-ENV): Likewise.
16467 (tst-c16c32-1-ENV): Likewise.
16468 (tst-mbsnrtowcs-ENV): Likewise.
16470 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16472 * manual/resource.texi (How to get information about the memory
16473 subsystem?): Fix typo.
16474 Reported by Peon de la Parra Ivan <peon@keba.com>
16476 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16479 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16480 (pthread_spin_lock): Branch out of spin loop to proper location.
16481 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16482 (pthread_spin_lock): Likewise.
16484 * nptl/tst-spin4.c: New test.
16485 * nptl/Makefile (tests): Add tst-spin4.
16487 2014-06-03 Andreas Schwab <schwab@suse.de>
16490 * resolv/res_send.c (send_dg): Reload file descriptor after
16493 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16495 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16497 2014-06-03 Richard Henderson <rth@redhat.com>
16499 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16500 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16501 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16502 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16503 in the SAVE_PID block.
16504 (__libc_vfork): New alias.
16505 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16507 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16508 child in registers, not on the stack. Remove RESET_PID conditionals.
16509 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16511 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16513 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16515 2014-06-03 Wilco <wdijkstr@arm.com>
16517 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16518 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16519 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16520 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16521 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16524 2014-06-03 Wilco <wdijkstr@arm.com>
16526 * sysdeps/aarch64/fpu/math_private.h
16527 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16528 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16529 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16530 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16533 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16535 * crypt/crypt-private.h: Include ufc-crypt.h.
16536 (__b64_from_24bit): Declare extern.
16537 * crypt/crypt_util.c(__b64_from_24bit): New function.
16538 (b64t): New static const variable.
16539 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16540 (b64t): Remove variable.
16541 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16542 * crypt/sha256-crypt.c: Include crypt-private.h.
16543 (b64t): Remove variable.
16544 (__sha256_crypt_r): Remove b64_from_24bit and replace
16545 with __b64_from_24bit.
16546 * crypt/sha512-crypt.c: Likewise.
16548 2014-06-02 Roland McGrath <roland@hack.frob.com>
16550 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16551 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16552 Label the code __libc_vfork rather than __vfork.
16553 [!NOT_IN_libc] (vfork): Define as weak alias.
16554 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16555 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16556 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16558 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16560 * malloc/malloc.c (malloc_info): Fix format specifier for
16563 2014-06-02 Wilco <wdijkstr@arm.com>
16565 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16568 2014-06-02 Wilco <wdijkstr@arm.com>
16571 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16572 Rewrite to reduce FPCR/FPSR accesses.
16574 2014-06-01 David S. Miller <davem@davemloft.net>
16576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16578 2014-05-31 David S. Miller <davem@davemloft.net>
16580 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16581 to occur in round to nearest mode when |x| >= 2.0
16583 2014-05-30 Richard Henderson <rth@twiddle.net>
16585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16586 (PSEUDO_RET_NOERRNO): Remove.
16587 (ret): Don't redefine.
16588 (ret_NOERRNO): Define in terms of ret.
16589 (ret_ERRVAL): Likewise.
16591 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16592 use of PSEUDO_RET; perform the error check directly.
16594 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16596 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16599 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16601 * malloc/malloc (malloc_info): Fix formatting.
16603 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16604 Roland McGrath <roland@hack.frob.com>
16606 * malloc/malloc (malloc_info): Also print mmapped statistics.
16608 2014-05-30 Roland McGrath <roland@hack.frob.com>
16610 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16611 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16613 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16615 * malloc/malloc.c (malloc_info): Inline mi_arena.
16617 2014-05-29 Richard Henderson <rth@twiddle.net>
16619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16620 Remove comma before expanding ASM_ARGS_##nr.
16621 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16622 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16624 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16625 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16626 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16627 (ASM_ARGS_1): Add leading comma.
16629 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16630 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16631 to __errno_location.
16632 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16633 Remove the expected plt for __errno_location.
16635 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16636 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16639 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16640 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16641 it and break it down.
16642 (DOCARGS_0, DOCARGS_1): Do nothing.
16643 (DOCARGS_2): Update to store into the new stack frame.
16644 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16645 (UNDOCARGS_1): Update to restore from the new stack frame.
16646 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16647 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16649 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16650 (SINGLE_THREAD_P): New parameter for result regno.
16651 (PSEUDO): Update to match; use cbz instead of beq.
16653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16654 Use ENTRY to define the _nocancel entry point. Share the syscall
16655 and syscall error check paths with the cancel path.
16658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16659 whitespace; tabs before and after asm mnemonics.
16661 2014-05-29 Eric Wong <normalperson@yhbt.net>
16664 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16665 Call fstat64 or stat64 internally, depending on arguments passed.
16666 Replace stat buffer argument with file descriptor argument.
16667 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16668 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16669 Pass fd to __internal_statvfs instead of calling fstat64.
16670 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16671 Pass fd to __internal_statvfs64 instead of calling fstat64.
16672 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16673 Pass -1 to __internal_statvfs instead of calling stat64.
16674 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16675 Pass -1 to __internal_statvfs64 instead of calling stat64.
16677 2014-05-28 Roland McGrath <roland@hack.frob.com>
16679 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16680 that was previously under [RESET_PID].
16681 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16683 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16684 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16686 2014-05-27 Roland McGrath <roland@hack.frob.com>
16688 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16690 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16691 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16693 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16695 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16697 2014-05-27 Andreas Schwab <schwab@suse.de>
16699 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16701 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16702 * elf/rtld.c (init_tls, dl_main): Likewise.
16703 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16704 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16705 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16706 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16707 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16708 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16709 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16710 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16711 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16712 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16713 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16714 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16715 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16716 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16717 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16718 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16719 * sysdeps/generic/tls.h: Update description.
16721 2014-05-27 Will Newton <will.newton@linaro.org>
16724 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16725 and restore r2 rather than just restoring.
16727 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16730 * libio/tst-ftell-append.c: New test case.
16731 * libio/Makefile (tests): Add test case.
16732 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16734 * libio/wfileops.c (do_ftell_wide): Likewise.
16736 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16740 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16744 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16745 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16746 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16747 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16748 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16749 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16756 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16757 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16758 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16759 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16760 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16762 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16763 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16765 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16767 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16769 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16770 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16771 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16773 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16774 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16775 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16776 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16781 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16791 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16799 conditional [RESET_PID].
16800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16801 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16808 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16809 (__libc_vfork): New strong alias.
16810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16817 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16818 (__libc_vfork): New strong alias.
16819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16824 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16826 * malloc/malloc.c (mi_arena): New function.
16827 (malloc_info): Remove nested function mi_arena. Call non-nosted
16830 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16832 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16834 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16835 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16836 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16837 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16838 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16839 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16840 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16842 2014-05-26 Andreas Schwab <schwab@suse.de>
16845 * locale/programs/repertoire.c (repertoire_read): Add slash
16846 between I18NPATH element and file name.
16847 * locale/programs/locfile.c (locfile_read): Likewise.
16849 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16851 * nptl/pthread_mutexattr_settype.c
16852 (__pthread_mutexattr_settype):
16853 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16855 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16857 * nptl/tst-mutex5 (do_test):
16858 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16860 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16862 * benchtests/README: Document 'init' directive.
16863 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16865 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16866 (parse_file): Recognize 'init' directive.
16868 2014-05-26 Kyle McMartin <kyle@redhat.com>
16871 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16872 alignment of struct pthread.
16874 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16877 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16878 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16879 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16880 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16882 2014-05-25 Richard Henderson <rth@twiddle.net>
16884 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16885 (SINGLE_THREAD_P_PIC): Remove.
16886 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16887 (SINGLE_THREAD_P_PIC): Remove.
16889 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16890 branch to syscall error ...
16891 (PSEUDO): ... here.
16892 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16893 from __local_syscall_error to .Lsyscall_error.
16894 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16895 (SYSCALL_ERROR): Update label name.
16897 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16898 Do not use DOARGS/UNDOARGS.
16899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16900 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16901 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16902 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16903 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16905 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16908 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16909 define if !NOT_IN_libc.
16910 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16911 define with non-default symbol versions.
16913 2014-05-23 Richard Henderson <rth@twiddle.net>
16915 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16916 (vfork, __vfork): Define via compat_symbol.
16918 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16919 [!HAVE_IFUNC] (vfork_compat): Remove.
16920 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16922 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16925 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16926 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16929 2014-05-23 Richard Henderson <rth@twiddle.net>
16931 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16932 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16933 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16934 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16936 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16937 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16938 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16939 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16940 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16941 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16942 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16943 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16944 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16945 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16946 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16947 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16948 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16949 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16950 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16951 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16952 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16953 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16954 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16955 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16956 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16957 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16958 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16959 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16960 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16962 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16963 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16964 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16965 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16966 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16967 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16968 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16969 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16970 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16971 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16972 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16973 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16974 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16975 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16976 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16977 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16978 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16979 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16980 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16981 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16982 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16983 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16984 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16985 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16986 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16987 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16988 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16989 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16990 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16991 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16993 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16994 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16995 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16996 before exiting on error.
16997 (__libc_vfork): New strong alias.
16998 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16999 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17001 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17002 that was previously under [RESET_PID].
17003 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17005 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17007 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17010 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17011 value when x - 1 is zero.
17012 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17013 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17014 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17015 0.0L for an argument of 1.0L.
17016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17018 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17019 value when x - 1 is zero.
17020 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17021 * sysdeps/i386/fpu/libm-test-ulps: Update.
17022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17024 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17026 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17027 alphasort and versionsort.
17029 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17031 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17033 [copysignf]: Likewise.
17035 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17037 * crypt/md5-crypt.c: Fix formatting.
17039 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17041 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17042 (b64_from_24bit): New function.
17044 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17046 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17047 libc_hidden_builtin_def to ifunc.
17048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17049 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17051 2014-05-21 Roland McGrath <roland@hack.frob.com>
17053 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17054 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17056 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17058 * nscd/Depend (linuxthreads): Remove.
17060 * resolv/Depend (linuxthreads): Remove.
17061 * rt/Depend (linuxthreads): Remove.
17063 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17064 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17065 $(common-objpfx)elf/.
17066 (link-libc-before-gnulib): Likewise.
17067 (elfobjdir): Remove variable.
17068 * Makefile (install): Use $(elf-objpfx) instead of
17069 $(common-objpfx)elf/.
17070 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17072 (link-libc-deps): Likewise.
17073 ($(common-objpfx)libc.so): Likewise.
17074 ($(common-objpfx)linkobj/libc.so): Likewise.
17075 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17076 instead of $(common-objpfx)elf/.
17077 (symbolic-link-list): Likewise.
17078 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17079 [$(cross-compiling) = no]: Likewise.
17080 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17082 (static-gnulib-arch): Likewise.
17083 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17084 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17085 $(common-objpfx)elf/.
17087 2014-05-21 Richard Henderson <rth@redhat.com>
17089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17090 (SINGLE_THREAD_P): Use the correct width load. Fold
17091 into the ldr offset.
17093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17094 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17096 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17098 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17099 (libgcc_s_resume): Use __attribute_used__.
17100 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17103 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17105 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17106 optimization when used with float constants.
17108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17110 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17113 * locale/nl_langinfo_l.c: Make direct reference to every
17114 _nl_current_CATEGORY symbol.
17115 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17116 (tests-static): Add tst-langinfo-static.
17117 (tests-special): Add tst-langinfo-static.out.
17118 ($(objpfx)tst-langinfo.out): Redirect output.
17119 ($(objpfx)tst-langinfo-static.out): New.
17120 * localedata/tst-langinfo.sh: Send output to stdout.
17121 * localedata/tst-langinfo-static.c: New file.
17124 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17125 when the shift amount is modulo the limb size.
17127 2014-05-20 Richard Henderson <rth@redhat.com>
17130 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17131 Change type of sa_flags from unsigned int to int.
17134 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17136 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17138 2014-05-20 Will Newton <will.newton@linaro.org>
17140 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17141 Test the return value of the system call in the nocancel case.
17143 2014-05-20 Will Newton <will.newton@linaro.org>
17144 Yvan Roux <yvan.roux@linaro.org>
17146 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17147 #include of asm/ptrace.h.
17148 (PTRACE_GET_THREAD_AREA): Remove #undef.
17149 (PTRACE_GETHBPREGS): Likewise.
17150 (PTRACE_SETHBPREGS): Likewise.
17151 (struct user_regs_struct): New structure.
17152 (struct user_fpsimd_struct): New structure.
17153 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17154 #include of asm/ptrace.h and second #include of sys/user.h.
17155 (PTRACE_GET_THREAD_AREA): Remove #undef.
17156 (PTRACE_GETHBPREGS): Likewise.
17157 (PTRACE_SETHBPREGS): Likewise.
17158 (ELF_NGREG): Use new struct user_regs_struct.
17159 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17161 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17166 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17170 membar to avoid block loads/stores to overlap previous stores.
17172 2014-05-17 Richard Henderson <rth@redhat.com>
17174 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17175 Create the __##syscall_name##_nocancel entry point.
17176 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17177 Remove; let the sysdep-cancel.h code create it.
17179 2014-05-17 David S. Miller <davem@davemloft.net>
17181 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17182 Protect with __USE_GNU.
17183 (TIOCSET_TEMPT): Likewise.
17184 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17185 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17186 these are already provided in bits/ioctl-types.h
17188 2014-05-16 Roland McGrath <roland@hack.frob.com>
17190 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17191 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17193 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17194 Use wait4 regardless of [__NR_waitpid].
17196 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17199 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17200 (_FP_NANSIGN_Q): Set the quiet bit.
17202 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17204 * benchtests/Makefile
17205 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17206 not $(common-objpfx)math/libm.so.
17207 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17208 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17209 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17210 $(common-objpfx)dlfcn/libdl.so.
17211 ($(objpfx)tst-audit8): Depend on $(libm), not
17212 $(common-objpfx)math/libm.so.
17213 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17214 not $(common-objpfx)dlfcn/libdl.so.
17216 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17217 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17218 [$(build-shared) = yes].
17219 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17220 $(common-objpfx)nptl/libpthread.so.
17221 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17222 $(common-objpfx)math/libm.so$(libm.so-version) or
17223 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17224 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17225 $(common-objpfx)dlfcn/libdl.so.
17226 * setjmp/Makefile (link-libm): Remove variable.
17227 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17228 * stdio-common/Makefile (link-libm): Remove variable.
17229 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17230 * stdlib/Makefile (link-libm): Remove variable.
17231 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17232 ($(objpfx)tst-strtod-round): Likewise.
17233 ($(objpfx)tst-tininess): Likewise.
17234 ($(objpfx)tst-strtod-underflow): Likewise.
17235 ($(objpfx)tst-strtod6): Likewise.
17236 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17237 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17238 $(common-objpfx)dlfcn/libdl.so.
17240 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17242 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17243 BSD terminal modes definitions.
17245 2014-05-16 Roland McGrath <roland@hack.frob.com>
17247 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17248 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17250 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17251 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17252 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17253 Don't do #include_next.
17254 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17255 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17256 Don't do #include_next.
17257 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17258 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17259 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17260 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17262 2014-05-16 Allan McRae <allan@archlinux.org>
17264 * po/sv.po: Update Swedish translation from translation project.
17266 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17269 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17272 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17273 errno if the TIOCGPTN ioctl fails with an error different than
17275 * login/tst-ptsname.c: New file.
17276 * login/Makefile (tests): Add tst-ptsname.
17279 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17282 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17286 herrno to return EAI_AGAIN.
17288 2014-05-14 Roland McGrath <roland@hack.frob.com>
17290 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17291 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17292 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17293 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17294 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17295 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17296 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17297 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17299 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17300 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17301 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17302 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17303 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17304 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17305 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17306 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17307 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17308 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17309 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17310 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17311 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17312 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17313 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17314 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17315 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17316 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17317 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17318 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17319 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17321 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17323 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17326 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17328 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17330 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17332 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17334 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17336 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17338 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17340 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17342 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17344 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17346 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17348 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17350 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17352 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17355 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17357 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17359 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17361 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17363 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17365 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17367 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17369 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17371 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17373 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17376 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17378 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17380 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17381 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17382 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17383 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17384 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17385 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17386 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17387 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17388 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17389 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17390 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17391 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17392 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17393 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17394 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17395 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17396 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17397 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17398 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17399 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17400 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17401 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17402 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17403 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17404 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17405 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17406 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17407 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17408 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17409 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17410 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17412 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17413 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17415 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17416 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17417 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17418 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17419 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17420 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17423 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17425 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17426 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17428 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17432 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17433 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17434 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17436 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17437 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17438 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17439 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17440 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17441 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17442 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17445 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17446 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17448 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17450 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17451 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17452 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17453 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17454 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17456 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17460 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17461 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17462 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17463 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17464 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17465 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17467 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17468 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17470 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17471 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17473 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17477 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17478 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17479 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17481 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17482 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17483 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17484 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17485 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17486 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17487 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17490 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17493 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17495 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17496 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17497 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17498 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17501 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17505 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17506 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17507 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17508 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17509 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17510 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17511 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17512 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17513 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17516 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17519 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17522 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17526 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17527 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17528 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17529 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17530 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17532 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17533 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17534 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17535 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17536 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17537 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17538 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17541 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17542 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17546 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17547 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17548 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17549 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17550 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17552 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17556 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17558 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17560 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17562 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17563 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17564 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17565 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17566 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17568 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17569 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17571 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17572 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17574 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17575 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17576 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17577 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17578 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17579 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17580 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17581 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17582 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17583 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17584 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17585 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17586 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17587 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17588 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17589 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17590 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17591 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17593 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17594 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17595 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17598 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17600 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17601 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17602 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17604 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17607 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17610 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17612 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17613 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17614 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17615 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17616 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17617 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17618 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17619 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17620 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17621 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17622 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17623 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17624 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17625 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17626 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17628 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17629 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17630 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17631 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17632 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17634 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17635 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17636 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17637 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17638 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17639 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17640 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17641 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17642 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17643 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17648 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17649 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17650 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17651 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17652 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17653 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17654 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17655 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17656 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17657 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17658 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17659 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17660 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17661 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17668 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17687 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17688 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17689 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17690 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17691 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17693 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17694 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17695 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17696 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17698 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17699 that was previously under [RESET_PID].
17700 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17701 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17702 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17704 * sysdeps/i386/nptl/Implies: New file.
17705 * sysdeps/x86_64/nptl/Implies: New file.
17706 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17707 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17708 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17709 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17711 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17712 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17713 (__libc_vfork): New strong alias.
17714 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17715 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17717 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17718 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17719 (__libc_vfork): New strong alias.
17720 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17721 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17723 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17724 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17725 (__libc_vfork): New strong alias.
17726 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17727 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17728 * nptl/pt-vfork.c: New file.
17729 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17730 (libpthread: GLIBC_2.20): New version set (empty).
17732 2014-05-14 Will Newton <will.newton@linaro.org>
17734 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17737 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17740 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17741 arguments with exponent 65 or above.
17742 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17743 arguments 0x1p113L or above.
17744 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17745 to arguments 0x1p107L or above.
17746 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17747 positive arguments with exponent 65 or above.
17748 * math/auto-libm-test-in: Add more tests of log1p.
17749 * math/auto-libm-test-out: Regenerated.
17752 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17753 non-finite arguments is +0.
17754 * math/s_cacosf.c (__cacosf): Likewise.
17755 * math/s_cacosl.c (__cacosl): Likewise.
17756 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17757 * sysdeps/i386/fpu/libm-test-ulps: Update.
17758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17761 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17763 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17764 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17765 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17766 for explicit high bit of mantissa when testing for argument equal
17768 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17769 * sysdeps/i386/fpu/libm-test-ulps: Update.
17770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17773 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17774 (__erf): Scale by 16 instead of 8 in potentially underflowing
17775 case. Ensure exception if result actually underflows.
17776 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17777 (__erff): Scale by 16 instead of 8 in potentially underflowing
17778 case. Ensure exception if result actually underflows.
17779 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17780 (efx8): Remove variable.
17781 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17782 case. Ensure exception if result actually underflows.
17783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17784 (efx8): Remove variable.
17785 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17786 case. Ensure exception if result actually underflows.
17787 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17788 (efx8): Remove variable.
17789 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17790 case. Ensure exception if result actually underflows.
17791 * math/auto-libm-test-in: Add more tests of erf.
17792 * math/auto-libm-test-out: Regenerated.
17794 2014-05-14 Andreas Schwab <schwab@suse.de>
17796 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17797 Remove code conditionalized on USE___THREAD.
17799 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17800 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17803 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17806 Define unconditionally.
17807 (__ASSUME_O_CLOEXEC): Likewise.
17808 (__ASSUME_SOCK_CLOEXEC): Likewise.
17809 (__ASSUME_IN_NONBLOCK): Likewise.
17810 (__ASSUME_PIPE2): Likewise.
17811 (__ASSUME_EVENTFD2): Likewise.
17812 (__ASSUME_SIGNALFD4): Likewise.
17813 (__ASSUME_DUP3): Likewise.
17814 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17815 (__ASSUME_DUP3): Do not define.
17816 (__ASSUME_EVENTFD2): Likewise.
17817 (__ASSUME_IN_NONBLOCK): Likewise.
17818 (__ASSUME_O_CLOEXEC): Likewise.
17819 (__ASSUME_PIPE2): Likewise.
17820 (__ASSUME_SIGNALFD4): Likewise.
17821 (__ASSUME_SOCK_CLOEXEC): Likewise.
17822 (__ASSUME_UTIMES): Undefine.
17823 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17824 (__ASSUME_UTIMES): Do not define.
17825 (__ASSUME_O_CLOEXEC): Likewise.
17826 (__ASSUME_SOCK_CLOEXEC): Likewise.
17827 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17828 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17830 (__ASSUME_PIPE2): Likewise.
17831 (__ASSUME_EVENTFD2): Likewise.
17832 (__ASSUME_SIGNALFD4): Likewise.
17833 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17834 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17836 (__ASSUME_EVENTFD2): Likewise.
17837 (__ASSUME_SIGNALFD4): Likewise.
17838 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17839 (__ASSUME_32BITUIDS): Likewise.
17840 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17841 (__ASSUME_IPC64): Likewise.
17842 (__ASSUME_ST_INO_64_BIT): Likewise.
17843 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17844 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17846 (__ASSUME_UTIMES): Do not define.
17847 (__ASSUME_PSELECT): Likewise.
17848 (__ASSUME_PPOLL): Likewise.
17849 (__ASSUME_O_CLOEXEC): Likewise.
17850 (__ASSUME_SOCK_CLOEXEC): Likewise.
17851 (__ASSUME_IN_NONBLOCK): Likewise.
17852 (__ASSUME_PIPE2): Likewise.
17853 (__ASSUME_EVENTFD2): Likewise.
17854 (__ASSUME_SIGNALFD4): Likewise.
17855 (__ASSUME_DUP3): Likewise.
17856 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17857 (__ASSUME_UTIMES): Likewise.
17858 (__ASSUME_O_CLOEXEC): Likewise.
17859 (__ASSUME_SOCK_CLOEXEC): Likewise.
17860 (__ASSUME_IN_NONBLOCK): Likewise.
17861 (__ASSUME_PIPE2): Likewise.
17862 (__ASSUME_EVENTFD2): Likewise.
17863 (__ASSUME_SIGNALFD4): Likewise.
17864 (__ASSUME_DUP3): Likewise.
17865 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17866 (__ASSUME_UTIMES): Likewise.
17867 (__ASSUME_O_CLOEXEC): Likewise.
17868 (__ASSUME_SOCK_CLOEXEC): Likewise.
17869 (__ASSUME_IN_NONBLOCK): Likewise.
17870 (__ASSUME_PIPE2): Likewise.
17871 (__ASSUME_EVENTFD2): Likewise.
17872 (__ASSUME_SIGNALFD4): Likewise.
17873 (__ASSUME_DUP3): Likewise.
17874 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17876 (__ASSUME_UTIMES): Likewise.
17877 (__ASSUME_EVENTFD2): Likewise.
17878 (__ASSUME_SIGNALFD4): Likewise.
17879 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17880 (__ASSUME_O_CLOEXEC): Likewise.
17881 (__ASSUME_SOCK_CLOEXEC): Likewise.
17882 (__ASSUME_IN_NONBLOCK): Likewise.
17883 (__ASSUME_PIPE2): Likewise.
17884 (__ASSUME_EVENTFD2): Likewise.
17885 (__ASSUME_SIGNALFD4): Likewise.
17886 (__ASSUME_DUP3): Likewise.
17887 (__ASSUME_UTIMES): Undefine.
17889 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17890 feclearexcept. Remove symbol versioning code.
17891 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17892 symbol versioning code.
17893 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17894 symbol versioning code.
17895 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17896 feupdateenv. Remove symbol versioning code.
17897 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17898 fegetexceptflag. Remove symbol versioning code.
17899 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17900 fesetexceptflag. Remove symbol versioning code.
17901 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17902 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17903 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17904 (__posix_fadvise64_l32): Remove prototype.
17905 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17908 2014-05-13 Roland McGrath <roland@hack.frob.com>
17910 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17911 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17912 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17913 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17915 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17917 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17918 current working directory
17920 2014-05-13 Roland McGrath <roland@hack.frob.com>
17922 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17923 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17924 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17925 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17926 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17927 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17928 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17929 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17930 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17931 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17932 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17933 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17934 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17935 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17936 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17937 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17938 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17939 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17940 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17941 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17942 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17943 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17944 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17945 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17946 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17947 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17948 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17949 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17950 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17951 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17952 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17953 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17954 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17955 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17956 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17957 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17958 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17959 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17960 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17961 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17962 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17963 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17965 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17966 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17968 * sysdeps/unix/sysv/linux/arm/Makefile
17969 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17970 Add rt-aeabi_unwind_cpp_pr1.
17971 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17972 Add nptl-aeabi_unwind_cpp_pr1.
17973 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17974 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17975 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17976 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17977 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17978 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17980 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17981 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17982 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17983 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17985 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17986 Deconditionalize the code that was previously under [RESET_PID].
17987 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17989 * sysdeps/generic/exit-thread.h: New file.
17990 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17991 * include/unistd.h (__exit_thread): Remove declaration.
17992 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17993 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17994 * csu/libc-start.c: Include <exit-thread.h>.
17995 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17996 * nptl/pthread_create.c: Include <exit-thread.h>.
17997 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17998 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17999 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18000 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18001 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18002 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18003 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18004 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18005 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18006 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18007 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18008 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18009 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18010 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18011 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18012 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18013 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18015 2014-05-13 Andreas Schwab <schwab@suse.de>
18017 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18019 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18021 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18022 (__ASSUME_UTIMES): Do not condition on kernel version.
18023 (__ASSUME_PSELECT): Define unconditionally.
18024 (__ASSUME_PPOLL): Likewise.
18025 (__ASSUME_ATFCTS): Likewise.
18026 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18027 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18028 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18029 (__ASSUME_UTIMENSAT): Define unconditionally.
18030 (__ASSUME_PRIVATE_FUTEX): Likewise.
18031 (__ASSUME_FALLOCATE): Likewise.
18032 (__ASSUME_O_CLOEXEC): Likewise.
18033 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18034 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18035 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18036 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18037 (__ASSUME_IN_NONBLOCK): Likewise.
18038 (__ASSUME_PIPE2): Likewise.
18039 (__ASSUME_EVENTFD2): Likewise.
18040 (__ASSUME_SIGNALFD4): Likewise.
18041 (__ASSUME_DUP3): Likewise.
18042 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18043 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18044 (__ASSUME_AT_RANDOM): Likewise.
18045 (__ASSUME_PREADV): Likewise.
18046 (__ASSUME_PWRITEV): Likewise.
18047 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18048 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18049 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18050 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18051 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18052 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18053 (__ASSUME_O_CLOEXEC): Define unconditionally.
18054 (__ASSUME_PSELECT): Do not undefine conditionally.
18055 (__ASSUME_PPOLL): Likewise.
18056 (__ASSUME_ATFCTS): Likewise.
18057 (__ASSUME_SET_ROBUST_LIST): Likewise.
18058 (__ASSUME_UTIMENSAT): Likewise.
18059 (__ASSUME_FDATASYNC): Define unconditionally.
18060 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18061 (__ASSUME_SIGFRAME_V2): Likewise.
18062 )__ASSUME_EVENTFD2): Likewise.
18063 (__ASSUME_SIGNALFD4): Likewise.
18064 (__ASSUME_PSELECT): Do not undefine conditionally.
18065 (__ASSUME_PPOLL): Likewise.
18066 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18067 (__ASSUME_PSELECT): Define unconditionally.
18068 (__ASSUME_PPOLL): Likewise.
18069 (__ASSUME_O_CLOEXEC): Likewise.
18070 (__ASSUME_SOCK_CLOEXEC): Likewise.
18071 (__ASSUME_IN_NONBLOCK): Likewise.
18072 (__ASSUME_PIPE2): Likewise.
18073 (__ASSUME_EVENTFD2): Likewise.
18074 (__ASSUME_SIGNALFD4): Likewise.
18075 (__ASSUME_DUP3): Likewise.
18076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18077 (__ASSUME_O_CLOEXEC): Likewise.
18078 (__ASSUME_SOCK_CLOEXEC): Likewise.
18079 (__ASSUME_IN_NONBLOCK): Likewise.
18080 (__ASSUME_PIPE2): Likewise.
18081 (__ASSUME_EVENTFD2): Likewise.
18082 (__ASSUME_SIGNALFD4): Likewise.
18083 (__ASSUME_DUP3): Likewise.
18084 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18085 (__ASSUME_EVENTFD2): Likewise.
18086 (__ASSUME_SIGNALFD4): Likewise.
18087 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18089 2014-05-12 Andreas Schwab <schwab@suse.de>
18092 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18093 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18094 than maximum RPC packet size.
18095 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18096 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18097 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18098 (_nss_nis_getservbyport_r): Likewise.
18100 2014-05-12 Will Newton <will.newton@linaro.org>
18102 * malloc/Makefile (tests): Add tst-mallopt.
18103 * malloc/tst-mallopt.c: New file.
18105 2014-05-09 Roland McGrath <roland@hack.frob.com>
18107 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18108 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18110 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18112 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18113 (tst-tlsmod6.so): Likewise.
18115 2014-05-09 Roland McGrath <roland@hack.frob.com>
18117 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18119 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18122 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18123 and <dl-procinfo.h>.
18124 (__fegetenv): Save SSE state in envp->__eip if supported.
18125 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18126 envp->__eip if supported.
18127 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18128 and <dl-procinfo.h>.
18129 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18130 __data_offset and __data_selector in environment to 0. Set SSE
18131 state if supported.
18132 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18134 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18136 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18138 2014-05-09 Will Newton <will.newton@linaro.org>
18140 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18141 and libc_relro_required for ARM.
18142 * sysdeps/arm/preconfigure: Regenerate.
18144 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18145 Stefan Liebler <stli@linux.vnet.ibm.com>
18147 * config.make.in (enable-lock-elision): New Makefile variable.
18148 * configure.ac: Likewise.
18149 * configure: Regenerate.
18150 * sysdeps/s390/configure.ac:
18151 Add check for gcc transactions support.
18152 * sysdeps/s390/configure: Regenerate.
18153 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18154 Build elision files if enabled.
18155 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18156 Add lock elision support for s390.
18157 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18158 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18159 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18160 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18161 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18162 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18163 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18165 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18167 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18169 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18171 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18172 (__lll_timedlock_elision, __lll_lock_elision)
18173 (__lll_unlock_elision, __lll_trylock_elision)
18174 (lll_timedlock_elision, lll_lock_elision)
18175 (lll_unlock_elision, lll_trylock_elision): Add.
18176 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18177 (pthread_mutex_t): Add lock elision support for s390.
18179 2014-05-14 Wilco <wdijkstr@arm.com>
18181 * sysdeps/arm/fclrexcpt.c: Cleanup.
18182 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18183 * sysdeps/arm/feenablxcpt.c: Cleanup.
18184 * sysdeps/arm/fegetenv.c: Cleanup.
18185 * sysdeps/arm/fegetexcept.c: Cleanup.
18186 * sysdeps/arm/fegetround.c: Cleanup.
18187 * sysdeps/arm/feholdexcpt.c: Cleanup.
18188 * sysdeps/arm/fesetenv.c: Cleanup.
18189 * sysdeps/arm/fesetround.c: Cleanup.
18190 * sysdeps/arm/feupdateenv.c: Cleanup.
18191 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18192 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18193 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18194 * sysdeps/arm/ftestexcept.c: Cleanup.
18195 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18196 * sysdeps/arm/setfpucw.c: Cleanup.
18198 2014-05-09 Will Newton <will.newton@linaro.org>
18200 * sysdeps/arm/armv7/strcmp.S: New file.
18201 * NEWS: Mention addition of ARMv7 optimized strcmp.
18203 2014-05-08 Roland McGrath <roland@hack.frob.com>
18205 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18206 look for %.ac rather than %.in.
18208 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18209 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18210 * sysdeps/mach/hurd/configure: Regenerated.
18211 * sysdeps/unix/sysv/linux/configure: Regenerated.
18213 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18215 2014-05-07 Steve Ellcey <sellcey@mips.com>
18218 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18222 2014-05-07 Andreas Schwab <schwab@suse.de>
18224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18225 when skipping over non-matching result from nscd.
18227 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18230 * nptl/sockperf.c (client): Check socket return value.
18233 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18234 nscd security class.
18236 2014-05-06 Roland McGrath <roland@hack.frob.com>
18238 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18239 * sysdeps/arm/unwind.h: ... here.
18241 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18244 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18247 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18249 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18250 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18251 multiarch strncpy for PPC64.
18252 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18253 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18255 multiarch optimizations.
18256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18257 (__libc_ifunc_impl_list): Likewise.
18258 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18259 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18260 multiarch stpncpy for PPC64.
18261 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18262 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18264 2014-05-06 Andreas Schwab <schwab@suse.de>
18267 * gmon/mcount.c (_MCOUNT_DECL): Use
18268 atomic_compare_and_exchange_bool_acq instead of
18269 catomic_compare_and_exchange_bool_acq.
18271 2014-05-05 Roland McGrath <roland@hack.frob.com>
18273 * elf/Makefile (others, install-bin): Remove pldd.
18274 (pldd-modules): Variable removed.
18275 ($(objpfx)pldd): Target removed.
18276 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18277 (others, install-bin): Append pldd here.
18278 ($(objpfx)pldd): New target.
18280 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18281 to 0, so the first #if test emitted later doesn't see it undefined.
18282 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18283 * sysdeps/gnu/errlist.c: Regenerated.
18285 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18287 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18288 [libc_hidden_builtin_def]: Define to empty value.
18289 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18290 [libc_hidden_builtin_def]: Likewise.
18291 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18292 [libc_hidden_builtin_def]: Likewise.
18293 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18294 [libc_hidden_builtin_def]: Likewise.
18295 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18296 __redirect_memcpy and define ifunc as default hidden symbol.
18297 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18298 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18300 2014-05-04 Adam Conrad <adconrad@0c3.net>
18302 * locale/iso-4217.def: Reintroduce XDR currency.
18304 2014-05-04 Allan McRae <allan@archlinux.org>
18306 * po/eo.po: Update Esperanto translation from translation project.
18308 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18310 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18311 and FEATURE_INDEX_MAX to 1.
18312 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18314 2014-05-01 Steve Ellcey <sellcey@mips.com>
18316 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18317 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18318 * iconvdata/big5.c (ONE_DIRECTION): Define.
18319 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18320 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18321 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18322 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18323 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18324 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18325 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18326 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18327 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18328 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18329 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18330 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18331 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18332 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18333 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18334 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18335 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18336 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18337 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18338 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18339 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18340 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18341 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18342 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18343 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18344 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18345 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18346 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18347 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18348 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18349 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18350 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18351 * iconvdata/johab.c (ONE_DIRECTION): Define.
18352 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18353 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18354 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18355 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18356 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18357 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18358 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18359 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18360 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18361 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18363 2014-05-01 Roland McGrath <roland@hack.frob.com>
18365 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18366 (_IO_JUMPS_OFFSET): Define to 0.
18368 * nptl/sysdeps/pthread/bits/libc-lock.h
18369 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18370 (__libc_lock_define_initialized_recursive): Always define using
18371 initializer. Modern compilers treat uninitialized (implicit zero) and
18372 explicit zero initializers the same (i.e. put the datum in bss).
18374 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18376 * nscd/nscd-client.h: Include <string.h>.
18378 2014-05-01 David S. Miller <davem@davemloft.net>
18381 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18382 multiple zero bytes exist at the end of a string.
18383 Reported by Aurelien Jarno <aurelien@aurel32.net>
18385 * string/test-strcmp.c (check): Add explicit test for situations where
18386 there are multiple zero bytes after the first.
18388 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18391 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18392 when compiling wprintf.
18393 * stdio-common/tstdiomisc.c (t3): New function.
18396 2014-05-01 Steve Ellcey <sellcey@mips.com>
18398 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18399 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18400 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18401 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18403 2014-05-01 Steve Ellcey <sellcey@mips.com>
18405 * stdlib/longlong.h: Updated from GCC.
18407 2014-05-01 Will Newton <will.newton@linaro.org>
18408 Bernard Ogden <bernie.ogden@linaro.org>
18410 * NEWS: Update fixed bug list.
18413 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18415 2014-04-30 David S. Miller <davem@davemloft.net>
18417 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18418 (libc_feholdexcept_setround_sparc_ctx): New function.
18419 (libc_fesetenv_sparc_ctx): Likewise.
18420 (libc_feupdateenv_sparc_ctx): Likewise.
18421 (libc_feholdsetround_sparc_ctx): Likewise.
18422 (libc_feholdexcept_setround_ctx): Define.
18423 (libc_feholdexcept_setroundf_ctx): Likewise.
18424 (libc_feholdexcept_setroundl_ctx): Likewise.
18425 (libc_fesetenv_ctx): Likewise.
18426 (libc_fesetenvf_ctx): Likewise.
18427 (libc_fesetenvl_ctx): Likewise.
18428 (libc_feupdateenv_ctx): Likewise.
18429 (libc_feupdateenvf_ctx): Likewise.
18430 (libc_feupdateenvl_ctx): Likewise.
18431 (libc_feresetround_ctx): Likewise.
18432 (libc_feresetroundf_ctx): Likewise.
18433 (libc_feresetroundl_ctx): Likewise.
18434 (libc_feholdsetround_ctx): Likewise.
18435 (libc_feholdsetroundf_ctx): Likewise.
18436 (libc_feholdsetroundl_ctx): Likewise.
18438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18439 with __USE_GNU instead of XOPEN cpp guards.
18441 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18445 with XOPEN cpp guards.
18447 2014-04-30 Julian Brown <julian@codesourcery.com>
18450 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18453 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18456 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18458 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18459 * sysdeps/unix/sysv/linux/configure: Regenerated.
18460 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18461 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18462 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18463 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18464 * README: Update reference to required Linux kernel version.
18465 * manual/install.texi (Linux): Update reference to required Linux
18466 kernel headers version.
18467 * INSTALL: Regenerated.
18469 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18471 [POSIX] (limits.h): Likewise.
18472 [POSIX] (math.h): Likewise.
18473 [POSIX] (sys/wait.h): Likewise.
18474 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18476 [POSIX] (stddef.h): Do not allow header inclusion.
18478 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18480 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18482 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18484 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18485 Return immediately after lll_futex_wake.
18487 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18490 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18492 (datahead_init_pos): Call datahead_init_common early.
18493 (datahead_init_neg): Likewise.
18495 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18496 datahead_init_neg): New functions.
18497 * nscd/aicache.c (addhstaiX): Use them.
18498 * nscd/grpcache.c (cache_addgr): Likewise.
18499 * nscd/hstcache.c (cache_addhst): Likewise.
18500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18501 * nscd/netgroupcache.c (do_notfound): Likewise.
18502 (addgetnetgrentX): Likewise.
18503 (addinnetgrX): Likewise.
18504 * nscd/pwdcache.c (cache_addpw): Likewise.
18505 * nscd/servicescache.c (cache_addserv): Likewise.
18507 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18508 Atsushi Onoe <atsushi@onoe.org>
18513 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18514 one response is valid.
18515 * resolv/res_send.c (send_dg): Check for validity of other
18516 response if the current response is a referral.
18518 2014-04-29 Steve Ellcey <sellcey@mips.com>
18520 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18522 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18525 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18526 Always divide by positive zero when computing -Inf result.
18527 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18528 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18530 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18532 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18533 FPSCR if value do not change.
18534 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18535 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18536 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18537 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18538 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18539 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18542 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18544 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18545 * sysdeps/unix/sysv/linux/hppa: Move directory from
18546 ports/systeps/unix/sysv/linux/hppa.
18547 * README: Update listing for hppa-*-linux-gnu.
18549 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18552 * manual/stdio.texi (Hook functions): Fix types of stream hook
18555 * socket/sys/socket.h: Fix typo in comment.
18557 2014-04-28 Wilco <wdijkstr@arm.com>
18559 * sysdeps/arm/fenv_private.h: New file.
18560 * sysdeps/arm/math_private.h: New file.
18561 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18563 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18565 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18567 (La_x86_64_retval): Likewise.
18569 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18571 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18572 fpsr if value didn't change.
18573 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18574 to fpcr if value didn't change.
18575 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18576 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18577 fpsr or fpcr if value didn't change.
18578 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18579 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18580 fpcr if value didn't change.
18581 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18582 to fpsr if value didn't change.
18584 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18586 * nptl/tst-sem3.c: Use test-skeleton.c
18587 (main): Rename to do_test. Use return instead of
18589 * nptl/tst-sem4.c: Use test-skeleton.c
18590 (main): Rename to do_test.
18592 2014-04-22 David S. Miller <davem@davemloft.net>
18594 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18595 (struct sigaction): New struct member __glibc_reserved0, change
18596 type of sa_flags to int.
18598 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18600 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18601 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18603 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18605 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18606 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18608 2014-04-22 Will Newton <will.newton@linaro.org>
18609 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18611 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18612 (__longjmp): Add longjmp and longjmp_target SystemTap
18614 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18615 (__sigsetjmp): Add setjmp SystemTap probe.
18617 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18619 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18620 match manual order.
18622 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18624 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18626 * sysdeps/powerpc/fpu/fenv_private.h
18627 (libc_feholdexcept_setroundl_ctx): Define to
18628 libc_feholdexcept_setround_ppc_ctx.
18629 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18630 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18631 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18632 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18634 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18636 * sysdeps/aarch64/math-tests.h: New file.
18638 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18640 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18643 Check and set bit_AVX2_Usable.
18644 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18646 (bit_AVX2): Likewise.
18647 (index_AVX2_Usable): Likewise.
18648 (CPUID_AVX2): Likewise.
18649 (HAS_AVX2): Likewise.
18651 2014-04-17 Will Newton <will.newton@linaro.org>
18653 * manual/setjmp.texi (System V contexts): Add note that
18654 calling setcontext on a context created by a call to a
18655 signal handler is undefined. Update text to note that
18656 setcontext from a signal handler is possible but not
18660 * stdlib/tst-setcontext.c: Include signal.h.
18661 (main): Check that the signal stack before and
18662 after swapcontext is the same.
18664 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18665 Re-implement to restore registers in user code and avoid
18666 rt_sigreturn system call.
18668 2014-04-17 Wilco <wdijkstr@arm.com>
18670 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18671 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18672 * math/test-fenv.c: Skip exception trap tests on targets which only
18673 support non-stop mode.
18675 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18676 Wilco Dijkstra <wilco.dijkstra@arm.com>
18678 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18679 (libc_feholdsetround_aarch64_ctx)
18680 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18681 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18682 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18683 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18684 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18685 (libc_feresetround_noexl_ctx): Define.
18687 2014-04-16 Richard Henderson <rth@redhat.com>
18689 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18691 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18694 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18695 const from the non-libc, non-ldso copy.
18697 * sysdeps/alpha/libm-test-ulps: Regenerate.
18699 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18700 Wilco Dijkstra <wilco.dijkstra@arm.com>
18702 * sysdeps/aarch64/fpu/math_private.h: New file.
18704 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18706 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18708 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18711 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18712 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18714 Intel MPX bound registers before _dl_profile_fixup.
18715 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18716 registers after _dl_profile_fixup. Save and restore bound
18717 registers bnd0/bnd1 when calling _dl_call_pltexit.
18718 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18719 (LR_BND_OFFSET): Likewise.
18720 (LRV_BND0_OFFSET): Likewise.
18721 (LRV_BND1_OFFSET): Likewise.
18723 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18725 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18727 * sysdeps/mach/hurd/i386/tls.h: ... here.
18728 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18729 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18732 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18734 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18736 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18738 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18740 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18743 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18744 * sysdeps/s390/configure: Regenerate.
18747 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18748 Set round-to-nearest internally to reduce error accumulation.
18750 2014-04-16 Alan Modra <amodra@gmail.com>
18754 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18755 * math/libm-test.inc (frexp_test_data): Add tests.
18756 * NEWS: Update fixed bug list.
18758 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18760 * benchtests/Makefile: Depend on libraries in build directory.
18761 (bench-math): Separate out math tests.
18762 (bench-pthread): Separate out pthread tests.
18763 (bench): Include math and pthread tests.
18765 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18768 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18769 _dl_debug_initialize.
18771 * configure.ac: Remove SELinux header check.
18772 * configure: Regenerate.
18773 * nscd/selinux.c (perms): Array of const char* to permission names.
18774 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18775 default policy. Call string_to_security_class and string_to_av_perm to
18776 translate strings. Enforce default policy and call avs_has_perm with
18777 results of translated strings.
18779 2014-04-13 David S. Miller <davem@davemloft.net>
18781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18783 2014-04-12 Allan McRae <allan@archlinux.org>
18786 * manual/string.texi (Collation Functions): Fix qsort argument
18788 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18790 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18792 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18793 Make the test a no-op if there are no exceptions defined.
18795 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18797 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18798 enable-hardcoded-path-in-tests
18800 2014-04-11 Will Newton <will.newton@linaro.org>
18802 * benchtests/Makefile (extra-objs): Add json-lib.o.
18803 (bench-func): Tidy up JSON output.
18804 * benchtests/bench-skeleton.c: Include json-lib.h.
18805 (main): Use JSON library functions to do output of
18807 * benchtests/bench-timing-type.c (main): Output the
18808 timing type simply, leaving formatting to the user.
18809 * benchtests/json-lib.c: New file.
18810 * benchtests/json-lib.h: Likewise.
18812 2014-04-11 Torvald Riegel <triegel@redhat.com>
18815 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18816 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18817 memory barriers. Add comments.
18818 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18819 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18820 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18821 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18822 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18823 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18825 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18827 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18828 * sysdeps/s390/s390-64/configure.ac: ... this ...
18829 * sysdeps/s390/configure.ac: ... to here.
18830 * sysdeps/s390/s390-32/configure: Delete file.
18831 * sysdeps/s390/s390-64/configure: Delete file.
18832 * sysdeps/s390/configure: Regenerate.
18834 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18836 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18838 2014-04-11 Will Newton <will.newton@linaro.org>
18840 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18841 to zero if it is not defined elsewhere. (mtrim): Test
18842 the value of MALLOC_DEBUG with #if rather than #ifdef.
18844 2014-04-10 Torvald Riegel <triegel@redhat.com>
18846 * benchtests/pthread_once-inputs: New file.
18847 * benchtests/pthread_once-source.c: New file.
18848 * benchtests/README: Update documentation.
18850 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18851 H.J. Lu <hongjiu.lu@intel.com>
18854 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18855 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18856 * sysdeps/x86_64/configure: Regenerated.
18857 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18859 (REGISTER_SAVE_RAX): Likewise.
18860 (REGISTER_SAVE_RCX): Likewise.
18861 (REGISTER_SAVE_RDX): Likewise.
18862 (REGISTER_SAVE_RSI): Likewise.
18863 (REGISTER_SAVE_RDI): Likewise.
18864 (REGISTER_SAVE_R8): Likewise.
18865 (REGISTER_SAVE_R9): Likewise.
18866 (REGISTER_SAVE_BND0): Likewise.
18867 (REGISTER_SAVE_BND1): Likewise.
18868 (REGISTER_SAVE_BND2): Likewise.
18869 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18870 bound registers when calling _dl_fixup.
18872 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18874 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18875 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18877 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18878 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18879 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18880 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18881 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18882 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18883 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18885 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18888 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18889 pathconf(_PC_NAME_MAX).
18891 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18893 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18894 Remove macro usage.
18895 (__PTHREAD_SPINS): Move definition to ...
18896 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18897 (__PTHREAD_SPINS): ... here.
18898 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18899 (__PTHREAD_SPIN): Likewise.
18900 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18901 (__PTHREAD_SPIN): Likewise.
18902 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18903 (__PTHREAD_SPIN): Likewise.
18904 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18905 (__PTHREAD_SPIN): Likewise.
18906 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18907 (__PTHREAD_SPIN): Likewise.
18908 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18909 (__PTHREAD_SPIN): Likewise.
18910 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18911 (__PTHREAD_SPIN): Likewise.
18912 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18913 (__PTHREAD_SPIN): Likewise.
18914 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18915 (__PTHREAD_SPIN): Likewise.
18916 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18917 (__PTHREAD_SPIN): Likewise.
18918 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18919 (__PTHREAD_SPIN): Likewise.
18920 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18921 (__PTHREAD_SPIN): Likewise.
18923 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18924 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18925 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18926 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18928 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18929 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18930 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18931 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18932 correct imply path.
18933 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18934 strlen symbol for non multi-arch builds.
18935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18936 missing hidden_def and weak_alias.
18938 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18940 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18942 2014-04-07 Will Newton <will.newton@linaro.org>
18944 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18945 and contents. [!_LIBC] Remove #ifndef and contents.
18946 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18947 * string/memccpy.c (__memccpy): Use ANSI prototype.
18948 * string/memfrob.c (memfrob): Likewise.
18949 * string/strcoll.c (STRCOLL): Likewise.
18950 * string/strlen.c (strlen): Likewise.
18951 * string/strtok.c (STRTOK): Likewise.
18952 * string/strcat.c: Remove unused #include of memcopy.h.
18953 (strcat): Use ANSI prototype.
18954 * string/strchr.c: Remove unused #include of memcopy.h.
18955 (strchr): Use ANSI prototype.
18956 * string/strcmp.c: Remove unused #include of memcopy.h.
18957 (strcmp): Use ANSI prototype.
18958 * string/strcpy.c: Remove unused #include of memcopy.h.
18959 (strcpy): Use ANSI prototype.
18961 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18963 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18964 * config.make.in (config-extra-cppflags): Set it from
18965 libc_extra_cppflags.
18966 * configure.ac (libc_extra_cflags): Make it accumulate over
18967 configure fragments.
18968 (libc_extra_cppflags): New flag.
18969 * configure. Regenerate.
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18971 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18972 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18977 result for FE_DOWNWARD rounding mode.
18978 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18982 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18984 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18985 in function argument name.
18987 2014-04-03 David Svoboda <svoboda@cert.org>
18990 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18993 2014-04-03 Roland McGrath <roland@hack.frob.com>
18995 * elf/dl-unmap-segments.h: New file.
18996 * sysdeps/generic/ldsodefs.h
18997 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18998 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18999 * elf/dl-fptr.c: Likewise.
19000 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19001 * sysdeps/aarch64/tlsdesc.c: Likewise.
19002 * sysdeps/arm/tlsdesc.c: Likewise.
19003 * sysdeps/i386/tlsdesc.c: Likewise.
19004 * sysdeps/tile/dl-runtime.c: Likewise.
19005 * sysdeps/x86_64/tlsdesc.c: Likewise.
19006 * elf/dl-load.h: New file.
19007 * elf/dl-load.c: Include it.
19008 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19009 Macros moved to dl-load.h.
19010 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19011 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19012 Use _dl_unmap_segments in place of __munmap.
19013 Break out segment-mapping loop into ...
19014 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19016 2014-04-03 Will Newton <will.newton@linaro.org>
19018 * elf/dl-lookup.c (do_lookup_x): Remove comment
19019 referring to nested function and move variable
19020 declarations down to before first use.
19022 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19026 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19028 * math/s_catanf.c (__catanf): Likewise.
19029 * math/s_catanh.c (__catanh): Likewise.
19030 * math/s_catanhf.c (__catanhf): Likewise.
19031 * math/s_catanhl.c (__catanhl): Likewise.
19032 * math/s_catanl.c (__catanl): Likewise.
19033 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19034 by positive zero when computing -Inf result.
19035 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19036 (catanh_test): Likewise.
19037 * sysdeps/i386/fpu/libm-test-ulps: Update.
19038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19041 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19042 instead of using underflowing value in computing result.
19043 * math/s_clog10.c (__clog10): Likewise.
19044 * math/s_clog10f.c (__clog10f): Likewise.
19045 * math/s_clog10l.c (__clog10l): Likewise.
19046 * math/s_clogf.c (__clogf): Likewise.
19047 * math/s_clogl.c (__clogl): Likewise.
19048 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19049 (clog10_test): Likewise.
19050 * sysdeps/i386/fpu/libm-test-ulps: Update.
19051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19053 2014-04-02 Alan Modra <amodra@gmail.com>
19056 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19057 output when value is near a power of two. Use int64_t for lx and
19058 remove casts. Use decimal rather than hex exponent constants.
19059 Don't use long double multiplication when double will suffice.
19060 * math/libm-test.inc (nextafter_test_data): Add tests.
19061 * NEWS: Add 16739 and 16786 to bug list.
19063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19065 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19067 2014-04-01 Will Newton <will.newton@linaro.org>
19069 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19070 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19072 2014-04-01 Florian Weimer <fweimer@redhat.com>
19075 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19076 * nptl/tst-setuid2.c: New file.
19077 * nptl/Makefile (xtests): Add tst-setuid2.
19079 2014-04-01 Alan Modra <amodra@gmail.com>
19082 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19084 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19088 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19089 set errno as appropriate.
19090 * math/w_scalbf.c (__scalbf): Likewise.
19091 * math/w_scalbl.c (__scalbl): Likewise.
19092 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19093 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19094 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19095 Add more NaN tests.
19098 * math/w_atan2.c: Include <errno.h>.
19099 (__atan2): Set errno for result underflowing to zero.
19100 * math/w_atan2f.c: Include <errno.h>.
19101 (__atan2f): Set errno for result underflowing to zero.
19102 * math/w_atan2l.c: Include <errno.h>.
19103 (__atan2l): Set errno for result underflowing to zero.
19104 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19106 * math/auto-libm-test-out: Regenerated.
19108 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19110 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19111 Encode instruction correctly in little endian.
19112 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19114 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19116 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19118 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19121 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19124 * sysdeps/unix/sysv/linux/kernel-features.h
19125 [__sparc__ && !__arch64__ && !__sparc_v9__]
19126 (__ASSUME_SET_ROBUST_LIST): Do not define.
19127 [__sparc__ && !__arch64__ && !__sparc_v9__]
19128 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19129 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19131 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19132 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19133 (__ASSUME_REQUEUE_PI): Likewise.
19134 (__ASSUME_SET_ROBUST_LIST): Likewise.
19135 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19136 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19139 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19141 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19143 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19145 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19146 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19148 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19149 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19153 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19154 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19155 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19157 2014-03-31 Will Newton <will.newton@linaro.org>
19159 * benchtests/Makefile (bench): Add ffs and ffsll to list
19161 * benchtests/ffs-inputs: New file.
19162 * benchtests/ffsll-inputs: Likewise.
19164 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19167 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19168 too large before casting to int.
19169 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19170 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19171 * math/libm-test.inc (scalb_test_data): Add more tests.
19173 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19175 * benchtests/Makefile (DETAILED_OPT): New make option.
19176 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19178 * benchtests/bench-skeleton.c: Include stdbool.h.
19179 (main): Store and print timings per input.
19180 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19181 member to each argument value.
19182 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19183 (_print_arg_data): Initialize per-input timing to 0.
19185 * benchtests/Makefile (timing-type): New binary.
19186 (bench-clean): Also remove bench-timing-type.
19187 (bench): New target for timing-type.
19188 (bench-func): Print output in JSON format.
19189 * benchtests/bench-skeleton.c (main): Print output in JSON
19191 * benchtests/bench-timing-type.c: New file.
19192 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19193 (TIMING_PRINT_STATS): Remove.
19194 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19197 * benchtests/bench-modf.c: Remove.
19198 * benchtests/modf-inputs: New inputs file.
19200 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19203 * math/s_clog10.c (M_PI_LOG10E): New macro.
19204 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19205 imaginary parts are 0.
19206 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19207 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19208 imaginary parts are 0.
19209 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19210 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19211 imaginary parts are 0.
19212 * math/libm-test.inc (clog10_test_data): Update expected results
19213 for when real and imaginary parts are 0.
19215 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19217 * elf/dl-load.c: Finish conversion of __builtin_expect into
19218 __glibc_{un}likely.
19220 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19223 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19224 1+x for argument with exponent below -67.
19225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19227 * math/auto-libm-test-in: Add more tests of exp.
19228 * math/auto-libm-test-out: Regenerated.
19230 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19233 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19234 (nscd_getnetgrent): Use it.
19237 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19240 2014-03-27 Andi Kleen <ak@linux.intel.com>
19242 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19243 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19244 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19245 (lll_robust_unlock): Remove out of line section. Use cfi
19247 (LLL_STUB_UNWIND_INFO*): Remove.
19248 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19249 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19250 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19251 (lll_robust_unlock): Remove out of line section. Use cfi
19253 (LLL_STUB_UNWIND_INFO*): Remove.
19255 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19258 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19261 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19263 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19265 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19268 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19270 * math/test-fenv-preserve.c: New file.
19271 * math/Makefile (tests): Add test-fenv-preserve.
19273 2014-03-26 Will Newton <will.newton@linaro.org>
19275 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19277 2014-03-25 Roland McGrath <roland@hack.frob.com>
19279 * scripts/versionlist.awk: Partition the version sets and emit all
19280 GLIBC_* (sorted) before all others (sorted).
19282 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19284 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19285 GLIBC_2.2.5 version.
19287 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19289 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19292 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19297 2014-03-25 Andreas Schwab <schwab@suse.de>
19299 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19300 label to be used after in6ailist is initialized.
19302 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19304 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19305 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19307 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19311 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19313 (fp_formats): Update initializers.
19314 (init_fp_formats): Initialize new field.
19315 (output_for_one_input_case): Allow underflow for results up to
19317 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19318 * math/auto-libm-test-in: Don't mark some underflows from asin and
19320 * math/auto-libm-test-out: Regenerated.
19321 * sysdeps/i386/fpu/libm-test-ulps: Update.
19322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324 2014-03-25 Andreas Schwab <schwab@suse.de>
19326 * libio/Makefile (tst-ftell-partial-wide-ENV)
19327 (tst-ftell-active-handler-ENV): Define.
19329 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19331 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19333 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19335 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19337 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19339 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19340 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19341 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19343 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19346 * elf/dl-load.c (open_verify): Add mode parameter.
19347 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19348 (open_path): Change from boolean 'secure' to complete flag 'mode'
19349 (_dl_map_object): Adjust.
19350 * elf/Makefile (tests): Add tst-dlopen-aout.
19351 * elf/tst-dlopen-aout.c: New test.
19353 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19356 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19357 (struct stat): Rename member pad0 to __glibc_reserved0.
19360 * sysdeps/s390/s390-32/bits/wordsize.h
19361 (__WORDSIZE32_SIZE_ULONG): New define.
19362 * sysdeps/s390/s390-64/bits/wordsize.h
19363 (__WORDSIZE32_SIZE_ULONG): Likewise.
19364 * sysdeps/generic/stdint.h (SIZE_MAX):
19365 Define as UL if __WORDSIZE32_SIZE_ULONG.
19368 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19369 (__glibc_reserved0): New variable.
19370 (sa_flags): Change type to int.
19372 * posix/Makefile (before-compile): Use += before-compile instead
19375 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19376 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19378 2014-03-20 Andreas Schwab <schwab@suse.de>
19381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19382 non-matching result from nscd.
19384 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19386 * scripts/bench.py: Moved to ...
19387 * benchtests/scripts/bench.py: ... here.
19388 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19390 2014-03-24 Andreas Schwab <schwab@suse.de>
19393 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19394 alloca_account and account alloca use for struct in6ailist.
19396 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19400 rounding mode to recompute results that overflow to infinity or
19402 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19404 * math/auto-libm-test-out: Regenerated.
19405 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19406 (ccosh_test): Likewise.
19407 (csin_test_data): Use plus_oflow.
19408 (csin_test): Use ALL_RM_TEST.
19409 (csinh_test_data): Use plus_oflow.
19410 (csinh_test): Use ALL_RM_TEST.
19411 * sysdeps/i386/fpu/libm-test-ulps: Update.
19412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19414 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19416 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19417 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19418 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19421 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19422 when x - 1 is zero.
19423 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19424 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19425 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19426 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19428 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19429 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19431 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19432 * sysdeps/i386/fpu/libm-test-ulps: Update.
19433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19435 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19437 * scripts/bench.pl: Remove file.
19438 * scripts/bench.py: New benchmark script.
19439 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19440 * benchtests/README: Mention python dependency.
19441 * scripts/pylintrc: New file.
19442 * scripts/pylint: New file.
19444 * bits/mathdef.h: Use #ifdef instead of #if.
19445 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19446 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19447 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19448 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19449 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19450 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19452 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19453 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19455 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19457 and strpbrk-ppc64 objects.
19458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19459 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19460 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19461 multiarch strpbrk for POWER7.
19462 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19463 multiarch strpbrk for PPC64.
19464 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19466 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19467 strpbrk for POWER7.
19469 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19471 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19472 (atan_test): Likewise.
19473 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19474 (atanh_test): Use ALL_RM_TEST.
19475 (atan2_test_data): Likewise.
19476 (cabs_test): Likewise.
19477 (cacosh_test): Likewise.
19478 (carg_test): Likewise.
19479 (casin_test): Likewise.
19480 (casinh_test): Likewise.
19481 (cbrt_test): Likewise.
19482 (csqrt_test): Likewise.
19483 (erf_test): Likewise.
19484 (erfc_test): Likewise.
19485 (pow10_test): Likewise.
19486 (exp2_test): Likewise.
19487 (hypot_test): Likewise.
19488 (j0_test): Likewise.
19489 (j1_test): Likewise.
19490 (lgamma_test): Likewise.
19491 (gamma_test): Likewise.
19492 (sincos_test): Likewise.
19493 (tanh_test): Likewise.
19494 (y0_test): Likewise.
19495 (y1_test): Likewise.
19496 * sysdeps/i386/fpu/libm-test-ulps: Update.
19497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19499 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19501 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19503 and strcspn-ppc64 objects.
19504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19505 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19506 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19507 multiarch strcspn for POWER7.
19508 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19509 multiarch strcspn for PPC64.
19510 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19512 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19513 strcspn for POWER7.
19515 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19517 * math/gen-libm-test.pl (generate_testfile): Expect only function
19518 name as argument to AUTO_TESTS_* and pass results for all rounding
19519 modes to parse_args.
19520 (parse_auto_input): Separate inputs of automatic tests from
19521 outputs before storing in %auto_tests.
19522 * math/libm-test.inc (acos_test_data): Update call to
19524 (acos_test): Use ALL_RM_TEST.
19525 (acos_tonearest_test_data): Remove.
19526 (acos_test_tonearest): Likewise.
19527 (acos_towardzero_test_data): Likewise.
19528 (acos_test_towardzero): Likewise.
19529 (acos_downward_test_data): Likewise.
19530 (acos_test_downward): Likewise.
19531 (acos_upward_test_data): Likewise.
19532 (acos_test_upward): Likewise.
19533 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19534 (asin_test_data): Likewise.
19535 (asin_test): Use ALL_RM_TEST.
19536 (asin_tonearest_test_data): Remove.
19537 (asin_test_tonearest): Likewise.
19538 (asin_towardzero_test_data): Likewise.
19539 (asin_test_towardzero): Likewise.
19540 (asin_downward_test_data): Likewise.
19541 (asin_test_downward): Likewise.
19542 (asin_upward_test_data): Likewise.
19543 (asin_test_upward): Likewise.
19544 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19545 (atan_test_data): Likewise.
19546 (atanh_test_data): Likewise.
19547 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19548 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19549 (carg_test_data): Likewise.
19550 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19551 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19552 (ccosh_test_data): Likewise.
19553 (cexp_test_data): Likewise.
19554 (clog_test_data): Likewise.
19555 (clog10_test_data): Likewise.
19556 (cos_test_data): Update call to AUTO_TESTS_f_f.
19557 (cos_test): Use ALL_RM_TEST.
19558 (cos_tonearest_test_data): Remove.
19559 (cos_test_tonearest): Likewise.
19560 (cos_towardzero_test_data): Likewise.
19561 (cos_test_towardzero): Likewise.
19562 (cos_downward_test_data): Likewise.
19563 (cos_test_downward): Likewise.
19564 (cos_upward_test_data): Likewise.
19565 (cos_test_upward): Likewise.
19566 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19567 (cosh_test): Use ALL_RM_TEST.
19568 (cosh_tonearest_test_data): Remove.
19569 (cosh_test_tonearest): Likewise.
19570 (cosh_towardzero_test_data): Likewise.
19571 (cosh_test_towardzero): Likewise.
19572 (cosh_downward_test_data): Likewise.
19573 (cosh_test_downward): Likewise.
19574 (cosh_upward_test_data): Likewise.
19575 (cosh_test_upward): Likewise.
19576 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19577 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19578 (ctan_test_data): Likewise.
19579 (ctan_test): Use ALL_RM_TEST.
19580 (ctan_tonearest_test_data): Remove.
19581 (ctan_test_tonearest): Likewise.
19582 (ctan_towardzero_test_data): Likewise.
19583 (ctan_test_towardzero): Likewise.
19584 (ctan_downward_test_data): Likewise.
19585 (ctan_test_downward): Likewise.
19586 (ctan_upward_test_data): Likewise.
19587 (ctan_test_upward): Likewise.
19588 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19589 (ctanh_test): Use ALL_RM_TEST.
19590 (ctanh_tonearest_test_data): Remove.
19591 (ctanh_test_tonearest): Likewise.
19592 (ctanh_towardzero_test_data): Likewise.
19593 (ctanh_test_towardzero): Likewise.
19594 (ctanh_downward_test_data): Likewise.
19595 (ctanh_test_downward): Likewise.
19596 (ctanh_upward_test_data): Likewise.
19597 (ctanh_test_upward): Likewise.
19598 (erf_test_data): Update call to AUTO_TESTS_f_f.
19599 (erfc_test_data): Likewise.
19600 (exp_test_data): Likewise.
19601 (exp_test): Use ALL_RM_TEST.
19602 (exp_tonearest_test_data): Remove.
19603 (exp_test_tonearest): Likewise.
19604 (exp_towardzero_test_data): Likewise.
19605 (exp_test_towardzero): Likewise.
19606 (exp_downward_test_data): Likewise.
19607 (exp_test_downward): Likewise.
19608 (exp_upward_test_data): Likewise.
19609 (exp_test_upward): Likewise.
19610 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19611 (exp10_test): Use ALL_RM_TEST.
19612 (exp10_tonearest_test_data): Remove.
19613 (exp10_test_tonearest): Likewise.
19614 (exp10_towardzero_test_data): Likewise.
19615 (exp10_test_towardzero): Likewise.
19616 (exp10_downward_test_data): Likewise.
19617 (exp10_test_downward): Likewise.
19618 (exp10_upward_test_data): Likewise.
19619 (exp10_test_upward): Likewise.
19620 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19621 (expm1_test_data): Likewise.
19622 (expm1_test): Use ALL_RM_TEST.
19623 (expm1_tonearest_test_data): Remove.
19624 (expm1_test_tonearest): Likewise.
19625 (expm1_towardzero_test_data): Likewise.
19626 (expm1_test_towardzero): Likewise.
19627 (expm1_downward_test_data): Likewise.
19628 (expm1_test_downward): Likewise.
19629 (expm1_upward_test_data): Likewise.
19630 (expm1_test_upward): Likewise.
19631 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19632 (fma_test): Use ALL_RM_TEST.
19633 (fma_towardzero_test_data): Remove.
19634 (fma_test_towardzero): Likewise.
19635 (fma_downward_test_data): Likewise.
19636 (fma_test_downward): Likewise.
19637 (fma_upward_test_data): Likewise.
19638 (fma_test_upward): Likewise.
19639 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19640 (j0_test_data): Update call to AUTO_TESTS_f_f.
19641 (j1_test_data): Likewise.
19642 (jn_test_data): Update call to AUTO_TESTS_if_f.
19643 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19644 (log_test_data): Update call to AUTO_TESTS_f_f.
19645 (log10_test_data): Likewise.
19646 (log1p_test_data): Likewise.
19647 (log2_test_data): Likewise.
19648 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19649 (pow_tonearest_test_data): Likewise.
19650 (sin_test_data): Update call to AUTO_TESTS_f_f.
19651 (sin_test): Use ALL_RM_TEST.
19652 (sin_tonearest_test_data): Remove.
19653 (sin_test_tonearest): Likewise.
19654 (sin_towardzero_test_data): Likewise.
19655 (sin_test_towardzero): Likewise.
19656 (sin_downward_test_data): Likewise.
19657 (sin_test_downward): Likewise.
19658 (sin_upward_test_data): Likewise.
19659 (sin_test_upward): Likewise.
19660 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19661 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19662 (sinh_test): Use ALL_RM_TEST.
19663 (sinh_tonearest_test_data): Remove.
19664 (sinh_test_tonearest): Likewise.
19665 (sinh_towardzero_test_data): Likewise.
19666 (sinh_test_towardzero): Likewise.
19667 (sinh_downward_test_data): Likewise.
19668 (sinh_test_downward): Likewise.
19669 (sinh_upward_test_data): Likewise.
19670 (sinh_test_upward): Likewise.
19671 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19672 (sqrt_test): Use ALL_RM_TEST.
19673 (sqrt_tonearest_test_data): Remove.
19674 (sqrt_test_tonearest): Likewise.
19675 (sqrt_towardzero_test_data): Likewise.
19676 (sqrt_test_towardzero): Likewise.
19677 (sqrt_downward_test_data): Likewise.
19678 (sqrt_test_downward): Likewise.
19679 (sqrt_upward_test_data): Likewise.
19680 (sqrt_test_upward): Likewise.
19681 (tan_test_data): Update call to AUTO_TESTS_f_f.
19682 (tan_test): Use ALL_RM_TEST.
19683 (tan_tonearest_test_data): Remove.
19684 (tan_test_tonearest): Likewise.
19685 (tan_towardzero_test_data): Likewise.
19686 (tan_test_towardzero): Likewise.
19687 (tan_downward_test_data): Likewise.
19688 (tan_test_downward): Likewise.
19689 (tan_upward_test_data): Likewise.
19690 (tan_test_upward): Likewise.
19691 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19692 (tgamma_test_data): Likewise.
19693 (y0_test_data): Likewise.
19694 (y1_test_data): Likewise.
19695 (yn_test_data): Update call to AUTO_TESTS_if_f.
19696 (main): Do not call removed functions.
19698 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19700 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19701 (ldexp_test_data): Remove.
19702 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19704 (scalb_test): Use ALL_RM_TEST.
19706 2014-03-19 Andreas Schwab <schwab@suse.de>
19708 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19710 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19713 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19714 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19715 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19717 (__ASSUME_PREADV): Undefine.
19718 (__ASSUME_PWRITEV): Likewise.
19720 2014-03-18 Roland McGrath <roland@hack.frob.com>
19722 * bits/mman-linux.h: Add comment about non-Linux use.
19723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19724 bits/mman-linux.h resting place.
19726 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19727 * bits/mman-linux.h: ... here.
19729 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19731 * conform/conformtest.pl: Add standard definition when calling C
19732 preprocessor on data files.
19733 (checknamespace): Remove unused variable.
19735 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19737 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19738 minus_oflow, plus_uflow and minus_uflow in expected results.
19739 * math/libm-test.inc (scalbn_test_data): Add more tests of
19740 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19742 (scalbn_test): Use ALL_RM_TEST.
19743 (scalbln_test_data): Add more tests of negative arguments. Use
19744 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19745 (scalbln_test): Use ALL_RM_TEST.
19747 2014-03-18 Roland McGrath <roland@hack.frob.com>
19749 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19751 2014-03-18 Will Newton <will.newton@linaro.org>
19753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19754 inaccurate comment.
19756 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19758 * Makerules [!subdir] (check-abi): Exit with error status if a
19761 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19763 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19764 for rint. Include results for all rounding modes.
19765 (nearbyint_test): Use ALL_RM_TEST.
19766 (rint_test_data): Include all tests used for nearbyint.
19768 2014-03-17 Will Newton <will.newton@linaro.org>
19770 * nptl/sysdeps/pthread/pthread.h: Revert previous
19773 * sysdeps/generic/ldsodefs.h: Revert previous
19776 * libio/genops.c: Revert previous change.
19777 * libio/libioP.h: Likewise.
19778 * stdio-common/vfprintf.c: Likewise.
19780 * sysdeps/generic/math_private.h: Revert previous
19783 * sysdeps/generic/math_private.h: Check whether
19784 HAVE_RM_CTX is defined with #ifdef rather
19787 * argp/argp-fmtstream.h: Check whether
19788 __STRICT_ANSI__ is defined with #ifdef rather
19790 * argp/argp.h: Likewise.
19792 * libio/genops.c: Check whether
19793 _IO_JUMPS_OFFSET is defined with #ifdef rather
19795 * libio/libioP.h: Likewise.
19796 * stdio-common/vfprintf.c: Likewise.
19798 * sysdeps/generic/ldsodefs.h: Check whether
19799 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19802 * nptl/sysdeps/pthread/pthread.h: Check
19803 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19806 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19808 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19810 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19814 * libio/fileops.c (_IO_file_open): Seek to end of file but
19815 don't cache the offset.
19816 (get_file_offset): Remove function.
19817 (do_ftell): Use cached offset when available.
19818 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19819 don't cache the offset.
19820 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19822 (do_one_test): Call it.
19823 (do_ftell_test): Fix up expected old offset for a+ mode.
19824 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19827 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19828 up test status with function return status.
19829 (do_write_test): Likewise.
19830 (do_append_test): Likewise.
19832 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19833 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19836 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19838 * math/gen-libm-test.pl (parse_args): Handle results specified for
19839 each rounding mode separately.
19840 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19841 tests and results from lrint_tonearest_test_data,
19842 lrint_towardzero_test_data, lrint_downward_test_data and
19843 lrint_upward_test_data.
19844 (lrint_test): Use ALL_RM_TEST.
19845 (lrint_tonearest_test_data): Remove.
19846 (lrint_test_tonearest): Likewise.
19847 (lrint_towardzero_test_data): Likewise.
19848 (lrint_test_towardzero): Likewise.
19849 (lrint_downward_test_data): Likewise.
19850 (lrint_test_downward): Likewise.
19851 (lrint_upward_test_data): Likewise.
19852 (lrint_test_upward): Likewise.
19853 (llrint_test_data): Merge in per-rounding-mode tests and results
19854 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19855 llrint_downward_test_data and llrint_upward_test_data.
19856 (llrint_test): Use ALL_RM_TEST.
19857 (llrint_tonearest_test_data): Remove.
19858 (llrint_test_tonearest): Likewise.
19859 (llrint_towardzero_test_data): Likewise.
19860 (llrint_test_towardzero): Likewise.
19861 (llrint_downward_test_data): Likewise.
19862 (llrint_test_downward): Likewise.
19863 (llrint_upward_test_data): Likewise.
19864 (llrint_test_upward): Likewise.
19865 (rint_test_data): Merge in per-rounding-mode tests and results
19866 from rint_tonearest_test_data, rint_towardzero_test_data,
19867 rint_downward_test_data and rint_upward_test_data. Add
19868 per-rounding-mode results for tests not in those arrays.
19869 (rint_test): Use ALL_RM_TEST.
19870 (rint_tonearest_test_data): Remove.
19871 (rint_test_tonearest): Likewise.
19872 (rint_towardzero_test_data): Likewise.
19873 (rint_test_towardzero): Likewise.
19874 (rint_downward_test_data): Likewise.
19875 (rint_test_downward): Likewise.
19876 (rint_upward_test_data): Likewise.
19877 (rint_test_upward): Likewise.
19878 (main): Don't call removed functions.
19880 2014-03-14 Roland McGrath <roland@hack.frob.com>
19882 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19883 "Compiled on ..." crapola. It is anti-useful.
19885 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19887 * scripts/evaluate-test.sh: Handle fourth argument to determine
19888 whether test run should stop on failure.
19889 * Makeconfig (stop-on-test-failure): New variable.
19890 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19891 $(stop-on-test-failure).
19892 * Makefile (tests): Give a summary of results from testing and
19893 exit with failure status if they include an ERROR or FAIL.
19894 (xtests): Likewise.
19895 * manual/install.texi (Configuring and compiling): Mention
19896 stop-on-test-failure=y.
19897 * INSTALL: Regenerated.
19899 2014-03-14 Roland McGrath <roland@hack.frob.com>
19901 * scripts/versionlist.awk: New file.
19902 * Makerules [$(build-shared) = yes]
19903 (postclean-generated): Add Versions.def, not Versions.def.v and
19905 ($(common-objpfx)Versions.def.v.i): Target removed.
19906 ($(common-objpfx)Versions.def): New target.
19907 ($(common-objpfx)Versions.all): Depend on that rather that
19908 $(common-objpfx)Versions.def.v.
19909 * Versions.def: File removed.
19911 * Makeconfig (+gccwarn): Add -Wundef.
19912 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19913 a dl-sysdep.h breaking its contract.
19914 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19915 * include/stackinfo.h: New file.
19916 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19917 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19918 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19919 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19920 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19921 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19922 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19923 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19924 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19925 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19926 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19927 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19928 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19929 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19930 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19932 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19935 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19937 * math/libm-test.inc (round_test_data): Add more tests.
19940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19942 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19945 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19947 * math/libm-test.inc (ceil_test_data): Add more tests.
19949 * math/libm-test.inc (trunc_test_data): Add more tests related to
19952 2014-03-14 Roland McGrath <roland@hack.frob.com>
19954 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19955 with #if rather than #ifdef.
19956 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19958 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19960 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19961 first. Disable AVX-512 GCC support if assembler doesn't support
19963 * sysdeps/x86_64/configure: Regenerated.
19965 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19967 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19968 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19969 (__old_pthread_attr_setstack): Likewise.
19970 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19971 [!_STACK_GROWS_DOWN]: Likewise.
19973 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19975 * config.make.in (have-bash2): Delete.
19976 * configure.ac (libc_cv_have_bash2): Delete.
19977 * configure: Regenerate.
19978 * elf/Makefile (common-ldd-rewrite): Rename to ...
19979 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19980 (sh-ldd-rewrite): Delete.
19981 (bash-ldd-rewrite): Delete.
19982 (have-bash2): Delete checks.
19983 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19986 * config.make.in (have-ksh): Delete.
19988 * configure.ac (libc_cv_have_ksh): Delete.
19989 * configure: Regenerate.
19991 * elf/Makefile: Delete $(have-ksh) check.
19992 ($(objpfx)sotruss): Change KSH to BASH.
19993 * elf/sotruss.ksh: Rename to ...
19994 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19995 function style to match POSIX. Drop ksh vim mode setting.
19997 * manual/time.texi (Specifying the Time Zone with TZ): Change
19998 Tuesday to Thursday.
20000 * debug/tst-longjmp_chk2.c: Update header comment.
20001 (stackoverflow_handler): Add comment. Call assert on pass value.
20003 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20006 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20007 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20008 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20009 (La_x86_64_vector): Add zmm.
20010 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20011 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20012 ($(objpfx)tst-audit10): New target.
20013 ($(objpfx)tst-audit10.out): Likewise.
20014 (tst-audit10-ENV): New.
20015 (AVX512-CFLAGS): Likewise.
20016 (CFLAGS-tst-audit10.c): Likewise.
20017 (CFLAGS-tst-auditmod10a.c): Likewise.
20018 (CFLAGS-tst-auditmod10b.c): Likewise.
20019 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20020 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20021 * sysdeps/x86_64/configure: Regenerated.
20022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20023 AVX-512 zmm register support.
20024 (_dl_x86_64_save_sse): Likewise.
20025 (_dl_x86_64_restore_sse): Likewise.
20026 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20027 size vector registers.
20028 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20029 (ZMM_SIZE): Likewise.
20030 * sysdeps/x86_64/tst-audit10.c: New file.
20031 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20032 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20034 2014-03-13 Roland McGrath <roland@hack.frob.com>
20036 * configure.ac (HAVE_EHDR_START): New check.
20037 * configure: Regenerated.
20038 * config.h.in (HAVE_EHDR_START): New #undef.
20039 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20040 assuming the lowest-addressed segment maps the start of the file.
20042 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20044 * INSTALL: Regenerated.
20046 2014-03-13 Will Newton <will.newton@linaro.org>
20048 * manual/setjmp.texi (System V contexts): Improve
20049 clarity and grammar of documentation.
20051 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20054 * elf/Makefile (tests): Add tst-pie2.
20055 (tests-pie): Add tst-pie2.
20056 * elf/tst-pie2.c: New file.
20057 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20059 * elf/rtld.c (map_doit): Load executable as lt_executable.
20060 (dl_main): Likewise.
20062 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20065 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20066 (__ASSUME_PSELECT): Undefine.
20068 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20072 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20074 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20075 selector for static builds.
20077 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20080 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20083 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20085 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20086 IFUNC selector for static builds.
20088 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20090 * sysdeps/mips/math_private.h [__mips_hard_float]
20091 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20092 libc_feresetround_mips_ctx.
20093 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20094 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20095 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20098 * math/s_nextafter.c (__nextafter): Do not return value from
20099 overflowing computation.
20100 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20101 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20102 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20104 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20106 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20107 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20109 2014-03-11 Roland McGrath <roland@hack.frob.com>
20111 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20112 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20113 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20114 the new mov targetting sp.
20116 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20119 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20120 Define it for static builds as well.
20121 (NO_BZERO_IMPL): Likewise.
20123 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20125 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20126 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20127 multiarch strspn for PPC64.
20128 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20129 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20131 (__libc_ifunc_impl_list): Likewise.
20132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20133 multiarch optimizations
20134 * string/strspn.c (strspn): Using macro to redefine symbol name.
20136 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20137 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20140 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20141 multiarch strncat for PPC64.
20142 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20143 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20145 (__libc_ifunc_impl_list): Likewise.
20146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20147 multiarch optimizations
20149 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20152 * nscd/nscd.service: Make service type forking.
20154 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20156 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20157 sign in non default rounding modes.
20158 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20160 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20162 * math/libm-test.inc (ALL_RM_TEST): New macro.
20163 (ceil_test): Use ALL_RM_TEST.
20164 (cimag_test): Likewise.
20165 (conj_test): Likewise.
20166 (copysign_test): Likewise.
20167 (cproj_test): Likewise.
20168 (creal_test): Likewise.
20169 (fabs_test): Likewise.
20170 (floor_test): Likewise.
20171 (fmax_test): Likewise.
20172 (fmin_test): Likewise.
20173 (fmod_test): Likewise.
20174 (fpclassify_test): Likewise.
20175 (frexp_test): Likewise.
20176 (ilogb_test): Likewise.
20177 (isfinite_test): Likewise.
20178 (finite_test): Likewise.
20179 (isgreater_test): Likewise.
20180 (isgreaterequal_test): Likewise.
20181 (isinf_test): Likewise.
20182 (isless_test): Likewise.
20183 (islessequal_test): Likewise.
20184 (islessgreater_test): Likewise.
20185 (isnan_test): Likewise.
20186 (isnormal_test): Likewise.
20187 (issignaling_test): Likewise.
20188 (isunordered_test): Likewise.
20189 (logb_test): Likewise.
20190 (logb_downward_test_data): Remove.
20191 (logb_test_downward): Likewise.
20192 (lround_test): Use ALL_RM_TEST.
20193 (llround_test): Likewise.
20194 (modf_test): Likewise.
20195 (nexttoward_test): Likewise.
20196 (remainder_test): Likewise.
20197 (drem_test): Likewise.
20198 (remainder_tonearest_test_data): Likewise.
20199 (remainder_test_tonearest): Likewise.
20200 (drem_test_tonearest): Likewise.
20201 (remainder_towardzero_test_data): Likewise.
20202 (remainder_test_towardzero): Likewise.
20203 (drem_test_towardzero): Likewise.
20204 (remainder_downward_test_data): Likewise.
20205 (remainder_test_downward): Likewise.
20206 (drem_test_downward): Likewise.
20207 (remainder_upward_test_data): Likewise.
20208 (remainder_test_upward): Likewise.
20209 (drem_test_upward): Likewise.
20210 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20211 (round_test): Use ALL_RM_TEST.
20212 (signbit_test): Likewise.
20213 (trunc_test): Likewise.
20214 (significand_test): Likewise.
20215 (main): Don't call removed functions.
20217 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20220 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20221 || __USE_XOPEN2K8].
20222 (ILL_ILLOPN): Likewise.
20223 (ILL_ILLADR): Likewise.
20224 (ILL_ILLTRP): Likewise.
20225 (ILL_PRVOPC): Likewise.
20226 (ILL_PRVREG): Likewise.
20227 (ILL_COPROC): Likewise.
20228 (ILL_BADSTK): Likewise.
20229 (FPE_INTDIV): Likewise.
20230 (FPE_INTOVF): Likewise.
20231 (FPE_FLTDIV): Likewise.
20232 (FPE_FLTOVF): Likewise.
20233 (FPE_FLTUND): Likewise.
20234 (FPE_FLTRES): Likewise.
20235 (FPE_FLTINV): Likewise.
20236 (FPE_FLTSUB): Likewise.
20237 (SEGV_MAPERR): Likewise.
20238 (SEGV_ACCERR): Likewise.
20239 (BUS_ADRALN): Likewise.
20240 (BUS_ADRERR): Likewise.
20241 (BUS_OBJERR): Likewise.
20242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20243 (TRAP_TRACE): Likewise.
20244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20246 (CLD_KILLED): Likewise.
20247 (CLD_DUMPED): Likewise.
20248 (CLD_TRAPPED): Likewise.
20249 (CLD_STOPPED): Likewise.
20250 (CLD_CONTINUED): Likewise.
20251 (POLL_IN): Likewise.
20252 (POLL_OUT): Likewise.
20253 (POLL_MSG): Likewise.
20254 (POLL_ERR): Likewise.
20255 (POLL_PRI): Likewise.
20256 (POLL_HUP): Likewise.
20257 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20259 (ILL_ILLOPN): Likewise.
20260 (ILL_ILLADR): Likewise.
20261 (ILL_ILLTRP): Likewise.
20262 (ILL_PRVOPC): Likewise.
20263 (ILL_PRVREG): Likewise.
20264 (ILL_COPROC): Likewise.
20265 (ILL_BADSTK): Likewise.
20266 (FPE_INTDIV): Likewise.
20267 (FPE_INTOVF): Likewise.
20268 (FPE_FLTDIV): Likewise.
20269 (FPE_FLTOVF): Likewise.
20270 (FPE_FLTUND): Likewise.
20271 (FPE_FLTRES): Likewise.
20272 (FPE_FLTINV): Likewise.
20273 (FPE_FLTSUB): Likewise.
20274 (SEGV_MAPERR): Likewise.
20275 (SEGV_ACCERR): Likewise.
20276 (BUS_ADRALN): Likewise.
20277 (BUS_ADRERR): Likewise.
20278 (BUS_OBJERR): Likewise.
20279 (BUS_MCEERR_AR): Likewise.
20280 (BUS_MCEERR_AO): Likewise.
20281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20282 (TRAP_TRACE): Likewise.
20283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20285 (CLD_KILLED): Likewise.
20286 (CLD_DUMPED): Likewise.
20287 (CLD_TRAPPED): Likewise.
20288 (CLD_STOPPED): Likewise.
20289 (CLD_CONTINUED): Likewise.
20290 (POLL_IN): Likewise.
20291 (POLL_OUT): Likewise.
20292 (POLL_MSG): Likewise.
20293 (POLL_ERR): Likewise.
20294 (POLL_PRI): Likewise.
20295 (POLL_HUP): Likewise.
20296 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20297 (ILL_ILLOPN): Likewise.
20298 (ILL_ILLADR): Likewise.
20299 (ILL_ILLTRP): Likewise.
20300 (ILL_PRVOPC): Likewise.
20301 (ILL_PRVREG): Likewise.
20302 (ILL_COPROC): Likewise.
20303 (ILL_BADSTK): Likewise.
20304 (FPE_INTDIV): Likewise.
20305 (FPE_INTOVF): Likewise.
20306 (FPE_FLTDIV): Likewise.
20307 (FPE_FLTOVF): Likewise.
20308 (FPE_FLTUND): Likewise.
20309 (FPE_FLTRES): Likewise.
20310 (FPE_FLTINV): Likewise.
20311 (FPE_FLTSUB): Likewise.
20312 (SEGV_MAPERR): Likewise.
20313 (SEGV_ACCERR): Likewise.
20314 (BUS_ADRALN): Likewise.
20315 (BUS_ADRERR): Likewise.
20316 (BUS_OBJERR): Likewise.
20317 (BUS_MCEERR_AR): Likewise.
20318 (BUS_MCEERR_AO): Likewise.
20319 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20320 (TRAP_TRACE): Likewise.
20321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20323 (CLD_KILLED): Likewise.
20324 (CLD_DUMPED): Likewise.
20325 (CLD_TRAPPED): Likewise.
20326 (CLD_STOPPED): Likewise.
20327 (CLD_CONTINUED): Likewise.
20328 (POLL_IN): Likewise.
20329 (POLL_OUT): Likewise.
20330 (POLL_MSG): Likewise.
20331 (POLL_ERR): Likewise.
20332 (POLL_PRI): Likewise.
20333 (POLL_HUP): Likewise.
20334 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20336 (ILL_ILLOPN): Likewise.
20337 (ILL_ILLADR): Likewise.
20338 (ILL_ILLTRP): Likewise.
20339 (ILL_PRVOPC): Likewise.
20340 (ILL_PRVREG): Likewise.
20341 (ILL_COPROC): Likewise.
20342 (ILL_BADSTK): Likewise.
20343 (ILL_BADIADDR): Likewise.
20344 (ILL_BREAK): Likewise.
20345 (FPE_INTDIV): Likewise.
20346 (FPE_INTOVF): Likewise.
20347 (FPE_FLTDIV): Likewise.
20348 (FPE_FLTOVF): Likewise.
20349 (FPE_FLTUND): Likewise.
20350 (FPE_FLTRES): Likewise.
20351 (FPE_FLTINV): Likewise.
20352 (FPE_FLTSUB): Likewise.
20353 (FPE_DECOVF): Likewise.
20354 (FPE_DECDIV): Likewise.
20355 (FPE_DECERR): Likewise.
20356 (FPE_INVASC): Likewise.
20357 (FPE_INVDEC): Likewise.
20358 (SEGV_MAPERR): Likewise.
20359 (SEGV_ACCERR): Likewise.
20360 (SEGV_PSTKOVF): Likewise.
20361 (BUS_ADRALN): Likewise.
20362 (BUS_ADRERR): Likewise.
20363 (BUS_OBJERR): Likewise.
20364 (BUS_MCEERR_AR): Likewise.
20365 (BUS_MCEERR_AO): Likewise.
20366 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20367 (TRAP_TRACE): Likewise.
20368 (TRAP_BRANCH): Likewise.
20369 (TRAP_HWBKPT): Likewise.
20370 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20372 (CLD_KILLED): Likewise.
20373 (CLD_DUMPED): Likewise.
20374 (CLD_TRAPPED): Likewise.
20375 (CLD_STOPPED): Likewise.
20376 (CLD_CONTINUED): Likewise.
20377 (POLL_IN): Likewise.
20378 (POLL_OUT): Likewise.
20379 (POLL_MSG): Likewise.
20380 (POLL_ERR): Likewise.
20381 (POLL_PRI): Likewise.
20382 (POLL_HUP): Likewise.
20383 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20384 (ILL_ILLOPN): Likewise.
20385 (ILL_ILLADR): Likewise.
20386 (ILL_ILLTRP): Likewise.
20387 (ILL_PRVOPC): Likewise.
20388 (ILL_PRVREG): Likewise.
20389 (ILL_COPROC): Likewise.
20390 (ILL_BADSTK): Likewise.
20391 (FPE_INTDIV): Likewise.
20392 (FPE_INTOVF): Likewise.
20393 (FPE_FLTDIV): Likewise.
20394 (FPE_FLTOVF): Likewise.
20395 (FPE_FLTUND): Likewise.
20396 (FPE_FLTRES): Likewise.
20397 (FPE_FLTINV): Likewise.
20398 (FPE_FLTSUB): Likewise.
20399 (SEGV_MAPERR): Likewise.
20400 (SEGV_ACCERR): Likewise.
20401 (BUS_ADRALN): Likewise.
20402 (BUS_ADRERR): Likewise.
20403 (BUS_OBJERR): Likewise.
20404 (BUS_MCEERR_AR): Likewise.
20405 (BUS_MCEERR_AO): Likewise.
20406 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20407 (TRAP_TRACE): Likewise.
20408 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20410 (CLD_KILLED): Likewise.
20411 (CLD_DUMPED): Likewise.
20412 (CLD_TRAPPED): Likewise.
20413 (CLD_STOPPED): Likewise.
20414 (CLD_CONTINUED): Likewise.
20415 (POLL_IN): Likewise.
20416 (POLL_OUT): Likewise.
20417 (POLL_MSG): Likewise.
20418 (POLL_ERR): Likewise.
20419 (POLL_PRI): Likewise.
20420 (POLL_HUP): Likewise.
20421 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20422 (ILL_ILLOPN): Likewise.
20423 (ILL_ILLADR): Likewise.
20424 (ILL_ILLTRP): Likewise.
20425 (ILL_PRVOPC): Likewise.
20426 (ILL_PRVREG): Likewise.
20427 (ILL_COPROC): Likewise.
20428 (ILL_BADSTK): Likewise.
20429 (FPE_INTDIV): Likewise.
20430 (FPE_INTOVF): Likewise.
20431 (FPE_FLTDIV): Likewise.
20432 (FPE_FLTOVF): Likewise.
20433 (FPE_FLTUND): Likewise.
20434 (FPE_FLTRES): Likewise.
20435 (FPE_FLTINV): Likewise.
20436 (FPE_FLTSUB): Likewise.
20437 (SEGV_MAPERR): Likewise.
20438 (SEGV_ACCERR): Likewise.
20439 (BUS_ADRALN): Likewise.
20440 (BUS_ADRERR): Likewise.
20441 (BUS_OBJERR): Likewise.
20442 (BUS_MCEERR_AR): Likewise.
20443 (BUS_MCEERR_AO): Likewise.
20444 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20445 (TRAP_TRACE): Likewise.
20446 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20448 (CLD_KILLED): Likewise.
20449 (CLD_DUMPED): Likewise.
20450 (CLD_TRAPPED): Likewise.
20451 (CLD_STOPPED): Likewise.
20452 (CLD_CONTINUED): Likewise.
20453 (POLL_IN): Likewise.
20454 (POLL_OUT): Likewise.
20455 (POLL_MSG): Likewise.
20456 (POLL_ERR): Likewise.
20457 (POLL_PRI): Likewise.
20458 (POLL_HUP): Likewise.
20459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20460 (ILL_ILLOPN): Likewise.
20461 (ILL_ILLADR): Likewise.
20462 (ILL_ILLTRP): Likewise.
20463 (ILL_PRVOPC): Likewise.
20464 (ILL_PRVREG): Likewise.
20465 (ILL_COPROC): Likewise.
20466 (ILL_BADSTK): Likewise.
20467 (FPE_INTDIV): Likewise.
20468 (FPE_INTOVF): Likewise.
20469 (FPE_FLTDIV): Likewise.
20470 (FPE_FLTOVF): Likewise.
20471 (FPE_FLTUND): Likewise.
20472 (FPE_FLTRES): Likewise.
20473 (FPE_FLTINV): Likewise.
20474 (FPE_FLTSUB): Likewise.
20475 (SEGV_MAPERR): Likewise.
20476 (SEGV_ACCERR): Likewise.
20477 (BUS_ADRALN): Likewise.
20478 (BUS_ADRERR): Likewise.
20479 (BUS_OBJERR): Likewise.
20480 (BUS_MCEERR_AR): Likewise.
20481 (BUS_MCEERR_AO): Likewise.
20482 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20483 (TRAP_TRACE): Likewise.
20484 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20486 (CLD_KILLED): Likewise.
20487 (CLD_DUMPED): Likewise.
20488 (CLD_TRAPPED): Likewise.
20489 (CLD_STOPPED): Likewise.
20490 (CLD_CONTINUED): Likewise.
20491 (POLL_IN): Likewise.
20492 (POLL_OUT): Likewise.
20493 (POLL_MSG): Likewise.
20494 (POLL_ERR): Likewise.
20495 (POLL_PRI): Likewise.
20496 (POLL_HUP): Likewise.
20497 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20498 (ILL_ILLOPN): Likewise.
20499 (ILL_ILLADR): Likewise.
20500 (ILL_ILLTRP): Likewise.
20501 (ILL_PRVOPC): Likewise.
20502 (ILL_PRVREG): Likewise.
20503 (ILL_COPROC): Likewise.
20504 (ILL_BADSTK): Likewise.
20505 (ILL_DBLFLT): Likewise.
20506 (ILL_HARDWALL): Likewise.
20507 (FPE_INTDIV): Likewise.
20508 (FPE_INTOVF): Likewise.
20509 (FPE_FLTDIV): Likewise.
20510 (FPE_FLTOVF): Likewise.
20511 (FPE_FLTUND): Likewise.
20512 (FPE_FLTRES): Likewise.
20513 (FPE_FLTINV): Likewise.
20514 (FPE_FLTSUB): Likewise.
20515 (SEGV_MAPERR): Likewise.
20516 (SEGV_ACCERR): Likewise.
20517 (BUS_ADRALN): Likewise.
20518 (BUS_ADRERR): Likewise.
20519 (BUS_OBJERR): Likewise.
20520 (BUS_MCEERR_AR): Likewise.
20521 (BUS_MCEERR_AO): Likewise.
20522 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20523 (TRAP_TRACE): Likewise.
20524 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20526 (CLD_KILLED): Likewise.
20527 (CLD_DUMPED): Likewise.
20528 (CLD_TRAPPED): Likewise.
20529 (CLD_STOPPED): Likewise.
20530 (CLD_CONTINUED): Likewise.
20531 (POLL_IN): Likewise.
20532 (POLL_OUT): Likewise.
20533 (POLL_MSG): Likewise.
20534 (POLL_ERR): Likewise.
20535 (POLL_PRI): Likewise.
20536 (POLL_HUP): Likewise.
20537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20538 (ILL_ILLOPN): Likewise.
20539 (ILL_ILLADR): Likewise.
20540 (ILL_ILLTRP): Likewise.
20541 (ILL_PRVOPC): Likewise.
20542 (ILL_PRVREG): Likewise.
20543 (ILL_COPROC): Likewise.
20544 (ILL_BADSTK): Likewise.
20545 (FPE_INTDIV): Likewise.
20546 (FPE_INTOVF): Likewise.
20547 (FPE_FLTDIV): Likewise.
20548 (FPE_FLTOVF): Likewise.
20549 (FPE_FLTUND): Likewise.
20550 (FPE_FLTRES): Likewise.
20551 (FPE_FLTINV): Likewise.
20552 (FPE_FLTSUB): Likewise.
20553 (SEGV_MAPERR): Likewise.
20554 (SEGV_ACCERR): Likewise.
20555 (BUS_ADRALN): Likewise.
20556 (BUS_ADRERR): Likewise.
20557 (BUS_OBJERR): Likewise.
20558 (BUS_MCEERR_AR): Likewise.
20559 (BUS_MCEERR_AO): Likewise.
20560 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20561 (TRAP_TRACE): Likewise.
20562 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20564 (CLD_KILLED): Likewise.
20565 (CLD_DUMPED): Likewise.
20566 (CLD_TRAPPED): Likewise.
20567 (CLD_STOPPED): Likewise.
20568 (CLD_CONTINUED): Likewise.
20569 (POLL_IN): Likewise.
20570 (POLL_OUT): Likewise.
20571 (POLL_MSG): Likewise.
20572 (POLL_ERR): Likewise.
20573 (POLL_PRI): Likewise.
20574 (POLL_HUP): Likewise.
20575 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20576 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20579 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20580 before #include of <time.h>.
20581 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20582 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20583 (test-xfail-UNIX98/sched.h/conform): Likewise.
20585 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20587 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20588 error absence of trapping exception support.
20589 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20591 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20593 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20594 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20595 * timezone/Makefile (testdata): Move definition above include of
20597 (test-zones): New variable.
20598 (tests-special): Add zone files.
20599 (build-testdata): Use $(evaluate-test).
20601 * elf/Makefile (tests-special): Rename tests to end with .out.
20602 ($(objpfx)noload-mem): Likewise.
20603 ($(objpfx)tst-leaks1-mem): Likewise.
20604 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20605 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20606 $(objpfx)test-iconvconfig.out.
20607 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20608 set -e inside subshell and redirect output to file.
20609 * iconvdata/Makefile (generated): Rename tests to end with .out.
20611 (tests-special): Rename tests to end with .out.
20612 ($(objpfx)mtrace-tst-loading): Likewise.
20613 * intl/Makefile (generated): Likewise.
20614 (tests-special): Likewise.
20615 ($(objpfx)mtrace-tst-gettext): Likewise.
20616 * misc/Makefile (generated): Likewise.
20617 (tests-special): Likewise.
20618 ($(objpfx)tst-error1-mem): Likewise.
20619 * nptl/Makefile (tests-special): Likewise.
20620 ($(objpfx)tst-stack3-mem): Likewise.
20621 (generated): Likewise.
20622 * posix/Makefile (generated): Likewise.
20623 (tests-special): Likewise.
20624 (xtests-special): Likewise.
20625 ($(objpfx)tst-fnmatch-mem): Likewise.
20626 ($(objpfx)bug-regex2-mem): Likewise.
20627 ($(objpfx)bug-regex14-mem): Likewise.
20628 ($(objpfx)bug-regex21-mem): Likewise.
20629 ($(objpfx)bug-regex31-mem): Likewise.
20630 ($(objpfx)tst-vfork3-mem): Likewise.
20631 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20632 ($(objpfx)tst-pcre-mem): Likewise.
20633 ($(objpfx)tst-boost-mem): Likewise.
20634 ($(objpfx)bug-ga2-mem): Likewise.
20635 ($(objpfx)bug-glob2-mem): Likewise.
20636 * resolv/Makefile (generate): Likewise.
20637 (tests-special): Likewise.
20638 (xtests-special): Likewise.
20639 (generated): Likewise.
20640 ($(objpfx)mtrace-tst-leaks): Likewise.
20641 ($(objpfx)mtrace-tst-leaks2): Likewise.
20643 * scripts/merge-test-results.sh: New file.
20644 * Makefile (tests-special-notdir): New variable.
20645 (tests): Run merge-test-results.sh.
20646 (xtests): Likewise.
20647 * Rules (tests-special-notdir): New variable.
20648 (xtests-special-notdir): Likewise.
20649 (tests): Run merge-test-results.sh
20650 (xtests): Likewise.
20652 * Makeconfig (test-xfail-name): New variable.
20653 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20654 compute variable name for expected failures.
20655 * conform/Makefile (conformtest-headers-data): New variable.
20656 (conformtest-standards): Likewise.
20657 (conformtest-headers-ISO): Likewise.
20658 (conformtest-headers-ISO99): Likewise.
20659 (conformtest-headers-ISO11): Likewise.
20660 (conformtest-headers-POSIX): Likewise.
20661 (conformtest-headers-XPG3): Likewise.
20662 (conformtest-headers-XPG4): Likewise.
20663 (conformtest-headers-UNIX98): Likewise.
20664 (conformtest-headers-XOPEN2K): Likewise.
20665 (conformtest-headers-POSIX2008): Likewise.
20666 (conformtest-headers-XOPEN2K8): Likewise.
20667 (conformtest-header-list-base): Likewise.
20668 (conformtest-header-list-tests): Likewise.
20669 (conformtest-header-base): Likewise.
20670 (conformtest-header-tests): Likewise.
20671 (tests-special): Add $(conformtest-header-list-tests). If
20672 [$(fast-check) && !$(cross-compiling)], add
20673 $(conformtest-header-tests) instead of
20674 $(objpfx)run-conformtest.out.
20675 (generated): Add $(conformtest-header-list-base). If
20676 [$(fast-check) && !$(cross-compiling)], add
20677 $(conformtest-header-base). Remove previous setting.
20678 ($(conformtest-header-list-tests)): New target.
20679 (test-xfail-run-conformtest): Remove variable.
20680 ($(objpfx)run-conformtest.out): Remove target.
20681 (test-xfail-ISO11/complex.h/conform): New variable.
20682 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20683 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20684 (test-xfail-XPG3/varargs.h/conform): Likewise.
20685 (test-xfail-XPG4/varargs.h/conform): Likewise.
20686 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20687 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20688 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20689 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20690 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20691 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20692 (test-xfail-XPG3/ftw.h/conform): Likewise.
20693 (test-xfail-XPG3/grp.h/conform): Likewise.
20694 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20695 (test-xfail-XPG3/limits.h/conform): Likewise.
20696 (test-xfail-XPG3/pwd.h/conform): Likewise.
20697 (test-xfail-XPG3/search.h/conform): Likewise.
20698 (test-xfail-XPG3/signal.h/conform): Likewise.
20699 (test-xfail-XPG3/stdio.h/conform): Likewise.
20700 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20701 (test-xfail-XPG3/string.h/conform): Likewise.
20702 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20703 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20704 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20705 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20706 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20707 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20708 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20709 (test-xfail-XPG3/termios.h/conform): Likewise.
20710 (test-xfail-XPG3/time.h/conform): Likewise.
20711 (test-xfail-XPG3/unistd.h/conform): Likewise.
20712 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20713 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20714 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20715 (test-xfail-XPG4/netdb.h/conform): Likewise.
20716 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20717 (test-xfail-XPG4/signal.h/conform): Likewise.
20718 (test-xfail-XPG4/stdio.h/conform): Likewise.
20719 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20720 (test-xfail-XPG4/stropts.h/conform): Likewise.
20721 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20722 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20723 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20724 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20725 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20726 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20727 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20728 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20729 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20730 (test-xfail-XPG4/termios.h/conform): Likewise.
20731 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20732 (test-xfail-XPG4/unistd.h/conform): Likewise.
20733 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20734 (test-xfail-POSIX/sched.h/conform): Likewise.
20735 (test-xfail-POSIX/signal.h/conform): Likewise.
20736 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20737 (test-xfail-POSIX/tar.h/conform): Likewise.
20738 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20739 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20740 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20741 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20742 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20743 (test-xfail-UNIX98/sched.h/conform): Likewise.
20744 (test-xfail-UNIX98/signal.h/conform): Likewise.
20745 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20746 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20747 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20748 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20749 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20750 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20751 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20752 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20753 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20754 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20755 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20756 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20757 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20758 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20759 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20760 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20761 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20762 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20763 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20764 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20765 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20766 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20767 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20768 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20769 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20770 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20771 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20772 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20773 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20774 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20775 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20776 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20777 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20778 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20779 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20780 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20781 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20782 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20783 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20784 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20785 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20786 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20787 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20788 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20789 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20790 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20791 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20792 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20793 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20794 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20795 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20796 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20797 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20798 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20799 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20800 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20801 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20802 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20803 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20804 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20805 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20806 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20807 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20808 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20809 (conformtest-cc-flags): Likewise.
20810 ($(conformtest-header-tests): New target.
20811 * conform/check-header-lists.sh: New file.
20812 * conform/run-conformtest.sh: Remove.
20814 * conform/conformtest.pl: Allow ' and \ in values given for
20816 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20818 [POSIX] (sys/types.h): Likewise.
20819 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20821 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20823 * conform/data/signal.h-data (SIGIO): Remove expectation.
20824 [XPG3] (SIGBUS): Do not expect.
20825 [POSIX || XPG3] (SIGPOLL): Likewise.
20826 [POSIX || XPG3] (SIGPROF): Likewise.
20827 [POSIX || XPG3] (SIGSYS): Likewise.
20828 [XPG3] (SIGTRAP): Likewise.
20829 [POSIX || XPG3] (SIGURG): Likewise.
20830 [POSIX || XPG3] (SIGVTALRM): Likewise.
20831 [POSIX || XPG3] (SIGXCPU): Likewise.
20832 [POSIX || XPG3] (SIGXFSZ): Likewise.
20833 [POSIX] (SA_SIGINFO): Expect.
20834 [XPG3] (siginfo_t): Do not expect type or contents.
20835 [POSIX] (si_pid): Do not expect element.
20836 [POSIX] (si_uid): Likewise.
20837 [POSIX] (si_addr): Likewise.
20838 [POSIX] (si_status): Likewise.
20839 [POSIX] (si_band): Likewise.
20840 [XPG4] (si_value): Likewise.
20841 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20842 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20843 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20844 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20845 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20846 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20847 [POSIX || XPG3] (ILL_COPROC): Likewise.
20848 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20849 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20850 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20851 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20852 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20853 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20854 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20855 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20856 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20857 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20858 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20859 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20860 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20861 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20862 [POSIX || XPG3] (CLD_EXITED): Likewise.
20863 [POSIX || XPG3] (CLD_KILLED): Likewise.
20864 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20865 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20866 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20867 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20868 [POSIX || XPG3] (POLL_IN): Likewise.
20869 [POSIX || XPG3] (POLL_OUT): Likewise.
20870 [POSIX || XPG3] (POLL_MSG): Likewise.
20871 [POSIX || XPG3] (POLL_ERR): Likewise.
20872 [POSIX || XPG3] (POLL_PRI): Likewise.
20873 [POSIX || XPG3] (POLL_HUP): Likewise.
20874 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20875 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20876 (SIG*): Do not allow.
20877 [XPG3] (si_*): Likewise.
20878 [XPG3] (SI_*): Likewise.
20879 [XPG3 || XPG4] (sigev_*): Likewise.
20880 [XPG3 || XPG4] (SIGEV_*): Likewise.
20881 [XPG3 || XPG4] (sival_*): Likewise.
20882 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20883 [POSIX || XPG3] (BUS_*): Likewise.
20884 [POSIX || XPG3] (CLD_*): Likewise.
20885 [POSIX || XPG3] (FPE_*): Likewise.
20886 [POSIX || XPG3] (ILL_*): Likewise.
20887 [POSIX || XPG3] (POLL_*): Likewise.
20888 [POSIX || XPG3] (SEGV_*): Likewise.
20889 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20890 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20891 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20892 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20893 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20894 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20895 Specify type and value.
20896 (TVERSLEN): Likewise.
20897 (REGTYPE): Likewise.
20898 (AREGTYPE): Likewise.
20899 (LNKTYPE): Likewise.
20900 (SYMTYPE): Likewise.
20901 (CHRTYPE): Likewise.
20902 (BLKTYPE): Likewise.
20903 (DIRTYPE): Likewise.
20904 (FIFOTYPE): Likewise.
20905 (CONTTYPE): Likewise.
20909 (TUREAD): Likewise.
20910 (TUWRITE): Likewise.
20911 (TUEXEC): Likewise.
20912 (TGREAD): Likewise.
20913 (TGWRITE): Likewise.
20914 (TGEXEC): Likewise.
20915 (TOREAD): Likewise.
20916 (TOWRITE): Likewise.
20917 (TOEXEC): Likewise.
20918 [POSIX] (TSVTX): Expect constant.
20920 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20922 * Makefile (tests): Change dependencies to ....
20923 (tests-special): ... additions to this variable.
20924 (tests): Depend on $(tests-special).
20925 * Makerules (check-abi-list): New variable.
20926 (check-abi): Depend on $(check-abi-list).
20927 [$(subdir) = elf] (tests-special): Add
20928 $(objpfx)check-abi-libc.out.
20929 [$(build-shared) = yes && subdir] (tests-special): Add
20931 [$(build-shared) = yes && subdir] (tests): Do not depend on
20933 * Rules (tests): Depend on $(tests-special).
20934 (xtests): Depend on $(xtests-special).
20935 * catgets/Makefile (tests): Change dependencies to ....
20936 (tests-special): ... additions to this variable.
20937 * conform/Makefile (tests): Change dependencies to ....
20938 (tests-special): ... additions to this variable.
20939 * elf/Makefile (tests): Change dependencies to ....
20940 (tests-special): ... additions to this variable.
20941 * grp/Makefile (tests): Change dependencies to ....
20942 (tests-special): ... additions to this variable.
20943 * iconv/Makefile (xtests): Change dependencies to ....
20944 (xtests-special): ... additions to this variable.
20945 * iconvdata/Makefile (tests): Change dependencies to ....
20946 (tests-special): ... additions to this variable.
20947 * intl/Makefile (tests): Change dependencies to ....
20948 (tests-special): ... additions to this variable. Also add
20949 $(objpfx)tst-gettext.out.
20950 * io/Makefile (tests): Change dependencies to ....
20951 (tests-special): ... additions to this variable.
20952 * libio/Makefile (tests): Change dependencies to ....
20953 (tests-special): ... additions to this variable.
20954 * malloc/Makefile (tests): Change dependencies to ....
20955 (tests-special): ... additions to this variable.
20956 * misc/Makefile (tests): Change dependencies to ....
20957 (tests-special): ... additions to this variable.
20958 * nptl/Makefile (tests): Change dependencies to ....
20959 (tests-special): ... additions to this variable.
20960 * nptl_db/Makefile (tests): Change dependencies to ....
20961 (tests-special): ... additions to this variable.
20962 * posix/Makefile (tests): Change dependencies to ....
20963 (tests-special): ... additions to this variable.
20964 (xtests): Change dependencies to ....
20965 (xtests-special): ... additions to this variable.
20966 * resolv/Makefile (tests): Change dependencies to ....
20967 (tests-special): ... additions to this variable.
20968 (xtests): Change dependencies to ....
20969 (xtests-special): ... additions to this variable.
20970 * stdio-common/Makefile (tests): Change dependencies to ....
20971 (tests-special): ... additions to this variable.
20972 (do-tst-unbputc): Remove target.
20973 (do-tst-printf): Likewise.
20974 * stdlib/Makefile (tests): Change dependencies to ....
20975 (tests-special): ... additions to this variable.
20976 * string/Makefile (tests): Change dependencies to ....
20977 (tests-special): ... additions to this variable.
20978 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20979 (tests-special): ... additions to this variable.
20981 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20983 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20985 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20986 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20988 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20989 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20990 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20991 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20992 * conform/data/libgen.h-data [XPG3]: Likewise.
20993 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20994 * conform/data/ndbm.h-data [XPG3]: Likewise.
20995 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20996 * conform/data/netdb.h-data [XPG3]: Likewise.
20997 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20998 * conform/data/poll.h-data [XPG3]: Likewise.
20999 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21000 * conform/data/strings.h-data [XPG3]: Likewise.
21001 * conform/data/stropts.h-data [XPG3]: Likewise.
21002 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21003 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21004 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21006 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21007 * conform/data/sys/time.h-data [XPG3]: Likewise.
21008 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21009 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21010 * conform/data/sys/un.h-data [XPG3]: Likewise.
21011 * conform/data/syslog.h-data [XPG3]: Likewise.
21012 * conform/data/ucontext.h-data [XPG3]: Likewise.
21013 * conform/data/utmpx.h-data [XPG3]: Likewise.
21014 * conform/data/varargs.h-data [UNIX98]: Enable file.
21016 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21018 * math/libm-test.inc (struct test_f_f_data): Move expected results
21019 into structure for each rounding mode.
21020 (struct test_ff_f_data): Likewise.
21021 (struct test_ff_f_data_nexttoward): Likewise.
21022 (struct test_fi_f_data): Likewise.
21023 (struct test_fl_f_data): Likewise.
21024 (struct test_if_f_data): Likewise.
21025 (struct test_fff_f_data): Likewise.
21026 (struct test_c_f_data): Likewise.
21027 (struct test_f_f1_data): Likewise.
21028 (struct test_fF_f1_data): Likewise.
21029 (struct test_ffI_f1_data): Likewise.
21030 (struct test_c_c_data): Likewise.
21031 (struct test_cc_c_data): Likewise.
21032 (struct test_f_i_data): Likewise.
21033 (struct test_ff_i_data): Likewise.
21034 (struct test_f_l_data): Likewise.
21035 (struct test_f_L_data): Likewise.
21036 (struct test_fFF_11_data): Likewise.
21038 (RM_FE_DOWNWARD): Likewise.
21039 (RM_FE_TONEAREST): Likewise.
21040 (RM_FE_TOWARDZERO): Likewise.
21041 (RM_FE_UPWARD): Likewise.
21042 (RUN_TEST_LOOP_f_f): Update references to expected results.
21043 (RUN_TEST_LOOP_2_f): Likewise.
21044 (RUN_TEST_LOOP_fff_f): Likewise.
21045 (RUN_TEST_LOOP_c_f): Likewise.
21046 (RUN_TEST_LOOP_f_f1): Likewise.
21047 (RUN_TEST_LOOP_fF_f1): Likewise.
21048 (RUN_TEST_LOOP_fI_f1): Likewise.
21049 (RUN_TEST_LOOP_ffI_f1): Likewise.
21050 (RUN_TEST_LOOP_c_c): Likewise.
21051 (RUN_TEST_LOOP_cc_c): Likewise.
21052 (RUN_TEST_LOOP_f_i): Likewise.
21053 (RUN_TEST_LOOP_f_i_tg): Likewise.
21054 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21055 (RUN_TEST_LOOP_f_b): Likewise.
21056 (RUN_TEST_LOOP_f_b_tg): Likewise.
21057 (RUN_TEST_LOOP_f_l): Likewise.
21058 (RUN_TEST_LOOP_f_L): Likewise.
21059 (RUN_TEST_LOOP_fFF_11): Likewise.
21060 * math/gen-libm-test.pl (parse_args): Output four copies of
21061 expected results for each test.
21063 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21064 (__ASSUME_UTIMES): Remove.
21065 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21066 (__ASSUME_UTIMES): Likewise.
21068 * math/gen-auto-libm-tests.c: Update comment on output format.
21069 (output_for_one_input_case): Generate before-rounding and
21070 after-rounding information as conditions on output flags not
21071 floating-point format.
21072 * math/auto-libm-test-out: Regenerated.
21073 * math/gen-libm-test.pl (cond_value): New function.
21074 (or_cond_value): Use cond_value.
21075 (generate_testfile): Handle conditional exceptions.
21077 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21079 * math/libm-test.inc (max_valid_error): New variable.
21080 (init_max_error): Take new argument specifying whether function
21081 results are exactly determined. Set max_valid_error and bound
21082 other variables for errors based on this argument.
21083 (set_max_error): Do not record results above max_valid_error.
21084 (check_float_internal): Only accept errors of up to 0.5ulps if
21085 also at most max_valid_error.
21086 (START): Take new argument EXACT and pass it to init_max_error.
21087 (acos_test): Update call to START.
21088 (acos_test_tonearest): Likewise.
21089 (acos_test_towardzero): Likewise.
21090 (acos_test_downward): Likewise.
21091 (acos_test_upward): Likewise.
21092 (acosh_test): Likewise.
21093 (asin_test): Likewise.
21094 (asin_test_tonearest): Likewise.
21095 (asin_test_towardzero): Likewise.
21096 (asin_test_downward): Likewise.
21097 (asin_test_upward): Likewise.
21098 (asinh_test): Likewise.
21099 (atan_test): Likewise.
21100 (atanh_test): Likewise.
21101 (atan2_test): Likewise.
21102 (cabs_test): Likewise.
21103 (cacos_test): Likewise.
21104 (cacosh_test): Likewise.
21105 (carg_test): Likewise.
21106 (casin_test): Likewise.
21107 (casinh_test): Likewise.
21108 (catan_test): Likewise.
21109 (catanh_test): Likewise.
21110 (cbrt_test): Likewise.
21111 (ccos_test): Likewise.
21112 (ccosh_test): Likewise.
21113 (ceil_test): Likewise.
21114 (cexp_test): Likewise.
21115 (cimag_test): Likewise.
21116 (clog_test): Likewise.
21117 (clog10_test): Likewise.
21118 (conj_test): Likewise.
21119 (copysign_test): Likewise.
21120 (cos_test): Likewise.
21121 (cos_test_tonearest): Likewise.
21122 (cos_test_towardzero): Likewise.
21123 (cos_test_downward): Likewise.
21124 (cos_test_upward): Likewise.
21125 (cosh_test): Likewise.
21126 (cosh_test_tonearest): Likewise.
21127 (cosh_test_towardzero): Likewise.
21128 (cosh_test_downward): Likewise.
21129 (cosh_test_upward): Likewise.
21130 (cpow_test): Likewise.
21131 (cproj_test): Likewise.
21132 (creal_test): Likewise.
21133 (csin_test): Likewise.
21134 (csinh_test): Likewise.
21135 (csqrt_test): Likewise.
21136 (ctan_test): Likewise.
21137 (ctan_test_tonearest): Likewise.
21138 (ctan_test_towardzero): Likewise.
21139 (ctan_test_downward): Likewise.
21140 (ctan_test_upward): Likewise.
21141 (ctanh_test): Likewise.
21142 (ctanh_test_tonearest): Likewise.
21143 (ctanh_test_towardzero): Likewise.
21144 (ctanh_test_downward): Likewise.
21145 (ctanh_test_upward): Likewise.
21146 (erf_test): Likewise.
21147 (erfc_test): Likewise.
21148 (exp_test): Likewise.
21149 (exp_test_tonearest): Likewise.
21150 (exp_test_towardzero): Likewise.
21151 (exp_test_downward): Likewise.
21152 (exp_test_upward): Likewise.
21153 (exp10_test): Likewise.
21154 (exp10_test_tonearest): Likewise.
21155 (exp10_test_towardzero): Likewise.
21156 (exp10_test_downward): Likewise.
21157 (exp10_test_upward): Likewise.
21158 (pow10_test): Likewise.
21159 (exp2_test): Likewise.
21160 (expm1_test): Likewise.
21161 (expm1_test_tonearest): Likewise.
21162 (expm1_test_towardzero): Likewise.
21163 (expm1_test_downward): Likewise.
21164 (expm1_test_upward): Likewise.
21165 (fabs_test): Likewise.
21166 (fdim_test): Likewise.
21167 (floor_test): Likewise.
21168 (fma_test): Likewise.
21169 (fma_test_towardzero): Likewise.
21170 (fma_test_downward): Likewise.
21171 (fma_test_upward): Likewise.
21172 (fmax_test): Likewise.
21173 (fmin_test): Likewise.
21174 (fmod_test): Likewise.
21175 (fpclassify_test): Likewise.
21176 (frexp_test): Likewise.
21177 (hypot_test): Likewise.
21178 (ilogb_test): Likewise.
21179 (isfinite_test): Likewise.
21180 (finite_test): Likewise.
21181 (isgreater_test): Likewise.
21182 (isgreaterequal_test): Likewise.
21183 (isinf_test): Likewise.
21184 (isless_test): Likewise.
21185 (islessequal_test): Likewise.
21186 (islessgreater_test): Likewise.
21187 (isnan_test): Likewise.
21188 (isnormal_test): Likewise.
21189 (issignaling_test): Likewise.
21190 (isunordered_test): Likewise.
21191 (j0_test): Likewise.
21192 (j1_test): Likewise.
21193 (jn_test): Likewise.
21194 (ldexp_test): Likewise.
21195 (lgamma_test): Likewise.
21196 (gamma_test): Likewise.
21197 (lrint_test): Likewise.
21198 (lrint_test_tonearest): Likewise.
21199 (lrint_test_towardzero): Likewise.
21200 (lrint_test_downward): Likewise.
21201 (lrint_test_upward): Likewise.
21202 (llrint_test): Likewise.
21203 (llrint_test_tonearest): Likewise.
21204 (llrint_test_towardzero): Likewise.
21205 (llrint_test_downward): Likewise.
21206 (llrint_test_upward): Likewise.
21207 (log_test): Likewise.
21208 (log10_test): Likewise.
21209 (log1p_test): Likewise.
21210 (log2_test): Likewise.
21211 (logb_test): Likewise.
21212 (logb_test_downward): Likewise.
21213 (lround_test): Likewise.
21214 (llround_test): Likewise.
21215 (modf_test): Likewise.
21216 (nearbyint_test): Likewise.
21217 (nextafter_test): Likewise.
21218 (nexttoward_test): Likewise.
21219 (pow_test): Likewise.
21220 (pow_test_tonearest): Likewise.
21221 (pow_test_towardzero): Likewise.
21222 (pow_test_downward): Likewise.
21223 (pow_test_upward): Likewise.
21224 (remainder_test): Likewise.
21225 (drem_test): Likewise.
21226 (remainder_test_tonearest): Likewise.
21227 (drem_test_tonearest): Likewise.
21228 (remainder_test_towardzero): Likewise.
21229 (drem_test_towardzero): Likewise.
21230 (remainder_test_downward): Likewise.
21231 (drem_test_downward): Likewise.
21232 (remainder_test_upward): Likewise.
21233 (drem_test_upward): Likewise.
21234 (remquo_test): Likewise.
21235 (rint_test): Likewise.
21236 (rint_test_tonearest): Likewise.
21237 (rint_test_towardzero): Likewise.
21238 (rint_test_downward): Likewise.
21239 (rint_test_upward): Likewise.
21240 (round_test): Likewise.
21241 (scalb_test): Likewise.
21242 (scalbn_test): Likewise.
21243 (scalbln_test): Likewise.
21244 (signbit_test): Likewise.
21245 (sin_test): Likewise.
21246 (sin_test_tonearest): Likewise.
21247 (sin_test_towardzero): Likewise.
21248 (sin_test_downward): Likewise.
21249 (sin_test_upward): Likewise.
21250 (sincos_test): Likewise.
21251 (sinh_test): Likewise.
21252 (sinh_test_tonearest): Likewise.
21253 (sinh_test_towardzero): Likewise.
21254 (sinh_test_downward): Likewise.
21255 (sinh_test_upward): Likewise.
21256 (sqrt_test): Likewise.
21257 (sqrt_test_tonearest): Likewise.
21258 (sqrt_test_towardzero): Likewise.
21259 (sqrt_test_downward): Likewise.
21260 (sqrt_test_upward): Likewise.
21261 (tan_test): Likewise.
21262 (tan_test_tonearest): Likewise.
21263 (tan_test_towardzero): Likewise.
21264 (tan_test_downward): Likewise.
21265 (tan_test_upward): Likewise.
21266 (tanh_test): Likewise.
21267 (tgamma_test): Likewise.
21268 (trunc_test): Likewise.
21269 (y0_test): Likewise.
21270 (y1_test): Likewise.
21271 (yn_test): Likewise.
21272 (significand_test): Likewise.
21274 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21275 individual tests in comment.
21276 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21277 (prev_max_error): New variable.
21278 (prev_real_max_error): Likewise.
21279 (prev_imag_max_error): Likewise.
21280 (compare_ulp_data): Don't refer to test names in comment.
21281 (find_test_ulps): Remove function.
21282 (find_function_ulps): Likewise.
21283 (find_complex_function_ulps): Likewise.
21284 (init_max_error): Take function name as argument. Look up ulps
21286 (print_ulps): Remove function.
21287 (print_max_error): Use prev_max_error instead of calling
21288 find_function_ulps.
21289 (print_complex_max_error): Use prev_real_max_error and
21290 prev_imag_max_error instead of calling find_complex_function_ulps.
21291 (check_float_internal): Take max_ulp parameter instead of calling
21292 find_test_ulps. Don't call print_ulps.
21293 (check_float): Update call to check_float_internal.
21294 (check_complex): Update calls to check_float_internal.
21295 (START): Pass argument to init_max_error.
21296 * math/gen-libm-test.pl (%results): Don't include "kind"
21298 (parse_ulps): Don't handle ulps of individual tests.
21299 (print_ulps_file): Likewise.
21300 (output_ulps): Likewise.
21301 * math/README.libm-test: Update.
21302 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21304 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21305 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21306 * sysdeps/arm/libm-test-ulps: Likewise.
21307 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21308 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21309 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21310 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21311 * sysdeps/microblaze/libm-test-ulps: Likewise.
21312 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21313 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21315 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21316 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21317 * sysdeps/sh/libm-test-ulps: Likewise.
21318 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21319 * sysdeps/tile/libm-test-ulps: Likewise.
21320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21322 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21324 * math/libm-test.inc (print_complex_max_error): Check separately
21325 whether real and imaginary errors are within allowed range and
21326 pass 0 to print_complex_function_ulps instead of value within
21329 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21331 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21333 (get_handles_fopen): Likewise.
21334 (do_write_test): Likewise.
21336 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21338 * libio/fileops.c (do_ftell): Use cached offset when
21340 * libio/iofwide.c (do_ftell_wide): Likewise.
21341 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21343 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21346 * libio/libioP.h (get_file_offset): New function.
21347 * libio/fileops.c (get_file_offset): Likewise.
21348 (do_ftell): Likewise.
21349 (_IO_new_file_seekoff): Split out ftell logic.
21350 * libio/wfileops.c (do_ftell_wide): Likewise.
21351 (_IO_wfile_seekoff): Split out ftell logic.
21352 * libio/tst-ftell-active-handler.c: New test case.
21353 * libio/Makefile (tests): Add it.
21355 2014-03-03 Roland McGrath <roland@hack.frob.com>
21357 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21358 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21360 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21363 * nscd/connections.c (nscd_init): Call do_exit.
21364 (start_threads): Call do_exit and notify_parent.
21365 (begin_drop_privileges): Call do_exit.
21366 (finish_drop_privileges): Likewise.
21367 * nscd/selinux.c (preserve_capabilities): Likewise.
21368 (install_real_capabilities): Likewise.
21369 (nscd_selinux_enabled): Likewise.
21370 (avc_create_thread): Likewise.
21371 (avc_alloc_lock): Likewise.
21372 (nscd_avc_init): Likewise.
21373 * nscd/nscd.c (parent_fd): New static variable.
21374 (main): Create a pipe between parent and child processes.
21375 Skip closing parent_fd.
21376 (monitor_child): New function.
21377 (do_exit): Likewise.
21378 (notify_parent): Likewise.
21379 * nscd/nscd.h (notify_parent): Likewise.
21380 (do_exit): Likewise.
21382 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21384 * malloc/malloc.c (__libc_calloc): Revert last change.
21386 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21390 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21392 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21396 (__libc_ifunc_impl_list): Likewise.
21397 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21398 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21399 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21400 * string/strrchr.c: Define STRRCHR.
21402 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21404 * benchtest/bench-strtok.c (simple_strtok): Delete.
21405 (strtok_string): Use as benchmark.
21406 * string/strtok (STRTOK): New macro.
21408 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21410 * manual/threads.texi: Add header and standard comments to all
21413 * elf/dl-lookup.c (check_match): New function.
21414 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21415 (do_lookup_x): Remove nested function check_match. Use non-nested
21416 function check_match.
21418 2014-02-28 Roland McGrath <roland@hack.frob.com>
21420 * csu/Makefile (generated, before-compile): Use += rather than =.
21421 * catgets/Makefile (generated, generated-dirs): Likewise.
21422 * debug/Makefile (generated): Likewise.
21423 * dlfcn/Makefile (generated): Likewise.
21424 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21425 * iconvdata/Makefile (before-compile, generated): Likewise.
21426 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21427 * libio/Makefile (generated): Likewise.
21428 * malloc/Makefile (generated): Likewise.
21429 * manual/Makefile (generated, generated-dirs): Likewise.
21430 * misc/Makefile (generated): Likewise.
21431 * posix/Makefile (generated): Likewise.
21432 * resolv/Makefile (generated): Likewise.
21433 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21434 * timezone/Makefile (generated, generated-dirs): Likewise.
21436 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21438 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21441 power8 implementation.
21442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21443 file: POWER8 llround ifunc implementation.
21444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21445 (__lllround): Add POWER8 implementation.
21446 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21447 POWER8 llround implementation.
21449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21450 power8 implementation.
21451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21452 file: POWER8 llrint ifunc implementation.
21453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21454 Add POWER8 implementation.
21455 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21456 POWER8 llrint implementation.
21458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21459 power8 implementation.
21460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21461 file: POWER8 finite ifunc implementation.
21462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21463 Add POWER8 implementation.
21464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21466 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21467 POWER8 finite implementation.
21468 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21471 power8 implementation.
21472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21473 file: POWER8 isinf ifunc implementation.
21474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21475 POWER8 implementation.
21476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21478 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21479 isinf implementation.
21480 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21482 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21483 (INIT_ARCH): Add hwcap2 initialization.
21484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21485 power8 implementation.
21486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21487 file: POWER8 isnan ifunc implementation.
21488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21489 POWER8 implementation.
21490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21492 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21493 isnan implementation.
21494 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21496 2014-02-27 Joey Ye <joey.ye@arm.com>
21498 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21499 (_FP_NANFRAC_Q): Set to zero.
21501 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21504 * math/auto-libm-test-in: New test inputs.
21505 * math/auto-libm-test-out: Regenerate.
21506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21509 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21511 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21513 * scripts/evaluate-test.sh: Take new argument indicating whether
21514 failure is expected.
21515 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21516 indicating whether failure is expected.
21517 * conform/Makefile (test-xfail-run-conformtest): New variable.
21518 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21520 * posix/Makefile (test-xfail-annexc): New variable.
21521 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21523 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21525 * argp/Makefile: Include Makeconfig immediately after defining
21527 * assert/Makefile: Likewise.
21528 * benchtests/Makefile: Likewise.
21529 * catgets/Makefile: Likewise.
21530 * conform/Makefile: Likewise.
21531 * crypt/Makefile: Likewise.
21532 * csu/Makefile: Likewise.
21533 (all): Remove target.
21534 * ctype/Makefile: Include Makeconfig immediately after defining
21536 * debug/Makefile: Likewise.
21537 * dirent/Makefile: Likewise.
21538 * dlfcn/Makefile: Likewise.
21539 * gmon/Makefile: Likewise.
21540 * gnulib/Makefile: Likewise.
21541 * grp/Makefile: Likewise.
21542 * gshadow/Makefile: Likewise.
21543 * hesiod/Makefile: Likewise.
21544 * hurd/Makefile: Likewise.
21545 (all): Remove target.
21546 * iconvdata/Makefile: Include Makeconfig immediately after
21548 * inet/Makefile: Likewise.
21549 * intl/Makefile: Likewise.
21550 * io/Makefile: Likewise.
21551 * libio/Makefile: Likewise.
21552 (all): Remove target.
21553 * locale/Makefile: Include Makeconfig immediately after defining
21555 * login/Makefile: Likewise.
21556 * mach/Makefile: Likewise.
21557 (all): Remove target.
21558 * malloc/Makefile: Include Makeconfig immediately after defining
21560 (all): Remove target.
21561 * manual/Makefile: Include Makeconfig immediately after defining
21563 * math/Makefile: Likewise.
21564 * misc/Makefile: Likewise.
21565 * nis/Makefile: Likewise.
21566 * nss/Makefile: Likewise.
21567 * po/Makefile: Likewise.
21568 (all): Remove target.
21569 * posix/Makefile: Include Makeconfig immediately after defining
21571 * pwd/Makefile: Likewise.
21572 * resolv/Makefile: Likewise.
21573 * resource/Makefile: Likewise.
21574 * rt/Makefile: Likewise.
21575 * setjmp/Makefile: Likewise.
21576 * shadow/Makefile: Likewise.
21577 * signal/Makefile: Likewise.
21578 * socket/Makefile: Likewise.
21579 * soft-fp/Makefile: Likewise.
21580 * stdio-common/Makefile: Likewise.
21581 * stdlib/Makefile: Likewise.
21582 * streams/Makefile: Likewise.
21583 * string/Makefile: Likewise.
21584 * sunrpc/Makefile: Likewise.
21585 (all): Remove target.
21586 * sysvipc/Makefile: Include Makeconfig immediately after defining
21588 * termios/Makefile: Likewise.
21589 * time/Makefile: Likewise.
21590 * timezone/Makefile: Likewise.
21591 (all): Remove target.
21592 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21594 * wctype/Makefile: Likewise.
21596 2014-02-26 Steve Ellcey <sellcey@mips.com>
21598 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21599 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21600 (libc_feholdexcept_setround_mips): Ditto.
21601 (libc_feholdsetround): New.
21602 (libc_feholdsetroundf): New.
21603 (libc_feholdsetroundl): New.
21604 (libc_feupdateenv_test_mips): New.
21605 (libc_feupdateenv_test): New.
21606 (libc_feupdateenv_testf): New.
21607 (libc_feupdateenv_testl): New.
21608 (libc_feresetround): New.
21609 (libc_feresetroundf): New.
21610 (libc_feresetroundl): New.
21611 (libc_fetestexcept_mips): New.
21612 (libc_fetestexcept): New.
21613 (libc_fetestexceptf): New.
21614 (libc_fetestexceptl): New.
21615 (HAVE_RM_CTX): New.
21616 (libc_feholdexcept_setround_mips_ctx): New.
21617 (libc_feholdexcept_setround_ctx): New.
21618 (libc_feholdexcept_setroundf_ctx): New.
21619 (libc_feholdexcept_setroundl_ctx): New.
21620 (libc_fesetenv_mips_ctx): New.
21621 (libc_fesetenv_ctx): New.
21622 (libc_fesetenv_ctxf): New.
21623 (libc_fesetenv_ctxl): New.
21624 (libc_feupdateenv_mips_ctx): New.
21625 (libc_feupdateenv_ctx): New.
21626 (libc_feupdateenvf_ctx): New.
21627 (libc_feupdateenvl_ctx): New.
21628 (libc_feholdsetround_mips_ctx): New.
21629 (libc_feholdsetround_ctx): New.
21630 (libc_feholdsetroundf_ctx): New.
21631 (libc_feholdsetroundl_ctx): New.
21632 (libc_feresetround_mips_ctx): New.
21633 (libc_feresetround_ctx): New.
21634 (libc_feresetroundf_ctx): New.
21635 (libc_feresetroundl_ctx): New.
21637 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21639 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21641 * manual/ipc.texi: New file.
21642 * manual/Makefile (chapters): Add ipc.
21643 * manual/job.texi: Add "Inter-Process Communication" to next.
21644 * manual/process.texi: Add "Inter-Process Communication" to prev.
21646 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21650 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21652 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21654 * manual/arith.texi: Fix spaces after sentences.
21655 * manual/charset.texi: Likewise.
21656 * manual/errno.texi: Likewise.
21657 * manual/install.texi: Likewise.
21658 * manual/llio.texi: Likewise.
21659 * manual/locale.texi: Likewise.
21660 * manual/maint.texi: Likewise.
21661 * manual/math.texi: Likewise.
21662 * manual/memory.texi: Likewise.
21663 * manual/message.texi: Likewise.
21664 * manual/probes.texi: Likewise.
21665 * manual/resource.texi: Likewise.
21666 * manual/signal.texi: Likewise.
21667 * manual/socket.texi: Likewise.
21668 * manual/stdio.texi: Likewise.
21669 * manual/string.texi: Likewise.
21670 * manual/time.texi: Likewise.
21671 * manual/users.texi: Likewise.
21673 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21676 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21677 _DEFAULT_SOURCE is defined.
21679 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21680 Carlos O'Donell <carlos@redhat.com>
21683 * elf/dl-tls.c (_dl_count_modids): New function.
21684 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21685 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21686 audit library and increment generation counter.
21687 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21688 * elf/tst-audit9.c: New file.
21689 * elf/tst-auditmod9a.c: New file.
21690 * elf/tst-auditmod9b.c: New file.
21691 * elf/Makefile: Add rules to build and run tst-audit9.
21693 2014-02-25 Florian Weimer <fweimer@redhat.com>
21696 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21698 2014-02-25 Will Newton <will.newton@linaro.org>
21700 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21701 (__longjmp): Restore sp and lr before restoring callee
21702 saved registers. Add longjmp and longjmp_target
21703 SystemTap probe point.
21704 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21705 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21706 Define to zero to match jmpbuf layout.
21707 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21708 (__sigsetjmp): Save sp and lr before saving callee
21709 saved registers. Add setjmp SystemTap probe point.
21711 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21713 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21715 2014-02-24 Andreas Schwab <schwab@suse.de>
21718 * elf/pldd.c (wait_for_ptrace_stop): New function.
21719 (main): Call it after attaching.
21721 2014-02-22 Roland McGrath <roland@hack.frob.com>
21723 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21724 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21725 Versions files is now verboten.
21726 * hurd/Versions (libc: GLIBC_2.0):
21727 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21728 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21729 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21730 * mach/Versions: Likewise.
21732 * csu/Versions: Remove unused %include.
21733 * resolv/Versions: Likewise.
21735 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21737 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21738 ($(objpfx)check-local-headers.out): Likewise.
21739 ($(objpfx)begin-end-check.out): Likewise.
21740 * Makerules (check-abi-%.out): Likewise.
21741 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21742 ($(objpfx)test2.cat): Likewise.
21743 ($(objpfx)de/libc.cat): Likewise.
21744 ($(objpfx)test-gencat.out): Likewise.
21745 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21746 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21747 ($(objpfx)noload-mem): Likewise.
21748 ($(objpfx)tst-pathopt.out): Likewise.
21749 ($(objpfx)tst-rtld-load-self.out): Likewise.
21750 ($(objpfx)tst-array1-cmp.out): Likewise.
21751 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21752 ($(objpfx)tst-array2-cmp.out): Likewise.
21753 ($(objpfx)tst-array3-cmp.out): Likewise.
21754 ($(objpfx)tst-array4-cmp.out): Likewise.
21755 ($(objpfx)tst-array5-cmp.out): Likewise.
21756 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21757 ($(objpfx)check-textrel.out): Likewise.
21758 ($(objpfx)check-execstack.out): Likewise.
21759 ($(objpfx)check-localplt.out): Likewise.
21760 ($(objpfx)order2-cmp.out): Likewise.
21761 ($(objpfx)tst-leaks1-mem): Likewise.
21762 ($(objpfx)tst-leaks1-static-mem): Likewise.
21763 ($(objpfx)tst-initorder-cmp.out): Likewise.
21764 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21765 ($(objpfx)tst-unused-dep.out): Likewise.
21766 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21767 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21768 * iconv/Makefile (test-iconvconfig): Likewise.
21769 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21770 ($(objpfx)iconv-test.out): Likewise.
21771 ($(objpfx)tst-tables.out): Likewise.
21772 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21773 ($(objpfx)tst-gettext.out): Likewise.
21774 ($(objpfx)tst-translit.out): Likewise.
21775 ($(objpfx)tst-gettext2.out): Likewise.
21776 ($(objpfx)tst-gettext4.out): Likewise.
21777 ($(objpfx)tst-gettext6.out): Likewise.
21778 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21779 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21780 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21781 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21782 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21783 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21784 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21785 ($(objpfx)wordexp-tst.out): Likewise.
21786 ($(objpfx)annexc.out): Likewise.
21787 ($(objpfx)tst-fnmatch-mem): Likewise.
21788 ($(objpfx)bug-regex2-mem): Likewise.
21789 ($(objpfx)bug-regex14-mem): Likewise.
21790 ($(objpfx)bug-regex21-mem): Likewise.
21791 ($(objpfx)bug-regex31-mem): Likewise.
21792 ($(objpfx)tst-vfork3-mem): Likewise.
21793 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21794 ($(objpfx)tst-pcre-mem): Likewise.
21795 ($(objpfx)tst-boost-mem): Likewise.
21796 ($(objpfx)tst-getconf.out): Likewise.
21797 ($(objpfx)bug-ga2-mem): Likewise.
21798 ($(objpfx)bug-glob2-mem): Likewise.
21799 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21800 ($(objpfx)mtrace-tst-leaks2): Likewise.
21801 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21802 ($(objpfx)tst-printf.out): Likewise.
21803 ($(objpfx)tst-setvbuf1.out): Likewise.
21804 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21805 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21806 ($(objpfx)tst-fmtmsg.out): Likewise.
21807 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21808 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21810 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21811 * bits/sigaction.h [__USE_MISC]: Likewise.
21812 * bits/waitstatus.h: Update #endif comments.
21813 * ctype/ctype.h: Likewise.
21814 * dirent/dirent.h: Likewise.
21815 [__USE_MISC]: Remove redundant conditionals.
21816 * grp/grp.h: Update #endif comments.
21817 [__USE_GNU]: Remove redundant conditionals.
21818 [__USE_MISC]: Likewise.
21819 * inet/netinet/in.h [__USE_GNU]: Likewise.
21820 * io/sys/stat.h [__USE_MISC]: Likewise.
21821 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21822 * libio/bits/stdio.h: Update #endif comments.
21823 [__USE_MISC]: Remove redundant conditionals.
21824 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21825 * libio/stdio.h: Update #endif comments.
21826 [__USE_MISC]: Remove redundant conditionals.
21827 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21828 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21829 * math/math.h: Update #else and #endif comments.
21830 [__USE_MISC]: Remove redundant conditionals.
21831 * misc/sys/uio.h: Update #endif comments.
21832 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21833 * posix/glob.h [__USE_MISC]: Likewise.
21834 * posix/sys/types.h: Update #endif comments.
21835 [__USE_MISC]: Remove redundant conditionals.
21836 * posix/sys/wait.h: Update #endif comments.
21837 [__USE_MISC]: Remove redundant conditionals.
21838 * posix/unistd.h: Update #endif comments.
21839 [__USE_MISC]: Remove redundant conditionals.
21840 * pwd/pwd.h [__USE_GNU]: Likewise.
21841 [__USE_MISC]: Likewise.
21842 * resolv/netdb.h [__USE_GNU]: Likewise.
21843 * signal/signal.h: Update #endif comments.
21844 [__USE_MISC]: Remove redundant conditionals.
21845 * stdlib/stdlib.h: Update #else and #endif comments.
21846 [__USE_MISC]: Remove redundant conditionals.
21847 [__USE_GNU]: Likewise.
21848 * string/bits/string2.h [__USE_MISC]: Likewise.
21849 * string/string.h: Update #endif comments.
21850 [__USE_MISC]: Remove redundant conditionals.
21851 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21853 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21854 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21855 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21857 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21861 [__USE_MISC]: Remove redundant conditionals.
21862 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21863 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21864 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21865 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21866 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21868 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21869 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21871 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21872 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21874 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21876 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21877 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21879 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21881 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21882 * sysdeps/x86/bits/string.h: Update #endif comments.
21883 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21885 * time/sys/time.h: Update #endif comments.
21886 * time/time.h: Likewise.
21887 [__USE_MISC]: Remove redundant conditionals.
21889 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21892 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21894 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21896 * Versions.def (librt): Add GLIBC_2.17.
21898 2014-02-21 Adam Conrad <adconrad@0c3.net>
21900 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21901 synonym for _SYS_AUXV_H to allow direct inclusion.
21902 * sysdeps/sparc/bits/hwcap.h: Likewise.
21903 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21904 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21905 * sysdeps/sparc/sysdep.h: Likewise.
21907 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21909 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21911 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21913 * benchtests/bench-strrchr.c: Print length instead of position.
21915 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21918 * sysdeps/unix/sysv/linux/kernel-features.h
21919 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21920 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21921 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21922 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21924 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21925 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21926 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21927 (__ASSUME_SENDMMSG): Define instead of using previous
21928 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21929 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21930 (__ASSUME_SENDMMSG_SYSCALL): Define.
21931 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21932 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21934 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21935 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21937 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21938 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21940 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21941 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21942 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21943 [__ASSUME_SENDMMSG]: Change conditionals to
21944 [__ASSUME_SENDMMSG_SOCKETCALL].
21945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21946 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21948 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21949 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21951 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21952 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21953 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21954 [!__ASSUME_SENDMMSG]: Change conditional to
21955 [!__ASSUME_SENDMMSG_SOCKETCALL].
21956 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21957 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21961 * sysdeps/unix/sysv/linux/kernel-features.h
21962 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21963 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21964 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21965 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21966 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21967 [__i386__ || __sparc__]
21968 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21969 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21970 (__ASSUME_RECVMMSG): Define instead of using previous
21971 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21972 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21973 (__ASSUME_RECVMMSG_SYSCALL): Define.
21974 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21977 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21978 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21981 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21983 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21984 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21985 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21986 [__ASSUME_RECVMMSG]: Change condition to
21987 [__ASSUME_RECVMMSG_SOCKETCALL].
21988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21989 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21991 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21992 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21993 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21995 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21996 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21997 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21998 [!__ASSUME_RECVMMSG]: Change condition to
21999 [!__ASSUME_RECVMMSG_SOCKETCALL].
22000 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22001 (__ASSUME_RECVMMSG_SYSCALL): Define.
22004 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22005 __powerpc__ || __s390__ || __sh__ || __sparc__]
22006 (__ASSUME_SOCKETCALL): Define.
22007 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22008 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22009 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22010 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22011 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22012 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22013 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22014 (__ASSUME_ACCEPT4): Define instead of using previous
22015 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22016 __powerpc__ || __sparc__ || __s390__)] condition.
22017 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22018 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22019 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22020 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22021 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22022 [!__ASSUME_ACCEPT4]: Change condition to
22023 [!__ASSUME_ACCEPT4_SOCKETCALL].
22024 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22025 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22026 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22027 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22028 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22029 __ASSUME_ACCEPT4_SYSCALL.
22030 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22031 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22032 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22033 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22034 __ASSUME_ACCEPT4_SYSCALL.
22035 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22036 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22037 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22038 [__ASSUME_ACCEPT4]: Change condition to
22039 [__ASSUME_ACCEPT4_SOCKETCALL].
22040 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22041 (__ASSUME_SOCKETCALL): Define.
22042 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22043 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22044 (__ASSUME_SOCKETCALL): Define.
22045 (__ASSUME_ACCEPT4): Remove.
22046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22048 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22049 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22051 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22052 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22054 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22056 (HWCAP_ARM_LPAE): Likewise.
22057 (HWCAP_ARM_EVTSTRM): Likewise.
22058 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22059 Add vpfd32, lpae and evtstrm.
22060 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22063 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22065 * math/auto-libm-test-in: Add tests of clog10.
22066 * math/auto-libm-test-out: Regenerated.
22067 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22068 * sysdeps/i386/fpu/libm-test-ulps: Update.
22069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22071 2014-02-18 Andreas Schwab <schwab@suse.de>
22074 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22075 Store non-zero if the second buffer was newly allocated.
22076 (send_dg): Likewise.
22077 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22078 to send_vc and send_dg.
22079 (res_nsend): Pass NULL for ansp2_malloced.
22080 * resolv/res_query.c (__libc_res_nquery): Add parameter
22081 answerp2_malloced and pass it down to __libc_res_nsend.
22082 (res_nquery): Pass additional NULL to __libc_res_nquery.
22083 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22084 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22085 second answer buffer if answerp2_malloced was set.
22086 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22087 (__libc_res_nquerydomain): Add parameter
22088 answerp2_malloced and pass it down to __libc_res_nquery.
22089 (res_nquerydomain): Pass additional NULL to
22090 __libc_res_nquerydomain.
22091 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22092 additional NULL to __libc_res_nsend and __libc_res_nquery.
22093 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22094 additional NULL to __libc_res_nsearch.
22095 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22096 parameter of __libc_res_nsearch to check for separately allocated
22098 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22100 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22101 additional NULL to __libc_res_nquery.
22102 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22103 __libc_res_nsearch.
22104 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22105 * include/resolv.h: Update prototypes of __libc_res_nquery,
22106 __libc_res_nsearch, __libc_res_nsend.
22108 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22110 * math/auto-libm-test-in: Add tests of fma.
22111 * math/auto-libm-test-out: Regenerated.
22112 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22113 (fma_towardzero_test_data): Likewise.
22114 (fma_downward_test_data): Likewise.
22115 (fma_upward_test_data): Likewise.
22116 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22118 (rounding_modes): Add values for new field.
22119 (func_calc_method): Add value mpfr_fff_f.
22120 (func_calc_desc): Add mpfr_fff_f union field.
22121 (test_function): Add field exact_args.
22122 (FUNC): Add macro argument EXACT_ARGS.
22123 (FUNC_mpfr_f_f): Update call to FUNC.
22124 (FUNC_mpfr_f_f): Likewise.
22125 (FUNC_mpfr_ff_f): Likewise.
22126 (FUNC_mpfr_if_f): Likewise.
22127 (FUNC_mpc_c_f): Likewise.
22128 (FUNC_mpc_c_c): Likewise.
22129 (test_functions): Add fma. Update calls to FUNC.
22130 (handle_input_arg): Add argument exact_args.
22131 (add_test): Update call to handle_input_arg.
22132 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22133 (output_for_one_input_case): Update call to calc_generic_results.
22134 Recalculate exact zero results in each rounding mode.
22136 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22137 non-negative before setting low bit.
22138 * math/auto-libm-test-in: Mark one asin test possibly having
22139 spurious underflow.
22140 * math/auto-libm-test-out: Regenerated.
22141 * sysdeps/i386/fpu/libm-test-ulps: Update.
22142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22144 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22146 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22147 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22148 ports/sysdeps/unix/sysv/linux/microblaze.
22149 * README: Add missing listing for microblaze*-*-linux-gnu.
22151 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22153 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22156 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22158 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22159 * sysdeps/unix/sysv/linux/ia64: Move directory from
22160 ports/sysdeps/unix/sysv/linux/ia64.
22161 * README: Update listing for ia64-*-linux-gnu.
22163 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22164 Joseph Myers <joseph@codesourcery.com>
22166 * Makeconfig (test-name): New variable.
22167 (evaluate-test): Likewise.
22168 * Makerules (do-test-clean): Remove .test-result files.
22169 (common-mostlyclean): Likewise.
22170 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22171 * scripts/evaluate-test.sh: New file.
22173 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22175 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22176 separate $(objpfx)tst-fopenloc-cmp.out and
22177 $(objpfx)tst-fopenloc-mem.out targets.
22178 (tests): Update dependencies.
22179 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22180 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22181 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22182 (tst-rxspencer-no-utf8-ARGS): New variable.
22183 (tst-rxspencer-no-utf8-ENV): Likewise.
22184 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22185 instead of $(objpfx)tst-rxspencer-mem.
22186 ($(objpfx)tst-rxspencer-mem): Change target to
22187 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22188 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22189 * posix/tst-rxspencer-no-utf8.c: New file.
22191 * elf/Makefile ($(objpfx)order.out): Remove rule.
22192 [$(run-built-tests) = yes] (tests): Depend on
22193 $(objpfx)order-cmp.out.
22194 ($(objpfx)order-cmp.out): New rule.
22195 [$(run-built-tests) = yes] (tests): Depend on
22196 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22197 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22198 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22199 $(objpfx)tst-array5-static-cmp.out.
22200 ($(objpfx)tst-array1.out): Remove rule.
22201 ($(objpfx)tst-array1-cmp.out): New rule.
22202 ($(objpfx)tst-array1-static.out): Remove rule.
22203 ($(objpfx)tst-array1-static-cmp.out): New rule.
22204 ($(objpfx)tst-array2.out): Remove rule.
22205 ($(objpfx)tst-array2-cmp.out): New rule.
22206 ($(objpfx)tst-array3.out): Remove rule.
22207 ($(objpfx)tst-array3-cmp.out): New rule.
22208 ($(objpfx)tst-array4.out): Remove rule.
22209 ($(objpfx)tst-array4-cmp.out): New rule.
22210 ($(objpfx)tst-array5.out): Remove rule.
22211 ($(objpfx)tst-array5-cmp.out): New rule.
22212 ($(objpfx)tst-array5-static.out): Remove rule.
22213 ($(objpfx)tst-array5-static-cmp.out): New rule.
22214 [$(run-built-tests) = yes] (tests): Depend on
22215 $(objpfx)order2-cmp.out.
22216 ($(objpfx)order2.out): Remove rule.
22217 ($(objpfx)order2-cmp.out): New rule.
22218 ($(objpfx)tst-initorder.out): Remove rule.
22219 [$(run-built-tests) = yes] (tests): Depend on
22220 $(objpfx)tst-initorder-cmp.out.
22221 ($(objpfx)tst-initorder-cmp.out): New rule.
22222 ($(objpfx)tst-initorder2.out): Remove rule.
22223 [$(run-built-tests) = yes] (tests): Depend on
22224 $(objpfx)tst-initorder2-cmp.out.
22225 ($(objpfx)tst-initorder2-cmp.out): New rule.
22226 [$(run-built-tests) = yes] (tests): Depend on
22227 $(objpfx)tst-unused-dep-cmp.out.
22228 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22229 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22230 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22231 on $(objpfx)tst-setvbuf1-cmp.out.
22232 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22233 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22234 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22235 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22236 ($(objpfx)tst-svc.out): Remove rule.
22237 ($(objpfx)tst-svc-cmp.out): New rule.
22239 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22241 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22242 * ctype/ctype.h [__USE_MISC]: Likewise.
22243 * dirent/dirent.h [__USE_MISC]: Likewise.
22244 * grp/grp.h [__USE_MISC]: Likewise.
22245 * io/fcntl.h [__USE_MISC]: Likewise.
22246 * io/sys/stat.h [__USE_MISC]: Likewise.
22247 * libio/stdio.h [__USE_MISC]: Likewise.
22248 * posix/unistd.h [__USE_MISC]: Likewise.
22249 * pwd/pwd.h [__USE_MISC]: Likewise.
22250 * stdlib.h [__USE_MISC]: Likewise.
22251 * string/bits/string2.h [__USE_MISC]: Likewise.
22252 * string/string.h [__USE_MISC]: Likewise.
22253 * time/time.h [__USE_MISC]: Likewise.
22255 2014-02-13 Andreas Schwab <schwab@suse.de>
22258 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22259 second answer buffer if it was separately allocated.
22261 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22263 * sysdeps/mips/math-tests.h: Include <features.h>.
22264 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22265 (ROUNDING_TESTS_long_double): Do not define.
22266 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22267 (EXCEPTION_TESTS_long_double): Likewise.
22268 * sysdeps/mips/mips64/libm-test-ulps: Update.
22270 * include/features.h (__USE_BSD): Remove macro definitions.
22271 (__USE_SVID): Likewise.
22272 (_BSD_SOURCE): Likewise.
22273 (_SVID_SOURCE): Likewise.
22274 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22275 from definition of _DEFAULT_SOURCE.
22276 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22278 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22279 * bits/mman.h [__USE_BSD]: Likewise.
22280 * bits/termios.h [__USE_BSD]: Likewise.
22281 * bits/waitstatus.h [__USE_BSD]: Likewise.
22282 * ctype/ctype.h [__USE_SVID]: Likewise.
22283 * dirent/dirent.h [__USE_BSD]: Likewise.
22284 * grp/grp.h [__USE_SVID]: Likewise.
22285 [__USE_BSD]: Likewise.
22286 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22287 * io/fcntl.h [__USE_BSD]: Likewise.
22288 * io/ftw.h [__USE_BSD]: Likewise.
22289 * io/sys/stat.h [__USE_BSD]: Likewise.
22290 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22291 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22292 * libio/stdio.h [__USE_SVID]: Likewise.
22293 [__USE_BSD]: Likewise.
22294 * math/math.h [__USE_SVID]: Likewise.
22295 [__USE_BSD]: Likewise.
22296 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22297 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22298 * misc/search.h [__USE_SVID]: Likewise.
22299 * misc/sys/mman.h [__USE_BSD]: Likewise.
22300 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22301 * misc/sys/uio.h [__USE_BSD]: Likewise.
22302 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22303 * posix/glob.h [__USE_BSD]: Likewise.
22304 * posix/regex.h [__USE_BSD]: Likewise.
22305 * posix/sys/types.h [__USE_BSD]: Likewise.
22306 [__USE_SVID]: Likewise.
22307 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22308 * posix/sys/wait.h [__USE_BSD]: Likewise.
22309 [__USE_SVID]: Likewise.
22310 * posix/unistd.h [__USE_BSD]: Likewise.
22311 [__USE_SVID]: Likewise.
22312 * pwd/pwd.h [__USE_SVID]: Likewise.
22313 * resolv/netdb.h [__USE_BSD]: Likewise.
22314 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22315 * signal/signal.h [__USE_BSD]: Likewise.
22316 [__USE_SVID]: Likewise.
22317 * socket/sys/socket.h [__USE_BSD]: Likewise.
22318 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22319 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22320 [__USE_SVID]: Likewise.
22321 * string/bits/string2.h [__USE_BSD]: Likewise.
22322 [__USE_SVID]: Likewise.
22323 * string/bits/string3.h [__USE_BSD]: Likewise.
22324 * string/endian.h [__USE_BSD]: Likewise.
22325 * string/string.h [__USE_SVID]: Likewise.
22326 [__USE_BSD]: Likewise.
22327 * string/strings.h [__USE_BSD]: Likewise.
22328 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22329 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22330 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22331 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22332 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22333 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22335 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22337 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22338 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22340 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22341 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22343 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22345 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22346 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22347 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22349 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22351 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22352 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22353 * termios/termios.h [__USE_BSD]: Likewise.
22354 * time/sys/time.h [__USE_BSD]: Likewise.
22355 * time/time.h [__USE_BSD]: Likewise.
22356 [__USE_SVID]: Likewise.
22358 * Makefile (subdir_targets): Remove subdir_lint.out.
22360 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22361 (do-tst-printf): Likewise.
22362 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22363 $(objpfx)tst-printf.out.
22365 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22367 * Makerules (check-abi-%): Change target to
22368 $(objpfx)check-abi-%.out.
22369 (check-abi target): Update dependencies.
22370 (check-abi-pattern variable): Redirect output of diff to $@.
22371 (check-abi variable): Likewise.
22372 * elf/Makefile (check-abi): Update dependencies.
22374 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22376 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22377 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22379 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22380 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22381 value has largest subnormal exponent.
22382 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22383 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22384 * sysdeps/aarch64/soft-fp/sfp-machine.h
22385 (_FP_TININESS_AFTER_ROUNDING): New macro.
22386 * sysdeps/alpha/soft-fp/sfp-machine.h
22387 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22388 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22390 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22391 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22392 * sysdeps/mips/soft-fp/sfp-machine.h
22393 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22394 * sysdeps/powerpc/soft-fp/sfp-machine.h
22395 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22396 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22398 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22399 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22400 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22401 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22402 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22405 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22411 2014-02-12 Richard Henderson <rth@redhat.com>
22413 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22414 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22415 * sysdeps/unix/sysv/linux/alpha: Move directory from
22416 ports/sysdeps/unix/sysv/linux/alpha.
22417 * README: Update listing for alpha-*-linux-gnu.
22419 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22421 * include/features.h: Update comment documenting feature test
22423 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22425 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22426 (_SVID_SOURCE): Likewise.
22427 (_DEFAULT_SOURCE): Update description of default features.
22428 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22430 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22431 (S_ISVTX): Likewise.
22432 * manual/math.texi (Mathematical Constants): Likewise.
22433 * manual/signal.texi (Interrupted Primitives): Likewise.
22434 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22435 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22436 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22437 Don't refer to _SVID_SOURCE in warning text.
22439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22441 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22443 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22444 * sysdeps/mips/dl-lookup.c: Remove.
22445 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22447 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22450 * math/auto-libm-test-in: Add testcase for expl.
22451 * math/auto-libm-test-out: Regenerate.
22452 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22453 calculation of unsafe.
22454 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22456 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22458 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22459 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22460 ports/sysdeps/unix/sysv/linux/aarch64.
22461 * README: Update listing for aarch64*-*-linux-gnu.
22463 2014-02-11 Will Newton <will.newton@linaro.org>
22465 * manual/probes.texi (Mathematical Function Probes): Use
22466 "triggered" instead of "hit".
22468 * manual/probes.texi (Internal Probes): Add documentation
22469 of setjmp, longjmp and longjmp_target probes.
22471 * include/stap-probe.h: Add comment about probe argument
22474 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22475 definition. (tr_where, tr_freehook, tr_mallochook,
22476 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22478 2014-02-11 David S. Miller <davem@davemloft.net>
22480 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22481 processing int_tests.
22483 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22485 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22486 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22487 * sysdeps/unix/sysv/linux/mips: Move directory from
22488 ports/sysdeps/unix/sysv/linux/mips.
22489 * README: Update listing for mips-*-linux-gnu and
22490 mips64-*-linux-gnu.
22492 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22494 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22495 * sysdeps/unix/sysv/linux/m68k: Move directory from
22496 ports/sysdeps/unix/sysv/linux/m68k.
22497 * README: Update listing for m68k-*-linux-gnu.
22499 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22501 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22502 * sysdeps/unix/sysv/linux/generic: Move directory from
22503 ports/sysdeps/unix/sysv/linux/generic.
22504 * sysdeps/unix/sysv/linux/tile: Move directory from
22505 ports/sysdeps/unix/sysv/linux/tile.
22506 * README: Update listing for tile*-*-linux-gnu.
22508 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22510 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22512 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22513 * catgets/open_catalog.c (__open_catalog): Likewise.
22514 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22515 * debug/confstr_chk.c: Likewise.
22516 * debug/fread_chk.c (__fread_chk): Likewise.
22517 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22518 * debug/getgroups_chk.c: Likewise.
22519 * debug/mbsnrtowcs_chk.c: Likewise.
22520 * debug/mbsrtowcs_chk.c: Likewise.
22521 * debug/mbstowcs_chk.c: Likewise.
22522 * debug/memcpy_chk.c: Likewise.
22523 * debug/memmove_chk.c: Likewise.
22524 * debug/mempcpy_chk.c: Likewise.
22525 * debug/memset_chk.c: Likewise.
22526 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22527 * debug/strcat_chk.c (__strcat_chk): Likewise.
22528 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22529 * debug/strncat_chk.c (__strncat_chk): Likewise.
22530 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22531 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22532 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22533 * debug/wcpncpy_chk.c: Likewise.
22534 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22535 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22536 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22537 * debug/wcsncpy_chk.c: Likewise.
22538 * debug/wcsnrtombs_chk.c: Likewise.
22539 * debug/wcsrtombs_chk.c: Likewise.
22540 * debug/wcstombs_chk.c: Likewise.
22541 * debug/wmemcpy_chk.c: Likewise.
22542 * debug/wmemmove_chk.c: Likewise.
22543 * debug/wmempcpy_chk.c: Likewise.
22544 * debug/wmemset_chk.c: Likewise.
22545 * dirent/scandirat.c (SCANDIRAT): Likewise.
22546 * dlfcn/dladdr1.c (dladdr1): Likewise.
22547 * dlfcn/dladdr.c (dladdr): Likewise.
22548 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22549 * dlfcn/dlerror.c (__dlerror): Likewise.
22550 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22551 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22552 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22553 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22554 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22555 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22556 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22557 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22559 * elf/dl-conflict.c: Likewise.
22560 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22561 * elf/dl-dst.h: Likewise.
22562 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22563 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22565 * elf/dl-init.c (call_init, _dl_init): Likewise.
22566 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22567 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22568 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22570 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22572 * elf/dl-minimal.c (__libc_memalign): Likewise.
22573 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22574 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22575 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22576 * elf/dl-sym.c (do_sym): Likewise.
22577 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22578 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22579 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22580 * elf/dl-writev.h (_dl_writev): Likewise.
22581 * elf/ldconfig.c (search_dir): Likewise.
22582 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22583 (dl_main): Likewise.
22584 * elf/setup-vdso.h (setup_vdso): Likewise.
22585 * grp/compat-initgroups.c (compat_call): Likewise.
22586 * grp/fgetgrent.c (fgetgrent): Likewise.
22587 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22588 * grp/putgrent.c (putgrent): Likewise.
22589 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22591 * hurd/hurdinit.c: Likewise.
22592 * iconvdata/8bit-gap.c (struct): Likewise.
22593 * iconvdata/ansi_x3.110.c : Likewise.
22594 * iconvdata/big5.c : Likewise.
22595 * iconvdata/big5hkscs.c : Likewise.
22596 * iconvdata/cp1255.c: Likewise.
22597 * iconvdata/cp1258.c : Likewise.
22598 * iconvdata/cp932.c : Likewise.
22599 * iconvdata/euc-cn.c: Likewise.
22600 * iconvdata/euc-jisx0213.c : Likewise.
22601 * iconvdata/euc-jp.c: Likewise.
22602 * iconvdata/euc-jp-ms.c : Likewise.
22603 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22604 * iconvdata/gb18030.c : Likewise.
22605 * iconvdata/gbbig5.c (const): Likewise.
22606 * iconvdata/gbgbk.c: Likewise.
22607 * iconvdata/gbk.c : Likewise.
22608 * iconvdata/ibm1364.c : Likewise.
22609 * iconvdata/ibm930.c : Likewise.
22610 * iconvdata/ibm932.c: Likewise.
22611 * iconvdata/ibm933.c : Likewise.
22612 * iconvdata/ibm935.c : Likewise.
22613 * iconvdata/ibm937.c : Likewise.
22614 * iconvdata/ibm939.c : Likewise.
22615 * iconvdata/ibm943.c: Likewise.
22616 * iconvdata/iso_11548-1.c: Likewise.
22617 * iconvdata/iso-2022-cn.c : Likewise.
22618 * iconvdata/iso-2022-cn-ext.c : Likewise.
22619 * iconvdata/iso-2022-jp-3.c: Likewise.
22620 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22621 * iconvdata/iso-2022-kr.c : Likewise.
22622 * iconvdata/iso646.c (gconv_end): Likewise.
22623 * iconvdata/iso_6937-2.c : Likewise.
22624 * iconvdata/iso_6937.c : Likewise.
22625 * iconvdata/iso8859-1.c: Likewise.
22626 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22627 * iconvdata/shift_jisx0213.c : Likewise.
22628 * iconvdata/sjis.c : Likewise.
22629 * iconvdata/t.61.c : Likewise.
22630 * iconvdata/tcvn5712-1.c : Likewise.
22631 * iconvdata/tscii.c: Likewise.
22632 * iconvdata/uhc.c : Likewise.
22633 * iconvdata/unicode.c (gconv_end): Likewise.
22634 * iconvdata/utf-16.c (gconv_end): Likewise.
22635 * iconvdata/utf-32.c (gconv_end): Likewise.
22636 * iconvdata/utf-7.c (base64): Likewise.
22637 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22638 * iconv/gconv_close.c (__gconv_close): Likewise.
22639 * iconv/gconv_open.c (__gconv_open): Likewise.
22640 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22641 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22642 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22643 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22644 (ucs4le_internal_loop_single): Likewise.
22645 * iconv/iconv.c (iconv): Likewise.
22646 * iconv/iconv_close.c: Likewise.
22647 * iconv/loop.c (SINGLE): Likewise.
22648 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22649 * include/atomic.h: Likewise.
22650 * inet/inet6_option.c (option_alloc): Likewise.
22651 * intl/bindtextdom.c (set_binding_values): Likewise.
22652 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22653 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22654 * intl/localealias.c (read_alias_file): Likewise.
22655 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22656 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22657 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22658 * libio/fmemopen.c (fmemopen): Likewise.
22659 * libio/iofgets.c (_IO_fgets): Likewise.
22660 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22661 * libio/iofgetws.c (fgetws): Likewise.
22662 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22663 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22664 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22665 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22666 * locale/findlocale.c (_nl_find_locale): Likewise.
22667 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22668 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22670 * locale/setlocale.c (setlocale): Likewise.
22671 * login/programs/pt_chown.c (main): Likewise.
22672 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22673 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22674 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22675 (mmap, mmap64, mremap, munmap): Likewise.
22676 * math/e_exp2l.c: Likewise.
22677 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22678 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22679 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22680 * math/s_catan.c (__catan): Likewise.
22681 * math/s_catanf.c (__catanf): Likewise.
22682 * math/s_catanh.c (__catanh): Likewise.
22683 * math/s_catanhf.c (__catanhf): Likewise.
22684 * math/s_catanhl.c (__catanhl): Likewise.
22685 * math/s_catanl.c (__catanl): Likewise.
22686 * math/s_ccosh.c (__ccosh): Likewise.
22687 * math/s_ccoshf.c (__ccoshf): Likewise.
22688 * math/s_ccoshl.c (__ccoshl): Likewise.
22689 * math/s_cexp.c (__cexp): Likewise.
22690 * math/s_cexpf.c (__cexpf): Likewise.
22691 * math/s_cexpl.c (__cexpl): Likewise.
22692 * math/s_clog10.c (__clog10): Likewise.
22693 * math/s_clog10f.c (__clog10f): Likewise.
22694 * math/s_clog10l.c (__clog10l): Likewise.
22695 * math/s_clog.c (__clog): Likewise.
22696 * math/s_clogf.c (__clogf): Likewise.
22697 * math/s_clogl.c (__clogl): Likewise.
22698 * math/s_csin.c (__csin): Likewise.
22699 * math/s_csinf.c (__csinf): Likewise.
22700 * math/s_csinh.c (__csinh): Likewise.
22701 * math/s_csinhf.c (__csinhf): Likewise.
22702 * math/s_csinhl.c (__csinhl): Likewise.
22703 * math/s_csinl.c (__csinl): Likewise.
22704 * math/s_csqrt.c (__csqrt): Likewise.
22705 * math/s_csqrtf.c (__csqrtf): Likewise.
22706 * math/s_csqrtl.c (__csqrtl): Likewise.
22707 * math/s_ctan.c (__ctan): Likewise.
22708 * math/s_ctanf.c (__ctanf): Likewise.
22709 * math/s_ctanh.c (__ctanh): Likewise.
22710 * math/s_ctanhf.c (__ctanhf): Likewise.
22711 * math/s_ctanhl.c (__ctanhl): Likewise.
22712 * math/s_ctanl.c (__ctanl): Likewise.
22713 * math/w_pow.c: Likewise.
22714 * math/w_powf.c: Likewise.
22715 * math/w_powl.c: Likewise.
22716 * math/w_scalb.c (sysv_scalb): Likewise.
22717 * math/w_scalbf.c (sysv_scalbf): Likewise.
22718 * math/w_scalbl.c (sysv_scalbl): Likewise.
22719 * misc/error.c (error_tail): Likewise.
22720 * misc/pselect.c (__pselect): Likewise.
22721 * nis/nis_callback.c (__nis_create_callback): Likewise.
22722 * nis/nis_call.c (__nisfind_server): Likewise.
22723 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22724 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22725 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22726 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22727 * nis/nis_lookup.c (nis_lookup): Likewise.
22728 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22729 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22730 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22731 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22732 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22733 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22734 * nis/nss_compat/compat-initgroups.c (add_group)
22735 (internal_getgrent_r): Likewise.
22736 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22737 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22738 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22739 (internal_getspnam_r): Likewise.
22740 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22741 (_nss_nis_getaliasbyname_r): Likewise.
22742 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22743 (_nss_nis_getntohost_r): Likewise.
22744 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22745 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22746 (_nss_nis_getgrgid_r): Likewise.
22747 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22748 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22749 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22750 (_nss_nis_gethostbyname4_r): Likewise.
22751 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22752 (initgroups_netid): Likewise.
22753 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22754 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22755 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22756 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22757 (_nss_nis_getprotobynumber_r): Likewise.
22758 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22759 (_nss_nis_getsecretkey): Likewise.
22760 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22761 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22762 (_nss_nis_getpwuid_r): Likewise.
22763 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22764 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22765 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22766 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22767 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22768 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22769 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22771 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22772 (_nss_nisplus_getntohost_r): Likewise.
22773 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22774 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22775 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22776 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22778 * nis/nss_nisplus/nisplus-initgroups.c
22779 (_nss_nisplus_initgroups_dyn): Likewise.
22780 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22781 (_nss_nisplus_getnetbyaddr_r): Likewise.
22782 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22783 (_nss_nisplus_getprotobynumber_r): Likewise.
22784 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22785 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22786 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22788 * nis/nss_nisplus/nisplus-service.c
22789 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22790 (_nss_nisplus_getservbyport_r): Likewise.
22791 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22792 (_nss_nisplus_getspnam_r): Likewise.
22793 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22795 * nscd/aicache.c (addhstaiX): Likewise.
22796 * nscd/cache.c (cache_search, prune_cache): Likewise.
22797 * nscd/connections.c (register_traced_file, send_ro_fd)
22798 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22799 (main_loop_epoll): Likewise.
22800 * nscd/grpcache.c (addgrbyX): Likewise.
22801 * nscd/hstcache.c (addhstbyX): Likewise.
22802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22803 * nscd/mem.c (gc, mempool_alloc): Likewise.
22804 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22805 (addinnetgrX): Likewise.
22806 * nscd/nscd-client.h (__nscd_acquire_maplock)
22807 (__nscd_drop_map_ref): Likewise.
22808 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22809 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22810 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22812 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22813 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22814 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22815 (__nscd_get_map_ref): Likewise.
22816 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22817 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22819 * nscd/pwdcache.c (addpwbyX): Likewise.
22820 * nscd/selinux.c (preserve_capabilities): Likewise.
22821 * nscd/servicescache.c (addservbyX): Likewise.
22822 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22823 * posix/fnmatch.c (fnmatch): Likewise.
22824 * posix/getopt.c (_getopt_internal_r): Likewise.
22825 * posix/glob.c (glob, glob_in_dir): Likewise.
22826 * posix/wordexp.c (exec_comm_child): Likewise.
22827 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22828 (getanswer_r, gaih_getanswer_slice): Likewise.
22829 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22830 * resolv/res_init.c: Likewise.
22831 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22832 * resolv/res_query.c (__libc_res_nquery): Likewise.
22833 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22835 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22836 * stdio-common/perror.c (perror): Likewise.
22837 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22838 * stdio-common/tmpnam.c (tmpnam): Likewise.
22839 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22840 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22841 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22843 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22844 * stdlib/putenv.c (putenv): Likewise.
22845 * stdlib/setenv.c (__add_to_environ): Likewise.
22846 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22847 * stdlib/strtol_l.c (INTERNAL): Likewise.
22848 * string/memmem.c (memmem): Likewise.
22849 * string/strerror.c (strerror): Likewise.
22850 * string/strnlen.c (__strnlen): Likewise.
22851 * string/test-memmem.c (simple_memmem): Likewise.
22852 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22853 * sunrpc/pm_getport.c (__get_socket): Likewise.
22854 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22855 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22856 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22857 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22859 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22860 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22861 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22862 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22863 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22864 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22866 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22868 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22869 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22871 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22872 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22874 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22875 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22876 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22877 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22878 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22879 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22881 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22885 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22887 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22888 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22889 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22890 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22891 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22900 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22902 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22904 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22906 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22910 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22912 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22913 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22914 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22915 * sysdeps/posix/sleep.c: Likewise.
22916 * sysdeps/posix/tempname.c: Likewise.
22917 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22918 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22920 * sysdeps/powerpc/powerpc32/dl-machine.h
22921 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22922 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22924 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22925 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22927 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22928 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22929 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22930 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22931 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22932 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22933 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22934 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22935 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22936 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22937 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22938 (elf_machine_lazy_rel): Likewise.
22939 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22941 (elf_machine_lazy_rel): Likewise.
22942 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22943 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22944 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22945 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22946 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22947 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22948 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22951 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22952 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22953 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22954 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22955 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22956 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22957 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22958 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22959 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22960 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22961 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22963 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22964 (__posix_fallocate64_l64): Likewise.
22965 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22966 (posix_fallocate): Likewise.
22967 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22969 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22970 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22971 (getifaddrs_internal): Likewise.
22972 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22973 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22974 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22975 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22976 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22977 (__posix_fallocate64_l64): Likewise.
22978 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22980 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22981 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22982 (__get_clockfreq): Likewise.
22983 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22984 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22985 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22987 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22988 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22989 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22990 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22992 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22993 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22994 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22996 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22997 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22998 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23000 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23001 (posix_fallocate): Likewise.
23002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23003 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23004 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23005 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23006 (elf_machine_rela, elf_machine_rela_relative)
23007 (elf_machine_lazy_rel): Likewise.
23008 * time/asctime.c (asctime_internal): Likewise.
23009 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23010 * time/tzset.c (__tzset_parse_tz): Likewise.
23011 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23012 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23013 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23014 * wcsmbs/wcsmbsload.h: Likewise.
23017 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23019 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23020 (arena_get2): Remove THREAD_STATS conditionals.
23021 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23022 (__malloc_stats, int): Likewise.
23024 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23026 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23027 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23029 * manual/setjmp.texi: Fix typos/grammar errors.
23031 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23032 Only return early when n is <= 0. Delete unused return statement.
23034 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23035 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23036 * debug/tst-longjmp_chk3.c: New file.
23038 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23039 (test_main): Replace code with set_fortify_handler call.
23040 * debug/test-strcpy_chk.c: Likewise.
23041 * debug/tst-chk1.c: Likewise.
23042 * debug/tst-longjmp_chk.c: Likewise.
23043 * test-skeleton.c: Include fcntl.h & paths.h
23044 (set_fortify_handler): Define.
23046 * debug/tst-longjmp_chk.c: Add header comment and include
23047 ../test-skeleton.c.
23048 (do_test): Mark static.
23049 (TEST_FUNCTION): Define.
23051 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23052 (IP_PMTUDISC_INTERFACE): Likewise.
23053 (IP_MULTICAST_IF): Likewise.
23054 (IP_MULTICAST_TTL): Likewise.
23055 (IP_MULTICAST_LOOP): Likewise.
23056 (IP_ADD_MEMBERSHIP): Likewise.
23057 (IP_DROP_MEMBERSHIP): Likewise.
23058 (IP_UNBLOCK_SOURCE): Likewise.
23059 (IP_BLOCK_SOURCE): Likewise.
23060 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23061 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23062 (IP_MSFILTER): Likewise.
23063 (MCAST_JOIN_GROUP): Likewise.
23064 (MCAST_BLOCK_SOURCE): Likewise.
23065 (MCAST_UNBLOCK_SOURCE): Likewise.
23066 (MCAST_LEAVE_GROUP): Likewise.
23067 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23068 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23069 (MCAST_MSFILTER): Likewise.
23070 (IP_MULTICAST_ALL): Likewise.
23071 (IP_UNICAST_IF): Likewise.
23073 * timezone/Makefile: Delete $(have-ksh) check.
23074 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23075 * timezone/tzselect.ksh: Add +x mode bits.
23077 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23078 (ANON_INODE_FS_MAGIC): Likewise.
23079 (BDEVFS_MAGIC): Likewise.
23080 (BINFMTFS_MAGIC): Likewise.
23081 (BTRFS_TEST_MAGIC): Likewise.
23082 (CRAMFS_MAGIC_WEND): Likewise.
23083 (DEBUGFS_MAGIC): Likewise.
23084 (ECRYPTFS_SUPER_MAGIC): Likewise.
23085 (EXT3_SUPER_MAGIC): Likewise.
23086 (EXT4_SUPER_MAGIC): Likewise.
23087 (FUTEXFS_SUPER_MAGIC): Likewise.
23088 (HOSTFS_SUPER_MAGIC): Likewise.
23089 (HUGETLBFS_MAGIC): Likewise.
23090 (MINIX3_SUPER_MAGIC): Likewise.
23091 (MTD_INODE_FS_MAGIC): Likewise.
23092 (NILFS_SUPER_MAGIC): Likewise.
23093 (OPENPROM_SUPER_MAGIC): Likewise.
23094 (PIPEFS_MAGIC): Likewise.
23095 (PSTOREFS_MAGIC): Likewise.
23096 (QNX6_SUPER_MAGIC): Likewise.
23097 (RAMFS_MAGIC): Likewise.
23098 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23099 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23100 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23101 (SECURITYFS_MAGIC): Likewise.
23102 (SELINUX_MAGIC): Likewise.
23103 (SMACK_MAGIC): Likewise.
23104 (SOCKFS_MAGIC): Likewise.
23105 (SQUASHFS_MAGIC): Likewise.
23106 (STACK_END_MAGIC): Likewise.
23107 (TMPFS_MAGIC): Likewise.
23108 (USBDEVICE_SUPER_MAGIC): Likewise.
23109 (V9FS_MAGIC): Likewise.
23110 (XENFS_SUPER_MAGIC): Likewise.
23111 (CRAMFS_MAGIC): Fix typo in comment.
23112 (EXT2_SUPER_MAGIC): Update comment.
23113 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23115 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23117 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23118 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23119 * sysdeps/unix/sysv/linux/arm: Move directory from
23120 ports/sysdeps/unix/sysv/linux/arm.
23121 * README: Update listing for arm-*-linux-gnueabi.
23123 * README: Remove mention of am33.
23125 2014-02-07 Roland McGrath <roland@hack.frob.com>
23127 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23128 than the comma operator, to avoid "rhs of comma has no effect"
23130 (__sigfillset, __sigandset, __sigorset): Likewise.
23131 * include/signal.h (__sigemptyset): Likewise.
23132 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23134 2014-02-07 Allan McRae <allan@archlinux.org>
23136 * version.h (RELEASE): Set to "development".
23137 (VERSION): Set to "2.19.90"
23138 * NEWS: Add 2.20 section.
23140 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23143 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23145 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23147 * manual/contrib.texi: Update entry for Carlos O'Donell,
23148 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23150 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23152 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23154 * sysdeps/unix/sysv/linux/kernel-features.h
23155 [__LINUX_KERNEL_VERSION >= 0x020621]
23156 (__ASSUME_PROC_PID_TASK_COMM): Define.
23158 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23161 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23162 conversion when destination buffer does not have enough space.
23163 * libio/tst-ftell-partial-wide.c: New test case.
23164 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23166 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23167 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23168 Leonard and Allan McRae.
23170 2014-02-04 David S. Miller <davem@davemloft.net>
23172 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23175 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23204 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23206 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23207 * shlib-versions: Likewise.
23209 2014-02-04 Roland McGrath <roland@hack.frob.com>
23210 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23212 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23213 (abilist-pattern): New variable, set to %-le.abilist.
23215 * Makerules (abilist-pattern): New variable.
23216 (vpath): Use $(abilist-pattern) in place of %.abilist.
23217 (check-abi-% pattern rule): Likewise.
23218 (check-abi, update-abi): Likewise.
23220 2014-02-04 Eric Wong <normalperson@yhbt.net>
23222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23224 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23226 * manual/startup.texi: Add next, previous, and top entries for
23227 the `Program Arguments' and `Environment Variables' nodes.
23229 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23231 * manual/macros.texi: Add comments before MTASC-safety macros.
23233 * manual/users.texi: Document MTASC-safety properties.
23235 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23236 (pthread_getspecific, pthread_setspecific): Format with
23237 @deftypefun, and add @safety note.
23238 * manual/signal.texi: Move comments that analyze the above
23239 functions to their home place.
23241 2014-02-03 Allan McRae <allan@archlinux.org>
23243 * po/sl.po: Update Slovenian translation from translation project.
23245 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23247 * manual/time.texi (timegm): Add missing blank after @c.
23248 Reported by Joseph Myers <joseph@codesourcery.com>.
23250 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23252 * manual/check-safety.sh: New.
23253 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23255 * manual/terminal.texi: Document MTASC-safety properties.
23257 * manual/filesys.texi: Document MTASC-safety properties.
23259 * manual/errno.texi: Document MTASC-safety properties.
23261 * manual/intro.texi: Document safety identifiers and
23264 * manual/string.texi (wcstok): Fix prototype.
23265 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23267 * manual/time.texi: Document MTASC-safety properties.
23269 * manual/string.texi: Document MTASC-safety properties.
23271 * manual/threads.texi: Document MTASC-safety properties.
23273 * manual/stdio.texi: Document MTASC-safety properties.
23275 * manual/syslog.texi: Document MTASC-safety properties.
23277 * manual/sysinfo.texi: Document MTASC-safety properties.
23279 * manual/startup.texi: Document MTASC-safety properties.
23281 * manual/socket.texi: Document MTASC-safety properties.
23283 * manual/signal.texi: Document MTASC-safety properties.
23285 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23287 * manual/setjmp.texi: Document MTASC-safety properties.
23289 * manual/search.texi: Document MTASC-safety properties.
23291 * manual/resource.texi: Document MTASC-safety properties.
23293 * manual/process.texi: Document MTASC-safety properties.
23295 * manual/platform.texi: Document MTASC-safety properties.
23297 * manual/pipe.texi: Document MTASC-safety properties.
23299 * manual/pattern.texi: Document MTASC-safety properties.
23301 * manual/message.texi: Document MTASC-safety properties.
23304 * manual/memory.texi: Document MTASC-safety properties.
23306 * manual/math.texi: Document MTASC-safety properties.
23308 * manual/locale.texi: Document MTASC-safety properties.
23310 * manual/llio.texi: Document MTASC-safety properties.
23312 * manual/libdl.texi: New.
23314 * manual/lang.texi: Document MTASC-safety properties.
23316 * manual/job.texi: Document MTASC-safety properties.
23318 * manual/getopt.texi: Document MTASC-safety properties.
23320 * manual/ctype.texi: Document MTASC-safety properties.
23322 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23325 * csu/libc-tls.c (static_map): Remove variable.
23326 (__libc_setup_tls): Use main executable's link map for TLS data.
23327 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23328 casing for LM_ID_BASE and GL(dl_nns).
23329 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23330 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23331 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23332 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23333 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23335 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23338 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23340 * manual/debug.texi: Document MTASC-safety properties.
23342 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23345 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23346 of __x86_64__ when disabling x87 inline functions.
23348 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23350 * manual/charset.texi: Document MTASC-safety properties.
23352 * manual/crypt.texi: Document MTASC-safety properties.
23354 * manual/conf.texi: Document MTASC-safety properties.
23356 * manual/arith.texi: Document MTASC-safety properties.
23358 * manual/argp.texi: Document MTASC-safety properties.
23360 * manual/macros.texi: Introduce macros to document multi
23361 thread, asynchronous signal and asynchronous cancellation
23363 * manual/intro.texi: Introduce the properties themselves.
23365 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23367 * sysdeps/sh/sh4/Makefile: New file.
23369 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23371 * math/gen-libm-test.pl ($srcdir): New variable.
23372 ($auto_input): Use it.
23374 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23377 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23378 access beyond array bounds when parsing netgroups file.
23380 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23381 the old buffer before realloc.
23383 2014-01-27 Allan McRae <allan@archlinux.org>
23385 * po/fr.po: Update French translation from translation project.
23387 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23389 * sysdeps/sh/libm-test-ulps: Regenerate.
23391 2014-01-24 David S. Miller <davem@davemloft.net>
23393 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23395 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23397 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23398 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23400 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23403 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23404 string pointers after reallocation.
23406 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23408 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23409 __SH4A__ instead of __SH_FPU_ANY__.
23411 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23413 * sysdeps/sh/fpu_control.h: New file.
23414 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23415 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23416 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23417 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23418 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23419 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23420 * sysdeps/sh/sys/ucontext.h: Remove.
23421 * sysdeps/sh/sys: Remove directory.
23423 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23425 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23426 s390/sys/ucontext.h.
23427 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23428 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23430 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23433 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23435 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23438 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23439 Adjust the vDSO correctly for internal calls.
23440 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23442 2014-01-20 Allan McRae <allan@archlinux.org>
23444 * po/ca.po: Update Catalan translation from translation project.
23446 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23448 * sysdeps/s390/sotruss-lib.c: New file.
23450 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23453 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23454 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23455 local calls issues by not having a PLT stub required for IFUNC calls.
23456 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23458 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23460 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23461 * math/test-fpucw-static.c: Likewise.
23463 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23466 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23468 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23470 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23471 implementation for powerpc.
23473 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23476 * sysdeps/posix/system.c (__libc_system): Do not enable
23477 asynchronous cancellation.
23479 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23482 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23483 handling only for numbers special also in the IEEE case.
23485 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23487 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23489 2014-01-11 Allan McRae <allan@archlinux.org>
23491 * po/bg.po: Update Bulgarian translation from translation project.
23493 * po/de.po: Update German translation from translation project.
23495 2014-01-10 Roland McGrath <roland@hack.frob.com>
23497 * sysdeps/generic/gcc-compat.h: New file.
23499 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23501 * benchtests/asin-inputs: Correct slow inputs.
23502 * benchtests/acos-inputs: Likewise.
23504 2014-01-10 Allan McRae <allan@archlinux.org>
23506 * po:sv.po: Update Swedish translation from translation project.
23508 * po/vi.po: Update Vietnamese translation from translation project.
23510 * po/eo.po: Update Esperanto translation from translation project.
23512 * po/cs.po: Update Czech translation from translation project.
23514 * po/nl.po: Update Dutch translation from translation project.
23516 * po/pl.po: Update Polish translation from translation project.
23518 * po/ru.po: Update Russian translation from translation project.
23520 * po/uk.po: Update Ukrainian translation from translation project.
23522 2014-01-08 Brooks Moses <bmoses@google.com>
23524 * elf/dl-load.c: Fix comment typo.
23526 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23528 * po/header.pot: Rename to...
23529 * po/pot.header: ... this.
23530 * po/Makefile: Use pot.header.
23532 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23533 Maxim Kuvyrkov <maxim@kugelworks.com>
23536 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23537 SRC and DEST against LEN.
23539 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23542 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23544 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23546 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23550 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23553 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23554 for large positive arguments.
23556 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23558 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23560 * math/auto-libm-test-in: Mark various tests with
23561 xfail-rounding:ldbl-128ibm.
23562 * math/auto-libm-test-out: Regenerated.
23565 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23566 Increase overflow threshold.
23568 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23571 * stdio-common/vfprintf.c: Check for integer overflow.
23573 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23575 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23576 the first argument and return value of __tls_get_addr_internal.
23578 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23580 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23581 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23583 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23585 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23586 * sysdeps/s390/rtld-global-offsets.sym: New file.
23587 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23589 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23590 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23591 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23593 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23594 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23600 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23601 halfs of GPRs for high_gprs contexts.
23602 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23603 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23605 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23607 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23609 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23610 for high GPRs (uc_high_gprs) and for future extensions
23612 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23613 for future extensions (__reserved).
23614 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23616 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23617 SC_HIGHGPRS offset definition.
23618 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23619 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23621 * Versions.def: Add GLIBC_2.19 for libpthread.
23622 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23623 siglongjmp for libpthread with GLIBC_2.19 symver.
23624 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23625 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23626 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23627 * sysdeps/s390/__longjmp.c: New file.
23628 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23629 * sysdeps/s390/longjmp.c: New file.
23630 * sysdeps/s390/setjmp.S: New file.
23631 * sysdeps/s390/sigjmp.S: New file.
23632 * sysdeps/s390/v1-longjmp.c: New file.
23633 * sysdeps/s390/v1-setjmp.h: New file.
23634 * sysdeps/s390/v1-sigjmp.c: New file.
23635 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23636 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23637 GLIBC_2.19 version.
23638 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23639 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23640 versioned symbols for ____longjmp_chk.
23641 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23651 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23652 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23653 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23654 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23655 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23656 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23657 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23658 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23659 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23660 * sysdeps/s390/rtld-__longjmp.c: New file.
23661 * sysdeps/s390/rtld-setjmp.S: New file.
23663 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23666 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23667 Return -__logl (x) for small positive arguments without evaluating
23670 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23672 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23674 (__ptrace_peeksiginfo_args): ... this.
23675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23676 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23679 2014-01-06 Allan McRae <allan@archlinux.org>
23681 * inet/netinet/in.h: Fix typo in comment.
23683 2014-01-05 Andreas Jaeger <aj@suse.de>
23685 * sysdeps/i386/fpu/libm-test-ulps: Update.
23687 2014-01-05 Allan McRae <allan@archlinux.org>
23689 * po/libc.pot: Regenerated.
23691 * malloc/memusagestat.c: Fix gettext call formatting.
23693 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23695 * nscd/nscd.c: Improve usage() output.
23697 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23699 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23700 * sysdeps/unix/sysv/linux/configure: Regenerated.
23701 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23702 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23704 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23707 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23708 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23710 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23713 extra tokens at end of #undef directive.
23714 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23715 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23718 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23722 * math/auto-libm-test-in: Mark various tests with
23723 xfail-rounding:ldbl-128ibm.
23724 * math/auto-libm-test-out: Regenerated.
23726 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23730 numbers with subnormal high part when calculating exponent.
23733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23739 (__ieee754_acoshl): Use __log1pl not __log1p.
23741 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23743 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23744 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23745 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23746 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23747 (reused_arena, arena_get2): Convert to GNU style.
23748 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23749 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23750 (memalign_check, __malloc_set_state): Likewise.
23751 * malloc/mallocbug.c (main): Likewise.
23752 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23753 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23754 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23755 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23756 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23757 (__posix_memalign, malloc_info): Likewise.
23758 * malloc/malloc.h: Likewise.
23759 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23760 (mallochook, memalignhook, reallochook, mabort): Likewise.
23761 * malloc/mcheck.h: Likewise.
23762 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23763 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23764 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23765 * malloc/morecore.c (__default_morecore): Likewise.
23766 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23767 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23768 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23769 (print_and_abort): Likewise.
23770 * malloc/obstack.h: Likewise.
23771 * malloc/set-freeres.c (__libc_freeres): Likewise.
23772 * malloc/tst-mallocstate.c (main): Likewise.
23773 * malloc/tst-mtrace.c (main): Likewise.
23774 * malloc/tst-realloc.c (do_test): Likewise.
23776 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23779 * nscd/netgroupcache.c (do_notfound): New function.
23780 (addgetnetgrentX): Use it.
23783 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23784 NSS_STATUS_NOTFOUND.
23786 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23788 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23791 2014-01-01 Allan McRae <allan@archlinux.org>
23793 * scripts/update-copyrights: Update configure input file suffix.
23795 * NEWS: Update copyright year.
23796 * catgets/gencat.c: Likewise.
23797 * csu/version.c: Likewise.
23798 * debug/catchsegv.sh: Likewise.
23799 * debug/pcprofiledump.c: Likewise.
23800 * debug/xtrace.sh: Likewise.
23801 * elf/ldconfig.c: Likewise.
23802 * elf/ldd.bash.in: Likewise.
23803 * elf/pldd.c: Likewise.
23804 * elf/sotruss.ksh: Likewise.
23805 * elf/sprof.c: Likewise.
23806 * iconv/iconv_prog.c: Likewise.
23807 * iconv/iconvconfig.c: Likewise.
23808 * locale/programs/locale.c: Likewise.
23809 * locale/programs/localedef.c: Likewise.
23810 * login/programs/pt_chown.c: Likewise.
23811 * malloc/memusage.sh: Likewise.
23812 * malloc/memusagestat.c: Likewise.
23813 * malloc/mtrace.pl: Likewise.
23814 * manual/libc.texinfo: Likewise.
23815 * nscd/nscd.c: Likewise.
23816 * nss/getent.c: Likewise.
23817 * nss/makedb.c: Likewise.
23818 * posix/getconf.c: Likewise.
23819 * scripts/test-installation.pl: Likewise.
23821 * All files with FSF copyright notices: Update copyright dates
23822 using scripts/update-copyrights.
23823 * intl/plural.c: Regenerated.
23824 * locale/programs/charmap-kw.h: Likewise.
23825 * locale/programs/locfile-kw.h: Likewise.
23827 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23829 * sysdeps/unix/sysv/linux/configure: Regenerated.
23830 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23831 the linux/fanotify.h header.
23832 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23833 HAVE_LINUX_FANOTIFY_H is defined.
23835 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23837 * benchtests/cos-inputs: New inputs.
23838 * benchtests/sin-inputs: Likewise.
23840 * benchtests/atan-inputs: New inputs. Fix name of multiple
23841 precision fallback inputs.
23843 * benchtests/atanh-inputs: New inputs.
23844 * benchtests/tanh-inputs: Likewise.
23846 * benchtests/acosh-inputs: New inputs.
23847 * benchtests/asinh-inputs: Likewise.
23849 * benchtests/cosh-inputs: New inputs.
23850 * benchtests/sinh-inputs: Likewise.
23852 * benchtests/acos-inputs: Add more inputs.
23853 * benchtests/asin-inputs: Likewise.
23855 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23858 * manual/arith.texi: Fix spelling.
23859 * manual/charset.texi: Likewise.
23860 * manual/errno.texi: Likewise.
23861 * manual/filesys.texi: Likewise.
23862 * manual/lang.texi: Likewise.
23863 * manual/llio.texi: Likewise.
23864 * manual/locale.texi: Likewise.
23865 * manual/message.texi: Likewise.
23866 * manual/resource.texi: Likewise.
23867 * manual/search.texi: Likewise.
23868 * manual/setjmp.texi: Likewise.
23869 * manual/stdio.texi: Likewise.
23870 * manual/string.texi: Likewise.
23871 * manual/sysinfo.texi: Likewise.
23872 * manual/time.texi: Likewise.
23874 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23876 * po/sl.po: New file.
23878 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23880 * .gitignore: Add core/.gdbinit/.gdb_history.
23882 2013-12-27 Allan McRae <allan@archlinux.org>
23885 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23886 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23888 2013-12-24 Brooks Moses <bmoses@google.com>
23890 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23891 all compilers that claim C++98 compliance, not just GCC.
23892 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23895 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23897 * NEWS: Restore accidentally deleted bug-fix entries.
23899 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23900 Ondřej Bílka <neleai@seznam.cz>
23903 * malloc/malloc.c (_int_free): Perform sanity check only if we
23906 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23909 * manual/stdio.texi (String Input Conversions): Clarify that character
23910 classes are not supported.
23912 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23916 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23920 Calculate results for small negative arguments directly rather
23921 than using reflection formula with special underflow handling.
23923 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23924 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23925 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23926 (fchflags): Likewise.
23927 (revoke): Likewise.
23928 (setlogin): Likewise.
23929 (sigaltstack): Likewise.
23931 (sigblock): Remove.
23932 (sigsetmask): Likewise.
23934 (waitpid): Likewise.
23935 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23936 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23938 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23939 * sysdeps/unix/bsd/Makefile: ... here.
23940 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23941 * sysdeps/unix/bsd/Versions: ... here.
23942 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23943 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23944 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23945 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23946 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23947 * sysdeps/unix/bsd/sigblock.c: ... here.
23948 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23949 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23950 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23951 * sysdeps/unix/bsd/sigvec.c: ... here.
23952 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23953 * sysdeps/unix/bsd/tcdrain.c: ... here.
23954 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23955 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23956 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23957 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23958 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23959 * sysdeps/unix/bsd/wait.c: ... here.
23960 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23961 * sysdeps/unix/bsd/wait3.c: ... here.
23962 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23963 * sysdeps/unix/bsd/waitpid.c: ... here.
23965 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23968 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23969 round-to-nearest for [!USE_AS_EXPM1L].
23970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23971 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23972 more tests of exp and exp10. Expect some exp10 tests to miss
23973 exceptions or fail in directed rounding modes.
23974 * math/auto-libm-test-out: Regenerated.
23975 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23976 (exp10_test_tonearest): New function.
23977 (exp10_towardzero_test_data): New array.
23978 (exp10_test_towardzero): New function.
23979 (exp10_downward_test_data): New array.
23980 (exp10_test_downward): New function.
23981 (exp10_upward_test_data): New array.
23982 (exp10_test_upward): New function.
23983 (main): Call the new functions.
23984 * sysdeps/i386/fpu/libm-test-ulps: Update.
23985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23987 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23989 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23990 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23991 * math/auto-libm-test-out: Regenerated.
23992 * math/libm-test.inc (acosh_test_data): Add more tests.
23993 (atanh_test_data): Likewise.
23994 (ceil_test_data): Likewise.
23995 (copysign_test_data): Likewise.
23996 * sysdeps/i386/fpu/libm-test-ulps: Update.
23997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23999 * timezone/checktab.awk: Update from tzcode 2013i.
24000 * timezone/private.h: Likewise.
24001 * timezone/scheck.c: Likewise.
24002 * timezone/tzfile.h: Likewise.
24003 * timezone/tzselect.ksh: Likewise.
24004 * timezone/zdump.c: Likewise.
24005 * timezone/zic.c: Likewise.
24007 * math/auto-libm-test-in: Add tests of cpow.
24008 * math/auto-libm-test-out: Regenerated.
24009 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24010 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24012 (func_calc_desc): Add mpc_cc_c union field.
24013 (test_functions): Add cpow.
24014 (special_fill_2pi): New function.
24015 (special_real_inputs): Add 2pi.
24016 (calc_generic_results): Handle mpc_cc_c.
24017 * sysdeps/i386/fpu/libm-test-ulps: Update.
24018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24020 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24021 csqrt, ctan and ctanh.
24022 * math/auto-libm-test-out: Regenerated.
24023 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24024 (TEST_COND_x86): Likewise.
24025 (ccos_test_data): Use AUTO_TESTS_c_c.
24026 (ccosh_test_data): Likewise.
24027 (cexp_test_data): Likewise.
24028 (clog_test_data): Likewise.
24029 (csqrt_test_data): Likewise.
24030 (ctan_test_data): Likewise.
24031 (ctan_tonearest_test_data): Likewise.
24032 (ctan_towardzero_test_data): Likewise.
24033 (ctan_downward_test_data): Likewise.
24034 (ctan_upward_test_data): Likewise.
24035 (ctanh_test_data): Likewise.
24036 (ctanh_tonearest_test_data): Likewise.
24037 (ctanh_towardzero_test_data): Likewise.
24038 (ctanh_downward_test_data): Likewise.
24039 (ctanh_upward_test_data): Likewise.
24040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24042 (func_calc_desc): Add mpc_c_c union field.
24043 (FUNC_mpc_c_c): New macro.
24044 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24045 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24047 (special_fill_min_subnorm_p120): New function.
24048 (special_real_inputs): Add min_subnorm_p120.
24049 (calc_generic_results): Handle mpc_c_c.
24050 * sysdeps/i386/fpu/libm-test-ulps: Update.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24053 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24055 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24056 (do_sin_slow): New functions.
24057 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24058 (cslow2, csloww1, csloww2): Use the new functions.
24060 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24061 Use M to change sign of result instead of X. Assume X is
24063 (csloww1): Likewise.
24067 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24068 arguments A and DA.
24072 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24074 (sloww1): Don't adjust sign of DX.
24075 (csloww1): Likewise.
24076 (sloww2): Use X directly and don't adjust sign of DX.
24077 (csloww2): Likewise.
24079 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24081 * math/auto-libm-test-in: Add tests of cabs and carg.
24082 * math/auto-libm-test-out: Regenerated.
24083 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24084 (carg_test_data): Likewise.
24085 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24087 (func_calc_desc): Add mpc_c_f union field.
24088 (test_functions): Add cabs and carg.
24089 (calc_generic_results): Handle mpc_c_f.
24091 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24092 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24093 as a macro and a compat symbol.
24094 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24095 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24096 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24097 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24098 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24099 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24101 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24103 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24105 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24107 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24109 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24111 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24112 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24115 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24119 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24121 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24122 trailing whitespace removed.
24123 * scripts/config.guess: Update to version 2013-11-29.
24124 * scripts/config.sub: Update to version 2013-10-01.
24126 * math/auto-libm-test-in: Add tests of sincos.
24127 * math/auto-libm-test-out: Regenerated.
24128 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24129 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24131 (func_calc_desc): Add mpfr_f_11 union field.
24132 (test_functions): Add sincos.
24133 (calc_generic_results): Handle mpfr_f_11.
24134 * sysdeps/i386/fpu/libm-test-ulps: Update.
24135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24137 2013-12-19 Andreas Schwab <schwab@suse.de>
24139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24141 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24142 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24143 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24145 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24147 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24148 * sysdeps/i386/fpu/libm-test-ulps: Update.
24149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24152 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24153 round-to-nearest mode when using frndint.
24154 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24155 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24156 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24158 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24160 * math/auto-libm-test-out: Regenerated.
24161 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24162 (TEST_COND_x86): Likewise.
24163 (expm1_tonearest_test_data): New array.
24164 (expm1_test_tonearest): New function.
24165 (expm1_towardzero_test_data): New array.
24166 (expm1_test_towardzero): New function.
24167 (expm1_downward_test_data): New array.
24168 (expm1_test_downward): New function.
24169 (expm1_upward_test_data): New array.
24170 (expm1_test_upward): New function.
24171 (main): Run the new test functions.
24172 * sysdeps/i386/fpu/libm-test-ulps: Update.
24173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24175 * include/features.h: Update comment documenting feature test
24176 macros. Mention _DEFAULT_SOURCE in comment.
24177 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24178 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24179 _BSD_SOURCE and _SVID_SOURCE.
24180 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24181 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24182 !_SVID_SOURCE]: Likewise.
24183 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24184 (__USE_POSIX_IMPLICITLY): Define.
24185 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24186 (_POSIX_SOURCE): Undefine and redefine.
24187 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24188 (_POSIX_C_SOURCE): Likewise.
24189 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24190 (Feature Test Macros): Update documentation of default features.
24192 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24194 * benchtests/Makefile: Add bench-strtok.
24195 * benchtests/bench-strtok.c: New file: strtok benchtest.
24197 2013-12-19 Allan McRae <allan@archlinux.org>
24199 * manual/install.texi: Suppress menu for plain text output.
24200 * INSTALL: Regenerated.
24202 2013-12-18 Brooks Moses <bmoses@google.com>
24205 * misc/getauxval.c: Include errno.h.
24206 (__getauxval): Set errno to ENOENT if the requested type is not
24208 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24209 don't declare with __attribute_const__.
24210 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24211 * manual/startup.texi: Document that getauxval sets errno.
24213 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24215 * math/auto-libm-test-in: Add tests of jn and yn.
24216 * math/auto-libm-test-out: Regenerated.
24217 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24218 (yn_test_data): Likewise.
24219 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24221 (func_calc_desc): Add mpfr_if_f union field.
24222 (FUNC_mpfr_if_f): New macro.
24223 (test_functions): Add jn and yn.
24224 (calc_generic_results): Assert type of second input for
24225 mpfr_ff_f. Handle mpfr_if_f.
24226 (output_for_one_input_case): Disable all checking for arguments
24227 fitting floating-point types in case of an integer argument.
24228 * sysdeps/i386/fpu/libm-test-ulps: Update.
24229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24232 Don't expect fegetround reference in libm.so.
24234 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24236 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24237 $(config-cflags-nofma).
24239 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24241 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24242 * math/auto-libm-test-out: Regenerated.
24245 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24246 to determine exponent and adjust argument to have exponent of -1.
24247 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24249 * math/auto-libm-test-out: Regenerated.
24250 * sysdeps/i386/fpu/libm-test-ulps: Update.
24251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24253 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24255 * manual/probes.texi: Remove cases when per-thread arenas are
24258 2013-12-18 Andreas Schwab <schwab@suse.de>
24260 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24261 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24262 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24263 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24264 * sysdeps/i386/i686/multiarch/Makefile: Update.
24265 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24267 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24269 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24270 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24272 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24275 Support TZ transition times < 00:00:00.
24276 This is needed for version-3 tz-format files; it supports time
24277 stamps past 2037 for America/Godthab (the only entry in the tz
24278 database for which this change is relevant).
24279 * manual/time.texi (TZ Variable): Document transition times
24280 from -167:59:59 through -00:00:01.
24281 * time/tzset.c (tz_rule): Time of day is now signed.
24282 (__tzset_parse_tz): Parse negative time of day.
24284 Document TZ transition times >= 25:00:00.
24285 * manual/time.texi (TZ Variable): Document transition times from
24286 25:00:00 through 167:59:59. These are already supported, and this
24287 support will help with version-3 tz-format files.
24289 * manual/time.texi (TZ Variable): Modernize North America example
24290 to reflect current (i.e., 2007-and-later) daylight saving rules.
24292 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24294 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24296 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24297 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24300 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24301 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24302 * sysdeps/unix/bsd/clock.c: Likewise.
24303 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24304 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24305 * sysdeps/unix/bsd/init-posix.c: Likewise.
24306 * sysdeps/unix/bsd/poll.c: Likewise.
24307 * sysdeps/unix/bsd/ptsname.c: Likewise.
24308 * sysdeps/unix/bsd/seekdir.c: Likewise.
24309 * sysdeps/unix/bsd/setegid.c: Likewise.
24310 * sysdeps/unix/bsd/seteuid.c: Likewise.
24311 * sysdeps/unix/bsd/setgid.c: Likewise.
24312 * sysdeps/unix/bsd/setrgid.c: Likewise.
24313 * sysdeps/unix/bsd/setruid.c: Likewise.
24314 * sysdeps/unix/bsd/setsid.c: Likewise.
24315 * sysdeps/unix/bsd/setuid.c: Likewise.
24316 * sysdeps/unix/bsd/sigaction.c: Likewise.
24317 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24318 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24319 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24320 * sysdeps/unix/bsd/telldir.c: Likewise.
24321 * sysdeps/unix/bsd/times.c: Likewise.
24322 * sysdeps/unix/bsd/usleep.c: Likewise.
24324 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24325 ($(objpfx)libbsd-compat.a): Remove rule.
24327 * include/features.h (__FAVOR_BSD): Do not define.
24328 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24329 features conflicting with POSIX.
24330 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24331 (_BSD_SOURCE): Remove description of not being a subset of other
24332 feature test macros.
24333 * manual/job.texi (getpgrp): Do not document BSD version.
24334 (getpgid): Do not document by reference to BSD getpgrp.
24335 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24336 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24337 * signal/signal.h [__FAVOR_BSD]: Likewise.
24338 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24339 instead of making contents conditional on [__FAVOR_BSD].
24340 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24342 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24346 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24349 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24350 values below 2**-450, not 2**-500.
24351 * math/auto-libm-test-in: Don't allow spurious underflow from
24353 * math/auto-libm-test-out: Regenerated.
24357 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24358 values of ha and hb and sort them after adjusting subnormal
24360 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24362 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24363 values of ea and eb and sort them after adjusting subnormal
24365 * math/auto-libm-test-in: Do not expect some hypot tests of
24366 subnormals to fail. Add more hypot tests.
24367 * math/auto-libm-test-out: Regenerated.
24369 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24372 * sysdeps/sh/s_fma.c: New file.
24373 * sysdeps/sh/s_fmaf.c: New file.
24374 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24376 * sysdeps/sh/Implies: Add sh/soft-fp.
24378 2013-12-16 Roland McGrath <roland@hack.frob.com>
24380 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24381 level of indirection to members `objname', `errstring', `malloced'.
24382 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24383 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24384 it as the __longjmp argument (just pass 1 instead).
24385 (_dl_catch_error): Initialize C with argument pointers and address of
24386 volatile local ERRCODE rather than copying values out of C at return.
24388 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24390 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24391 * math/auto-libm-test-out: Regenerated.
24392 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24393 (hypot_test_data): Likewise.
24394 (pow_test_data): Likewise.
24395 (pow_tonearest_test_data): Likewise.
24396 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24398 (func_calc_desc): Add mpfr_ff_f union field.
24399 (FUNC_mpfr_ff_f): New macro.
24400 (test_functions): Add atan2, hypot and pow.
24401 (special_fill_min): New function.
24402 (special_fill_minus_min): Likewise.
24403 (special_fill_min_subnorm): Likewise.
24404 (special_fill_minus_min_subnorm): Likewise.
24405 (special_real_inputs): Add min, -min, min_subnorm and
24407 (calc_generic_results): Handle mpfr_ff_f.
24408 * sysdeps/i386/fpu/libm-test-ulps: Update.
24409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24411 2013-12-16 Will Newton <will.newton@linaro.org>
24413 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24414 (Aligned Memory Blocks): Add documentation for aligned_alloc
24415 and suggest it as an alternative to posix_memalign.
24416 (Hooks for Malloc): Document __memalign_hook is also called
24417 for aligned_alloc. (Summary of Malloc): Add summary for
24418 aligned alloc. Document __memalign_hook is also called
24421 2013-12-16 Will Newton <will.newton@linaro.org>
24423 * manual/memory.texi (Malloc Examples): Clarify default
24424 alignment documentation. Suggest posix_memalign rather
24425 than memalign or valloc.
24426 (Aligned Memory Blocks): Remove suggestion to use memalign
24427 or valloc. Remove obsolete comment about BSD.
24428 Document memalign errno values and mark the function obsolete.
24429 Document posix_memalign returned error codes. Mark valloc
24430 as obsolete. (Hooks for Malloc): __memalign_hook is also
24431 called for posix_memalign and valloc.
24432 (Summary of Malloc): Add posix_memalign to function summary.
24433 __memalign_hook is also called for posix_memalign and valloc.
24435 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24437 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24441 (sloww): Use mynumber union. Expand ternary operator into
24442 if-else statements.
24443 (cslow): use mynumber union.
24445 2013-12-16 Allan McRae <allan@archlinux.org>
24447 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24448 * configure: Regenerated.
24450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24453 * configure.ac: Added --enable-maintainer-mode. Check for
24454 autoconf when enabled.
24455 * configure: Regenerated.
24457 * nscd/nscd.service: New file.
24458 * nscd/nscd.tmpfiles: New file.
24460 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24463 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24464 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24465 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24466 (strstr): Add __strstr_sse2_unaligned ifunc.
24467 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24468 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24469 (strcasestr): Remove __strcasestr_sse42 ifunc.
24470 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24474 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24476 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24477 * sysdeps/sh/bits/fenv.h: ... here.
24478 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24480 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24482 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24485 hypotf multiarch implementations.
24486 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24487 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24488 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24489 multiarch hypot for PPC64.
24490 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24491 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24492 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24493 multiarch hypotf for PPC64.
24495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24496 modff multiarch implementations.
24497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24500 multiarch modf for PPC64.
24501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24504 multiarch modff for PPC64.
24506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24507 and logl multiarch implementations.
24508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24511 multiarch logb for PPC64.
24512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24515 multiarch logb for PPC64.
24516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24519 multiarch logb for PPC64.
24521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24522 isinff multiarch implementation.
24523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24527 multiarch isinf for PPC64.
24528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24531 multiarch isinff for PPC64.
24533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24534 finitef multiarch implementation.
24535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24539 multiarch finite for PPC64.
24540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24543 multiarch finitef for PPC64.
24545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24546 lrint multiarch implementation.
24547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24551 multiarch llrint for PPC64.
24552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24553 multiarch lrint for PPC64.
24555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24556 copysignf multiarch implementation.
24557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24562 multiarch copysign for PPC64.
24563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24564 multiarch copysignf for PPC64.
24566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24567 multiarch implementation.
24568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24576 multiarch llround for PPC64.
24577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24578 multiarch trunc for PPC64.
24579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24580 multiarch truncf for PPC64.
24582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24583 multiarch implementation.
24584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24592 multiarch llround for PPC64.
24593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24594 multiarch round for PPC64.
24595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24596 multiarch roundf for PPC64.
24598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24599 multiarch implementation.
24600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24608 multiarch llround for PPC64.
24609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24610 multiarch floor for PPC64.
24611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24612 multiarch floorf for PPC64.
24614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24615 multiarch implementation.
24616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24624 multiarch llround for PPC64.
24625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24626 multiarch ceil for PPC64.
24627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24628 multiarch ceilf for PPC64.
24630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24631 multiarch implementation.
24632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24639 multiarch llround for PPC64.
24640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24641 multiarch lround for PPC64.
24643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24644 multiarch implementation.
24645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24652 multiarch isnan for PPC64.
24653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24654 multiarch isnanf for PPC64.
24656 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24657 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24658 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24659 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24660 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24663 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24664 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24669 multiarch implementations.
24670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24671 (__libc_ifunc_impl_list): Likewise.
24672 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24673 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24674 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24675 multiarch stpcpy for PPC64.
24677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24678 multiarch implementations.
24679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24680 (__libc_ifunc_impl_list): Likewise.
24681 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24682 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24683 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24684 multiarch strcpy for PPC64.
24686 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24687 redefine function name.
24688 (_wordcopy_fwd_dest_aligned): Likewise.
24689 (_wordcopy_bwd_aligned): Likewise.
24690 (_wordcopy_bwd_dest_aligned): Likewise.
24691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24692 multiarch implementations.
24693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24694 (__libc_ifunc_impl_list): Likewise.
24695 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24696 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24697 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24698 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24699 multiarch wcscpy for PPC64.
24701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24702 multiarch implementations.
24703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24704 (__libc_ifunc_impl_list): Likewise.
24705 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24706 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24707 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24708 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24709 multiarch wcscpy for PPC64.
24711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24712 multiarch implementations.
24713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24714 (__libc_ifunc_impl_list): Likewise.
24715 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24716 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24717 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24718 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24719 multiarch wcsrchr for PPC64.
24721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24722 multiarch implementations.
24723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24724 (__libc_ifunc_impl_list): Likewise.
24725 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24726 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24727 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24728 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24729 multiarch wcschr for PPC64.
24731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24732 multiarch implementations.
24733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24734 (__libc_ifunc_impl_list): Likewise.
24735 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24736 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24737 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24738 multiarch strchrnul for PPC64.
24740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24743 (__libc_ifunc_impl_list): Likewise.
24744 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24745 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24746 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24747 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24753 (__libc_ifunc_impl_list): Likewise.
24754 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24755 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24756 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24757 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24761 multiarch implementations.
24762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24763 (__libc_ifunc_impl_list): Likewise.
24764 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24765 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24766 strncasecmp for PPC64.
24767 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24768 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24769 multiarch strncasecmp_l for PPC64.
24771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24772 multiarch implementations.
24773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24774 (__libc_ifunc_impl_list): Likewise.
24775 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24776 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24777 multiarch strcasecmp for PPC64.
24778 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24780 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24781 multiarch strcasecmp_l for PPC64.
24783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24786 (__libc_ifunc_impl_list): Likewise.
24787 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24788 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24789 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24795 (__libc_ifunc_impl_list): Likewise.
24796 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24797 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24798 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24804 (__libc_ifunc_impl_list): Likewise.
24805 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24806 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24807 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24808 rawmemrchr for PPC64.
24810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24813 (__libc_ifunc_impl_list): Likewise.
24814 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24815 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24816 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24822 (__libc_ifunc_impl_list): Likewise.
24823 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24824 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24825 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24831 (__libc_ifunc_impl_list): Likewise.
24832 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24833 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24834 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24837 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24838 avoid cretion of __bzero symbol.
24839 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24841 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24843 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24846 multiarch implementations.
24847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24848 (__libc_ifunc_impl_list): Likewise.
24849 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24850 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24851 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24852 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24854 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24855 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24856 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24857 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24858 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24860 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24862 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24866 (__libc_ifunc_impl_list): Likewise.
24867 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24868 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24869 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24870 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24874 multiarch for POWER/PPC64.
24875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24876 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24877 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24878 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24880 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24881 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24882 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24883 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24886 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24887 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24888 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24889 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24890 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24891 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24892 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24893 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24894 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24895 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24896 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24897 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24898 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24899 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24900 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24909 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24911 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24913 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24915 * benchtests/Makefile (bench): Add exp2 and log2.
24916 (LDLIBS-bench-exp2): Add -lm.
24917 (LDLIBS-bench-log2): Likewise.
24918 * benchtests/exp2-inputs: New inputs file.
24919 * benchtests/log2-inputs: New inputs file.
24920 * benchtests/log-inputs: Add new inputs.
24921 * benchtests/tan-inputs: Likewise.
24923 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24925 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24927 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24928 (csloww2): ... from here.
24930 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24931 instead of structures.
24932 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24933 (POLYNOMIAL): Likewise.
24934 (TAYLOR_SLOW): Likewise.
24940 (sloww1); Likewise.
24941 (sloww2): Likewise.
24942 (bsloww1): Likewise.
24943 (bsloww2): Likewise.
24944 (cslow2): Likewise.
24945 (csloww): Likewise.
24946 (csloww1): Likewise.
24947 (csloww2): Likewise.
24949 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24951 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24952 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24953 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24954 * malloc/hooks.c (realloc_check): Likewise.
24956 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24957 * malloc/arena.c: Remove PER_THREAD conditional.
24958 [!PER_THREAD]: Remove code.
24959 (ptmalloc_unlock_all2): Likewise.
24960 (ptmalloc_init): Likewise.
24961 (_int_new_arena): Likewise.
24962 (arena_get2): Likewise.
24963 * malloc/hooks.c (__malloc_get_state): Likewise.
24964 (__malloc_set_state): Likewise.
24965 * malloc/malloc.c: Likewise.
24966 (struct malloc_state): Likewise.
24967 (struct malloc_par): Likewise.
24968 (__libc_realloc): Likewise.
24969 (__libc_mallopt): Likewise.
24971 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24973 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24975 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24977 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24978 macro to a function. Check for zero perturb_byte.
24979 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24981 * malloc/malloc.c: (force_reg): Remove.
24982 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24983 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24984 force_reg by atomic_forced_read.
24985 * malloc/arena.c (ptmalloc_init): Likewise.
24986 * malloc/hooks.c (top_check): Likewise.
24988 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24992 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24996 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24998 * math/auto-libm-test-in: Add tests of lgamma.
24999 * math/auto-libm-test-out: Regenerated.
25000 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25001 (M_LOG_2_SQRT_PIl): Likewise.
25002 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25003 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25005 (func_calc_desc): Add mpfr_f_f1 union field.
25006 (ARGS1): New macro.
25014 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25015 (test_functions): Add lgamma.
25016 (calc_generic_results): Handle mpfr_f_f1.
25017 * sysdeps/i386/fpu/libm-test-ulps: Update.
25018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25020 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25022 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25023 __mpn_add_n for PowerPC64/POWER7.
25024 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25025 __mpn_sub_n for PowerPC64/POWER7.
25027 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25028 __mpn_addmul_1 for PowerPC64.
25029 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25030 __mpn_submul_1 for PowerPC64.
25031 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25033 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25036 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25039 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25041 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25043 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25045 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25046 add multiarch folders.
25047 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25048 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25049 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25050 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25051 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25052 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25053 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25054 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25055 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25056 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25057 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25066 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25072 multiarch __ieee754_hypot for PowerPC32.
25073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25078 multiarch __ieee754_hypotf for PowerPC32.
25080 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25081 long_double_symbol only if __logbl is defined.
25082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25083 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25085 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25087 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25089 path for implementation.
25090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25093 logb, and logbl multiarch implementations for PowerPC32.
25094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25099 multiarch logb for PowerPC32.
25100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25105 multiarch logbf for PowerPC32.
25106 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25110 multiarch logbl implementation for PowerPC32.
25112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25113 and modff multiarch implementations.
25114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25119 multiarch modf for PowerPC32.
25120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25125 multiarch modff for PowerPC32.
25127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25128 and lrintf multiarch implementations.
25129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25134 multiarch lrint for PowerPC32.
25135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25136 file: multiarch lrintf for PowerPC32.
25138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25139 and lroundf multiarch implementations.
25140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25147 multiarch lround for PowerPC32.
25148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25149 file: multiarch lroundf for PowerPC32.
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25152 copysign and copysignf multiarch implementations.
25153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25158 file: multiarch copysign for PowerPC32.
25159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25160 file: multiarch copysignf for PowerPC32.
25162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25163 and truncf multiarch implementations.
25164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25169 multiarch trunc for PowerPC32.
25170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25175 multiarch truncf for PowerPC32.
25177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25178 and roundf multiarch implementations.
25179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25184 multiarch round for PowerPC32.
25185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25190 multiarch roundf for PowerPC32.
25192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25193 and floorf multiarch implementations.
25194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25199 multiarch floor for PowerPC32.
25200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25205 multiarch floorf for PowerPC32.
25207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25208 and ceilf multiarch implementations.
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25214 multiarch ceil for PowerPC32.
25215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25220 multiarch ceilf for PowerPC32.
25222 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25224 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25225 FINITEF is defined.
25226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25227 and finitef multiarch implementations.
25228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25233 multiarch finite for PowerPC32.
25234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25237 file: multiarch finitef for PowerPC32.
25239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25240 and isinff multiarch implementations.
25241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25246 multiarch isinf for PowerPC32.
25247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25250 multiarch isinff for PowerPC32.
25252 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25253 alias when __isnan is defined.
25254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25255 and isnanf multiarch implementations.
25256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25265 multiarch isnan for PowerPC32.
25266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25271 multiarch isnanf for PowerPC32.
25273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25274 and sqrtf multiarch implementations.
25275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25280 multiarch sqrt for PowerPC32.
25281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25286 multiarch sqrtf for PowerPC32.
25288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25289 and llroundf multiarch implementations.
25290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25297 file: multiarch llround for PowerPC32.
25298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25299 file: multiarch llroundf for PowerPC32.
25301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25302 multiarch PowerPC32 fpu implementations.
25303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25308 multiarch llrint for PowerPC32.
25309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25318 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25320 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25322 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25324 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25325 multiarch wordcopy for PPC32.
25326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25329 (__libc_ifunc_impl_list): Likewise.
25330 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25331 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25332 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25333 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25335 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25337 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25344 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25345 multiarch wcscpy for PPC32.
25346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25349 (__libc_ifunc_impl_list): Likewise.
25350 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25351 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25352 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25353 sysdeps/powerpc/power6/wcscpy.c.
25355 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25363 multiarch wcsrchr for PPC32.
25364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25367 (__libc_ifunc_impl_list): Likewise.
25368 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25369 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25370 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25371 sysdeps/powerpc/power6/wcsrchr.c.
25373 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25375 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25378 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25379 multiarch wcschr for PPc32.
25380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25383 (__libc_ifunc_impl_list): Likewise.
25384 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25385 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25386 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25387 sysdeps/powerpc/power6/wcschr.c.
25389 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25390 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25392 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25393 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25394 file: multiarch strchr for PPC32.
25395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25398 (__libc_ifunc_impl_list): Likewise.
25400 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25402 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25404 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25406 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25407 multiarch strchrnul for PPC32.
25408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25411 (__libc_ifunc_impl_list): Likewise.
25413 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25415 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25416 multiarch strncasecmp for PPC32.
25417 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25419 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25420 multiarch strncasecmp_l for PPC32.
25421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25422 strncasecmp multiarch objects.
25423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25424 (__libc_ifunc_impl_list): Likewise.
25426 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25428 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25429 multiarch strncasecmp for PPC32.
25430 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25432 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25433 multiarch strcasecmp_l for PPC32.
25434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25437 (__libc_ifunc_impl_list): Likewise.
25439 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25441 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25443 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25444 multiarch strncmp for PPC32.
25445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25448 (__libc_ifunc_impl_list): Likewise.
25450 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25451 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25453 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25454 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25458 (__libc_ifunc_impl_list): Likewise.
25460 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25462 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25464 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25468 (__libc_ifunc_impl_list): Likewise.
25470 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25472 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25474 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25475 multiarch rawmemchr for PPC32.
25476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25479 (__libc_ifunc_impl_list): Likewise.
25481 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25483 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25485 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25486 file: memrchr multiarch for PPC32.
25487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25490 (__libc_ifunc_impl_list): Likewise.
25492 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25493 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25495 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25496 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25497 multiarch memchr for PPC32.
25498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25501 (__libc_ifunc_impl_list): Likewise.
25503 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25504 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25506 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25508 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25509 file: multiarch mempcpy for PPC32.
25510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25513 (__libc_ifunc_impl_list): Likewise.
25515 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25516 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25517 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25518 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25519 multiarch bzero for PPC32.
25520 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25522 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25524 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25525 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25526 file: multiarch memset for PPC32.
25527 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25529 memset multiarch objects.
25530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25531 (__libc_ifunc_impl_list): Likewise.
25533 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25536 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25538 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25542 (__libc_ifunc_impl_list): Likewise.
25544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25546 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25548 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25552 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25553 multiarch memcpy for PPC32.
25554 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25556 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25557 (__libc_ifunc_impl_list): Likewise.
25559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25560 support multiarch for POWER/PPC32.
25561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25563 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25565 Implies file to make multiarch folder appers before the fpu and
25566 default folder for power4 configuration.
25568 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25570 * scripts/bench.pl: Append volatile keyword to type.
25572 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25574 * sysdeps/sh/sotruss-lib.c: New file.
25575 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25577 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25581 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25584 * math/w_tgamma.c: Include <errno.h>.
25585 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25586 * math/w_tgammaf.c: Include <errno.h>.
25587 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25588 * math/w_tgammal.c: Include <errno.h>.
25589 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25590 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25591 underflow. Add more tgamma tests.
25592 * math/auto-libm-test-out: Regenerated.
25593 * sysdeps/i386/fpu/libm-test-ulps: Update.
25594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25597 sin, sinh, tan, tanh, tgamma, y0 and y1.
25598 * math/auto-libm-test-out: Regenerated.
25599 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25600 (TEST_COND_x86): Likewise.
25601 (M_E2l): Remove macro.
25603 (M_2_SQRT_PIl): Likewise.
25604 (M_SQRT_PIl): Likewise.
25605 (M_1_DIV_El): Likewise.
25606 (log_test_data): Use AUTO_TESTS_f_f.
25607 (log10_test_data): Likewise.
25608 (log1p_test_data): Likewise.
25609 (log2_test_data): Likewise.
25610 (sin_test_data): Likewise.
25611 (sin_tonearest_test_data): Likewise.
25612 (sin_towardzero_test_data): Likewise.
25613 (sin_downward_test_data): Likewise.
25614 (sin_upward_test_data): Likewise.
25615 (sinh_test_data): Likewise.
25616 (sinh_tonearest_test_data): Likewise.
25617 (sinh_towardzero_test_data): Likewise.
25618 (sinh_downward_test_data): Likewise.
25619 (sinh_upward_test_data): Likewise.
25620 (tan_test_data): Likewise.
25621 (tan_tonearest_test_data): Likewise.
25622 (tan_towardzero_test_data): Likewise.
25623 (tan_downward_test_data): Likewise.
25624 (tan_upward_test_data): Likewise.
25625 (tanh_test_data): Likewise.
25626 (tgamma_test_data): Likewise.
25627 (y0_test_data): Likewise.
25628 (y1_test_data): Likewise.
25629 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25630 (special_real_inputs): Add pi/4.
25631 * sysdeps/i386/fpu/libm-test-ulps: Update.
25632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25634 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25636 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25637 "longjmp_target" static probes.
25638 (__longjmp): Rename to __longjmp_symbol.
25639 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25640 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25641 on which longjmp to generate.
25642 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25643 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25645 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25646 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25647 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25648 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25649 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25650 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25652 __longjmp_symbol based on which __longjmp to generate.
25653 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25655 (setjmp): Rename to setjmp_symbol.
25656 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25657 (_setjmp): Rename to _setjmp_symbol.
25658 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25659 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25660 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25661 which setjmp to generate.
25662 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25663 "longjmp_target" static probes.
25665 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25667 * benchtests/README: Add note about output arguments.
25668 * benchtests/bench-sincos.c: Remove file.
25669 * benchtests/sincos-inputs: New file.
25670 * scripts/bench.pl: Identify output arguments and define
25671 static variables for them.
25673 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25676 * Makefile (INSTALL): Add install-plain.texi as the primary
25678 * manual/install-plain.texi: New file.
25679 * manual/install.texi: Include node directive only for
25680 non-plaintext output.
25682 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25684 * stdlib/longlong.h: Update from GCC.
25688 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25689 * math/w_j0f.c (y0f): Likewise.
25690 * math/w_j0l.c (__y0l): Likewise.
25691 * math/w_j1.c (y1): Likewise.
25692 * math/w_j1f.c (y1f): Likewise.
25693 * math/w_j1l.c (__y1l): Likewise
25694 * math/w_jn.c (yn): Likewise.
25695 * math/w_jnf.c (ynf): Likewise.
25696 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25697 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25698 value for Bessel function domain errors outside _SVID_ mode.
25699 Adjust sign of return value for yn (negative integer, 0).
25700 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25701 by zero in return for negative x and set sign appropriately for
25703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25705 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25706 expectations in error cases.
25707 (y1_test_data): Likewise.
25708 (yn_test_data): Likewise.
25709 * sysdeps/i386/fpu/libm-test-ulps: Update.
25710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25712 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25714 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25715 "64" to "64-v1". Add "64-v2".
25716 (abi-64-options): Rename to ...
25717 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25718 (abi-64-condition): Rename to ...
25719 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25720 (abi-64-ld-soname): Rename to ...
25721 (abi-64-v1-ld-soname): ... this.
25722 (abi-64-v2-options): Define.
25723 (abi-64-v2-condition): Likewise.
25724 (abi-64-v2-ld-soname): Likewise.
25725 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25726 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25731 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25732 Alan Modra <amodra@gmail.com>
25734 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25735 New versions for use with the ELFv2 ABI.
25736 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25737 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25739 (struct La_ppc64v2_retval): Likewise.
25740 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25741 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25742 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25743 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25744 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25745 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25746 Do not save or restore CR.
25747 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25748 (_dl_profile_resolve): Do no save or restore CR. Support extended
25749 return values for ELFv2 ABI. Fix location of FPR return registers.
25750 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25751 updated values for _CALL_ELF == 2.
25752 (La_regs, La_retval, int_retval): Likewise.
25754 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25756 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25757 (FRAME_MIN_SIZE_PARM): Likewise.
25758 (FRAME_BACKCHAIN): Likewise.
25759 (FRAME_CR_SAVE): Likewise.
25760 (FRAME_LR_SAVE): Likewise.
25761 (FRAME_TOC_SAVE): Likewise.
25762 (FRAME_PARM_SAVE): Likewise.
25763 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25764 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25765 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25766 (call_mcount_parm_offset): New macro.
25767 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25768 (PROF): Use symbolic stack frame offsets.
25769 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25771 Redefine in terms of FRAME_MIN_SIZE.
25772 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25773 (_dl_profile_resolve): Likewise. Update comment.
25774 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25775 symbols stack frame offsets.
25776 (__sigsetjmp): Likewise.
25777 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25778 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25779 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25780 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25783 (FRAME_BACKCHAIN): Remove.
25784 (FRAME_CR_SAVE): Likewise.
25785 (FRAME_LR_SAVE): Likewise.
25786 (FRAME_COMPILER_DW): Likewise.
25787 (FRAME_LINKER_DW): Likewise.
25788 (FRAME_TOC_SAVE): Likewise.
25789 (FRAME_PARM_SAVE): Likewise.
25790 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25791 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25792 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25794 (CHECK_SP): Use symbolic stack frame offsets.
25795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25796 zone" instead of caller's parameter save area for temp storage.
25797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25798 Likewise. Also, use symbolic stack frame offsets.
25799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25800 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25801 our own stack frame instead of the caller's.
25802 (__socket): Use symbolic stack frame offsets.
25804 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25805 Alan Modra <amodra@gmail.com>
25807 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25809 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25810 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25811 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25813 (elf_machine_fixup_plt): Call it.
25814 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25816 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25817 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25818 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25819 r2 before calling target.
25821 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25822 Alan Modra <amodra@gmail.com>
25824 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25825 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25826 versions of macros to support ELFv2 ABI.
25827 (LOCALENTRY): New macro.
25828 (ENTRY, EALIGN): Use it.
25829 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25830 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25831 fall through into ENTRY entry point.
25832 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25833 Only define if _CALL_ELF != 2.
25835 (elf_machine_matches_host): Verify ABI version matches.
25836 (RTLD_START): Use LOCALENTRY.
25837 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25838 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25839 (PLT_ENTRY_WORDS): New macro.
25840 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25841 (elf_machine_runtime_setup): Support ELFv2 ABI.
25842 (elf_machine_fixup_plt): Likewise.
25843 (elf_machine_plt_conflict): Likewise.
25844 (resolve_ifunc): Likewise.
25845 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25846 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25849 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25851 (makecontext): Support ELFv2 ABI.
25852 * elf/elf.h (EF_PPC64_ABI): Define.
25854 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25856 * sysdeps/powerpc/powerpc64/sysdep.h
25857 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25858 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25859 (ENTRY) [ASSEMBLER]: ... but instead here ...
25860 (EALIGN) [ASSEMBLER]: ... and here.
25861 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25862 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25863 (ENTRY_2) [!ASSEMBLER]: Use it.
25864 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25865 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25866 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25867 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25868 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25870 Use PPC64_LOAD_FUNCPTR.
25872 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25874 2013-12-04 Alan Modra <amodra@gmail.com>
25876 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25877 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25878 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25879 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25882 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25883 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25884 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25885 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25886 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25888 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25891 (__makecontext): Fix incorrect CFI when backtracing out of
25892 context created via makecontext.
25893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25894 (__setcontext): Fix incorrect CFI during switch to new context.
25895 (__novec_setcontext): Likewise.
25897 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25900 * time/strptime_l.c (__strptime_internal): Allow modifiers
25902 * time/tst-strptime.c (day_tests): Add testcase.
25904 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25906 * scripts/bench.pl: Skip over blank lines.
25908 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25911 * manual/time.texi (Calendar Time): Clarify what timezone functions
25914 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25918 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25920 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25922 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25923 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25924 * debug/memset_chk.c (__memset_chk): Likewise.
25925 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25926 * debug/strncpy_chk.c: Likewise.
25928 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25932 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25933 (__ieee754_exp): For possibly underflowing results, check size of
25934 result and force underflow exception if required.
25935 * math/auto-libm-test-in: Add more tests of exp.
25936 * math/auto-libm-test-out: Regenerated.
25937 * sysdeps/i386/fpu/libm-test-ulps: Update.
25938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25941 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25942 * math/w_exp2f.c (__exp2f): Likewise.
25943 * math/w_exp2l.c (__exp2l): Likewise.
25944 * math/auto-libm-test-in: Do not allow missing errno on exp2
25946 * math/auto-libm-test-out: Regenerated.
25948 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25951 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25952 handle filename validation.
25953 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25956 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25959 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25960 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25961 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25963 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25965 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25966 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25967 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25968 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25969 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25970 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25971 Add more erfc tests.
25972 * math/auto-libm-test-out: Regenerated.
25973 * sysdeps/i386/fpu/libm-test-ulps: Update.
25974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25976 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25977 exp2, expm1, j0 and j1.
25978 * math/auto-libm-test-out: Regenerated.
25979 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25980 (erfc_test_data): Likewise.
25981 (exp_test_data): Likewise.
25982 (exp_tonearest_test_data): Likewise.
25983 (exp_towardzero_test_data): Likewise.
25984 (exp_downward_test_data): Likewise.
25985 (exp_upward_test_data): Likewise.
25986 (exp10_test_data): Likewise.
25987 (exp2_test_data): Likewise.
25988 (expm1_test_data): Likewise.
25989 (j0_test_data): Likewise.
25990 (j1_test_data): Likewise.
25991 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25992 (input_flag_type): Add flag_xfail_rounding.
25993 (input_flags): Add xfail-rounding.
25994 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25995 (output_for_one_input_case): Handle flag_xfail_rounding.
25996 * sysdeps/i386/fpu/libm-test-ulps: Update.
25997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25999 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26002 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26005 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26008 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26009 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26010 (STAP_PROBE0): New macro.
26011 (STAP_PROBE1): Likewise.
26012 (STAP_PROBE2): Likewise.
26013 (STAP_PROBE3): Likewise.
26014 (STAP_PROBE4): Likewise.
26016 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26018 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26020 2013-12-02 Steve Ellcey <sellcey@mips.com>
26022 * benchtests/Makefile (bench): Add sqrt.
26023 (LDLIBS-bench-sqrt): New.
26024 * benchtests/sqrt-input: New.
26026 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26028 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26029 (GAIH_EAI): Likewise.
26030 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26031 (gaih_inet): Likewise.
26032 (getaddrinfo): Don't use GAIH_EAI.
26034 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26035 (struct gaih): Remove definition.
26037 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26039 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26040 Use HERRNOP directly.
26042 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26046 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26048 * math/gen-auto-libm-tests.c (test_functions): Add more
26049 single-argument functions.
26050 (special_fill_pi_2): New function.
26051 (special_fill_minus_pi_2): Likewise.
26052 (special_fill_pi_6): Likewise.
26053 (special_fill_minus_pi_6): Likewise.
26054 (special_fill_pi_3): Likewise.
26055 (special_fill_2pi_3): Likewise.
26056 (special_fill_e): Likewise.
26057 (special_fill_1_e): Likewise.
26058 (special_fill_e_minus_1): Likewise.
26059 (special_real_inputs): Add more special inputs.
26060 (output_for_one_input_case): Do not require ERANGE on underflow to
26061 zero if round-to-nearest result does not underflow to zero, unless
26062 exact results required.
26063 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26064 atan, atanh, cbrt, cos and cosh.
26065 * math/auto-libm-test-out: Regenerated.
26066 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26067 (acos_tonearest_test_data): Likewise.
26068 (acos_towardzero_test_data): Likewise.
26069 (acos_downward_test_data): Likewise.
26070 (acos_upward_test_data): Likewise.
26071 (acosh_test_data): Likewise.
26072 (asin_test_data): Likewise.
26073 (asin_tonearest_test_data): Likewise.
26074 (asin_towardzero_test_data): Likewise.
26075 (asin_upward_test_data): Likewise.
26076 (asinh_test_data): Likewise.
26077 (atan_test_data): Likewise.
26078 (atanh_test_data): Likewise.
26079 (cbrt_test_data): Likewise.
26080 (cos_test_data): Likewise.
26081 (cos_tonearest_test_data): Likewise.
26082 (cos_towardzero_test_data): Likewise.
26083 (cos_downward_test_data): Likewise.
26084 (cos_upward_test_data): Likewise.
26085 (cosh_test_data): Likewise.
26086 (cosh_tonearest_test_data): Likewise.
26087 (cosh_towardzero_test_data): Likewise.
26088 (cosh_downward_test_data): Likewise.
26089 (cosh_upward_test_data): Likewise.
26090 * sysdeps/i386/fpu/libm-test-ulps: Update.
26091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26093 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26096 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26097 * math/w_exp10f.c (__exp10f): Likewise.
26098 * math/w_exp10l.c (__exp10l): Likewise.
26099 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26100 errno settings in existing tests.
26103 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26104 precision control set to double precision.
26105 * sysdeps/i386/fpu/w_sqrt.c: New file.
26106 * math/auto-libm-test-in: Add more tests.
26107 * math/auto-libm-test-out: Update.
26109 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26110 (sqrt_test_tonearest): New function.
26111 (sqrt_towardzero_test_data): New variable.
26112 (sqrt_test_towardzero): New function.
26113 (sqrt_downward_test_data): New variable.
26114 (sqrt_test_downward): New function.
26115 (sqrt_upward_test_data): New variable.
26116 (sqrt_test_upward): New function.
26117 (main): Call the new functions.
26119 * math/gen-auto-libm-tests.c: New file.
26120 * math/auto-libm-test-in: Likewise.
26121 * math/auto-libm-test-out: New generated file.
26122 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26124 (%beautify): Add generated representations of zero.
26125 (top level): Set $auto_input and call parse_auto_input.
26126 (beautify): Remove trailing "f" from hex float constants.
26127 (parse_args): Handle XFAIL_TEST.
26128 (convert_condition): New function.
26129 (or_value): Likewise.
26130 (or_cond_value): Likewise.
26131 (generate_testfile): Handle AUTO_TESTS_* lines.
26132 (parse_auto_input): New function.
26133 * math/libm-test.inc (XFAIL_TEST): New macro.
26134 (ERRNO_UNCHANGED): Update value.
26135 (ERRNO_EDOM): Likewise.
26136 (ERRNO_ERANGE): Likewise.
26137 (IGNORE_RESULT): Likewise.
26138 (TEST_COND_flt_32): New macro.
26139 (TEST_COND_dbl_64): Likewise.
26140 (TEST_COND_ldbl_96_intel): Likewise.
26141 (TEST_COND_ldbl_96_m68k): Likewise.
26142 (TEST_COND_ldbl_128): Likewise.
26143 (TEST_COND_ldbl_128ibm): Likewise.
26144 (TEST_COND_long32): Likewise.
26145 (TEST_COND_long64): Likewise.
26146 (TEST_COND_before_rounding): Likewise.
26147 (TEST_COND_after_rounding): Likewise.
26148 (enable_test): Handle XFAIL_TEST flag.
26149 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26150 with finite results.
26151 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26152 auto-libm-test-out.
26154 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26155 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26158 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26159 __tls_get_addr_internal instead of __tls_get_offset in order to
26160 avoid GOT pointer dependency. Make rtld export
26161 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26162 __tls_get_addr since we are a __tls_get_offset platform.
26163 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26164 GOT pointer being set up before.
26165 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26167 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26169 * manual/math.texi (Errors in Math Functions): Document accuracy
26173 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26174 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26177 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26179 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26190 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26191 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26192 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26193 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26194 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26196 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26198 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26200 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26201 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26202 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26203 atomic-feupdateenv and flt-rounds.
26204 * sysdeps/powerpc/nofpu/Versions (libc): Add
26205 __atomic_feholdexcept, __atomic_feclearexcept,
26206 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26207 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26208 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26209 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26210 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26215 * manual/arith.texi (FP Exceptions): Document that exceptions may
26216 not be raised when matherr is used.
26217 (Math Error Reporting): Document overflow in directed rounding
26218 modes. Document that errno may not be set when finite values are
26219 returned on overflow. Document intent to set errno on underflow
26220 only for underflow to zero.
26223 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26224 round-to-nearest then adjust result for other rounding modes.
26225 * include/fenv.h (fegetround): Use libm_hidden_proto.
26226 * math/fegetround.c (fegetround): Use libm_hidden_def.
26227 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26228 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26229 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26230 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26232 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26233 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26234 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26235 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26237 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26240 * nss/Versions (libnss_files): Add
26241 _nss_files_gethostbyname3_r.
26242 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26244 (HOST_DB_LOOKUP): Remove macro.
26245 (_nss_files_gethostbyname_r): Implement function without the
26246 HOST_DB_LOOKUP macro.
26247 (_nss_files_gethostbyname2_r): Likewise.
26249 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26251 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26253 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26255 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26256 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26259 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26261 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26262 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26263 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26264 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26265 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26266 __fe_nomask_env_priv and attribute_hidden.
26267 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26268 (libc_feupdateenv_test_ppc): Likewise.
26269 (libc_feresetround_ppc): Likewise.
26270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26271 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26272 compat_symbol macro.
26273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26274 (__fe_nomask_env): Likewise.
26275 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26277 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26279 * string/Makefile: Remove ifunc tests.
26280 * string/test-string.h: Define TEST_IFUNC.
26281 * string/test-bcopy-ifunc.c: Remove.
26282 * string/test-bzero-ifunc.c: Likewise.
26283 * string/test-memccpy-ifunc.c: Likewise.
26284 * string/test-memchr-ifunc.c: Likewise.
26285 * string/test-memcmp-ifunc.c: Likewise.
26286 * string/test-memcpy-ifunc.c: Likewise.
26287 * string/test-memmem-ifunc.c: Likewise.
26288 * string/test-memmove-ifunc.c: Likewise.
26289 * string/test-mempcpy-ifunc.c: Likewise.
26290 * string/test-memrchr-ifunc.c: Likewise.
26291 * string/test-memset-ifunc.c: Likewise.
26292 * string/test-rawmemchr-ifunc.c: Likewise.
26293 * string/test-stpcpy-ifunc.c: Likewise.
26294 * string/test-stpncpy-ifunc.c: Likewise.
26295 * string/test-strcasecmp-ifunc.c: Likewise.
26296 * string/test-strcasestr-ifunc.c: Likewise.
26297 * string/test-strcat-ifunc.c: Likewise.
26298 * string/test-strchr-ifunc.c: Likewise.
26299 * string/test-strchrnul-ifunc.c: Likewise.
26300 * string/test-strcmp-ifunc.c: Likewise.
26301 * string/test-strcpy-ifunc.c: Likewise.
26302 * string/test-strcspn-ifunc.c: Likewise.
26303 * string/test-strlen-ifunc.c: Likewise.
26304 * string/test-strncasecmp-ifunc.c: Likewise.
26305 * string/test-strncat-ifunc.c: Likewise.
26306 * string/test-strncmp-ifunc.c: Likewise.
26307 * string/test-strncpy-ifunc.c: Likewise.
26308 * string/test-strnlen-ifunc.c: Likewise.
26309 * string/test-strpbrk-ifunc.c: Likewise.
26310 * string/test-strrchr-ifunc.c: Likewise.
26311 * string/test-strspn-ifunc.c: Likewise.
26312 * string/test-strstr-ifunc.c: Likewise.
26314 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26316 * benchtests/Makefile: Remove ifunc tests.
26317 * benchtests/bench-string.h: Define TEST_IFUNC.
26318 * benchtests/bench-bcopy-ifunc.c: Remove.
26319 * benchtests/bench-bzero-ifunc.c: Likewise.
26320 * benchtests/bench-memccpy-ifunc.c: Likewise.
26321 * benchtests/bench-memchr-ifunc.c: Likewise.
26322 * benchtests/bench-memcmp-ifunc.c: Likewise.
26323 * benchtests/bench-memcpy-ifunc.c: Likewise.
26324 * benchtests/bench-memmem-ifunc.c: Likewise.
26325 * benchtests/bench-memmove-ifunc.c: Likewise.
26326 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26327 * benchtests/bench-memrchr-ifunc.c: Likewise.
26328 * benchtests/bench-memset-ifunc.c: Likewise.
26329 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26330 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26331 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26332 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26333 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26334 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26335 * benchtests/bench-strcat-ifunc.c: Likewise.
26336 * benchtests/bench-strchr-ifunc.c: Likewise.
26337 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26338 * benchtests/bench-strcmp-ifunc.c: Likewise.
26339 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26340 * benchtests/bench-strcpy-ifunc.c: Likewise.
26341 * benchtests/bench-strcspn-ifunc.c: Likewise.
26342 * benchtests/bench-strlen-ifunc.c: Likewise.
26343 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26344 * benchtests/bench-strncat-ifunc.c: Likewise.
26345 * benchtests/bench-strncmp-ifunc.c: Likewise.
26346 * benchtests/bench-strncpy-ifunc.c: Likewise.
26347 * benchtests/bench-strnlen-ifunc.c: Likewise.
26348 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26349 * benchtests/bench-strrchr-ifunc.c: Likewise.
26350 * benchtests/bench-strsep-ifunc.c: Likewise.
26351 * benchtests/bench-strspn-ifunc.c: Likewise.
26352 * benchtests/bench-strstr-ifunc.c: Likewise.
26354 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26356 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26358 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26360 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26361 * rt/aio.h: Likewise.
26362 * sysdeps/gnu/bits/utmp.h: Likewise.
26363 * sysdeps/gnu/bits/utmpx.h: Likewise.
26364 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26365 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26366 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26367 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26368 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26369 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26370 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26371 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26372 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26373 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26374 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26375 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26376 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26378 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26379 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26380 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26381 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26382 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26383 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26384 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26385 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26386 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26387 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26388 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26390 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26391 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26392 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26393 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26394 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26395 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26396 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26397 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26398 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26399 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26400 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26401 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26402 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26403 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26404 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26405 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26407 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26410 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26411 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26413 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26415 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26416 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26419 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26422 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26423 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26424 (__fesetround): Remove define.
26425 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26426 rounding and exceptions handling.
26427 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26428 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26429 (__fe_nomask_env): Likewise.
26430 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26431 __fegetround instead of fegetround.
26432 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26433 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26435 2013-11-21 Roland McGrath <roland@hack.frob.com>
26437 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26440 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26442 2013-11-21 Meador Inge <meadori@codesourcery.com>
26445 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26446 (encrypt_r): Likewise.
26447 * malloc/obstack.h (obstack_free): Likewise.
26448 * posix/unistd.h (encrypt): Likewise.
26450 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26452 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26453 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26454 DL_CALL_DT_FINI() that call the functions directly.
26455 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26456 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26457 * elf/dl-fini.c: Likewise.
26459 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26461 * malloc/hooks.c (memalign_check): Add alignment rounding.
26462 * malloc/malloc.c (_mid_memalign): New function.
26463 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26464 Implement by calling _mid_memalign.
26465 * manual/probes.texi (Memory Allocation Probes): Remove
26466 memory_valloc_retry and memory_pvalloc_retry.
26468 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26470 * locale/programs/locarchive.c (open_archive): Add const
26471 qualifier to ARCHIVEFNAME and copy default fname to
26475 * libio/tst-widetext.input: Rename Oriya to Odia.
26476 * locale/iso-639.def: Likewise.
26478 * manual/probes.texi (Mathematical Function Probes): Add
26479 documentation for sin, cos, asin and acos probes.
26480 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26481 (__sin32): Add slowasin probe.
26482 (__cos32): Add slowacos probe.
26483 (__mpsin): Add slowsin probe.
26484 (__mpcos): Add slowcos probe.
26486 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26489 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26490 thread-local __sim_exceptions_thread and global
26491 __sim_exceptions_global.
26492 (__sim_disabled_exceptions): Change to thread-local
26493 __sim_disabled_exceptions_thread and global
26494 __sim_disabled_exceptions_global.
26495 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26496 and global __sim_round_mode_global.
26497 (__simulate_exceptions): Use thread-local floating-point state and
26498 set global state from it as needed.
26499 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26500 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26501 __sim_round_mode_thread.
26502 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26503 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26504 and global __sim_exceptions_global.
26505 (__sim_disabled_exceptions): Change to thread-local
26506 __sim_disabled_exceptions_thread and global
26507 __sim_disabled_exceptions_global.
26508 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26509 and global __sim_round_mode_global.
26510 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26511 (SIM_SET_GLOBAL): Likewise.
26512 * sysdeps/powerpc/soft-fp/sfp-machine.h
26513 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26514 __sim_round_mode_thread.
26515 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26516 __sim_disabled_exceptions_thread.
26517 (__sim_exceptions): Change to __sim_exceptions_thread.
26518 (__sim_disabled_exceptions): Change to
26519 __sim_disabled_exceptions_thread.
26520 (__sim_round_mode): Change to __sim_round_mode_thread.
26521 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26522 thread-local floating-point state and set global state from it as
26524 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26525 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26526 (__sim_disabled_exceptions): Remove extern declaration.
26527 (feenableexcept): Use thread-local floating-point state and set
26528 global state from it as needed.
26529 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26530 extern declaration.
26531 (__sim_disabled_exceptions): Likewise.
26532 (__sim_round_mode): Likewise.
26533 (__fegetenv): Use thread-local floating-point state.
26534 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26535 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26536 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26537 floating-point state and set global state from it as needed.
26538 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26539 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26540 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26542 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26543 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26545 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26546 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26547 Use __sim_round_mode_thread.
26548 * math/test-fenv-tls.c: New file.
26549 * math/Makefile (tests): Add test-fenv-tls.
26550 ($(objpfx)test-fenv-tls): Depend on
26551 $(common-objpfx)nptl/libpthread.so.
26553 2013-11-19 Andreas Schwab <schwab@suse.de>
26555 * locale/programs/locale.c (show_info): Decode wordarray elements.
26556 * locale/categories.def (LC_MONETARY): Add element for
26557 _NL_MONETARY_CRNCYSTR.
26558 * locale/C-monetary.c (conversion_rate): New variable.
26559 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26562 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26564 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26565 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26567 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26569 * elf/Makefile (tst-auxv): New test.
26570 * elf/tst-auxv.c: New
26571 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26573 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26575 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26576 (hidden_proto): Caller changed.
26577 (hidden_tls_proto): New macro.
26578 (libc_hidden_tls_proto): Likewise.
26579 (rtld_hidden_tls_proto): Likewise.
26580 (libm_hidden_tls_proto): Likewise.
26581 (libresolv_hidden_tls_proto): Likewise.
26582 (librt_hidden_tls_proto): Likewise.
26583 (libdl_hidden_tls_proto): Likewise.
26584 (libnss_files_hidden_tls_proto): Likewise.
26585 (libnsl_hidden_tls_proto): Likewise.
26586 (libnss_nisplus_hidden_tls_proto): Likewise.
26587 (libutil_hidden_tls_proto): Likewise.
26589 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26592 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26593 (decompose_rpath): Defer expansion to fillin_rpath.
26594 (_dl_init_paths): Pass linkmap to fillin_rpath.
26596 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26598 * benchtests/Makefile: Add strsep.
26599 * benchtests/bench-strsep.c: New file: strsep benchtest.
26600 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26602 2013-11-18 Andreas Schwab <schwab@suse.de>
26604 * locale/programs/locale.c (show_info) [case byte]: Check for
26605 '\377' instead of '\177'.
26606 * locale/C-monetary.c (not_available): Always use "\377".
26607 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26608 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26609 detect unavailable sign_posn locale elements.
26610 * locale/localeconv.c (__localeconv): For grouping and
26611 mon_grouping handle "\177" and "\377" like no grouping.
26612 (INT_ELEM): New macro. Use it to set all numeric members.
26613 * locale/programs/ld-monetary.c (monetary_read)
26614 <tok_mon_grouping>: Normalize single -1 to the empty string.
26615 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26618 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26622 when we match (nil).
26623 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26625 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26627 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26628 (NO_TEST_INLINE): Update value.
26629 (ERRNO_UNCHANGED): Likewise.
26630 (ERRNO_EDOM): Likewise.
26631 (ERRNO_ERANGE): Likewise.
26632 (IGNORE_RESULT): Likewise.
26633 (check_float_internal): Check signs of NaN results if
26634 TEST_NAN_SIGN used.
26635 (check_complex): Pass TEST_NAN_SIGN flag through to second
26636 check_float_internal call.
26637 (copysign_test_data): Add tests with quiet NaNs as second
26638 argument. Use TEST_NAN_SIGN.
26639 (fabs_test_data): Add test of negative quiet NaN argument. Use
26641 (signbit_test_data): Add tests of quiet NaN argument.
26642 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26644 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26646 (parse_args): Handle function results specified as IGNORE.
26647 * math/libm-test.inc (IGNORE_RESULT): New macro.
26648 (check_float_internal): Do not check numerical result if flag
26650 (check_complex): Pass through IGNORE_RESULT to second
26651 check_float_internal call.
26652 (check_int): Do not check numerical result if flag IGNORE_RESULT
26654 (check_long): Likewise.
26655 (check_bool): Likewise.
26656 (check_longlong): Likewise.
26657 (lrint_test_data): Add tests of infinite and NaN arguments.
26658 (lrint_tonearest_test_data): Likewise.
26659 (lrint_towardzero_test_data): Likewise.
26660 (lrint_downward_test_data): Likewise.
26661 (lrint_upward_test_data): Likewise.
26662 (llrint_test_data): Likewise.
26663 (llrint_tonearest_test_data): Likewise.
26664 (llrint_towardzero_test_data): Likewise.
26665 (llrint_downward_test_data): Likewise.
26666 (llrint_upward_test_data): Likewise.
26667 (lround_test_data): Likewise.
26668 (llround_test_data): Likewise.
26670 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26671 (ERRNO_UNCHANGED): Update value.
26672 (ERRNO_EDOM): Likewise.
26673 (ERRNO_ERANGE): Likewise.
26674 (NO_TEST_INLINE_FLOAT): New macro.
26675 (NO_TEST_INLINE_DOUBLE): Likewise.
26676 (enable_test): New function.
26677 (RUN_TEST_f_f): Check enable_test before running test.
26678 (RUN_TEST_2_f): Likewise.
26679 (RUN_TEST_fff_f): Likewise.
26680 (RUN_TEST_c_f): Likewise.
26681 (RUN_TEST_f_f1): Likewise.
26682 (RUN_TEST_fF_f1): Likewise.
26683 (RUN_TEST_fI_f1): Likewise.
26684 (RUN_TEST_ffI_f1): Likewise.
26685 (RUN_TEST_c_c): Likewise.
26686 (RUN_TEST_cc_c): Likewise.
26687 (RUN_TEST_f_i): Likewise.
26688 (RUN_TEST_f_i_tg): Likewise.
26689 (RUN_TEST_ff_i_tg): Likewise.
26690 (RUN_TEST_f_b): Likewise.
26691 (RUN_TEST_f_b_tg): Likewise.
26692 (RUN_TEST_f_l): Likewise.
26693 (RUN_TEST_f_L): Likewise.
26694 (RUN_TEST_fFF_11): Likewise.
26695 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26697 (cosh_test_data): Likewise.
26698 (exp_test_data): Likewise.
26699 (expm1_test_data): Likewise.
26700 (hypot_test_data): Likewise.
26701 (pow_test_data): Likewise.
26702 (sinh_test_data): Likewise.
26703 (tanh_test_data): Likewise.
26704 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26707 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26708 tests with quiet NaN input and output.
26709 (acosh_test_data): Likewise.
26710 (asin_test_data): Likewise.
26711 (asinh_test_data): Likewise.
26712 (atan_test_data): Likewise.
26713 (atanh_test_data): Likewise.
26714 (atan2_test_data): Likewise.
26715 (cbrt_test_data): Likewise.
26716 (cos_test_data): Likewise.
26717 (cosh_test_data): Likewise.
26718 (erf_test_data): Likewise.
26719 (erfc_test_data): Likewise.
26720 (exp_test_data): Likewise.
26721 (exp10_test_data): Likewise.
26722 (exp2_test_data): Likewise.
26723 (expm1_test_data): Likewise.
26724 (hypot_test_data): Likewise.
26725 (j0_test_data): Likewise.
26726 (j1_test_data): Likewise.
26727 (jn_test_data): Likewise.
26728 (lgamma_test_data): Likewise.
26729 (log_test_data): Likewise.
26730 (log10_test_data): Likewise.
26731 (log1p_test_data): Likewise.
26732 (log2_test_data): Likewise.
26733 (pow_test_data): Likewise.
26734 (scalb_test_data): Likewise.
26735 (sin_test_data): Likewise.
26736 (sincos_test_data): Likewise.
26737 (sinh_test_data): Likewise.
26738 (tan_test_data): Likewise.
26739 (tanh_test_data): Likewise.
26740 (tgamma_test_data): Likewise.
26741 (y0_test_data): Likewise.
26742 (y1_test_data): Likewise.
26743 (yn_test_data): Likewise.
26746 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26747 argument being NaN and avoid computations with second argument in
26749 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26750 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26751 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26753 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26755 * locale/iso-639.def: Add Chitwani Tharu (the).
26757 2013-11-14 Andreas Schwab <schwab@suse.de>
26759 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26760 word instead of empty string.
26762 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26765 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26767 (__fe_nomask_env): Likewise.
26769 2013-11-13 Steve Ellcey <sellcey@mips.com>
26771 * benchtests/bench-timing.h: Include time.h.
26773 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26776 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26778 * sysdeps/unix/sysv/linux/configure: Regenerated.
26780 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26783 * stdlib/strtod_l.c (round_and_return): Do not consider
26784 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26785 exponent one less than half the least subnormal exponent.
26786 * stdlib/test-strtod-round-data: Add more tests.
26787 * stdlib/tst-strtod-round.c (tests): Regenerated.
26789 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26792 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26793 (__fe_mask_env): Likewise.
26794 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26795 libm_hidden_proto and add function prototype.
26796 (__fe_mask_env): Add function prototype.
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26798 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26800 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26802 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26804 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26806 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26807 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26809 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26811 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26812 of htab_find_slot().
26814 2013-11-11 David S. Miller <davem@davemloft.net>
26817 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26818 symbol in the non-vis3 case in static builds.
26819 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26820 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26821 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26822 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26824 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26827 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26830 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26832 * benchtests/Makefile: Add bench-strtod.
26833 * benchtests/bench-strtod.c: New file: strtod benchtest
26835 2013-11-11 Andreas Schwab <schwab@suse.de>
26838 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26839 terminating NUL in key length.
26841 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26843 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26844 Add artificial ODP entry for vDSO symbol for PPC64.
26845 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26846 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26848 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26851 * nss/getent.c (services_keys): Recognize services starting with digit.
26853 2013-11-06 David S. Miller <davem@davemloft.net>
26856 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26857 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26859 2013-11-06 Will Newton <will.newton@linaro.org>
26861 * manual/memory.texi (Malloc Examples): Remove register
26862 keyword from examples.
26864 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26866 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26868 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26871 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26872 depending on [__GCC_IEC_559 > 0].
26873 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26874 depending on [__GCC_IEC_559_COMPLEX > 0].
26876 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26878 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26881 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26883 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26885 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26888 * malloc/malloc (malloc_info): Do not handle first bin as
26891 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26893 * locale/iso-639.def: Add Central Nahuatl (nhn).
26895 2013-11-01 Bruno Haible <bruno@clisp.org>
26898 * manual/math.texi (BSD Random): Specify range upper bound as
26901 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26903 * locale/iso-639.def: Add Meadow Mari (mhr).
26905 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26907 [BZ #14752], [BZ #15763]
26908 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26910 * rt/tst_shm.c: Add test for escaping directory.
26912 2013-10-31 Andreas Schwab <schwab@suse.de>
26915 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26916 followed by 'x' as part of digit sequence.
26917 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26919 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26922 * configure.ac: allow GNU Make 4.0 and greater.
26923 * configure: Regenerated.
26925 2013-10-30 Will Newton <will.newton@linaro.org>
26928 * malloc/hooks.c (memalign_check): Limit alignment to the
26929 maximum representable power of two.
26930 * malloc/malloc.c (__libc_memalign): Likewise.
26931 * malloc/tst-memalign.c (do_test): Add test for very
26932 large alignment values.
26933 * malloc/tst-posix_memalign.c (do_test): Likewise.
26935 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26938 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26939 (munmap_chunk): Likewise.
26940 (mremap_chunk): Likewise.
26942 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26945 * stdlib/div.c (div): Remove obsolete code.
26946 * stdlib/ldiv.c (ldiv): Likewise.
26947 * stdlib/lldiv.c (lldiv): Likewise.
26949 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26952 * nss/nss_files/files-XXX.c (get_contents_ret): New
26954 (get_contents): New function.
26955 (internal_getent): Use it. Expand size of LINEBUFLEN.
26957 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26959 * configure.in: Moved to ...
26960 * configure.ac: ... here. Change reference to configure.in
26962 * sysdeps/arm/preconfigure.ac: ... here.
26963 configure.in to configure.ac.
26964 * sysdeps/gnu/configure.in: Moved to ...
26965 * sysdeps/gnu/configure.ac: ... here.
26966 * sysdeps/i386/configure.in: Moved to ...
26967 * sysdeps/i386/configure.ac: ... here.
26968 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26969 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26970 * sysdeps/mach/configure.in: Moved to ...
26971 * sysdeps/mach/configure.ac: ... here.
26972 * sysdeps/mach/hurd/configure.in: Moved to ...
26973 * sysdeps/mach/hurd/configure.ac: ... here.
26974 * sysdeps/powerpc/configure.in: Moved to ...
26975 * sysdeps/powerpc/configure.ac: ... here.
26976 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26977 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26978 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26979 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26980 * sysdeps/s390/s390-32/configure.in: Moved to ...
26981 * sysdeps/s390/s390-32/configure.ac: ... here.
26982 * sysdeps/s390/s390-64/configure.in: Moved to ...
26983 * sysdeps/s390/s390-64/configure.ac: ... here.
26984 * sysdeps/sh/configure.in: Moved to ...
26985 * sysdeps/sh/configure.ac: ... here.
26986 * sysdeps/sparc/configure.in: Moved to ...
26987 * sysdeps/sparc/configure.ac: ... here.
26988 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26989 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26990 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26991 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26992 * sysdeps/x86_64/configure.in: Moved to ...
26993 * sysdeps/x86_64/configure.ac: ... here.
26994 * sysdeps/x86_64/preconfigure.in: Moved to ...
26995 * sysdeps/x86_64/preconfigure.ac: ... here.
26996 * aclocal.m4: Change reference to configure.in to configure.ac.
26997 * config.h.in: Likewise.
26998 * manual/install.texi: Likewise.
26999 * manual/maint.texi: Likewise.
27000 * Makefile: Likewise.
27001 * malloc/Makefile: Likewise.
27002 * nscd/Makefile: Likewise.
27003 * Makeconfig: Change reference to configure.in and
27004 preconfigure.in to configure.ac and preconfigure.ac
27006 * INSTALL: Regenerated.
27007 * configure: Likewise.
27008 * sysdeps/gnu/configure: Likewise.
27009 * sysdeps/i386/configure: Likewise.
27010 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27011 * sysdeps/mach/configure: Likewise.
27012 * sysdeps/mach/hurd/configure: Likewise.
27013 * sysdeps/powerpc/configure: Likewise.
27014 * sysdeps/powerpc/powerpc32/configure: Likewise.
27015 * sysdeps/powerpc/powerpc64/configure: Likewise.
27016 * sysdeps/s390/s390-32/configure: Likewise.
27017 * sysdeps/s390/s390-64/configure: Likewise.
27018 * sysdeps/sh/configure: Likewise.
27019 * sysdeps/sparc/configure: Likewise.
27020 * sysdeps/unix/sysv/linux/configure: Likewise.
27021 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27022 * sysdeps/x86_64/configure: Likewise.
27023 * sysdeps/x86_64/preconfigure: Likewise.
27025 2013-10-29 Andreas Schwab <schwab@suse.de>
27027 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27029 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27031 * benchtests/pow-inputs: Add new inputs.
27033 * benchtests/exp-inputs: Add new inputs.
27035 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27036 conditional check for return value.
27037 (__cos32): Likewise.
27039 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27041 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27042 to provide a boost for large inputs with word alignment.
27043 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27044 implementation based on optimized PPC64 strcpy.
27045 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27046 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27047 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27048 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27050 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27053 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27055 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27058 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27059 * time/tst-strptime.c (day_tests): Add testcase.
27061 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27064 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27066 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27069 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27070 MAP_FAILED on error.
27072 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27075 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27076 heap for large requests.
27078 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27081 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27082 result if the result has no associated interface.
27083 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27084 interface for all 127.X.Y.Z addresses.
27086 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27088 * locale/iso-639.def: Add Ligurian (lij)
27090 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27093 * sunrpc/rpc_main.c: Document rpcgen -5.
27095 2013-10-19 Michael Stahl <mstahl@redhat.com>
27097 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27099 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27102 * posix/glob.c: Match only directories when trailing slash is present.
27103 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27104 (main): Add testcase.
27106 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27109 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27111 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27113 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27114 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27115 AUTH_DES and cindex for FIPS 140-2.
27116 (DES Encryption): Add cindex FIPS 46-3.
27118 * locale/locarchive.h (struct locarhandle): Add fname.
27119 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27120 if an optional argument was specified to --list-archive,
27122 * locale/programs/locarchive.c (show_archive_content): Take new
27123 argument fname and pass it via ah.fname to open_archive.
27124 * locale/programs/localedef.h: Update decl.
27125 (open_archive): If AH->fname is non-null, open that file
27126 rather than the default file name, and don't ignore ENOENT.
27127 (create_archive): Set AH.fname to NULL.
27128 (delete_locales_from_archive): Likewise.
27129 (add_locales_to_archive): Likewise.
27130 * locale/programs/locfile.c (write_all_categories): Likewise.
27132 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27133 Aldy Hernandez <aldyh@redhat.com>
27135 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27136 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27137 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27138 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27139 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27140 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27142 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27143 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27146 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27147 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27148 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27149 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27151 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27153 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27155 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27157 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27158 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27160 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27161 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27162 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27163 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27165 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27166 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27167 * sysdeps/powerpc/preconfigure: Likewise.
27168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27170 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27171 Replace contents of file by #include of <fenv_libc.h>.
27172 * sysdeps/powerpc/soft-fp/sfp-machine.h
27173 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27175 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27176 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27182 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27188 Allow copysignl PLT reference to be missing.
27190 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27191 Joseph Myers <joseph@codesourcery.com
27194 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27196 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27198 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27200 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27201 * elf/tst-tls1.c: Likewise.
27202 * elf/tst-tls10.h: Likewise.
27203 * elf/tst-tls14.c: Likewise.
27204 * elf/tst-tls2.c: Likewise.
27205 * elf/tst-tls3.c: Likewise.
27206 * elf/tst-tls4.c: Likewise.
27207 * elf/tst-tls5.c: Likewise.
27208 * elf/tst-tls6.c: Likewise.
27209 * elf/tst-tls7.c: Likewise.
27210 * elf/tst-tls8.c: Likewise.
27211 * elf/tst-tls9.c: Likewise.
27212 * elf/tst-tlsmod1.c: Likewise.
27213 * elf/tst-tlsmod13.c: Likewise.
27214 * elf/tst-tlsmod13a.c: Likewise.
27215 * elf/tst-tlsmod14a.c: Likewise.
27216 * elf/tst-tlsmod16a.c: Likewise.
27217 * elf/tst-tlsmod16b.c: Likewise.
27218 * elf/tst-tlsmod2.c: Likewise.
27219 * elf/tst-tlsmod3.c: Likewise.
27220 * elf/tst-tlsmod4.c: Likewise.
27221 * elf/tst-tlsmod5.c: Likewise.
27222 * elf/tst-tlsmod6.c: Likewise.
27224 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27227 * malloc/malloc.c: remove checks for statistics.
27229 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27232 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27233 * inet/tst-network.c: Add testcase.
27235 2013-10-17 Andreas Schwab <schwab@suse.de>
27238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27239 to determine canonical name.
27241 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27243 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27244 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27260 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27267 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27268 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27296 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27298 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27302 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27305 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27306 make result into a quiet NaN.
27308 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27310 * soft-fp/adddf3.c: Fix horizontal whitespace.
27311 * soft-fp/addsf3.c: Likewise.
27312 * soft-fp/addtf3.c: Likewise.
27313 * soft-fp/divdf3.c: Likewise.
27314 * soft-fp/divsf3.c: Likewise.
27315 * soft-fp/divtf3.c: Likewise.
27316 * soft-fp/double.h: Likewise.
27317 * soft-fp/eqdf2.c: Likewise.
27318 * soft-fp/eqsf2.c: Likewise.
27319 * soft-fp/eqtf2.c: Likewise.
27320 * soft-fp/extenddftf2.c: Likewise.
27321 * soft-fp/extended.h: Likewise.
27322 * soft-fp/extendsfdf2.c: Likewise.
27323 * soft-fp/extendsftf2.c: Likewise.
27324 * soft-fp/extendxftf2.c: Likewise.
27325 * soft-fp/fixdfdi.c: Likewise.
27326 * soft-fp/fixdfsi.c: Likewise.
27327 * soft-fp/fixdfti.c: Likewise.
27328 * soft-fp/fixsfdi.c: Likewise.
27329 * soft-fp/fixsfsi.c: Likewise.
27330 * soft-fp/fixsfti.c: Likewise.
27331 * soft-fp/fixtfdi.c: Likewise.
27332 * soft-fp/fixtfsi.c: Likewise.
27333 * soft-fp/fixtfti.c: Likewise.
27334 * soft-fp/fixunsdfdi.c: Likewise.
27335 * soft-fp/fixunsdfsi.c: Likewise.
27336 * soft-fp/fixunsdfti.c: Likewise.
27337 * soft-fp/fixunssfdi.c: Likewise.
27338 * soft-fp/fixunssfsi.c: Likewise.
27339 * soft-fp/fixunssfti.c: Likewise.
27340 * soft-fp/fixunstfdi.c: Likewise.
27341 * soft-fp/fixunstfsi.c: Likewise.
27342 * soft-fp/fixunstfti.c: Likewise.
27343 * soft-fp/floatdidf.c: Likewise.
27344 * soft-fp/floatdisf.c: Likewise.
27345 * soft-fp/floatditf.c: Likewise.
27346 * soft-fp/floatsidf.c: Likewise.
27347 * soft-fp/floatsisf.c: Likewise.
27348 * soft-fp/floatsitf.c: Likewise.
27349 * soft-fp/floattidf.c: Likewise.
27350 * soft-fp/floattisf.c: Likewise.
27351 * soft-fp/floattitf.c: Likewise.
27352 * soft-fp/floatundidf.c: Likewise.
27353 * soft-fp/floatundisf.c: Likewise.
27354 * soft-fp/floatunditf.c: Likewise.
27355 * soft-fp/floatunsidf.c: Likewise.
27356 * soft-fp/floatunsisf.c: Likewise.
27357 * soft-fp/floatunsitf.c: Likewise.
27358 * soft-fp/floatuntidf.c: Likewise.
27359 * soft-fp/floatuntisf.c: Likewise.
27360 * soft-fp/floatuntitf.c: Likewise.
27361 * soft-fp/fmadf4.c: Likewise.
27362 * soft-fp/fmasf4.c: Likewise.
27363 * soft-fp/fmatf4.c: Likewise.
27364 * soft-fp/gedf2.c: Likewise.
27365 * soft-fp/gesf2.c: Likewise.
27366 * soft-fp/getf2.c: Likewise.
27367 * soft-fp/ledf2.c: Likewise.
27368 * soft-fp/lesf2.c: Likewise.
27369 * soft-fp/letf2.c: Likewise.
27370 * soft-fp/muldf3.c: Likewise.
27371 * soft-fp/mulsf3.c: Likewise.
27372 * soft-fp/multf3.c: Likewise.
27373 * soft-fp/negdf2.c: Likewise.
27374 * soft-fp/negsf2.c: Likewise.
27375 * soft-fp/negtf2.c: Likewise.
27376 * soft-fp/op-1.h: Likewise.
27377 * soft-fp/op-2.h: Likewise.
27378 * soft-fp/op-4.h: Likewise.
27379 * soft-fp/op-8.h: Likewise.
27380 * soft-fp/op-common.h: Likewise.
27381 * soft-fp/quad.h: Likewise.
27382 * soft-fp/single.h: Likewise.
27383 * soft-fp/soft-fp.h: Likewise.
27384 * soft-fp/sqrtdf2.c: Likewise.
27385 * soft-fp/sqrtsf2.c: Likewise.
27386 * soft-fp/sqrttf2.c: Likewise.
27387 * soft-fp/subdf3.c: Likewise.
27388 * soft-fp/subsf3.c: Likewise.
27389 * soft-fp/subtf3.c: Likewise.
27390 * soft-fp/truncdfsf2.c: Likewise.
27391 * soft-fp/trunctfdf2.c: Likewise.
27392 * soft-fp/trunctfsf2.c: Likewise.
27393 * soft-fp/trunctfxf2.c: Likewise.
27394 * soft-fp/unorddf2.c: Likewise.
27395 * soft-fp/unordsf2.c: Likewise.
27396 * soft-fp/unordtf2.c: Likewise.
27398 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27400 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27401 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27403 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27405 * elf/dl-libc.c: Clear initfini list after freeing.
27407 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27409 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27410 * soft-fp/addsf3.c: Likewise.
27411 * soft-fp/addtf3.c: Likewise.
27412 * soft-fp/divdf3.c: Likewise.
27413 * soft-fp/divsf3.c: Likewise.
27414 * soft-fp/divtf3.c: Likewise.
27415 * soft-fp/double.h: Likewise.
27416 * soft-fp/eqdf2.c: Likewise.
27417 * soft-fp/eqsf2.c: Likewise.
27418 * soft-fp/eqtf2.c: Likewise.
27419 * soft-fp/extenddftf2.c: Likewise.
27420 * soft-fp/extended.h: Likewise.
27421 * soft-fp/extendsfdf2.c: Likewise.
27422 * soft-fp/extendsftf2.c: Likewise.
27423 * soft-fp/extendxftf2.c: Likewise.
27424 * soft-fp/fixdfdi.c: Likewise.
27425 * soft-fp/fixdfsi.c: Likewise.
27426 * soft-fp/fixdfti.c: Likewise.
27427 * soft-fp/fixsfdi.c: Likewise.
27428 * soft-fp/fixsfsi.c: Likewise.
27429 * soft-fp/fixsfti.c: Likewise.
27430 * soft-fp/fixtfdi.c: Likewise.
27431 * soft-fp/fixtfsi.c: Likewise.
27432 * soft-fp/fixtfti.c: Likewise.
27433 * soft-fp/fixunsdfdi.c: Likewise.
27434 * soft-fp/fixunsdfsi.c: Likewise.
27435 * soft-fp/fixunsdfti.c: Likewise.
27436 * soft-fp/fixunssfdi.c: Likewise.
27437 * soft-fp/fixunssfsi.c: Likewise.
27438 * soft-fp/fixunssfti.c: Likewise.
27439 * soft-fp/fixunstfdi.c: Likewise.
27440 * soft-fp/fixunstfsi.c: Likewise.
27441 * soft-fp/fixunstfti.c: Likewise.
27442 * soft-fp/floatdidf.c: Likewise.
27443 * soft-fp/floatdisf.c: Likewise.
27444 * soft-fp/floatditf.c: Likewise.
27445 * soft-fp/floatsidf.c: Likewise.
27446 * soft-fp/floatsisf.c: Likewise.
27447 * soft-fp/floatsitf.c: Likewise.
27448 * soft-fp/floattidf.c: Likewise.
27449 * soft-fp/floattisf.c: Likewise.
27450 * soft-fp/floattitf.c: Likewise.
27451 * soft-fp/floatundidf.c: Likewise.
27452 * soft-fp/floatundisf.c: Likewise.
27453 * soft-fp/floatunsidf.c: Likewise.
27454 * soft-fp/floatunsisf.c: Likewise.
27455 * soft-fp/floatuntidf.c: Likewise.
27456 * soft-fp/floatuntisf.c: Likewise.
27457 * soft-fp/floatuntitf.c: Likewise.
27458 * soft-fp/fmadf4.c: Likewise.
27459 * soft-fp/fmasf4.c: Likewise.
27460 * soft-fp/fmatf4.c: Likewise.
27461 * soft-fp/gedf2.c: Likewise.
27462 * soft-fp/gesf2.c: Likewise.
27463 * soft-fp/getf2.c: Likewise.
27464 * soft-fp/ledf2.c: Likewise.
27465 * soft-fp/lesf2.c: Likewise.
27466 * soft-fp/letf2.c: Likewise.
27467 * soft-fp/muldf3.c: Likewise.
27468 * soft-fp/mulsf3.c: Likewise.
27469 * soft-fp/multf3.c: Likewise.
27470 * soft-fp/negdf2.c: Likewise.
27471 * soft-fp/negsf2.c: Likewise.
27472 * soft-fp/negtf2.c: Likewise.
27473 * soft-fp/op-1.h: Likewise.
27474 * soft-fp/op-2.h: Likewise.
27475 * soft-fp/op-4.h: Likewise.
27476 * soft-fp/op-8.h: Likewise.
27477 * soft-fp/op-common.h: Likewise.
27478 * soft-fp/quad.h: Likewise.
27479 * soft-fp/single.h: Likewise.
27480 * soft-fp/soft-fp.h: Likewise.
27481 * soft-fp/sqrtdf2.c: Likewise.
27482 * soft-fp/sqrtsf2.c: Likewise.
27483 * soft-fp/sqrttf2.c: Likewise.
27484 * soft-fp/subdf3.c: Likewise.
27485 * soft-fp/subsf3.c: Likewise.
27486 * soft-fp/subtf3.c: Likewise.
27487 * soft-fp/truncdfsf2.c: Likewise.
27488 * soft-fp/trunctfdf2.c: Likewise.
27489 * soft-fp/trunctfsf2.c: Likewise.
27490 * soft-fp/trunctfxf2.c: Likewise.
27491 * soft-fp/unorddf2.c: Likewise.
27492 * soft-fp/unordsf2.c: Likewise.
27493 * soft-fp/unordtf2.c: Likewise.
27495 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27498 * misc/error.c (error_tail): Fix possible buffer overflow.
27500 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27503 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27506 2013-10-14 P. J. McDermott <pj@pehjota.net>
27509 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27510 testing pipefail option.
27512 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27514 * soft-fp/double.h: Indent preprocessor directives inside #if.
27515 * soft-fp/extended.h: Likewise.
27516 * soft-fp/op-2.h: Likewise.
27517 * soft-fp/op-4.h: Likewise.
27518 * soft-fp/op-common.h: Likewise.
27519 * soft-fp/quad.h: Likewise.
27520 * soft-fp/single.h: Likewise.
27521 * soft-fp/soft-fp.h: Likewise.
27523 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27525 * iconv/iconv_prog.c: Fix typos.
27526 * stdio-common/psiginfo-data.h: Likewise.
27528 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27531 * locale/setlocale.c: Fix typo.
27533 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27536 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27537 signaling NaN arguments.
27538 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27539 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27542 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27543 unordered operands.
27544 * soft-fp/gesf2.c (__gesf2): Likewise.
27545 * soft-fp/getf2.c (__getf2): Likewise.
27546 * soft-fp/ledf2.c (__ledf2): Likewise.
27547 * soft-fp/lesf2.c (__lesf2): Likewise.
27548 * soft-fp/letf2.c (__letf2): Likewise.
27550 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27551 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27552 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27553 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27554 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27555 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27556 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27557 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27558 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27559 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27560 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27561 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27562 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27563 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27564 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27565 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27566 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27567 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27568 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27569 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27570 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27571 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27572 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27573 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27574 * soft-fp/floattidf.c (__floattidf): Likewise.
27575 * soft-fp/floattisf.c (__floattisf): Likewise.
27576 * soft-fp/floattitf.c (__floattitf): Likewise.
27577 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27578 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27579 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27580 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27581 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27582 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27583 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27584 * soft-fp/gesf2.c (__gesf2): Likewise.
27585 * soft-fp/getf2.c (__getf2): Likewise.
27586 * soft-fp/ledf2.c (__ledf2): Likewise.
27587 * soft-fp/lesf2.c (__lesf2): Likewise.
27588 * soft-fp/letf2.c (__letf2): Likewise.
27590 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27591 Undefine and redefine.
27592 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27593 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27594 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27595 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27596 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27597 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27598 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27599 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27600 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27601 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27602 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27603 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27604 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27605 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27606 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27609 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27610 without decrementing exponent if mantissa >= that for the
27611 denominator, not >.
27612 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27613 denominator, not >. Decrement exponent in < case instead of
27614 incrementing in >= case.
27615 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27616 without decrementing exponent if mantissa >= that for the
27617 denominator, not >.
27619 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27620 computing saturated result for unsigned overflow.
27622 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27623 Jeff Law <law@redhat.com>
27625 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27626 (atan2Mp): Add systemtap probe marker.
27627 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27628 (__ieee754_log): Add systemtap probe marker.
27629 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27630 (atanMp): Add systemtap probe marker.
27631 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27632 (tanMp): Add systemtap probe marker.
27633 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27634 (__slowexp): Add systemtap probe marker.
27635 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27636 (__slowpow): Add systemtap probe marker.
27637 * manual/probes.texi: Document probes.
27639 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27642 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27644 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27646 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27647 written to buffer but not flushed.
27648 * libio/iofwrite_u.c: Likewise.
27649 * libio/iopadn.c: Return bytes returned even if EOF was
27651 * libio/iowpadn.c: Likewise.
27652 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27653 if _IO_padn does not write the whole buffer.
27654 [!COMPILE_WPRINTF] (PAD): Likewise.
27656 2013-10-10 David S. Miller <davem@davemloft.net>
27658 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27661 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27663 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27664 instead of FSF address.
27665 * soft-fp/fixdfti.c: Likewise.
27666 * soft-fp/fixsfti.c: Likewise.
27667 * soft-fp/fixtfti.c: Likewise.
27668 * soft-fp/fixunsdfti.c: Likewise.
27669 * soft-fp/fixunssfti.c: Likewise.
27670 * soft-fp/fixunstfti.c: Likewise.
27671 * soft-fp/floattidf.c: Likewise.
27672 * soft-fp/floattisf.c: Likewise.
27673 * soft-fp/floattitf.c: Likewise.
27674 * soft-fp/floatuntidf.c: Likewise.
27675 * soft-fp/floatuntisf.c: Likewise.
27676 * soft-fp/floatuntitf.c: Likewise.
27677 * soft-fp/trunctfxf2.c: Likewise.
27679 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27680 * soft-fp/fixdfti.c: Likewise.
27681 * soft-fp/fixsfti.c: Likewise.
27682 * soft-fp/fixtfti.c: Likewise.
27683 * soft-fp/fixunsdfti.c: Likewise.
27684 * soft-fp/fixunssfti.c: Likewise.
27685 * soft-fp/fixunstfti.c: Likewise.
27686 * soft-fp/floattidf.c: Likewise.
27687 * soft-fp/floattisf.c: Likewise.
27688 * soft-fp/floattitf.c: Likewise.
27689 * soft-fp/floatuntidf.c: Likewise.
27690 * soft-fp/floatuntisf.c: Likewise.
27691 * soft-fp/floatuntitf.c: Likewise.
27692 * soft-fp/trunctfxf2.c: Likewise.
27694 2013-10-10 David S. Miller <davem@davemloft.net>
27696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27698 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27700 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27701 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27702 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27703 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27704 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27705 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27706 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27709 for NaNs before doing comparisons on argument.
27710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27713 2013-10-10 Will Newton <will.newton@linaro.org>
27715 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27716 passed to _int_memalign does not overflow.
27718 2013-10-10 Torvald Riegel <triegel@redhat.com>
27720 * scripts/bench.pl: Add include-sources directive.
27721 * benchtests/README: Update documentation.
27723 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27725 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27726 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27727 instead of FP_INIT_ROUNDMODE.
27728 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27729 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27732 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27733 copy class of input value.
27734 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27735 not handle exceptions.
27736 * soft-fp/negsf2.c (__negsf2): Likewise.
27737 * soft-fp/negtf2.c (__negtf2): Likewise.
27738 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27740 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27742 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27743 semicolon. From Linux kernel.
27745 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27747 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27749 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27752 * manual/socket.texi: Added statement about buffer
27753 for gethostbyname2_r.
27755 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27757 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27758 Use .p2align directive instead, throughout.
27759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27760 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27761 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27764 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27765 * sysdeps/x86_64/strchr.S: Likewise.
27766 * sysdeps/x86_64/strrchr.S: Likewise.
27768 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27770 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27772 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27774 * sysdeps/generic/math_private.h (__mpsin1): Remove
27776 (__mpcos1): Likewise.
27777 (__mpsin): New argument __range_reduce.
27778 (__mpcos): Likewise.
27779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27780 (slow): Use __mpsin and __mpcos.
27784 (sloww1): Likewise.
27785 (sloww2): Likewise.
27786 (bsloww): Likewise.
27787 (bsloww1): Likewise.
27788 (bsloww2): Likewise.
27789 (cslow2): Likewise.
27790 (csloww): Likewise.
27791 (csloww1): Likewise.
27792 (csloww2): Likewise.
27793 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27794 range_reduce. Merge in __mpsin1.
27795 (__mpcos): Likewise.
27796 (__mpsin1): Remove.
27797 (__mpcos1): Likewise.
27799 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27801 * locale/loadlocale.c (_nl_intern_locale_data): Use
27803 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27804 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27805 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27806 obstack data is appropriately aligned.
27807 (obstack_int32_grow_fast): Likewise.
27808 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27809 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27810 (add_locale_uint32_array): Likewise.
27812 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27814 * benchtests/Makefile: Remove ARGLIST and RET variables.
27815 ($(objpfx)bench-%.c): Pass only function name to the script.
27816 * benchtests/README: Update documentation.
27817 * benchtests/acos-inputs: Add new directives.
27818 * benchtests/acosh-inputs: Likewise.
27819 * benchtests/asin-inputs: Likewise.
27820 * benchtests/asinh-inputs: Likewise.
27821 * benchtests/atan-inputs: Likewise.
27822 * benchtests/atanh-inputs: Likewise.
27823 * benchtests/cos-inputs: Likewise.
27824 * benchtests/cosh-inputs: Likewise.
27825 * benchtests/exp-inputs: Likewise.
27826 * benchtests/log-inputs: Likewise.
27827 * benchtests/pow-inputs: Likewise.
27828 * benchtests/rint-inputs: Likewise.
27829 * benchtests/sin-inputs: Likewise.
27830 * benchtests/sinh-inputs: Likewise.
27831 * benchtests/tan-inputs: Likewise.
27832 * benchtests/tanh-inputs: Likewise.
27833 * scripts/bench.pl: Add support for new directives.
27835 2013-10-07 Alan Modra <amodra@gmail.com>
27837 * README: Fix careless merge.
27839 2013-10-05 Alan Modra <amodra@gmail.com>
27841 * NEWS: Mention powerpc64le support and bugs fixed.
27842 * README: Both big-endian and little-endian powerpc64 supported.
27844 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27846 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27847 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27848 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27849 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27851 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27853 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27856 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27858 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27859 Move -mhard-float appending from
27860 ports/sysdeps/powerpc/powerpc32/Makefile.
27861 [$(with-fp) = yes] (ASFLAGS): Likewise.
27862 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27863 * sysdeps/powerpc/nofpu: Move directory from
27864 ports/sysdeps/powerpc/nofpu.
27865 * sysdeps/powerpc/soft-fp: Move directory from
27866 ports/sysdeps/powerpc/soft-fp.
27867 * sysdeps/powerpc/powerpc32/405: Move directory from
27868 ports/sysdeps/powerpc/powerpc32/405.
27869 * sysdeps/powerpc/powerpc32/440: Move directory from
27870 ports/sysdeps/powerpc/powerpc32/440.
27871 * sysdeps/powerpc/powerpc32/464: Move directory from
27872 ports/sysdeps/powerpc/powerpc32/464.
27873 * sysdeps/powerpc/powerpc32/476: Move directory from
27874 ports/sysdeps/powerpc/powerpc32/476.
27875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27876 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27878 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27880 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27882 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27884 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27885 * README: Update for powerpc-*-linux-gnu software floating point
27888 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27889 case to powerpc/powerpc32*.
27890 * sysdeps/unix/sysv/linux/configure: Regenerated.
27892 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27893 (_FPU_MASK_OM): Define as 0x04.
27894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27902 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27905 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27908 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27909 and setcontext_e500.
27911 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27913 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27915 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27917 * manual/threads.texi (Default Thread Attributes): Fix typo.
27919 2013-10-04 Will Newton <will.newton@linaro.org>
27921 * malloc/Makefile: Add tst-memalign.
27922 * malloc/tst-memalign.c: New file.
27924 * malloc/tst-posix_memalign.c: Add comments.
27925 (do_test): Add comments and call free on all potentially
27926 allocated pointers. Add space after cast.
27928 * malloc/tst-pvalloc.c: Add comments.
27929 (do_test): Add comments and call free on all potentially
27930 allocated pointers. Remove duplicate check for NULL pointer.
27931 Add space after cast.
27933 * malloc/tst-valloc.c: Add comments.
27934 (do_test): Add comments and call free on all potentially
27935 allocated pointers. Remove duplicate check for NULL pointer.
27936 Add space after cast.
27938 2013-10-04 Alan Modra <amodra@gmail.com>
27940 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27941 Use stdint types in rather than __attribute__((mode())).
27942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27944 2013-10-04 Alan Modra <amodra@gmail.com>
27946 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27947 Correct handling of unaligned relocs for little-endian.
27948 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27950 2013-10-04 Alan Modra <amodra@gmail.com>
27952 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27953 * configure: Regenerate.
27954 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27955 * shlib-versions: Likewise.
27957 2013-10-04 Alan Modra <amodra@gmail.com>
27959 * string/tester.c (test_memrchr): Increment reported test cycle.
27961 2013-10-04 Alan Modra <amodra@gmail.com>
27963 * string/test-memcpy.c (do_one_test): When reporting errors, print
27964 string address and don't overrun end of string.
27966 2013-10-04 Alan Modra <amodra@gmail.com>
27968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27969 insrdi. Make better use of reg selection to speed exit slightly.
27970 Schedule entry path a little better. Remove useless "are we done"
27971 checks on entry to main loop. Handle wrapping around zero address.
27972 Correct main loop count. Handle single left-over word from main
27973 loop inline rather than by using loop_small. Remove extra word
27974 case in loop_small caused by wrong loop count. Add little-endian
27976 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27979 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27980 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27981 support. Avoid rlwimi.
27982 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27984 2013-10-04 Alan Modra <amodra@gmail.com>
27986 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27987 insrdi. Formatting.
27988 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27989 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27990 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27991 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27992 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27993 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27995 2013-10-04 Alan Modra <amodra@gmail.com>
27997 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27999 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28000 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28001 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28003 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28004 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28005 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28006 use of regs. Use power7 mtocrf. Tidy function tails.
28008 2013-10-04 Alan Modra <amodra@gmail.com>
28010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28011 Formatting. Consistently use rXXX register defines or rN defines.
28012 Use early exit labels that avoid restoring unused non-volatile regs.
28013 Make cr field use more consistent with rWORDn compares. Rename
28014 regs used as shift registers for unaligned loop, using rN defines
28015 for short lifetime/multiple use regs.
28016 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28017 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28018 addi 1,1,64 to pop stack frame. Simplify return value code.
28019 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28021 2013-10-04 Alan Modra <amodra@gmail.com>
28023 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28024 support. Correct typos, formatting. Optimize tail. Use insrdi
28025 rather than rlwimi.
28026 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28027 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28028 little-endian support. Correct typos.
28029 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28030 rather than rlwimi.
28031 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28032 in loop and entry code to keep "and." results.
28033 (strchr): Add little-endian support. Comment. Move cntlzd
28035 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28037 2013-10-04 Alan Modra <amodra@gmail.com>
28039 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28040 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28041 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28042 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28044 2013-10-04 Alan Modra <amodra@gmail.com>
28046 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28047 (rTMP): Define as r11.
28048 (strcmp): Add little-endian support. Optimise tail.
28049 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28050 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28051 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28053 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28057 2013-10-04 Alan Modra <amodra@gmail.com>
28059 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28060 little-endian support. Remove unnecessary "are we done" tests.
28061 Handle "s" wrapping around zero and extremely large "size".
28062 Correct main loop count. Handle single left-over word from main
28063 loop inline rather than by using small_loop. Correct comments.
28064 Delete "zero" tail, use "end_max" instead.
28065 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28067 2013-10-04 Alan Modra <amodra@gmail.com>
28069 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28070 support. Don't branch over align.
28071 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28072 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28073 support. Rearrange tmp reg use to suit. Comment.
28074 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28076 2013-10-04 Alan Modra <amodra@gmail.com>
28078 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28080 2013-10-04 Alan Modra <amodra@gmail.com>
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28083 conditional form of branch and link when obtaining pc.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28086 2013-10-04 Alan Modra <amodra@gmail.com>
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28093 2013-10-04 Alan Modra <amodra@gmail.com>
28095 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28096 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28097 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28098 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28099 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28100 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28101 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28102 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28103 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28104 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28106 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28107 Alistair Popple <alistair@ozlabs.au.ibm.com>
28108 Alan Modra <amodra@gmail.com>
28111 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28112 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28113 _dl_hwcap access for little-endian.
28114 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28115 destroy vmx regs when saving unaligned.
28116 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28117 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28118 destroy vmx regs when saving unaligned.
28120 2013-10-04 Alan Modra <amodra@gmail.com>
28122 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28123 Don't use a union to pack hi/low value.
28125 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28127 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28129 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28130 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28131 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28132 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28133 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28135 2013-10-04 Alan Modra <amodra@gmail.com>
28137 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28138 constants to usual value for .cst8 section, and remove redundant
28140 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28141 constant for 0x1p52. Load little-endian words of double from
28142 correct stack offsets.
28144 2013-10-04 Alan Modra <amodra@gmail.com>
28146 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28147 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28148 words of double from correct stack offsets.
28149 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28150 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28151 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28156 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28157 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28158 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28161 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28162 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28163 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28164 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28165 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28167 2013-10-04 Alan Modra <amodra@gmail.com>
28169 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28170 64-bit int/double union.
28171 (_FPU_SETCW): Likewise.
28172 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28173 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28175 2013-10-04 Alan Modra <amodra@gmail.com>
28177 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28178 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28180 2013-10-04 Alan Modra <amodra@gmail.com>
28182 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28183 use vector int constants.
28184 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28186 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28188 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28189 array with long long.
28190 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28191 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28192 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28193 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28194 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28195 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28196 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28197 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28198 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28199 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28200 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28201 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28202 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28204 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28206 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28207 (__signbit): Likewise. Correct for little-endian.
28208 (__signbitl): Call __signbit.
28209 (lrint): Correct for little-endian.
28210 (lrintf): Call lrint.
28212 2013-10-04 Alan Modra <amodra@gmail.com>
28214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28215 union 32-bit int array member with 64-bit int array.
28216 (t515, tm256): Double rather than long double.
28217 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28219 2013-10-04 Alan Modra <amodra@gmail.com>
28221 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28223 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28225 version of math_ldbl.h.
28227 2013-10-04 Alan Modra <amodra@gmail.com>
28229 [BZ #15734], [BZ #15735]
28230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28231 all uses of ieee875 long double macros and unions. Simplify test
28232 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28233 ldbl_extract_mantissa value for ix,iy exponents. Properly
28234 normalize after ldbl_extract_mantissa, and don't add hidden bit
28235 already handled. Don't treat low word of ieee854 mantissa like
28236 low word of IBM long double and mask off bit when testing for
28238 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28239 all uses of ieee875 long double macros and unions. Simplify tests
28240 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28241 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28242 two1022, instead use their values. Recognise that tests for large
28243 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28244 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28245 Rewrite all uses of ieee875 long double macros and unions. Simplify
28246 test for 0.0L and nan. Correct negation.
28247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28248 ieee875 long double macros and unions. Correct output for large
28249 magnitude x. Correct absolute value calculation.
28250 (__erfcl): Likewise.
28251 * math/libm-test.inc: Add tests for errors discovered in IBM long
28252 double versions of fmodl, remainderl, erfl and erfcl.
28254 2013-10-04 Alan Modra <amodra@gmail.com>
28256 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28257 all uses of ieee854 long double macros and unions. Simplify tests
28258 for long doubles that are fully specified by the high double.
28259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28262 Remove dead code too.
28263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28264 (__ieee754_ynl): Likewise.
28265 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28268 Remove dead code too.
28269 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28270 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28272 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28276 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28277 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28279 Comment on variable precision.
28280 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28281 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28283 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28284 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28285 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28286 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28287 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28289 2013-10-04 Alan Modra <amodra@gmail.com>
28291 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28293 all uses of ieee854 long double macros and unions.
28294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28307 Simplify sign and nan test too.
28308 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28313 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28323 2013-10-04 Alan Modra <amodra@gmail.com>
28325 * stdio-common/printf_size.c (__printf_size): Don't use
28326 union ieee854_long_double in fpnum union.
28327 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28328 signbit macro to retrieve sign from long double.
28329 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28330 retrieve sign from long double.
28331 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28332 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28334 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28335 * math/test-misc.c (main): Don't use union ieee854_long_double.
28337 2013-10-04 Alan Modra <amodra@gmail.com>
28340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28341 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28342 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28343 calculation. Remove unnecessary test for denormal exponent.
28344 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28345 Correct handling of denormals. Avoid undefined shift behaviour.
28346 Correct normalisation of low mantissa when low double is denormal.
28347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28348 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28349 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28350 Correct normalisation of low mantissa. Test for overflow of high
28351 mantissa and normalise.
28352 (ldbl_nearbyint): Use more readable constant for two52.
28353 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28354 (__mpn_construct_long_double): Fix test for overflow of high
28355 mantissa and correct normalisation. Avoid undefined shift.
28357 2013-10-04 Alan Modra <amodra@gmail.com>
28359 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28360 (union ibm_extended_long_double): Define as an array of ieee754_double.
28361 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28362 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28363 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28364 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28368 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28370 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28371 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28373 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28375 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28376 page size instead of calling getpagesize.
28378 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28379 (LOCFILE_ALIGN_MASK): Likewise.
28380 (LOCFILE_ALIGN_UP): Likewise.
28381 (LOCFILE_ALIGNED_P): Likewise.
28382 * locale/programs/ld-collate.c (collate_output): Use the new
28383 macros instead of __alignof__ (int32_t).
28384 * locale/weight.h (findidx): Likewise.
28386 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28389 * manual/string.texi: Fix strncat and wcsncat.
28391 2013-10-03 Brooks Moses <bmoses@google.com>
28394 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28395 * Makerules: ...here, and adjust associated comments.
28397 2013-10-02 Will Newton <will.newton@linaro.org>
28399 * malloc/Makefile: Add tst-pvalloc.
28400 * malloc/tst-pvalloc.c: New file.
28402 2013-10-02 Will Newton <will.newton@linaro.org>
28404 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28405 improve test coverage.
28407 2013-10-02 Will Newton <will.newton@linaro.org>
28409 * malloc/Makefile: Add tst-posix_memalign.
28410 * malloc/tst-posix_memalign.c: New file.
28412 2013-10-01 Eric Blake <eblake@redhat.com>
28414 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28415 Use __THROWNL rather than __THROW on static functions.
28417 2013-09-30 Petr Machata <pmachata@redhat.com>
28419 * elf/elf.h (R_AARCH64_ABS16): New macro.
28420 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28421 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28422 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28423 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28424 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28425 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28426 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28427 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28428 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28429 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28430 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28431 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28432 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28433 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28434 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28435 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28436 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28437 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28438 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28439 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28440 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28441 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28442 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28443 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28444 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28445 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28446 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28447 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28448 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28449 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28450 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28451 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28452 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28453 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28454 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28455 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28456 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28457 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28458 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28459 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28460 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28461 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28462 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28463 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28464 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28465 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28466 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28467 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28468 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28469 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28470 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28471 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28472 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28473 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28474 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28475 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28476 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28477 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28478 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28479 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28480 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28481 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28482 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28483 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28484 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28485 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28486 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28487 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28488 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28489 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28490 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28491 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28492 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28493 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28494 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28495 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28496 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28497 (R_AARCH64_TLSDESC_LDR): Likewise.
28498 (R_AARCH64_TLSDESC_ADD): Likewise.
28499 (R_AARCH64_TLSDESC_CALL): Likewise.
28501 2013-09-30 Andreas Schwab <schwab@suse.de>
28504 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28505 the nss database lookup.
28506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28509 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28511 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28513 2013-09-28 P. J. McDermott <pj@pehjota.net>
28515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28516 ${Bash-specific parameter/pattern/string} parameter expansion.
28517 * sysdeps/unix/make-syscalls.sh: Likewise.
28519 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28521 * sysdeps/sh/stackguard-macros.h: New file.
28523 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28527 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28528 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28529 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28530 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28532 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28534 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28535 Fix thread ID register.
28537 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28539 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28540 [POSIX || UNIX98]: Require rather than permitting all symbols from
28542 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28543 element of struct sched_param.
28544 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28545 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28546 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28547 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28550 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28552 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28553 argument calculation.
28555 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28557 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28559 [POSIX] (pthread_attr_t): Do not require type.
28560 [POSIX] (pthread_cond_t): Likewise.
28561 [POSIX] (pthread_condattr_t): Likewise.
28562 [POSIX] (pthread_key_t): Likewise.
28563 [POSIX] (pthread_mutex_t): Likewise.
28564 [POSIX] (pthread_mutexattr_t): Likewise.
28565 [POSIX] (pthread_once_t): Likewise.
28566 [POSIX] (pthread_t): Likewise.
28567 [POSIX-based standards] (pthread_atfork): Expect function.
28569 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28570 Richard Sandiford <richard@codesourcery.com>
28572 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28573 (swap_endianness_p): New extern variable.
28574 (set_big_endian): New inline function.
28575 (maybe_swap_uint32): Likewise.
28576 (maybe_swap_uint32_array): Likewise.
28577 (maybe_swap_uint32_obstack): Likewise.
28578 * locale/programs/locfile.c: Include <stdbool.h>.
28579 (swap_endianness_p): New variable.
28580 (add_locale_uint32): Call maybe_swap_uint32.
28581 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28582 (write_locale_data): Call maybe_swap_uint32_array.
28583 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28585 (obstack_int32_grow_fast): Likewise.
28586 (output_weightwc): Call maybe_swap_uint32_obstack.
28587 (collate_output): Likewise.
28588 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28589 (OPT_LITTLE_ENDIAN): Likewise.
28590 (options): Add --little-endian and --big-endian options.
28591 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28592 * locale/programs/locarchive.c: Include "locfile.h".
28596 (create_archive): Use the new macros to access fields of
28597 structures directly mapped from or written to locale archives.
28598 (oldlocrecentcmp): Likewise.
28599 (enlarge_archive): Likewise.
28600 (insert_name): Likewise.
28601 (add_alias): Likewise.
28602 (add_locale): Likewise.
28603 (delete_locales_from_archive): Likewise.
28604 (show_archive_content): Likewise.
28605 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28608 2013-09-24 Roland McGrath <roland@hack.frob.com>
28610 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28611 http://www.gnu.org/doc/freemanuals.texi.
28612 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28614 2013-09-24 Will Newton <will.newton@linaro.org>
28616 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28619 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28621 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28624 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28626 * manual/threads.texi (POSIX Threads): Fix a typo.
28628 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28631 * string/tst-strcoll-overflow.c: New test case.
28632 * string/Makefile (xtests): Add tst-strcoll-overflow.
28633 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28634 cache if string sizes may cause integer overflow.
28637 * string/strcoll_l.c (coll_seq): New members rule, idx,
28638 save_idx and back_us.
28639 (get_next_seq_nocache): New function.
28640 (do_compare_nocache): New function.
28641 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28644 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28647 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28648 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28649 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28652 * elf/Makefile (tests): Add tst-ptrguard1.
28653 (tests-static): Add tst-ptrguard1-static.
28654 (tst-ptrguard1-ARGS): Define.
28655 (tst-ptrguard1-static-ARGS): Define.
28656 * elf/tst-ptrguard1.c: New file.
28657 * elf/tst-ptrguard1-static.c: New file.
28658 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28659 * sysdeps/i386/stackguard-macros.h: Likewise.
28660 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28661 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28662 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28663 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28664 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28665 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28667 2013-09-23 Hector Marco <hecmargi@upv.es>
28668 Ismael Ripoll <iripoll@disca.upv.es>
28669 Carlos O'Donell <carlos@redhat.com>
28672 * sysdeps/generic/stackguard-macros.h: Define
28673 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28674 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28675 Define __pointer_chk_guard_local.
28676 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28677 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28679 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28682 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28684 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28686 * include/string.h (__ffs): Declare as hidden.
28687 * string/ffs.c (__ffs): Define as hidden.
28688 * sysdeps/i386/ffs.c (__ffs): Likewise.
28689 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28690 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28691 * sysdeps/s390/ffs.c (__ffs): Likewise.
28692 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28694 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28696 * NEWS: Mention malloc probes.
28698 * malloc/arena.c (new_heap): New memory_heap_new probe.
28699 (grow_heap): New memory_heap_more probe.
28700 (shrink_heap): New memory_heap_less probe.
28701 (heap_trim): New memory_heap_free probe.
28702 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28703 (systrim): New memory_sbrk_less probe.
28704 * manual/probes.texi: Document them.
28706 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28707 * manual/probes.texi: Document it.
28709 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28710 (__libc_realloc): Add memory_realloc_retry probe.
28711 (__libc_memalign): Add memory_memalign_retry probe.
28712 (__libc_valloc): Add memory_valloc_retry probe.
28713 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28714 (__libc_calloc): Add memory_calloc_retry probe.
28715 * manual/probes.texi: Document them.
28717 * malloc/arena.c (get_free_list): Add probe
28718 memory_arena_reuse_free_list.
28719 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28720 and memory_arena_reuse.
28721 (arena_get2) [!PER_THREAD]: Likewise.
28722 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28723 memory_arena_reuse_realloc.
28724 * manual/probes.texi: Document them.
28726 * malloc/malloc.c (__libc_free): Add
28727 memory_mallopt_free_dyn_thresholds probe.
28728 (__libc_mallopt): Add multiple memory_mallopt probes.
28729 * manual/probes.texi: Document them.
28731 * malloc/malloc.c: Include stap-probe.h.
28732 (__libc_mallopt): Add memory_mallopt probe.
28733 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28734 * manual/probes.texi: New.
28735 * manual/Makefile (chapters): Add probes.
28736 * manual/threads.texi: Set next node.
28738 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28740 [BZ #15963, #13985]
28741 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28742 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28743 Add `Chinese' to `nan' entry name.
28745 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28747 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28748 (POLYNOMIAL): Likewise.
28749 (TAYLOR_SINCOS): Likewise.
28750 (TAYLOR_SLOW): Likewise.
28751 (__sin): Use TAYLOR_SINCOS.
28753 (slow): Use TAYLOR_SLOW.
28755 (bsloww): Likewise.
28756 (csloww): Likewise.
28758 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28760 * stdlib/strtod_l.c: Fix buffer overrun.
28762 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28764 * benchtests/Makefile (bench): Add sincos.
28765 * benchtests/bench-sincos.c: New file.
28767 * math/libm-test.inc (cos_test_data): New test inputs.
28768 (sin_test_data): Likewise.
28770 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28776 (sloww1): Likewise.
28777 (sloww2): Likewise.
28778 (bsloww1): Likewise.
28779 (bsloww2): Likewise.
28780 (cslow2): Likewise.
28781 (csloww1): Likewise.
28782 (csloww2): Likewise.
28784 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28789 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28793 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28795 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28796 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28797 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28798 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28799 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28800 * elf/cache.c (print_entry): Handle the new cache flags.
28802 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28803 Aldy Hernandez <aldyh@redhat.com>
28805 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28806 Change condition to [_SOFT_FLOAT].
28807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28819 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28822 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28825 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28827 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28828 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28829 (__longjmp): Use LOAD_GP to load saved GPRs.
28830 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28831 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28832 (__sigsetjmp): Use SAVE_GP to save GPRs.
28834 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28835 Do not append -msoft-float.
28836 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28838 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28840 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28842 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28845 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28846 (_FPU_GETCW): Use initial "__" on variable and field names but not
28847 on macro parameter name.
28848 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28849 parentheses around reference to macro parameter.
28851 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28853 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28855 (ctype_startup): Use uint32_t in cast and sizeof for
28858 2013-09-11 Jia Liu <proljc@gmail.com>
28860 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28862 [__FreeBSD__]: Likewise.
28864 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28867 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28868 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28869 (strchr): Remove __strchr_sse42 ifunc selection.
28870 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28871 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28873 2013-09-11 Will Newton <will.newton@linaro.org>
28875 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28876 parameter to RES. Remove hardcoded 1000 value.
28877 * benchtests/bench-skeleton.c (main): Pass RES parameter
28878 to TIMING_INIT and multiply result by 1000.
28880 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28884 2013-09-11 Andreas Schwab <schwab@suse.de>
28886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28888 (O_TMPFILE) [__USE_GNU]: Define.
28889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28892 2013-09-11 Will Newton <will.newton@linaro.org>
28895 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28898 2013-09-11 Will Newton <will.newton@linaro.org>
28901 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28904 2013-09-11 Will Newton <will.newton@linaro.org>
28907 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28910 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28912 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28918 2013-09-10 Allan McRae <allan@archlinux.org>
28921 * manual/arith.texi (Parsing of Floats): Clarify
28925 * manual/install.texi (Running make install): Mention
28927 * INSTALL: Regenerated.
28929 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28931 * csu/init-first.c (_init): Remove the !SHARED condition around
28932 FPU control word initialization.
28933 * elf/dl-support.c (_dl_fpu_control): New variable.
28934 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28935 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28936 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28937 * math/test-fpucw-static.c: New file.
28938 * math/test-fpucw-ieee.c: New file.
28939 * math/test-fpucw-ieee-static.c: New file.
28940 * math/Makefile (tests): Add `test-fpucw-ieee' and
28942 (tests-static): New variable.
28943 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28945 [($(build-shared),yes)]
28946 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28948 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28951 2013-09-09 Allan McRae <allan@archlinux.org>
28954 * manual/string.texi (Collation Functions): Fix typo in
28956 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28959 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28962 * libio/memstream.c (open_memstream): Fix memory leak.
28963 * libio/wmemstream.c (open_wmemstream): Likewise.
28966 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28968 2013-09-09 Will Newton <will.newton@linaro.org>
28970 * malloc/Makefile: Add tst-realloc to tests.
28971 * malloc/tst-realloc.c: New file.
28973 2013-09-09 Allan McRae <allan@archlinux.org>
28976 * COPYING: Update from GNU website to fix FSF address.
28977 * COPYING.LIB: Likewise.
28979 2013-09-06 David S. Miller <davem@davemloft.net>
28981 * po/zh_TW.po: Update Chinese (traditional) translation from
28982 translation project.
28984 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28985 Joseph Myers <joseph@codesourcery.com>
28987 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28989 (obstack_chunk_alloc): New macro.
28990 (obstack_chunk_free): Likewise.
28991 (record_offset): New function.
28992 (init_locale_data): Likewise.
28993 (align_locale_data): Likewise.
28994 (add_locale_empty): Likewise.
28995 (add_locale_raw_data): Likewise.
28996 (add_locale_raw_obstack): Likewise.
28997 (add_locale_string): Likewise.
28998 (add_locale_wstring): Likewise.
28999 (add_locale_uint32): Likewise.
29000 (add_locale_uint32_array): Likewise.
29001 (add_locale_char): Likewise.
29002 (start_locale_structure): Likewise.
29003 (end_locale_structure): Likewise.
29004 (start_locale_prelude): Likewise.
29005 (end_locale_prelude): Likewise.
29006 (write_locale_data): Take locale_file structure rather than an
29008 * locale/programs/locfile.h: Include "obstack.h".
29009 (struct locale_file): Change to store locale file contents instead
29011 (init_locale_data): New prototype.
29012 (align_locale_data): Likewise.
29013 (add_locale_empty): Likewise.
29014 (add_locale_raw_data): Likewise.
29015 (add_locale_raw_obstack): Likewise.
29016 (add_locale_string): Likewise.
29017 (add_locale_wstring): Likewise.
29018 (add_locale_uint32): Likewise.
29019 (add_locale_uint32_array): Likewise.
29020 (add_locale_char): Likewise.
29021 (start_locale_structure): Likewise.
29022 (end_locale_structure): Likewise.
29023 (start_locale_prelude): Likewise.
29024 (end_locale_prelude): Likewise.
29025 (write_locale_data): Update prototype.
29026 * locale/programs/3level.h (struct TABLE): Remove result field.
29027 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29028 Use new locale_file interface.
29029 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29030 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29031 * locale/programs/ld-address.c (address_output): Use new
29032 locale_file interface.
29033 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29035 (collate_finish): Don't call collseq_table_finalize.
29036 (collate_output): Use new locale_file interface.
29037 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29039 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29040 (TABLE): Move defines earlier in file.
29041 (ELEMENT): Likewise.
29042 (DEFAULT): Likewise.
29043 (wctrans_table_add): Move macro and inline function earlier in
29045 (struct wctype_table): Move type earlier in file.
29046 (add_locale_wctype_table): New static prototype.
29047 (struct locale_ctype_t): Use logical types instead of struct iovec
29048 pointers for members.
29049 (ctype_output): Use new locale_file interface.
29050 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29051 new locale_file interface.
29052 (allocate_arrays): Update for use of new locale_file interface.
29053 * locale/programs/ld-identification.c (identification_output): Use
29054 new locale_file interface.
29055 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29056 * locale/programs/ld-messages.c (messages_output): Likewise.
29057 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29058 * locale/programs/ld-name.c (name_output): Likewise.
29059 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29060 * locale/programs/ld-paper.c (paper_output): Likewise.
29061 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29062 * locale/programs/ld-time.c (time_output): Likewise.
29064 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29066 * benchtests/Makefile: Add memrchr benchmark.
29067 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29068 benchmark as memrchr.
29069 * benchtests/bench-memrchr-ifunc.c: New file.
29070 * benchtests/bench-memrchr.c: New file.
29072 2013-09-06 Will Newton <will.newton@linaro.org>
29074 * benchtests/Makefile (string-bench): Add memcpy.
29076 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29077 Cong Wang <amwang@redhat.com>
29080 * sysdeps/unix/sysv/linux/bits/in.h
29081 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29082 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29083 before __USE_KERNEL_IPV6_DEFS uses.
29084 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29086 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29087 sockaddr_in6, or ipv6_mreq.
29089 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29091 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29092 memory access for final bytes in some large inputs.
29093 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29095 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29097 * string/test-memrchr.c: New file.
29098 * string/test-memrchr-ifunc.c: New file.
29099 * string/Makefile: Add new memrchr testcase.
29101 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29103 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29104 fanotify_init returns EPERM.
29106 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29108 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29110 (top level): Treat second token from macro or constant entries for
29111 allowed headers as allowed.
29112 * include/complex.h: Condition internal declarations on
29114 * include/fenv.h: Condition include of <stdbool.h> and internal
29115 declarations on [!_ISOMAC].
29117 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29120 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29122 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29124 * configure.in (--enable-versioning): Remove configure option.
29125 (libc_cv_asm_symver_directive): Remove configure test.
29126 (libc_cv_ld_version_script_option): Likewise.
29127 (VERSIONING): Remove variable and AC_SUBST.
29128 (DO_VERSIONING): Remove AC_DEFINE.
29129 * configure: Regenerated.
29130 * config.h.in (DO_VERSIONING): Remove macro.
29131 * Makerules [$(versioning) = yes]: Change conditionals to
29132 [$(build-shared) = yes].
29133 * config.make.in (versioning): Remove variable.
29134 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29135 [$(build-shared) = yes].
29136 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29137 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29138 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29139 [$(build-shared) = yes].
29140 * extra-lib.mk [$(versioning) = yes]: Likewise.
29141 * hurd/Makefile [$(versioning) = yes]: Likewise.
29142 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29144 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29146 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29147 [SHARED && !NO_HIDDEN].
29148 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29150 [SHARED && DO_VERSIONING]: Likewise..
29151 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29152 [$(build-shared) = yes].
29153 * manual/install.texi (--disable-versioning): Remove
29155 * INSTALL: Regenerated.
29156 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29158 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29159 [$(build-shared) = yes].
29160 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29161 * sysdeps/i386/i686/multiarch/strstr-c.c
29162 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29163 [SHARED && !NO_HIDDEN].
29164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29165 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29166 * sysdeps/powerpc/powerpc32/dl-machine.c
29167 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29168 * sysdeps/powerpc/powerpc32/sysdep.h
29169 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29170 to [SHARED && PIC && !NO_HIDDEN].
29171 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29172 conditional to [SHARED].
29174 2013-09-04 Will Newton <will.newton@linaro.org>
29176 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29177 * benchtests/bench-string.h: Include bench-timing.h instead
29178 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29179 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29180 call to HP_TIMING_DIFF_INIT.
29181 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29182 instead of hp-timing.h macros.
29183 * benchtests/bench-memchr.c: Likewise.
29184 * benchtests/bench-memcmp.c: Likewise.
29185 * benchtests/bench-memcpy.c: Likewise.
29186 * benchtests/bench-memmem.c: Likewise.
29187 * benchtests/bench-memmove.c: Likewise.
29188 * benchtests/bench-memset.c: Likewise.
29189 * benchtests/bench-rawmemchr.c: Likewise.
29190 * benchtests/bench-strcasecmp.c: Likewise.
29191 * benchtests/bench-strcasestr.c: Likewise.
29192 * benchtests/bench-strcat.c: Likewise.
29193 * benchtests/bench-strchr.c: Likewise.
29194 * benchtests/bench-strcmp.c: Likewise.
29195 * benchtests/bench-strcpy.c: Likewise.
29196 * benchtests/bench-strcpy_chk.c: Likewise.
29197 * benchtests/bench-strlen.c: Likewise.
29198 * benchtests/bench-strncasecmp.c: Likewise.
29199 * benchtests/bench-strncat.c: Likewise.
29200 * benchtests/bench-strncmp.c: Likewise.
29201 * benchtests/bench-strncpy.c: Likewise.
29202 * benchtests/bench-strnlen.c: Likewise.
29203 * benchtests/bench-strpbrk.c: Likewise.
29204 * benchtests/bench-strrchr.c: Likewise.
29205 * benchtests/bench-strspn.c: Likewise.
29206 * benchtests/bench-strstr.c: Likewise.
29208 2013-09-04 Will Newton <will.newton@linaro.org>
29210 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29212 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29215 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29216 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29217 * math/libm-test.inc (lgamma_test_data): Add more tests.
29218 * sysdeps/i386/fpu/libm-test-ulps: Update.
29219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29221 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29223 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29227 Add strcmp-sse2-unaligned
29228 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29230 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29232 * Versions.def (libc): Add GLIBC_2.19.
29234 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29236 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29237 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29239 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29242 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29243 intermediate calculations in recurrence.
29244 (__ieee754_ynf): Likewise.
29245 * math/libm-test.inc (jn_test_data): Do not allow spurious
29246 underflow exception. Add more tests.
29247 (yn_test_data): Add more tests.
29248 * sysdeps/i386/fpu/libm-test-ulps: Update.
29249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29251 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29255 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29257 * csu/init-first.c: Fix then/than typos.
29258 * locale/programs/ld-collate.c: Likewise.
29259 * locale/programs/linereader.h: Likewise.
29260 * manual/charset.texi: Likewise.
29261 * manual/filesys.texi: Likewise.
29262 * manual/stdio.texi: Likewise.
29263 * manual/string.texi: Likewise.
29264 * stdlib/fmtmsg.c: Likewise.
29265 * sysdeps/i386/stpncpy.S: Likewise.
29266 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29267 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29268 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29271 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29273 * elf/dl-open.c: Fix typos.
29274 * iconvdata/gbbig5.c: Likewise.
29275 * iconvdata/iso-2022-jp.c: Likewise.
29276 * iconv/gconv_int.h: Likewise.
29277 * iconv/loop.c: Likewise.
29278 * nis/rpcsvc/nis.h: Likewise.
29279 * resolv/ns_name.c: Likewise.
29280 * stdio-common/vfscanf.c: Likewise.
29281 * streams/stropts.h: Likewise.
29282 * sunrpc/rpc_thread.c: Likewise.
29283 * sysdeps/i386/strpbrk.S: Likewise.
29284 * sysdeps/ieee754/k_standard.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29287 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29288 * sysdeps/mach/hurd/profil.c: Likewise.
29289 * sysdeps/s390/dl-procinfo.h: Likewise.
29290 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29291 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29292 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29293 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29296 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29298 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29299 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29301 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29303 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29304 aix specific files.
29305 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29306 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29307 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29308 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29309 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29310 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29311 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29312 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29314 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29315 Roland McGrath <roland@hack.frob.com>
29317 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29318 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29320 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29322 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29323 __executable_start symbol instead of _start.
29325 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29327 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29328 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29330 * sysdeps/gnu/ldsodefs.h: ... this new file.
29332 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29333 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29334 instead of ELFOSABI_LINUX.
29336 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29337 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29338 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29339 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29341 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29342 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29345 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29346 (ibm_extended_long_double): Add ieee_nan member.
29347 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29348 (do_test): New function.
29350 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29352 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29353 functions, renamed from truncdfsf_test, trunctfsf_test,
29355 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29357 (do_test): Run all these.
29359 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29361 * argp/argp-help.c: Fix typos.
29362 * argp/argp-parse.c: Likewise.
29363 * debug/backtracesyms.c: Likewise.
29364 * elf/elf.h: Likewise.
29365 * malloc/malloc.c: Likewise.
29366 * nis/nis_print.c: Likewise.
29367 * resolv/res_comp.c: Likewise.
29368 * stdlib/stdlib.h: Likewise.
29369 * sunrpc/clnt_tcp.c: Likewise.
29370 * sunrpc/clnt_udp.c: Likewise.
29371 * sunrpc/clnt_unix.c: Likewise.
29372 * sysdeps/unix/bsd/ptsname.c: Likewise.
29373 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29374 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29381 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29383 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29385 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29388 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29391 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29392 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29393 ($(objpfx)bug-dl-leaf): New rule.
29394 ($(objpfx)bug-dl-leaf.so): Likewise.
29395 ($(objpfx)bug-dl-leaf.out): Likewise.
29396 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29397 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29398 * dlfcn/bug-dl-leaf.c: New test.
29399 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29400 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29401 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29402 (dlclose): Likewise.
29403 (dlmopen): Likewise.
29405 2013-08-27 Roland McGrath <roland@hack.frob.com>
29407 * include/netdb.h [!_ISOMAC]:
29408 Don't include <tls.h>.
29409 (h_errno, __libc_h_errno): Move declaration and macros out of
29412 * include/resolv.h [_RESOLV_H_]:
29413 Don't include <tls.h>.
29414 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29415 * resolv/res_libc.c: Don't include <tls.h>.
29416 (_res): Use __attribute__ ((nocommon)) in place of
29417 __attribute__ ((section (".bss"))).
29419 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29420 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29422 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29424 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29425 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29427 * resolv/res_mkquery.c: Include <sys/time.h>.
29429 * inet/ifreq.c: Moved to ...
29430 * sysdeps/unix/ifreq.c: ... here.
29431 * inet/ifreq.c: New file, true stub version.
29433 * socket/sa_len.c: New file.
29434 * socket/Makefile (aux): Add it.
29435 * sysdeps/unix/sysv/linux/Makefile
29436 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29437 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29438 and #include <socket/sa_len.c>.
29439 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29440 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29443 * bits/socket.h: ... here.
29445 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29446 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29447 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29449 2013-08-27 Andreas Schwab <schwab@suse.de>
29452 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29453 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29454 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29455 * string/test-strcasecmp.c (test_main): Run tests in several
29457 * string/test-strncasecmp.c (test_main): Likewise.
29459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29460 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29461 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29463 (__strncasecmp_ssse3) [PIC]: Likewise.
29465 2013-08-26 Roland McGrath <roland@hack.frob.com>
29467 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29469 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29470 instead of explicitly declaring xdecrypt.
29471 * nis/nss_nis/nis-publickey.c: Likewise.
29473 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29476 * nscd/aicache.c: Include res_hconf.h.
29477 (addhstaiX): Initialize res_hconf.
29479 2013-08-26 Andreas Schwab <schwab@suse.de>
29481 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29482 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29484 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29486 * nscd/aicache.c (addhstaiX): Fix indentation.
29488 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29490 * configure.ac: Quote $build_pt_chown test.
29491 * configure: Regenerated.
29493 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29496 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29497 * math/s_cexpf.c (__cexpf): Likewise.
29498 * math/s_cexpl.c (__cexpl): Likewise.
29499 * math/libm-test.inc (cexp_test_data): Correct expected return
29500 value for NaN + i0. Add another test.
29502 2013-08-22 David S. Miller <davem@davemloft.net>
29504 * po/ca.po: Update Catalan translation from translation project.
29505 * po/uk.po: Add Ukrainian translations from translation project.
29507 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29510 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29511 is infinite, not alongside NaN test.
29512 * math/s_fdimf.c (__fdimf): Likewise.
29513 * math/s_fdiml.c (__fdiml): Likewise.
29514 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29515 errno is unchanged.
29517 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29519 * argp/argp-help.c: Fix typos.
29520 * crypt/speeds.c: Likewise.
29521 * csu/check_fds.c: Likewise.
29522 * elf/dl-load.c: Likewise.
29523 * elf/dl-open.c: Likewise.
29524 * elf/reldep3.c: Likewise.
29525 * elf/reldep.c: Likewise.
29526 * elf/sprof.c: Likewise.
29527 * iconv/iconv_charmap.c: Likewise.
29528 * iconv/skeleton.c: Likewise.
29529 * iconv/strtab.c: Likewise.
29530 * io/lockf64.c: Likewise.
29531 * libio/libioP.h: Likewise.
29532 * resolv/gai_notify.c: Likewise.
29533 * resolv/ns_name.c: Likewise.
29534 * resolv/ns_samedomain.c: Likewise.
29535 * resolv/res_send.c: Likewise.
29536 * stdlib/random.c: Likewise.
29537 * sunrpc/rpc/xdr.h: Likewise.
29538 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29540 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29544 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29546 * sysdeps/mach/hurd/check_fds.c: Likewise.
29547 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29548 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29550 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29551 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29552 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29553 * sysdeps/pthread/aio_notify.c: Likewise.
29554 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29555 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29556 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29558 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29560 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29562 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29563 version if bit_Slow_SSE4_2 is set.
29564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29567 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29570 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29571 trampoline stack frame information.
29572 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29574 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29575 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29576 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29577 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29578 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29579 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29581 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29582 interrupting a syscall and set with option SA_SIGINFO.
29584 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29587 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29588 argument is infinite.
29589 * math/s_cprojf.c (__cprojf): Likewise.
29590 * math/s_cprojl.c (__cprojl): Likewise.
29591 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29592 * math/libm-test.inc (cproj_test_data): Add more tests.
29594 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29596 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29597 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29598 size. Use __ffs to determine corresponding shift.
29600 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29601 Roland McGrath <roland@hack.frob.com>
29603 * Makefile (INSTALL): Remove trailing blank lines from output of
29606 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29608 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29609 Align 32 bit compat elf_greg to 8 bytes.
29611 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29613 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29615 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29617 * string/strcoll_l.c (coll_seq): New structure.
29618 (get_next_seq_cached): New function.
29619 (get_next_seq): New function.
29620 (do_compare): New function.
29621 (STRCOLL): Use GNU style definition. Simplify implementation
29622 by using get_next_seq, get_next_seq_cached and do_compare.
29624 2013-08-16 Florian Weimer <fweimer@redhat.com>
29628 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29630 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29632 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29633 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29634 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29636 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29637 GETDENTS_64BIT_ALIGNED.
29638 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29639 * manual/filesys.texi (Reading/Closing Directory): Document
29640 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29642 * manual/conf.texi (Limits for Files): Add portability note to
29643 NAME_MAX, PATH_MAX.
29644 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29646 2013-08-13 Andreas Schwab <schwab@suse.de>
29649 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29651 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29652 LDBL_MAX_EXP >= 16384]: Add tests for it.
29654 2013-08-12 David S. Miller <davem@davemloft.net>
29656 * version.h (RELEASE): Set to "development".
29657 (VERSION): Set to "2.18.90".
29658 * NEWS: Add 2.19 section.
29660 2013-08-03 David S. Miller <davem@davemloft.net>
29662 * po/ko.po: Update Korean translation from translation project.
29664 2013-08-01 David S. Miller <davem@davemloft.net>
29666 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29667 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29670 2013-07-30 David S. Miller <davem@davemloft.net>
29672 * po/fr.po: Update French translation from translation project.
29674 2013-07-28 David S. Miller <davem@davemloft.net>
29676 * po/cs.po: Update Czech translation from translation project.
29678 * po/sv.po: Update Swedish translation from translation project.
29680 2013-07-27 David S. Miller <davem@davemloft.net>
29682 * po/eo.po: Update Esperanto translation from translation project.
29684 * po/vi.po: Update Vietnamese translation from translation project.
29686 * po/de.po: Update German translation from translation project.
29688 2013-07-26 David S. Miller <davem@davemloft.net>
29690 * po/bg.po: Update Bulgarian translation from translation project.
29692 * po/nl.po: Update Dutch translation from translation project.
29693 * po/pl.po: Update Polish translation from translation project.
29694 * po/ru.po: Update Russian translation from translation project.
29696 2013-07-24 David S. Miller <davem@davemloft.net>
29698 * po/libc.pot: Update.
29700 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29702 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29703 variable page size.
29704 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29705 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29706 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29708 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29710 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29712 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29713 Andreas Schwab <schwab@suse.de>
29714 Roland McGrath <roland@hack.frob.com>
29715 Joseph Myers <joseph@codesourcery.com>
29716 Carlos O'Donell <carlos@redhat.com>
29719 * config.h.in: Define HAVE_PT_CHOWN.
29720 * config.make.in (build-pt-chown): New variable.
29721 * configure.in (--enable-pt_chown): New configure option.
29722 * configure: Regenerate.
29723 * login/Makefile: Include Makeconfig. Build pt_chown only if
29724 build-pt-chown is enabled.
29725 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29726 pt_chown to fix pty ownership.
29727 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29729 * manual/install.texi (Configuring and compiling): Mention
29730 --enable-pt_chown. Add @findex for grantpt.
29731 * INSTALL: Regenerate.
29733 2013-07-20 David S. Miller <davem@davemloft.net>
29735 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29736 difference between 32-bit and 64-bit.
29738 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29741 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29742 Avoid system header dependency with -ffreestanding.
29743 ($(objpfx)bits/syscall%d): Likewise.
29745 2013-07-13 David S. Miller <davem@davemloft.net>
29747 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29748 underflows from atanl/atan2l due to bug 15319.
29749 (casinh_test_data): Likewise.
29751 2013-07-07 David S. Miller <davem@davemloft.net>
29753 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29755 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29757 * sysdeps/i386/fpu/libm-test-ulps: Update.
29758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29760 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29762 * configure.in (--enable-lock-elision): Fix message text.
29763 * INSTALL: Regenerate.
29764 * configure: Regenerate.
29766 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29770 2013-07-03 Andreas Jaeger <aj@suse.de>
29772 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29774 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29775 (ptrace_peeksiginfo_args): Add.
29776 (__ptrace_peeksiginfo_flags): Add.
29777 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29781 2013-07-03 Allan McRae <allan@archlinux.org>
29783 * sysdeps/i386/fpu/libm-test-ulps: Update.
29785 2013-07-02 David S. Miller <davem@davemloft.net>
29787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29789 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29793 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29795 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29798 2013-07-02 Andi Kleen <ak@linux.intel.com>
29800 * config.h.in (ENABLE_LOCK_ELISION): Add.
29801 * configure.in (--enable-lock-elision): Add option.
29802 * manual/install.texi: Document --enable lock elision.
29803 * configure: Regenerate
29804 * INSTALL: Regenerate.
29806 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29808 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29809 SSE4.2 strcasecmp for libc.a.
29810 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29812 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29815 * soft-fp/op-common.h (_FP_FMA): New macro.
29816 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29817 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29818 (_FP_MUL_MEAT_1_imm): ... here.
29819 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29820 (_FP_MUL_MEAT_1_wide): ... here.
29821 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29822 (_FP_MUL_MEAT_1_hard): ... here.
29823 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29824 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29825 (_FP_MUL_MEAT_2_wide): ... here.
29826 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29827 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29828 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29829 (_FP_MUL_MEAT_2_gmp): ... here.
29830 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29831 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29832 (_FP_MUL_MEAT_4_wide): ... here.
29833 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29834 (_FP_MUL_MEAT_4_gmp): ... here.
29835 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29836 (_FP_WFRACBITS_DW_S): Likewise.
29837 (_FP_WFRACXBITS_DW_S): Likewise.
29838 (_FP_HIGHBIT_DW_S): Likewise.
29839 (FP_FMA_S): Likewise.
29840 (_FP_FRAC_HIGH_DW_S): Likewise.
29841 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29842 (_FP_WFRACBITS_DW_D): Likewise.
29843 (_FP_WFRACXBITS_DW_D): Likewise.
29844 (_FP_HIGHBIT_DW_D): Likewise.
29845 (FP_FMA_D): Likewise.
29846 (_FP_FRAC_HIGH_DW_D): Likewise.
29847 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29848 (_FP_WFRACBITS_DW_E): Likewise.
29849 (_FP_WFRACXBITS_DW_E): Likewise.
29850 (_FP_HIGHBIT_DW_E): Likewise.
29851 (FP_FMA_E): Likewise.
29852 (_FP_FRAC_HIGH_DW_E): Likewise.
29853 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29854 (_FP_WFRACBITS_DW_Q): Likewise.
29855 (_FP_WFRACXBITS_DW_Q): Likewise.
29856 (_FP_HIGHBIT_DW_Q): Likewise.
29857 (FP_FMA_Q): Likewise.
29858 (_FP_FRAC_HIGH_DW_Q): Likewise.
29859 * soft-fp/fmasf4.c: New file.
29860 * soft-fp/fmadf4.c: Likewise.
29861 * soft-fp/fmatf4.c: Likewise.
29863 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29866 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29870 (index_Slow_SSE4_2): Likewise.
29871 (index_Prefer_PMINUB_for_stringop): Likewise.
29872 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29873 bit_Slow_SSE4_2 is set.
29874 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29875 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29877 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29879 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29880 rtld_global._dl_hwcap2.
29881 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29883 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29884 POWER8 feature descriptions defined in _dl_hwcap2.
29885 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29886 string handling for POWER8 feature bits.
29887 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29888 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29889 _dl_powerpc_cap_flags.
29890 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29891 * sysdeps/powerpc/rtld-global-offsets.sym
29892 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29893 _dl_hwcap2 in the rtld_global_ro structure.
29895 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29897 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29898 hardware capabilities in support of AT_HWCAP2.
29899 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29900 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29902 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29903 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29904 explicitly the unknown a_type display mechanism is used.
29905 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29906 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29908 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29909 to macro prototype for AT_HWCAP2 support.
29910 * sysdeps/i386/dl-procinfo.h: Likewise.
29911 * sysdeps/s390/dl-procinfo.h: Likewise.
29912 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29913 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29914 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29915 return -1 for unknown a_type display fallback.
29916 * sysdeps/sparc/dl-procinfo.h: Likewise.
29917 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29918 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29920 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29922 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29923 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29925 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29928 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29929 mprotect making __stack_prot writable.
29931 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29932 Joseph Myers <joseph@codesourcery.com>
29934 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29935 as being properly aligned.
29937 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29939 * dlfcn/modstatic5.c: New file.
29940 * dlfcn/tststatic5.c: New file.
29941 * dlfcn/Makefile (tests): Add tststatic5.
29942 (tests-static): Likewise.
29943 (modules-names): Add modstatic5.
29944 (tststatic5-ENV): New variable.
29945 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29948 * elf/dl-support.c (_dl_main_map): New variable.
29949 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29950 (_dl_nns, _dl_load_adds): Set to 1.
29951 (_dl_initial_searchlist): Refer to _dl_main_map.
29952 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29953 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29954 call to _dl_get_origin.
29955 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29957 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29958 * dlfcn/modstatic3.c: New file.
29959 * dlfcn/tststatic3.c: New file.
29960 * dlfcn/tststatic4.c: New file.
29961 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29962 (tests-static): Likewise.
29963 (modules-names): Add modstatic3.
29964 (tststatic3-ENV, tststatic4-ENV): New variables.
29965 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29966 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29968 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29970 * configure.in (CC): Require GCC version 4.4 or later.
29971 * configure: Regenerated.
29972 * manual/install.texi (Tools for Compilation): Update GCC version
29974 * INSTALL: Regenerated.
29976 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29979 * string/test-memcmp.c (check2): New.
29980 (main): Call check2.
29982 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29984 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29987 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29989 (dl_open_worker) [!SHARED]: ... here.
29991 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29993 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29995 2013-06-25 Richard Henderson <rth@redhat.com>
29997 * locale/programs/locarchive.c: Include <libc-internal.h>
29999 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30001 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30002 trailing whitespace removed.
30004 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30007 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30008 * locale/programs/locarchive.c: Include libc-mmap.h.
30009 (prepare_address_space): Take two new outputs (the mmap base and len).
30010 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30012 (create_archive): Declare new mmap base and len values for
30013 prepare_address_space, and store the result in ah.
30014 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30015 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30016 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30017 Declare new mmap base and len values for
30018 prepare_address_space, and store the result in new_ah.
30019 (open_archive): Declare new mmap base and len values for
30020 prepare_address_space, and store the result in ah.
30021 (close_archive): If ah->mmap_base is not NULL, use that and
30022 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30023 * sysdeps/generic/libc-mmap.h: New file.
30025 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30027 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30028 (ALIGN_UP): Likewise.
30029 (PTR_ALIGN_DOWN): Likewise.
30030 (PTR_ALIGN_UP): Likewise.
30032 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30034 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30035 entry mapped to PPC_PLATFORM_POWER8.
30036 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30038 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30039 (_dl_string_platform): Add case for exporting platform position for
30041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30042 search path to sysdeps/powerpc/powerpc32/power8 directory.
30043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30044 search path to sysdeps/powerpc/powerpc64/power8 directory.
30045 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30046 power7 directories.
30047 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30048 power7 directories.
30050 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30052 * INSTALL: Regenerate.
30054 * nscd/connections.c (nscd_init): Fix comment.
30056 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30058 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30061 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30062 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30064 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30066 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30068 (DL_DST_REQ_STATIC): Remove macro.
30070 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30073 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30074 with a shift of 0 bits.
30076 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30078 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30081 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30084 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30086 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30088 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30089 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30090 accepts -fno-tree-loop-distribute-patterns.
30091 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30092 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30094 * string/memset.c (memset): Likewise.
30095 * string/test-memmove.c (simple_memmove): Disable loop transformation
30097 * string/test-memset.c (simple_memset): Likewise.
30098 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30099 * benchtests/bench-memset.c (simple_memset): Likewise.
30100 * configure: Regenerated.
30102 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30104 * math/test-misc.c (main): Ignore fesetround failure when failures
30105 of subsequent rounding tests would be ignored.
30108 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30109 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30110 * math/fegetenv.c (__fegetenv): Return 0.
30111 * math/fegetexcept.c (fegetexcept): Return 0.
30112 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30114 * math/feholdexcpt.c (feholdexcept): Return 0.
30115 * math/fesetenv.c (__fesetenv): Return 0.
30116 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30117 argument FE_TONEAREST.
30118 * math/feupdateenv.c (__feupdateenv): Return 0.
30119 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30121 2013-06-18 Roland McGrath <roland@hack.frob.com>
30123 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30124 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30125 ($(objpfx)rtld-%.os rules): Use them.
30127 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30129 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30132 2013-06-17 Roland McGrath <roland@hack.frob.com>
30134 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30135 length of target pattern, then descending length of dependency pattern.
30136 * configure.in (AWK): Require gawk 3.1.2 or newer.
30137 * manual/install.texi (Tools for Compilation): Say that we do.
30138 * configure: Regenerated.
30140 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30141 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30142 * scripts/sysd-rules.awk: ... this new script.
30143 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30144 than a glob-style pattern.
30146 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30148 * math/test-misc.c (main): Do not treat incorrectly rounded
30149 conversions as failure unless ROUNDING_TESTS passes.
30151 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30154 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30155 restore exception state around main square root computation, then
30156 check for inexactness explicitly.
30158 * math/libm-test.inc (fma_test_data): Add another test.
30160 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30162 * manual/threads.texi (Non-POSIX Extensions): New document
30163 node. Document pthread_getattr_default_np and
30164 pthread_setattr_default_np.
30166 * Versions.def (libpthread): Add GLIBC_2.18.
30167 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30176 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30187 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30190 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30192 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30193 H.J. Lu <hjl.tools@gmail.com>
30196 * sysdeps/x86_64/rtld-memset.c: Remove file.
30197 * sysdeps/x86_64/rtld-memset.S: New file.
30199 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30201 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30202 (test_in_one_mode): Take arguments for whether the rounding mode
30203 is supported for each floating-point type.
30204 (do_test): Pass new arguments to test_in_one_mode using
30207 2013-06-13 Roland McGrath <roland@hack.frob.com>
30209 * posix/tst-waitid.c (do_test): Distinguish different instances of
30210 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30211 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30212 before entering the kernel for waitpid.
30214 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30216 * NEWS: Fix note on clock function precision. Text by Roland
30219 2013-06-13 Roland McGrath <roland@hack.frob.com>
30221 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30222 it into place only when and if the sanity check passes.
30224 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30226 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30227 output for whether conversion result is exact. Take argument
30228 indicating whether type is IBM long double.
30229 (round_for_all): Change need_exact field to ibm_ld.
30230 * stdlib/tst-strtod-round.c (struct exactness): New type.
30231 (struct test): Change bool ld_ok field to struct exactness exact.
30232 (TEST): Update all definitions for change to field.
30233 (tests): Regenerate array contents.
30234 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30235 field value. Check for IBM long double here.
30236 (do_test): Update calls to test_in_one_mode.
30238 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30241 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30242 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30244 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30247 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30248 generated by the compiler on loop optimizations.
30249 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30250 general definitions.
30252 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30254 * math/bug-nextafter.c: Include <math-tests.h>.
30255 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30257 * math/bug-nexttoward.c: Include <math-tests.h>.
30258 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30260 * math/test-misc.c: Include <math-tests.h>.
30261 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30264 2013-06-12 Andreas Jaeger <aj@suse.de>
30266 * po/ia.po: Update Interlingua translation from translation
30269 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30271 * include/fenv.h: Include stdbool.h.
30272 (struct rm_ctx): New structure.
30273 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30275 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30276 (SET_RESTORE_ROUNDF): Likewise.
30277 (SET_RESTORE_ROUNDL): Likewise.
30278 (SET_RESTORE_ROUND_NOEX): Likewise.
30279 (SET_RESTORE_ROUND_NOEXF): Likewise.
30280 (SET_RESTORE_ROUND_NOEXL): Likewise.
30281 (SET_RESTORE_ROUND_53BIT): Likewise.
30282 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30283 (libc_feresetround_noexf_ctx): Likewise.
30284 (libc_feresetround_noexl_ctx): Likewise.
30285 (libc_feholdsetround_53bit_ctx): Likewise.
30286 (libc_feresetround_53bit_ctx): Likewise.
30287 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30288 (libc_feholdexcept_setround_sse_ctx): New function.
30289 (libc_fesetenv_sse_ctx): Likewise.
30290 (libc_feupdateenv_sse_ctx): Likewise.
30291 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30292 (libc_feholdexcept_setround_387_ctx): Likewise.
30293 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30294 (libc_feholdsetround_387_prec_ctx): Likewise.
30295 (libc_feholdsetround_387_ctx): Likewise.
30296 (libc_feholdsetround_387_53bit_ctx): Likewise.
30297 (libc_feholdsetround_sse_ctx): Likewise.
30298 (libc_feresetround_sse_ctx): Likewise.
30299 (libc_feresetround_387_ctx): Likewise.
30300 (libc_feupdateenv_387_ctx): Likewise.
30301 (libc_feholdexcept_setroundf_ctx): Define macro.
30302 (libc_fesetenvf_ctx): Likewise.
30303 (libc_feupdateenvf_ctx): Likewise.
30304 (libc_feholdsetroundf_ctx): Likewise.
30305 (libc_feresetroundf_ctx): Likewise.
30306 (libc_feholdexcept_setround_ctx): Likewise.
30307 (libc_fesetenv_ctx): Likewise.
30308 (libc_feupdateenv_ctx): Likewise.
30309 (libc_feholdsetround_ctx): Likewise.
30310 (libc_feresetround_ctx): Likewise.
30311 (libc_feholdexcept_setroundl_ctx): Likewise.
30312 (libc_feupdateenvl_ctx): Likewise.
30313 (libc_feholdsetroundl_ctx): Likewise.
30314 (libc_feresetroundl_ctx): Likewise.
30315 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30316 (libc_feresetround_53bit_ctx): Likewise.
30318 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30320 * locale/iso-639.def: Convert to UTF-8.
30322 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30324 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30325 (EXCEPTION_TESTS_double): Likewise.
30326 (EXCEPTION_TESTS_long_double): Likewise.
30327 (EXCEPTION_TESTS): Likewise.
30328 * math/libm-test.inc (test_exceptions): Only test exceptions if
30329 EXCEPTION_TESTS (FLOAT).
30331 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30333 * benchtests/Makefile (string-bench): Add strcpy_chk and
30335 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30336 * benchtests/bench-stpcpy_chk.c: New file.
30337 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30338 * benchtests/bench-strcpy_chk.c: New file.
30339 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30341 (do_test): Likewise.
30343 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30345 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30346 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30347 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30348 with tabs where appropriate.
30349 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30351 [PPC_PLATFORM_PPC440]: Likewise.
30352 [PPC_PLATFORM_PPC464]: Likewise.
30353 [PPC_PLATFORM_PPC476]: Likewise.
30354 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30355 ppc464, and ppc476 platform strings merging from ports/
30358 2013-06-11 Andreas Schwab <schwab@suse.de>
30361 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30362 (from_ucs4_idx): Regenerate.
30363 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30364 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30365 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30366 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30367 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30368 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30369 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30370 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30371 from FROM_LOOP and TO_LOOP specific macros.
30372 (BODY): Handle combining characters.
30373 * iconvdata/BIG5HKSCS.irreversible: Update.
30374 * iconvdata/BIG5HKSCS.precomposed: New file.
30375 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30377 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30379 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30381 * include/sys/time.h: Fix indentation and add copyright header.
30383 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30384 (do_test): Likewise.
30385 * string/test-memchr.c (do_one_test): Likewise.
30386 (do_test): Likewise.
30387 * string/test-memcmp.c (do_one_test): Likewise.
30388 (do_test): Likewise.
30389 * string/test-memcpy.c (do_one_test): Likewise.
30390 (do_test): Likewise.
30391 * string/test-memmem.c (do_one_test): Likewise.
30392 (do_test): Likewise.
30393 (do_random_tests): Likewise.
30394 * string/test-memmove.c (do_one_test): Likewise.
30395 (do_test): Likewise.
30396 * string/test-memset.c (do_one_test): Likewise.
30397 (do_test): Likewise.
30398 * string/test-rawmemchr.c (do_one_test): Likewise.
30399 (do_test): Likewise.
30400 * string/test-strcasecmp.c (do_one_test): Likewise.
30401 (do_test): Likewise.
30402 * string/test-strcasestr.c (do_one_test): Likewise.
30403 (do_test): Likewise.
30404 * string/test-strcat.c (do_one_test): Likewise.
30405 (do_test): Likewise.
30406 * string/test-strchr.c (do_one_test): Likewise.
30407 (do_test): Likewise.
30408 * string/test-strcmp.c (do_one_test): Likewise.
30409 (do_test): Likewise.
30410 * string/test-strcpy.c (do_one_test): Likewise.
30411 (do_test): Likewise.
30412 * string/test-string.h: Likewise.
30413 (test_init): Likewise.
30414 * string/test-strlen.c (do_one_test): Likewise.
30415 (do_test): Likewise.
30416 * string/test-strncasecmp.c (do_one_test): Likewise.
30417 (do_test): Likewise.
30418 * string/test-strncat.c (do_one_test): Likewise.
30419 (do_test): Likewise.
30420 * string/test-strncmp.c (do_one_test): Likewise.
30421 (do_test_limit): Likewise.
30422 (do_test): Likewise.
30423 * string/test-strncpy.c (do_one_test): Likewise.
30424 (do_test): Likewise.
30425 * string/test-strnlen.c (do_one_test): Likewise.
30426 (do_test): Likewise.
30427 * string/test-strpbrk.c (do_one_test): Likewise.
30428 (do_test): Likewise.
30429 * string/test-strrchr.c (do_one_test): Likewise.
30430 (do_test): Likewise.
30431 * string/test-strspn.c (do_one_test): Likewise.
30432 (do_test): Likewise.
30433 * string/test-strstr.c (do_one_test): Likewise.
30434 (do_test): Likewise.
30436 * benchtests/Makefile (string-bench): Add string benchmarks.
30437 * benchtests/bench-bcopy-ifunc.c: New file.
30438 * benchtests/bench-bcopy.c: New file.
30439 * benchtests/bench-bzero-ifunc.c: New file.
30440 * benchtests/bench-bzero.c: New file.
30441 * benchtests/bench-memccpy-ifunc.c: New file.
30442 * benchtests/bench-memccpy.c: New file.
30443 * benchtests/bench-memchr-ifunc.c: New file.
30444 * benchtests/bench-memchr.c: New file.
30445 * benchtests/bench-memcmp-ifunc.c: New file.
30446 * benchtests/bench-memcmp.c: New file.
30447 * benchtests/bench-memmem-ifunc.c: New file.
30448 * benchtests/bench-memmem.c: New file.
30449 * benchtests/bench-memmove-ifunc.c: New file.
30450 * benchtests/bench-memmove.c: New file.
30451 * benchtests/bench-mempcpy-ifunc.c: New file.
30452 * benchtests/bench-mempcpy.c: New file.
30453 * benchtests/bench-memset-ifunc.c: New file.
30454 * benchtests/bench-memset.c: New file.
30455 * benchtests/bench-rawmemchr-ifunc.c: New file.
30456 * benchtests/bench-rawmemchr.c: New file.
30457 * benchtests/bench-stpcpy-ifunc.c: New file.
30458 * benchtests/bench-stpcpy.c: New file.
30459 * benchtests/bench-stpncpy-ifunc.c: New file.
30460 * benchtests/bench-stpncpy.c: New file.
30461 * benchtests/bench-strcasecmp-ifunc.c: New file.
30462 * benchtests/bench-strcasecmp.c: New file.
30463 * benchtests/bench-strcasestr-ifunc.c: New file.
30464 * benchtests/bench-strcasestr.c: New file.
30465 * benchtests/bench-strcat-ifunc.c: New file.
30466 * benchtests/bench-strcat.c: New file.
30467 * benchtests/bench-strchr-ifunc.c: New file.
30468 * benchtests/bench-strchr.c: New file.
30469 * benchtests/bench-strchrnul-ifunc.c: New file.
30470 * benchtests/bench-strchrnul.c: New file.
30471 * benchtests/bench-strcmp-ifunc.c: New file.
30472 * benchtests/bench-strcmp.c: New file.
30473 * benchtests/bench-strcpy-ifunc.c: New file.
30474 * benchtests/bench-strcpy.c: New file.
30475 * benchtests/bench-strcspn-ifunc.c: New file.
30476 * benchtests/bench-strcspn.c: New file.
30477 * benchtests/bench-strlen-ifunc.c: New file.
30478 * benchtests/bench-strlen.c: New file.
30479 * benchtests/bench-strncasecmp-ifunc.c: New file.
30480 * benchtests/bench-strncasecmp.c: New file.
30481 * benchtests/bench-strncat-ifunc.c: New file.
30482 * benchtests/bench-strncat.c: New file.
30483 * benchtests/bench-strncmp-ifunc.c: New file.
30484 * benchtests/bench-strncmp.c: New file.
30485 * benchtests/bench-strncpy-ifunc.c: New file.
30486 * benchtests/bench-strncpy.c: New file.
30487 * benchtests/bench-strnlen-ifunc.c: New file.
30488 * benchtests/bench-strnlen.c: New file.
30489 * benchtests/bench-strpbrk-ifunc.c: New file.
30490 * benchtests/bench-strpbrk.c: New file.
30491 * benchtests/bench-strrchr-ifunc.c: New file.
30492 * benchtests/bench-strrchr.c: New file.
30493 * benchtests/bench-strspn-ifunc.c: New file.
30494 * benchtests/bench-strspn.c: New file.
30495 * benchtests/bench-strstr-ifunc.c: New file.
30496 * benchtests/bench-strstr.c: New file.
30498 * benchtests/Makefile: Disable parallel execution of targets.
30499 (string-bench): Add memcpy.
30500 (benchset): New variable to store a list of benchmark sets.
30501 (bench-func): Renamed from bench.
30502 (bench-set): New target.
30503 (bench): Depend on bench-func and bench-set.
30504 * benchtests/README: Add section on benchmark sets.
30505 * benchtests/bench-memcpy-ifunc.c: New file.
30506 * benchtests/bench-memcpy.c: New file.
30507 * benchtests/bench-string.h: New file.
30509 2013-06-11 Andreas Schwab <schwab@suse.de>
30512 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30513 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30514 values in the triple.
30515 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30516 terminator in the group key.
30518 2013-06-11 Andreas Jaeger <aj@suse.de>
30520 * po/zh_TW.po: Update Chinese (traditional) translation from
30521 translation project.
30523 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30525 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30526 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30527 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30528 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30529 (clock_getcpuclockid): Likewise.
30530 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30531 Add weak_alias and libc_hidden_def.
30532 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30533 * rt/clock_gettime.c (clock_gettime): Rename to
30534 __clock_gettime. Add weak_alias and libc_hidden_def.
30535 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30536 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30537 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30538 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30539 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30541 * rt/clock_settime.c (clock_settime): Rename to
30542 __clock_settime. Add weak_alias and libc_hidden_def.
30543 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30545 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30547 * mach/err_boot.sub: Remove trailing whitespace.
30548 * mach/err_ipc.sub: Likewise.
30549 * mach/err_mach.sub: Likewise.
30551 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30552 (ROUNDING_TESTS_double): Likewise.
30553 (ROUNDING_TESTS_long_double): Likewise.
30554 (ROUNDING_TESTS): Likewise.
30555 * math/libm-test.inc: Include <math-tests.h>.
30556 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30557 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30558 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30559 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30561 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30563 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30566 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30568 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30569 otherwise empty TRANS lines.
30570 * sysdeps/gnu/errlist.c: Regenerated.
30572 * catgets/gencat.c (error_print): Use (void) in function
30574 * crypt/crypt_util.c (__init_des): Likewise.
30575 * crypt/speeds.c (Stop): Likewise.
30577 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30578 * inet/ruserpass.c (token): Likewise.
30579 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30580 * intl/localealias.c (extend_alias_table): Likewise.
30581 * intl/plural-exp.c (init_germanic_plural): Likewise.
30582 * libio/fcloseall.c (__fcloseall): Likewise.
30583 * libio/genops.c (_IO_flush_all): Likewise.
30584 (_IO_flush_all_linebuffered): Likewise.
30585 (_IO_cleanup): Likewise.
30586 (_IO_iter_begin): Likewise.
30587 (_IO_iter_end): Likewise.
30588 (_IO_list_lock): Likewise.
30589 (_IO_list_unlock): Likewise.
30590 (_IO_list_resetlock): Likewise.
30591 * libio/getchar.c (getchar): Likewise.
30592 * libio/getchar_u.c (getchar_unlocked): Likewise.
30593 * libio/getwchar.c (getwchar): Likewise.
30594 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30595 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30596 * login/getpt.c (__getpt): Likewise.
30597 * login/tst-utmp.c (main): Likewise.
30598 * malloc/hooks.c (__malloc_check_init): Likewise.
30599 * malloc/malloc.c (__malloc_stats): Likewise.
30600 * malloc/mtrace.c (tr_break): Likewise.
30601 (mtrace): Likewise.
30602 (muntrace): Likewise.
30603 * misc/fstab.c (endfsent): Likewise.
30604 * misc/getclktck.c (__getclktck): Likewise.
30605 * misc/getdtsz.c (__getdtablesize): Likewise.
30606 * misc/gethostid.c (gethostid): Likewise.
30607 * misc/getpagesize.c (__getpagesize): Likewise.
30608 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30609 (__get_nprocs): Likewise.
30610 (__get_phys_pages): Likewise.
30611 (__get_avphys_pages): Likewise.
30612 * misc/getttyent.c (getttyent): Likewise.
30613 (setttyent): Likewise.
30614 (endttyent): Likewise.
30615 * misc/getusershell.c (getusershell): Likewise.
30616 (endusershell): Likewise.
30617 (setusershell): Likewise.
30618 (initshells): Likewise.
30619 * misc/hsearch.c (__hdestroy): Likewise.
30620 * misc/sync.c (sync): Likewise.
30621 * misc/syslog.c (closelog_internal): Likewise.
30622 (closelog): Likewise.
30623 * misc/ttyslot.c (ttyslot): Likewise.
30624 * misc/vhangup.c (vhangup): Likewise.
30625 * posix/fork.c (__fork): Likewise.
30626 * posix/getegid.c (__getegid): Likewise.
30627 * posix/geteuid.c (__geteuid): Likewise.
30628 * posix/getgid.c (__getgid): Likewise.
30629 * posix/getpid.c (__getpid): Likewise.
30630 * posix/getppid.c (__getppid): Likewise.
30631 * posix/getuid.c (__getuid): Likewise.
30632 * posix/pause.c (pause): Likewise.
30633 * posix/setpgrp.c (setpgrp): Likewise.
30634 * posix/setsid.c (__setsid): Likewise.
30635 * posix/test-vfork.c (noop): Likewise.
30636 * resolv/gethnamaddr.c (_endhtent): Likewise.
30637 (_gethtent): Likewise.
30638 (ht_endhostent): Likewise.
30639 (gethostent): Likewise.
30640 (dns_service): Likewise.
30641 * stdlib/drand48.c (drand48): Likewise.
30642 * stdlib/lrand48.c (lrand48): Likewise.
30643 * stdlib/mrand48.c (mrand48): Likewise.
30644 * stdlib/rand.c (rand): Likewise.
30645 * stdlib/random.c (__random): Likewise.
30646 * stdlib/setenv.c (clearenv): Likewise.
30647 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30648 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30649 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30650 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30651 (__get_nprocs): Likewise.
30652 (__get_phys_pages): Likewise.
30653 (__get_avphys_pages): Likewise.
30654 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30655 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30656 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30657 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30658 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30659 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30660 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30661 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30662 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30663 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30664 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30665 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30666 * sysdeps/posix/clock.c (clock): Likewise.
30667 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30668 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30669 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30670 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30671 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30673 (__get_nprocs_conf): Likewise.
30674 (__get_phys_pages): Likewise.
30675 (__get_avphys_pages): Likewise.
30676 * time/clock.c (clock): Likewise.
30677 * time/tzset.c (__tzname_max): Likewise.
30679 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30681 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30682 (__bswap_32): Do not use "register".
30683 * crypt/crypt.c (_ufc_doit_r): Likewise.
30684 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30685 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30686 * gmon/gmon.c (__monstartup): Likewise.
30687 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30688 * hurd/hurdmalloc.c (more_memory): Likewise.
30689 (malloc): Likewise.
30691 (realloc): Likewise.
30692 (malloc_fork_prepare): Likewise.
30693 (malloc_fork_parent): Likewise.
30694 (malloc_fork_child): Likewise.
30695 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30696 (_svcauth_des): Likewise.
30697 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30698 * inet/inet_net.c (inet_network): Likewise.
30699 * inet/inet_netof.c (inet_netof): Likewise.
30700 * inet/rcmd.c (__validuser2_sa): Likewise.
30701 * io/fts.c (fts_open): Likewise.
30702 (fts_load): Likewise.
30703 (fts_close): Likewise.
30704 (fts_read): Likewise.
30705 (fts_children): Likewise.
30706 (fts_build): Likewise.
30707 (fts_stat): Likewise.
30708 (fts_sort): Likewise.
30709 (fts_alloc): Likewise.
30710 (fts_lfree): Likewise.
30711 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30712 (_IO_file_xsgetn): Likewise.
30713 (_IO_file_xsgetn_mmap): Likewise.
30714 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30715 (_IO_cookie_write): Likewise.
30716 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30717 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30718 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30719 * malloc/obstack.c (_obstack_begin): Likewise.
30720 (_obstack_begin_1): Likewise.
30721 (_obstack_newchunk): Likewise.
30722 (_obstack_allocated_p): Likewise.
30723 (obstack_free): Likewise.
30724 (_obstack_memory_used): Likewise.
30725 * misc/getttyent.c (getttynam): Likewise.
30726 (getttyent): Likewise.
30729 * misc/getusershell.c (initshells): Likewise.
30730 * misc/syslog.c (__vsyslog_chk): Likewise.
30731 * misc/ttyslot.c (ttyslot): Likewise.
30732 * nis/nis_hash.c (__nis_hash): Likewise.
30733 * posix/fnmatch_loop.c (FCT): Likewise.
30734 * posix/getconf.c (print_all): Likewise.
30736 * posix/getopt.c (exchange): Likewise.
30737 * posix/glob.c (globfree): Likewise.
30738 (prefix_array): Likewise.
30739 (__glob_pattern_type): Likewise.
30740 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30741 (NS_GET32): Likewise.
30742 (NS_PUT16): Likewise.
30743 (NS_PUT32): Likewise.
30744 * resolv/gethnamaddr.c (getanswer): Likewise.
30745 (gethostbyname2): Likewise.
30746 (gethostbyaddr): Likewise.
30747 (_gethtent): Likewise.
30748 (_gethtbyname2): Likewise.
30749 (_gethtbyaddr): Likewise.
30750 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30751 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30752 * resolv/res_init.c (__res_vinit): Likewise.
30753 (net_mask): Likewise.
30754 * resolv/res_mkquery.c (outchar): Likewise.
30756 * stdio-common/printf_fp.c (outchar): Likewise.
30758 * stdio-common/printf_fphex.c (outchar): Likewise.
30760 * stdio-common/printf_size.c (outchar): Likewise.
30762 * stdio-common/test_rdwr.c (main): Likewise.
30763 * stdio-common/tfformat.c (matches): Likewise.
30764 * stdio-common/vfprintf.c (outchar): Likewise.
30765 (printf_unknown): Likewise.
30766 (buffered_vfprintf): Likewise.
30767 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30768 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30769 (ReadFile): Likewise.
30770 * stdlib/qsort.c (SWAP): Likewise.
30771 (_quicksort): Likewise.
30772 * stdlib/setenv.c (__add_to_environ): Likewise.
30773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30774 * stdlib/strtol_l.c (__strtol_l): Likewise.
30775 * stdlib/tst-strtod.c (main): Likewise.
30776 * stdlib/tst-strtol.c (main): Likewise.
30777 * stdlib/tst-strtoll.c (main): Likewise.
30778 * string/bits/string2.h (__strcmp_cc): Likewise.
30779 (__strcmp_cg): Likewise.
30780 (__strcspn_c1): Likewise.
30781 (__strcspn_c2): Likewise.
30782 (__strcspn_c3): Likewise.
30783 (__strspn_c1): Likewise.
30784 (__strspn_c2): Likewise.
30785 (__strspn_c3): Likewise.
30786 (__strsep_1c): Likewise.
30787 (__strsep_2c): Likewise.
30788 (__strsep_3c): Likewise.
30789 * string/memccpy.c (__memccpy): Likewise.
30790 * string/stpcpy.c (__stpcpy): Likewise.
30791 * string/strcmp.c (strcmp): Likewise.
30792 * string/strrchr.c (strrchr): Likewise.
30793 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30795 * sysdeps/mach/hurd/getcwd.c
30796 (_hurd_canonicalize_directory_name_internal): Likewise.
30797 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30798 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30799 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30800 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30801 Likewise, in both definitions.
30802 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30804 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30805 64] (__bswap_64): Likewise.
30806 * time/test_time.c (main): Likewise.
30807 * time/tzfile.c (__tzfile_read): Likewise.
30808 (__tzfile_compute): Likewise.
30809 * time/tzset.c (__tzset_parse_tz): Likewise.
30810 (tzset_internal): Likewise.
30811 (compute_change): Likewise.
30812 * wcsmbs/wcscat.c (__wcscat): Likewise.
30813 * wcsmbs/wcschr.c (wcschr): Likewise.
30814 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30815 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30816 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30817 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30818 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30819 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30820 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30821 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30822 * wcsmbs/wmemset.c (wmemset): Likewise.
30824 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30826 * scripts/config.guess: Update to version 2013-05-16.
30827 * scripts/config.sub: Update to version 2013-04-24.
30828 * scripts/install-sh: Update to version 2011-11-20.07.
30829 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30830 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30832 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30834 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30835 * elf/sln.c: Likewise.
30836 * hurd/hurd/ioctl.h: Likewise.
30837 * hurd/hurdmalloc.c: Likewise.
30838 * hurd/xattr.c: Likewise.
30839 * include/shlib-compat.h: Likewise.
30840 * inet/ruserpass.c: Likewise.
30841 * libio/iofgets_u.c: Likewise.
30842 * libio/iofgetws_u.c: Likewise.
30843 * locale/programs/ld-identification.c: Likewise.
30844 * locale/programs/ld-time.c: Likewise.
30845 * mach/msg-destroy.c: Likewise.
30846 * nss/nss_files/files-netgrp.c: Likewise.
30847 * resolv/res_data.c: Likewise.
30848 * soft-fp/op-1.h: Likewise.
30849 * soft-fp/op-2.h: Likewise.
30850 * soft-fp/op-4.h: Likewise.
30851 * soft-fp/op-common.h: Likewise.
30852 * stdio-common/printf_fphex.c: Likewise.
30853 * stdlib/strtod_l.c: Likewise.
30854 * sunrpc/rpc/clnt.h: Likewise.
30855 * sysdeps/generic/framestate.c: Likewise.
30856 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30857 * sysdeps/i386/bsd-setjmp.S: Likewise.
30858 * sysdeps/i386/__longjmp.S: Likewise.
30859 * sysdeps/i386/setjmp.S: Likewise.
30860 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30861 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30865 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30866 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30869 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30870 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30872 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30873 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30874 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30876 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30877 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30878 * sysdeps/ieee754/support.c: Likewise.
30879 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30880 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30881 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30882 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30883 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30884 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30885 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30886 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30887 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30888 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30889 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30890 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30891 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30892 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30893 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30894 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30895 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30898 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30900 * posix/transbug.c: Remove executable mode.
30902 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30904 * crypt/speeds.c: Remove trailing whitespace.
30905 * dlfcn/default.c: Likewise.
30906 * elf/ifuncdep2.c: Likewise.
30907 * elf/ifuncmain1.c: Likewise.
30908 * elf/ifuncmain1vis.c: Likewise.
30909 * elf/testobj.h: Likewise.
30910 * elf/tst-stackguard1.c: Likewise.
30911 * gmon/sys/gmon.h: Likewise.
30912 * hurd/hurdmsg.c: Likewise.
30913 * hurd/new-fd.c: Likewise.
30914 * hurd/ports-get.c: Likewise.
30915 * iconvdata/ibm1008_420.c: Likewise.
30916 * inet/tst-getni1.c: Likewise.
30917 * inet/tst-getni2.c: Likewise.
30918 * libio/ioungetc.c: Likewise.
30919 * libio/wfiledoalloc.c: Likewise.
30920 * manual/libm-err-tab.pl: Likewise.
30921 * math/w_dremf.c: Likewise.
30922 * misc/ftruncate.c: Likewise.
30923 * posix/bug-glob2.c: Likewise.
30924 * posix/tst-pcre.c: Likewise.
30925 * posix/wait4.c: Likewise.
30926 * resolv/README: Likewise.
30927 * resolv/res_debug.h: Likewise.
30928 * resolv/tst-inet_ntop.c: Likewise.
30929 * setjmp/bug269-setjmp.c: Likewise.
30930 * soft-fp/extended.h: Likewise.
30931 * soft-fp/op-1.h: Likewise.
30932 * soft-fp/op-2.h: Likewise.
30933 * soft-fp/op-4.h: Likewise.
30934 * soft-fp/op-8.h: Likewise.
30935 * soft-fp/testit.c: Likewise.
30936 * stdio-common/bug16.c: Likewise.
30937 * stdlib/random.c: Likewise.
30938 * sunrpc/rpcsvc/rquota.x: Likewise.
30939 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30940 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30941 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30942 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30943 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30945 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30948 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30949 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30966 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30968 * sysdeps/ieee754/s_lib_version.c: Likewise.
30969 * sysdeps/mach/hurd/check_fds.c: Likewise.
30970 * sysdeps/mach/hurd/getsockname.c: Likewise.
30971 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30972 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30973 * sysdeps/powerpc/bits/link.h: Likewise.
30974 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30975 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30976 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30977 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30978 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30979 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30980 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30981 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30982 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30983 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30984 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30985 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30986 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30987 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30988 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30989 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30990 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30992 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30993 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30994 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30995 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30996 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30997 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30998 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31001 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31002 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31003 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31004 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31005 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31008 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31009 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31010 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31011 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31012 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31013 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31014 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31015 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31016 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31017 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31018 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31019 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31020 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31021 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31022 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31023 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31025 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31026 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31027 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31028 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31029 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31030 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31031 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31032 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31033 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31035 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31036 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31037 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31038 * sysdeps/powerpc/sysdep.h: Likewise.
31039 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31040 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31041 * sysdeps/sh/dl-trampoline.S: Likewise.
31042 * sysdeps/sh/memset.S: Likewise.
31043 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31044 * sysdeps/sh/strlen.S: Likewise.
31045 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31046 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31047 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31048 * sysdeps/sparc/sparc32/rem.S: Likewise.
31049 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31050 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31051 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31052 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31053 * sysdeps/sparc/sparc32/urem.S: Likewise.
31054 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31055 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31056 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31057 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31058 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31059 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31060 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31061 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31062 * sysdeps/unix/bsd/times.c: Likewise.
31063 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31064 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31068 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31069 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31070 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31072 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31074 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31075 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31076 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31077 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31078 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31079 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31080 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31081 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31082 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31083 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31084 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31085 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31086 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31087 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31088 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31089 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31091 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31092 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31093 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31094 * sysdeps/x86_64/strcspn.S: Likewise.
31096 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31098 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31099 generated file. Regenerate properly from gen-translit.pl.
31100 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31101 locale/C-translit.h.
31103 2013-06-05 Andreas Schwab <schwab@suse.de>
31106 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31107 week as 6 instead of -1.
31108 * time/tst-strptime.c (day_tests): Add test case.
31110 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31112 * sysdeps/generic/math_private.h
31113 (libc_feholdexcept_setround_53bit): Replace with
31114 libc_feholdsetround_53bit.
31115 (libc_feupdateenv_53bit): Replace with
31116 libc_feresetround_53bit.
31117 (SET_RESTORE_ROUND_53BIT): Adjust.
31119 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31121 * string/test-strchrnul.c: Add copyright header.
31123 * posix/tst-getaddrinfo4.c: Increase test timeout.
31125 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31128 * math/libm-test.inc (MAX_EXP): Remove
31130 (ulp): Use MIN_EXP - MANT_DIG.
31131 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31133 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31135 * po/be.po: Revert last change.
31136 * po/zh_CN.po: Likewise.
31137 * po/header.pot: Likewise.
31139 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31141 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31142 link-libc-deps to empty as target-specific variable.
31143 * Makerules (link-libc-args): New variable.
31144 (libc-for-link): Likewise.
31145 (link-libc-deps): Likewise.
31146 (lib%.so): Depend on $(link-libc-deps). Link with
31148 (build-module): Link with $(link-libc-args).
31149 (build-module-asneeded): Likewise.
31150 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31152 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31153 target-specific variable.
31154 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31155 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31156 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31158 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31160 ($(objpfx)libpcprofile.so): Likewise.
31161 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31163 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31164 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31167 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31168 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31169 * login/Makefile ($(objpfx)libutil.so): Likewise.
31170 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31171 * math/Makefile ($(objpfx)libm.so): Likewise.
31172 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31173 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31174 variable instead of depending directly on libc.
31175 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31176 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31178 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31180 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31181 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31182 ($(objpfx)libanl.so): Likewise.
31183 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31185 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31187 * sysdeps/i386/fpu/Makefile: Remove file.
31188 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31189 ($(objpfx)libm.so): Remove dependency on ld.so.
31191 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31194 * nis/yp_xdr.c (XDRMAXNAME): Define.
31195 (XDRMAXRECORD): Define.
31196 (xdr_domainname): Use XDRMAXNAME.
31197 (xdr_mapname): Likewise.
31198 (xdr_peername): Likewise.
31199 (xdr_keydat): Use XDRMAXRECORD.
31200 (xdr_valdat): Likewise.
31202 2013-05-30 Jeff Law <law@redhat.com>
31205 * manual/errno.texi (ESTALE): Update to account for more than
31206 just NFS file systems.
31207 * sysdeps/gnu/errlist.c: Regenerated.
31209 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31212 * elf/Makefile (tests): Add tst-null-argv.
31213 (modules-names): Add tst-null-argv-lib.
31214 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31215 (tst-null-argv-ENV): Set environment for tst-null-argv.
31216 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31217 (RTLD_PROGNAME): New macro.
31218 * elf/tst-null-argv.c: New test case.
31219 * elf/tst-null-argv-lib.c: Library for test case.
31220 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31221 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31222 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31223 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31224 * elf/dl-init.c (call_init): Likewise.
31225 (_dl_init): Likewise.
31226 * elf/dl-load.c (print_search_path): Likewise.
31227 (_dl_map_object): Likewise.
31228 * elf/dl-lookup.c (do_lookup_x): Likewise.
31229 (add_dependency): Likewise.
31230 (_dl_lookup_symbol_x): Likewise.
31231 (_dl_debug_bindings): Likewise.
31232 * elf/dl-open.c (_dl_show_scope): Likewise.
31233 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31234 * elf/dl-version.c (match_symbol): Likewise.
31235 (_dl_check_map_versions): Likewise.
31236 * elf/rtld.c (dl_main): Likewise.
31237 (print_unresolved): Use RTLD_PROGNAME.
31238 (print_missing_version): Likewise.
31239 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31240 (elf_machine_rela): Likewise.
31241 * sysdeps/powerpc/powerpc32/dl-machine.c
31242 (__process_machine_rela): Likewise.
31243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31247 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31249 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31256 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31258 * po/be.po: Add descriptive title.
31259 * po/zh_CN.po: Likewise.
31260 * po/header.pot: Likewise.
31262 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31264 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31266 (enlarge_archive): Likewise.
31268 2013-05-28 Ben North <ben@redfrontdoor.org>
31270 * manual/arith.texi (frexp): It is the magnitude of the return
31271 value which lies in [0.5, 1), not the return value itself.
31273 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31277 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31279 * stdio-common/bug26.c (main): Correct fscanf template.
31281 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31282 declare _dl_skip_args.
31284 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31287 * manual/platform.texi: Add missing @end deftypefun.
31289 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31292 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31293 bit of mantissa of 2^16382.
31294 * math/libm-test.inc (hypot_test_data): Add more tests.
31296 * math/libm-test.inc: Add drem and pow10 to list of tested
31298 (pow10_test): New function.
31299 (drem_test): Likewise.
31300 (drem_test_tonearest): Likewise.
31301 (drem_test_towardzero): Likewise.
31302 (drem_test_downward): Likewise.
31303 (drem_test_upward): Likewise.
31304 (main): Call the new functions.
31306 * math/libm-test.inc (finite_test_data): Remove.
31307 (finite_test): Run tests from isfinite_test_data.
31308 (gamma_test_data): Remove.
31309 (gamma_test): Run tests from lgamma_test_data.
31310 * sysdeps/i386/fpu/libm-test-ulps: Update.
31311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31313 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31315 * manual/platform.texi: Add PowerPC PPR function set documentation.
31316 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31319 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31321 * math/libm-test.inc (MAX_EXP): Define.
31323 (ulp): New function.
31324 (check_float_internal): Use ULPDIFF.
31325 (cpow_test): Disable failing test.
31326 (check_ulp): Test ulp() implemetnation.
31327 (main): Call check_ulp before starting tests.
31329 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31331 * math/gen-libm-test.pl (generate_testfile): Do not handle
31332 START_DATA and END_DATA.
31333 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31335 (acos_tonearest_test_data): Likewise.
31336 (acos_towardzero_test_data): Likewise.
31337 (acos_downward_test_data): Likewise.
31338 (acos_upward_test_data): Likewise.
31339 (acosh_test_data): Likewise.
31340 (asin_test_data): Likewise.
31341 (asin_tonearest_test_data): Likewise.
31342 (asin_towardzero_test_data): Likewise.
31343 (asin_downward_test_data): Likewise.
31344 (asin_upward_test_data): Likewise.
31345 (asinh_test_data): Likewise.
31346 (atan_test_data): Likewise.
31347 (atanh_test_data): Likewise.
31348 (atan2_test_data): Likewise.
31349 (cabs_test_data): Likewise.
31350 (cacos_test_data): Likewise.
31351 (cacosh_test_data): Likewise.
31352 (carg_test_data): Likewise.
31353 (casin_test_data): Likewise.
31354 (casinh_test_data): Likewise.
31355 (catan_test_data): Likewise.
31356 (catanh_test_data): Likewise.
31357 (cbrt_test_data): Likewise.
31358 (ccos_test_data): Likewise.
31359 (ccosh_test_data): Likewise.
31360 (ceil_test_data): Likewise.
31361 (cexp_test_data): Likewise.
31362 (cimag_test_data): Likewise.
31363 (clog_test_data): Likewise.
31364 (clog10_test_data): Likewise.
31365 (conj_test_data): Likewise.
31366 (copysign_test_data): Likewise.
31367 (cos_test_data): Likewise.
31368 (cos_tonearest_test_data): Likewise.
31369 (cos_towardzero_test_data): Likewise.
31370 (cos_downward_test_data): Likewise.
31371 (cos_upward_test_data): Likewise.
31372 (cosh_test_data): Likewise.
31373 (cosh_tonearest_test_data): Likewise.
31374 (cosh_towardzero_test_data): Likewise.
31375 (cosh_downward_test_data): Likewise.
31376 (cosh_upward_test_data): Likewise.
31377 (cpow_test_data): Likewise.
31378 (cproj_test_data): Likewise.
31379 (creal_test_data): Likewise.
31380 (csin_test_data): Likewise.
31381 (csinh_test_data): Likewise.
31382 (csqrt_test_data): Likewise.
31383 (ctan_test_data): Likewise.
31384 (ctan_tonearest_test_data): Likewise.
31385 (ctan_towardzero_test_data): Likewise.
31386 (ctan_downward_test_data): Likewise.
31387 (ctan_upward_test_data): Likewise.
31388 (ctanh_test_data): Likewise.
31389 (ctanh_tonearest_test_data): Likewise.
31390 (ctanh_towardzero_test_data): Likewise.
31391 (ctanh_downward_test_data): Likewise.
31392 (ctanh_upward_test_data): Likewise.
31393 (erf_test_data): Likewise.
31394 (erfc_test_data): Likewise.
31395 (exp_test_data): Likewise.
31396 (exp_tonearest_test_data): Likewise.
31397 (exp_towardzero_test_data): Likewise.
31398 (exp_downward_test_data): Likewise.
31399 (exp_upward_test_data): Likewise.
31400 (exp10_test_data): Likewise.
31401 (exp2_test_data): Likewise.
31402 (expm1_test_data): Likewise.
31403 (fabs_test_data): Likewise.
31404 (fdim_test_data): Likewise.
31405 (finite_test_data): Likewise.
31406 (floor_test_data): Likewise.
31407 (fma_test_data): Likewise.
31408 (fma_towardzero_test_data): Likewise.
31409 (fma_downward_test_data): Likewise.
31410 (fma_upward_test_data): Likewise.
31411 (fmax_test_data): Likewise.
31412 (fmin_test_data): Likewise.
31413 (fmod_test_data): Likewise.
31414 (fpclassify_test_data): Likewise.
31415 (frexp_test_data): Likewise.
31416 (gamma_test_data): Likewise.
31417 (hypot_test_data): Likewise.
31418 (ilogb_test_data): Likewise.
31419 (isfinite_test_data): Likewise.
31420 (isgreater_test_data): Likewise.
31421 (isgreaterequal_test_data): Likewise.
31422 (isinf_test_data): Likewise.
31423 (isless_test_data): Likewise.
31424 (islessequal_test_data): Likewise.
31425 (islessgreater_test_data): Likewise.
31426 (isnan_test_data): Likewise.
31427 (isnormal_test_data): Likewise.
31428 (issignaling_test_data): Likewise.
31429 (isunordered_test_data): Likewise.
31430 (j0_test_data): Likewise.
31431 (j1_test_data): Likewise.
31432 (jn_test_data): Likewise.
31433 (ldexp_test_data): Likewise.
31434 (lgamma_test_data): Likewise.
31435 (lrint_test_data): Likewise.
31436 (lrint_tonearest_test_data): Likewise.
31437 (lrint_towardzero_test_data): Likewise.
31438 (lrint_downward_test_data): Likewise.
31439 (lrint_upward_test_data): Likewise.
31440 (llrint_test_data): Likewise.
31441 (llrint_tonearest_test_data): Likewise.
31442 (llrint_towardzero_test_data): Likewise.
31443 (llrint_downward_test_data): Likewise.
31444 (llrint_upward_test_data): Likewise.
31445 (log_test_data): Likewise.
31446 (log10_test_data): Likewise.
31447 (log1p_test_data): Likewise.
31448 (log2_test_data): Likewise.
31449 (logb_test_data): Likewise.
31450 (logb_downward_test_data): Likewise.
31451 (lround_test_data): Likewise.
31452 (llround_test_data): Likewise.
31453 (modf_test_data): Likewise.
31454 (nearbyint_test_data): Likewise.
31455 (nextafter_test_data): Likewise.
31456 (nexttoward_test_data): Likewise.
31457 (pow_test_data): Likewise.
31458 (pow_tonearest_test_data): Likewise.
31459 (pow_towardzero_test_data): Likewise.
31460 (pow_downward_test_data): Likewise.
31461 (pow_upward_test_data): Likewise.
31462 (remainder_test_data): Likewise.
31463 (remainder_tonearest_test_data): Likewise.
31464 (remainder_towardzero_test_data): Likewise.
31465 (remainder_downward_test_data): Likewise.
31466 (remainder_upward_test_data): Likewise.
31467 (remquo_test_data): Likewise.
31468 (rint_test_data): Likewise.
31469 (rint_tonearest_test_data): Likewise.
31470 (rint_towardzero_test_data): Likewise.
31471 (rint_downward_test_data): Likewise.
31472 (rint_upward_test_data): Likewise.
31473 (round_test_data): Likewise.
31474 (scalb_test_data): Likewise.
31475 (scalbn_test_data): Likewise.
31476 (scalbln_test_data): Likewise.
31477 (signbit_test_data): Likewise.
31478 (sin_test_data): Likewise.
31479 (sin_tonearest_test_data): Likewise.
31480 (sin_towardzero_test_data): Likewise.
31481 (sin_downward_test_data): Likewise.
31482 (sin_upward_test_data): Likewise.
31483 (sincos_test_data): Likewise.
31484 (sinh_test_data): Likewise.
31485 (sinh_tonearest_test_data): Likewise.
31486 (sinh_towardzero_test_data): Likewise.
31487 (sinh_downward_test_data): Likewise.
31488 (sinh_upward_test_data): Likewise.
31489 (sqrt_test_data): Likewise.
31490 (tan_test_data): Likewise.
31491 (tan_tonearest_test_data): Likewise.
31492 (tan_towardzero_test_data): Likewise.
31493 (tan_downward_test_data): Likewise.
31494 (tan_upward_test_data): Likewise.
31495 (tanh_test_data): Likewise.
31496 (tgamma_test_data): Likewise.
31497 (trunc_test_data): Likewise.
31498 (y0_test_data): Likewise.
31499 (y1_test_data): Likewise.
31500 (yn_test_data): Likewise.
31501 (significand_test_data): Likewise.
31503 * math/gen-libm-test.pl (@functions): Remove variable.
31504 (generate_testfile): Don't handle START and END lines.
31505 * math/libm-test.inc (START): New macro.
31507 (END_COMPLEX): Likewise.
31508 (acos_test): Use END macro without arguments.
31509 (acos_test_tonearest): Likewise.
31510 (acos_test_towardzero): Likewise.
31511 (acos_test_downward): Likewise.
31512 (acos_test_upward): Likewise.
31513 (acosh_test): Likewise.
31514 (asin_test): Likewise.
31515 (asin_test_tonearest): Likewise.
31516 (asin_test_towardzero): Likewise.
31517 (asin_test_downward): Likewise.
31518 (asin_test_upward): Likewise.
31519 (asinh_test): Likewise.
31520 (atan_test): Likewise.
31521 (atanh_test): Likewise.
31522 (atan2_test): Likewise.
31523 (cabs_test): Likewise.
31524 (cacos_test): Use END_COMPLEX macro without arguments.
31525 (cacosh_test): Likewise.
31526 (carg_test): Use END macro without arguments.
31527 (casin_test): Use END_COMPLEX macro without arguments.
31528 (casinh_test): Likewise.
31529 (catan_test): Likewise.
31530 (catanh_test): Likewise.
31531 (cbrt_test): Use END macro without arguments.
31532 (ccos_test): Use END_COMPLEX macro without arguments.
31533 (ccosh_test): Likewise.
31534 (ceil_test): Use END macro without arguments.
31535 (cexp_test): Use END_COMPLEX macro without arguments.
31536 (cimag_test): Use END macro without arguments.
31537 (clog_test): Use END_COMPLEX macro without arguments.
31538 (clog10_test): Likewise.
31539 (conj_test): Likewise.
31540 (copysign_test): Use END macro without arguments.
31541 (cos_test): Likewise.
31542 (cos_test_tonearest): Likewise.
31543 (cos_test_towardzero): Likewise.
31544 (cos_test_downward): Likewise.
31545 (cos_test_upward): Likewise.
31546 (cosh_test): Likewise.
31547 (cosh_test_tonearest): Likewise.
31548 (cosh_test_towardzero): Likewise.
31549 (cosh_test_downward): Likewise.
31550 (cosh_test_upward): Likewise.
31551 (cpow_test): Use END_COMPLEX macro without arguments.
31552 (cproj_test): Likewise.
31553 (creal_test): Use END macro without arguments.
31554 (csin_test): Use END_COMPLEX macro without arguments.
31555 (csinh_test): Likewise.
31556 (csqrt_test): Likewise.
31557 (ctan_test): Likewise.
31558 (ctan_test_tonearest): Likewise.
31559 (ctan_test_towardzero): Likewise.
31560 (ctan_test_downward): Likewise.
31561 (ctan_test_upward): Likewise.
31562 (ctanh_test): Likewise.
31563 (ctanh_test_tonearest): Likewise.
31564 (ctanh_test_towardzero): Likewise.
31565 (ctanh_test_downward): Likewise.
31566 (ctanh_test_upward): Likewise.
31567 (erf_test): Use END macro without arguments.
31568 (erfc_test): Likewise.
31569 (exp_test): Likewise.
31570 (exp_test_tonearest): Likewise.
31571 (exp_test_towardzero): Likewise.
31572 (exp_test_downward): Likewise.
31573 (exp_test_upward): Likewise.
31574 (exp10_test): Likewise.
31575 (exp2_test): Likewise.
31576 (expm1_test): Likewise.
31577 (fabs_test): Likewise.
31578 (fdim_test): Likewise.
31579 (finite_test): Likewise.
31580 (floor_test): Likewise.
31581 (fma_test): Likewise.
31582 (fma_test_towardzero): Likewise.
31583 (fma_test_downward): Likewise.
31584 (fma_test_upward): Likewise.
31585 (fmax_test): Likewise.
31586 (fmin_test): Likewise.
31587 (fmod_test): Likewise.
31588 (fpclassify_test): Likewise.
31589 (frexp_test): Likewise.
31590 (gamma_test): Likewise.
31591 (hypot_test): Likewise.
31592 (ilogb_test): Likewise.
31593 (isfinite_test): Likewise.
31594 (isgreater_test): Likewise.
31595 (isgreaterequal_test): Likewise.
31596 (isinf_test): Likewise.
31597 (isless_test): Likewise.
31598 (islessequal_test): Likewise.
31599 (islessgreater_test): Likewise.
31600 (isnan_test): Likewise.
31601 (isnormal_test): Likewise.
31602 (issignaling_test): Likewise.
31603 (isunordered_test): Likewise.
31604 (j0_test): Likewise.
31605 (j1_test): Likewise.
31606 (jn_test): Likewise.
31607 (ldexp_test): Likewise.
31608 (lgamma_test): Likewise.
31609 (lrint_test): Likewise.
31610 (lrint_test_tonearest): Likewise.
31611 (lrint_test_towardzero): Likewise.
31612 (lrint_test_downward): Likewise.
31613 (lrint_test_upward): Likewise.
31614 (llrint_test): Likewise.
31615 (llrint_test_tonearest): Likewise.
31616 (llrint_test_towardzero): Likewise.
31617 (llrint_test_downward): Likewise.
31618 (llrint_test_upward): Likewise.
31619 (log_test): Likewise.
31620 (log10_test): Likewise.
31621 (log1p_test): Likewise.
31622 (log2_test): Likewise.
31623 (logb_test): Likewise.
31624 (logb_test_downward): Likewise.
31625 (lround_test): Likewise.
31626 (llround_test): Likewise.
31627 (modf_test): Likewise.
31628 (nearbyint_test): Likewise.
31629 (nextafter_test): Likewise.
31630 (nexttoward_test): Likewise.
31631 (pow_test): Likewise.
31632 (pow_test_tonearest): Likewise.
31633 (pow_test_towardzero): Likewise.
31634 (pow_test_downward): Likewise.
31635 (pow_test_upward): Likewise.
31636 (remainder_test): Likewise.
31637 (remainder_test_tonearest): Likewise.
31638 (remainder_test_towardzero): Likewise.
31639 (remainder_test_downward): Likewise.
31640 (remainder_test_upward): Likewise.
31641 (remquo_test): Likewise.
31642 (rint_test): Likewise.
31643 (rint_test_tonearest): Likewise.
31644 (rint_test_towardzero): Likewise.
31645 (rint_test_downward): Likewise.
31646 (rint_test_upward): Likewise.
31647 (round_test): Likewise.
31648 (scalb_test): Likewise.
31649 (scalbn_test): Likewise.
31650 (scalbln_test): Likewise.
31651 (signbit_test): Likewise.
31652 (sin_test): Likewise.
31653 (sin_test_tonearest): Likewise.
31654 (sin_test_towardzero): Likewise.
31655 (sin_test_downward): Likewise.
31656 (sin_test_upward): Likewise.
31657 (sincos_test): Likewise.
31658 (sinh_test): Likewise.
31659 (sinh_test_tonearest): Likewise.
31660 (sinh_test_towardzero): Likewise.
31661 (sinh_test_downward): Likewise.
31662 (sinh_test_upward): Likewise.
31663 (sqrt_test): Likewise.
31664 (tan_test): Likewise.
31665 (tan_test_tonearest): Likewise.
31666 (tan_test_towardzero): Likewise.
31667 (tan_test_downward): Likewise.
31668 (tan_test_upward): Likewise.
31669 (tanh_test): Likewise.
31670 (tgamma_test): Likewise.
31671 (trunc_test): Likewise.
31672 (y0_test): Likewise.
31673 (y1_test): Likewise.
31674 (yn_test): Likewise.
31675 (significand_test): Likewise.
31677 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31680 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31682 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31685 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31686 __ppc_mdoio and __ppc_mdoom.
31687 * manual/platform.texi: Document new functions __ppc_yield,
31688 __ppc_mdoio and __ppc_mdoom.
31690 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31692 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31693 (main): Mention "tls" pseudo-hwcap is legacy.
31694 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31696 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31698 * math/gen-libm-test.pl (parse_args): Output only string of
31699 arguments as text for test name, not full call or descriptions of
31700 tests for extra outputs.
31701 (generate_testfile): Do not pass function name to parse_args.
31702 Generate this_func variable from START.
31703 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31705 (struct test_ff_f_data): Likewise.
31706 (test_ff_f_data_nexttoward): Likewise.
31707 (struct test_fi_f_data): Likewise.
31708 (struct test_fl_f_data): Likewise.
31709 (struct test_if_f_data): Likewise.
31710 (struct test_fff_f_data): Likewise.
31711 (struct test_c_f_data): Likewise.
31712 (struct test_f_f1_data): Likewise. Remove field extra_name.
31713 (struct test_fF_f1_data): Likewise.
31714 (struct test_ffI_f1_data): Likewise.
31715 (struct test_c_c_data): Rename test_name field to arg_str.
31716 (struct test_cc_c_data): Likewise.
31717 (struct test_f_i_data): Likewise.
31718 (struct test_ff_i_data): Likewise.
31719 (struct test_f_l_data): Likewise.
31720 (struct test_f_L_data): Likewise.
31721 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31723 (COMMON_TEST_SETUP): New macro.
31724 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31725 (COMMON_TEST_CLEANUP): Likewise.
31726 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31727 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31729 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31730 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31732 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31733 (RUN_TEST_fff_f): Take argument string. Call new setup and
31735 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31736 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31738 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31739 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31741 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31742 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31744 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31745 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31747 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31748 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31750 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31751 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31753 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31754 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31756 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31757 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31759 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31760 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31762 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31763 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31765 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31766 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31768 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31769 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31771 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31772 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31774 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31775 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31777 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31778 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31780 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31782 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31784 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31785 to _sifields.sigfault.
31786 (si_addr_lsb): Define new macro.
31787 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31788 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31789 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31791 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31794 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31796 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31798 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31799 loading the domain.
31801 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31803 * math/gen-libm-test.pl (parse_args): Do not include expected
31804 result in test name.
31805 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31807 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31808 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31809 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31812 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31814 * benchtests/Makefile: Sort function entries.
31816 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31817 tanh, asinh, acosh, atanh.
31818 * benchtests/acos-inputs: New file.
31819 * benchtests/acosh-inputs: New file.
31820 * benchtests/asin-inputs: New file.
31821 * benchtests/asinh-inputs: New file.
31822 * benchtests/atanh-inputs: New file.
31823 * benchtests/cosh-inputs: New file.
31824 * benchtests/log-inputs: New file.
31825 * benchtests/sinh-inputs: New file.
31826 * benchtests/tanh-inputs: New file.
31828 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31831 * posix/tst-getaddrinfo4.c: New test.
31832 * posix/Makefile (tests): Add it.
31834 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31837 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31838 when no services were used.
31839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31840 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31842 2013-05-21 Andreas Schwab <schwab@suse.de>
31845 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31846 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31848 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31849 redundant variable declarations and reallocation of buffer when
31850 parsing as IPv6 address. Always set NSS status when called from
31851 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31852 buffer too small. Correct computation of needed size.
31853 * nss/Makefile (tests): Add test-digits-dots.
31854 * nss/test-digits-dots.c: New test.
31856 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31858 * benchtests/Makefile: Remove instructions for adding
31860 * benchtests/README: New file to explain how to execute and
31861 enhance the benchmark tests.
31863 2013-05-21 Andreas Schwab <schwab@suse.de>
31866 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31867 * setjmp/tst-sigsetjmp.c: New test.
31869 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31871 * sysdeps/x86_64/memset.S (memset): New implementation.
31872 (__bzero): Likewise.
31873 (__memset_tail): New function.
31875 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31877 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31878 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31879 __memcpy_sse2_unaligned ifunc selection.
31880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31881 Add memcpy-sse2-unaligned.S.
31882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31883 Add: __memcpy_sse2_unaligned.
31885 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31888 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31889 math_force_eval before restoring floating-point envrionment.
31890 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31893 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31895 (__nearbyintl): Use math_force_eval before restoring
31896 floating-point environment.
31897 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31899 * math/gen-libm-test.pl (special_functions): Remove.
31900 (parse_args): Don't handle TEST_extra. Handle functions with no
31902 * math/libm-test.inc (struct test_sincos_data): Replace with
31903 struct test_fFF_11_data.
31904 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31905 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31906 (sincos_test_data): Change element type to struct
31907 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31908 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31909 RUN_TEST_LOOP_sincos.
31910 * math/README.libm-test: Don't mention special handling of
31911 individual functions.
31912 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31914 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31915 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31916 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31919 * math/gen-libm-test.pl (get_variable): Remove function.
31920 (parse_args): Don't show pointer parameters to call in test
31921 names. Use "extra output N" in test names for extra outputs
31922 rather than naming variables.
31924 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31927 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31928 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31929 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31931 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31933 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31936 * math/gen-libm-test.pl (@tests): Remove variable.
31937 ($count): Likewise.
31938 (new_test): Remove function.
31939 (show_exceptions): New function.
31940 (special_functions): Use show_exceptions instead of new_test.
31941 (parse_args): Likewise.
31942 (generate_testfile): Pass only function name in generated call to
31943 print_max_error or print_complex_max_error.
31944 (get_ulps): Do not handle complex tests specially.
31945 (output_test): Rename to ...
31946 (get_all_ulps_for_test): ... this. Return a string rather than
31947 printing to a file. Require ulps to be present.
31948 (output_ulps): Generate arrays rather than #defines.
31949 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31950 (struct ulp_data): New type.
31951 (BUILD_COMPLEX_ULP): Remove macro.
31952 (compare_ulp_data): New function.
31953 (find_ulps): Likewise.
31954 (find_test_ulps): Likewise.
31955 (find_function_ulps): Likewise.
31956 (find_complex_function_ulps): Likewise.
31957 (print_max_error): Determine allowed ulps using
31958 find_function_ulps.
31959 (print_complex_max_error): Determine allowed ulps using
31960 find_complex_function_ulps.
31961 (check_float_internal): Determine max ulps using find_test_ulps.
31962 (check_float): Do not take max_ulp parameter. Update call to
31963 check_float_internal.
31964 (check_complex): Likewise.
31965 (check_int): Do not take max_ulp parameter.
31966 (check_long): Likewise.
31967 (check_bool): Likewise.
31968 (check_longlong): Likewise.
31969 (struct test_f_f_data): Remove max_ulp field.
31970 (struct test_ff_f_data): Likewise.
31971 (struct test_ff_f_data_nexttoward): Likewise.
31972 (struct test_fi_f_data): Likewise.
31973 (struct test_fl_f_data): Likewise.
31974 (struct test_if_f_data): Likewise.
31975 (struct test_fff_f_data): Likewise.
31976 (struct test_c_f_data): Likewise.
31977 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31978 (struct test_fF_f1_data): Likewise.
31979 (struct test_ffI_f1_data): Likewise.
31980 (struct test_c_c_data): Remove max_ulp field.
31981 (struct test_cc_c_data): Likewise.
31982 (struct test_f_i_data): Likewise.
31983 (struct test_ff_i_data): Likewise.
31984 (struct test_f_l_data): Likewise.
31985 (struct test_f_L_data): Likewise.
31986 (struct test_sincos_data): Likewise.
31987 (RUN_TEST_f_f): Do not handle ulps.
31988 (RUN_TEST_LOOP_f_f): Likewise.
31989 (RUN_TEST_2_f): Likewise.
31990 (RUN_TEST_LOOP_2_f): Likewise.
31991 (RUN_TEST_fff_f): Likewise.
31992 (RUN_TEST_LOOP_fff_f): Likewise.
31993 (RUN_TEST_c_f): Likewise.
31994 (RUN_TEST_LOOP_c_f): Likewise.
31995 (RUN_TEST_f_f1): Likewise.
31996 (RUN_TEST_LOOP_f_f1): Likewise.
31997 (RUN_TEST_fF_f1): Likewise.
31998 (RUN_TEST_LOOP_fF_f1): Likewise.
31999 (RUN_TEST_fI_f1): Likewise.
32000 (RUN_TEST_LOOP_fI_f1): Likewise.
32001 (RUN_TEST_ffI_f1): Likewise.
32002 (RUN_TEST_LOOP_ffI_f1): Likewise.
32003 (RUN_TEST_c_c): Likewise.
32004 (RUN_TEST_LOOP_c_c): Likewise.
32005 (RUN_TEST_cc_c): Likewise.
32006 (RUN_TEST_LOOP_cc_c): Likewise.
32007 (RUN_TEST_f_i): Likewise.
32008 (RUN_TEST_LOOP_f_i): Likewise.
32009 (RUN_TEST_f_i_tg): Likewise.
32010 (RUN_TEST_LOOP_f_i_tg): Likewise.
32011 (RUN_TEST_ff_i_tg): Likewise.
32012 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32013 (RUN_TEST_f_b): Likewise.
32014 (RUN_TEST_LOOP_f_b): Likewise.
32015 (RUN_TEST_f_b_tg): Likewise.
32016 (RUN_TEST_LOOP_f_b_tg): Likewise.
32017 (RUN_TEST_f_l): Likewise.
32018 (RUN_TEST_LOOP_f_l): Likewise.
32019 (RUN_TEST_f_L): Likewise.
32020 (RUN_TEST_LOOP_f_L): Likewise.
32021 (RUN_TEST_sincos): Likewise.
32022 (RUN_TEST_LOOP_sincos): Likewise.
32024 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32028 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32029 main case of finite arguments, set rounding mode to FE_TONEAREST
32030 and discard exceptions.
32031 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32033 (remainder_tonearest_test_data): New variable.
32034 (remainder_test_tonearest): New function.
32035 (remainder_towardzero_test_data): New variable.
32036 (remainder_test_towardzero): New function.
32037 (remainder_downward_test_data): New variable.
32038 (remainder_test_downward): New function.
32039 (remainder_upward_test_data): New variable.
32040 (remainder_test_upward): New function.
32041 (main): Call the new test functions.
32043 * math/libm-test.inc (struct test_f_f1_data): Remove field
32045 (struct test_fF_f1_data): Likewise.
32046 (struct test_ffI_f1_data): Likewise.
32047 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32048 based on value of EXTRA_EXPECTED.
32049 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32050 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32051 EXTRA_VAR based on value of EXTRA_EXPECTED.
32052 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32053 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32054 EXTRA_VAR based on value of EXTRA_EXPECTED.
32055 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32056 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32057 EXTRA_VAR based on value of EXTRA_EXPECTED.
32058 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32059 * math/gen-libm-test.pl (parse_args): Don't output initializers
32060 for extra output values.
32062 * math/libm-test.inc (check_int): Expect result to be exactly
32063 equal to expected value and do not handle ulps.
32064 (check_long): Likewise.
32065 (check_longlong): Likewise.
32067 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32069 (cimag_test_data): Likewise.
32070 (conj_test_data): Likewise.
32071 (copysign_test_data): Likewise.
32072 (cproj_test_data): Likewise.
32073 (creal_test_data): Likewise.
32074 (fabs_test_data): Likewise.
32075 (fdim_test_data): Likewise.
32076 (finite_test_data): Likewise.
32077 (floor_test_data): Likewise.
32078 (fmax_test_data): Likewise.
32079 (fmin_test_data): Likewise.
32080 (fmod_test_data): Likewise.
32081 (fpclassify_test_data): Likewise.
32082 (frexp_test_data): Likewise.
32083 (ilogb_test_data): Likewise.
32084 (isfinite_test_data): Likewise.
32085 (isgreater_test_data): Likewise.
32086 (isgreaterequal_test_data): Likewise.
32087 (isinf_test_data): Likewise.
32088 (isless_test_data): Likewise.
32089 (islessequal_test_data): Likewise.
32090 (islessgreater_test_data): Likewise.
32091 (isnan_test_data): Likewise.
32092 (isnormal_test_data): Likewise.
32093 (issignaling_test_data): Likewise.
32094 (isunordered_test_data): Likewise.
32095 (ldexp_test_data): Likewise.
32096 (lrint_test_data): Likewise.
32097 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32098 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32099 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32100 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32101 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32102 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32104 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32105 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32106 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32107 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32109 (lrint_downward_test_data): Test for "inexact" exceptions.
32110 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32111 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32112 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32114 (lrint_upward_test_data): Test for "inexact" exceptions.
32115 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32117 (llrint_test_data): Test for "inexact" exceptions.
32118 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32119 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32120 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32121 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32122 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32123 (llrint_downward_test_data): Test for "inexact" exceptions.
32124 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32125 (llrint_upward_test_data): Test for "inexact" exceptions.
32126 (logb_test_data): Likewise.
32127 (logb_downward_test_data): Likewise.
32128 (nextafter_test_data): Likewise.
32129 (nexttoward_test_data): Likewise.
32130 (remainder_test_data): Likewise.
32131 (remquo_test_data): Likewise.
32132 (scalbn_test_data): Likewise.
32133 (scalbln_test_data): Likewise.
32134 (signbit_test_data): Likewise.
32135 (sqrt_test_data): Likewise.
32136 (significand_test_data): Likewise.
32138 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32141 * benchtests/bench-modf.c (struct args): Mark arg0 as
32143 * scripts/bench.pl: Mark members of struct args as volatile.
32145 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32148 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32149 negative infinity on POWER6 or lower.
32150 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32152 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32155 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32156 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32157 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32158 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32159 (_FP_SETQNAN): New macro.
32160 (_FP_SETQNAN_SEMIRAW): Likewise.
32161 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32162 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32163 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32164 (FP_EXTEND): Use _FP_FRAC_SNANP.
32165 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32166 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32168 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32173 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32175 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32176 with DIVIDE_BY_ZERO_EXCEPTION.
32177 (gamma_test_data): Likewise.
32178 (lgamma_test_data): Likewise.
32179 (log_test_data): Likewise.
32180 (log10_test_data): Likewise.
32181 (log2_test_data): Likewise.
32182 (tgamma_test_data): Likewise.
32184 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32185 (acos_test_tonearest): Likewise.
32186 (acos_test_towardzero): Likewise.
32187 (acos_test_downward): Likewise.
32188 (acos_test_upward): Likewise.
32189 (acosh_test): Likewise.
32190 (asin_test): Likewise.
32191 (asin_test_tonearest): Likewise.
32192 (asin_test_towardzero): Likewise.
32193 (asin_test_downward): Likewise.
32194 (asin_test_upward): Likewise.
32195 (asinh_test): Likewise.
32196 (atan_test): Likewise.
32197 (atanh_test): Likewise.
32198 (atan2_test): Likewise.
32199 (cabs_test): Likewise.
32200 (cacos_test): Likewise.
32201 (cacosh_test): Likewise.
32202 (casin_test): Likewise.
32203 (casinh_test): Likewise.
32204 (catan_test): Likewise.
32205 (catanh_test): Likewise.
32206 (cbrt_test): Likewise.
32207 (ccos_test): Likewise.
32208 (ccosh_test): Likewise.
32209 (cexp_test): Likewise.
32210 (clog_test): Likewise.
32211 (clog10_test): Likewise.
32212 (cos_test): Likewise.
32213 (cos_test_tonearest): Likewise.
32214 (cos_test_towardzero): Likewise.
32215 (cos_test_downward): Likewise.
32216 (cos_test_upward): Likewise.
32217 (cosh_test): Likewise.
32218 (cosh_test_tonearest): Likewise.
32219 (cosh_test_towardzero): Likewise.
32220 (cosh_test_downward): Likewise.
32221 (cosh_test_upward): Likewise.
32222 (cpow_test): Likewise.
32223 (csin_test): Likewise.
32224 (csinh_test): Likewise.
32225 (csqrt_test): Likewise.
32226 (ctan_test): Likewise.
32227 (ctan_test_tonearest): Likewise.
32228 (ctan_test_towardzero): Likewise.
32229 (ctan_test_downward): Likewise.
32230 (ctan_test_upward): Likewise.
32231 (ctanh_test): Likewise.
32232 (ctanh_test_tonearest): Likewise.
32233 (ctanh_test_towardzero): Likewise.
32234 (ctanh_test_downward): Likewise.
32235 (ctanh_test_upward): Likewise.
32236 (erf_test): Likewise.
32237 (erfc_test): Likewise.
32238 (exp_test): Likewise.
32239 (exp_test_tonearest): Likewise.
32240 (exp_test_towardzero): Likewise.
32241 (exp_test_downward): Likewise.
32242 (exp_test_upward): Likewise.
32243 (exp10_test): Likewise.
32244 (exp2_test): Likewise.
32245 (expm1_test): Likewise.
32246 (fmod_test): Likewise.
32247 (gamma_test): Likewise.
32248 (hypot_test): Likewise.
32249 (j0_test): Likewise.
32250 (j1_test): Likewise.
32251 (jn_test): Likewise.
32252 (lgamma_test): Likewise.
32253 (log_test): Likewise.
32254 (log10_test): Likewise.
32255 (log1p_test): Likewise.
32256 (log2_test): Likewise.
32257 (logb_test_downward): Likewise.
32258 (pow_test): Likewise.
32259 (pow_test_tonearest): Likewise.
32260 (pow_test_towardzero): Likewise.
32261 (pow_test_downward): Likewise.
32262 (pow_test_upward): Likewise.
32263 (remainder_test): Likewise.
32264 (remquo_test): Likewise.
32265 (sin_test): Likewise.
32266 (sin_test_tonearest): Likewise.
32267 (sin_test_towardzero): Likewise.
32268 (sin_test_downward): Likewise.
32269 (sin_test_upward): Likewise.
32270 (sincos_test): Likewise.
32271 (sinh_test): Likewise.
32272 (sinh_test_tonearest): Likewise.
32273 (sinh_test_towardzero): Likewise.
32274 (sinh_test_downward): Likewise.
32275 (sinh_test_upward): Likewise.
32276 (sqrt_test): Likewise.
32277 (tan_test): Likewise.
32278 (tan_test_tonearest): Likewise.
32279 (tan_test_towardzero): Likewise.
32280 (tan_test_downward): Likewise.
32281 (tan_test_upward): Likewise.
32282 (tanh_test): Likewise.
32283 (tgamma_test): Likewise.
32284 (y0_test): Likewise.
32285 (y1_test): Likewise.
32286 (yn_test): Likewise.
32288 * math/gen-libm-test.pl (adjust_arg): Remove function.
32289 (special_function): Remove argument $in_func. Only handle
32290 generating output for tables of tests, not inside functions.
32291 (parse_args): Likewise.
32292 (generate_testfile): Remove variable $in_func. Update call to
32294 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32295 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32296 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32297 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32298 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32299 (MAX_VALUE_INIT): Rename macro to max_value.
32300 (MIN_VALUE_INIT): Rename macro to min_value.
32301 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32302 (plus_zero): Remove variable.
32303 (minus_zero): Likewise.
32304 (plus_infty): Likewise.
32305 (minus_infty): Likewise.
32306 (qnan_value): Likewise.
32307 (max_value): Likewise.
32308 (min_value): Likewise.
32309 (min_subnorm_value): Likewise.
32311 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32313 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32314 uint64_t or uint32_t usage.
32315 * crypt/sha256-block.c: Likewise.
32316 * crypt/sha256-crypt.c: Likewise.
32317 * crypt/sha256.c: Likewise.
32318 * crypt/sha512-block.c: Likewise.
32319 * crypt/sha512-crypt.c: Likewise.
32320 * crypt/sha512.c: Likewise.
32321 * debug/backtrace-tst.c: Likewise.
32322 * debug/pcprofiledump.c: Likewise.
32323 * elf/cache.c: Likewise.
32324 * elf/dl-cache.c: Likewise.
32325 * elf/dl-misc.c: Likewise.
32326 * elf/dl-profile.c: Likewise.
32327 * elf/dl-support.c: Likewise.
32328 * elf/ldconfig.c: Likewise.
32329 * elf/sprof.c: Likewise.
32330 * iconv/dummy-repertoire.c: Likewise.
32331 * iconv/iconv_charmap.c: Likewise.
32332 * iconv/skeleton.c: Likewise.
32333 * iconvdata/8bit-generic.c: Likewise.
32334 * iconvdata/cp737.h: Likewise.
32335 * iconvdata/cp775.h: Likewise.
32336 * iconvdata/ibm1008.h: Likewise.
32337 * iconvdata/ibm1025.h: Likewise.
32338 * iconvdata/ibm1046.h: Likewise.
32339 * iconvdata/ibm1097.h: Likewise.
32340 * iconvdata/ibm1112.h: Likewise.
32341 * iconvdata/ibm1122.h: Likewise.
32342 * iconvdata/ibm1123.h: Likewise.
32343 * iconvdata/ibm1124.h: Likewise.
32344 * iconvdata/ibm1129.h: Likewise.
32345 * iconvdata/ibm1130.h: Likewise.
32346 * iconvdata/ibm1132.h: Likewise.
32347 * iconvdata/ibm1133.h: Likewise.
32348 * iconvdata/ibm1137.h: Likewise.
32349 * iconvdata/ibm1140.h: Likewise.
32350 * iconvdata/ibm1141.h: Likewise.
32351 * iconvdata/ibm1142.h: Likewise.
32352 * iconvdata/ibm1143.h: Likewise.
32353 * iconvdata/ibm1144.h: Likewise.
32354 * iconvdata/ibm1145.h: Likewise.
32355 * iconvdata/ibm1146.h: Likewise.
32356 * iconvdata/ibm1147.h: Likewise.
32357 * iconvdata/ibm1148.h: Likewise.
32358 * iconvdata/ibm1149.h: Likewise.
32359 * iconvdata/ibm1153.h: Likewise.
32360 * iconvdata/ibm1154.h: Likewise.
32361 * iconvdata/ibm1155.h: Likewise.
32362 * iconvdata/ibm1156.h: Likewise.
32363 * iconvdata/ibm1157.h: Likewise.
32364 * iconvdata/ibm1158.h: Likewise.
32365 * iconvdata/ibm1160.h: Likewise.
32366 * iconvdata/ibm1161.h: Likewise.
32367 * iconvdata/ibm1162.h: Likewise.
32368 * iconvdata/ibm1163.h: Likewise.
32369 * iconvdata/ibm1164.h: Likewise.
32370 * iconvdata/ibm1166.h: Likewise.
32371 * iconvdata/ibm1167.h: Likewise.
32372 * iconvdata/ibm12712.h: Likewise.
32373 * iconvdata/ibm1390.h: Likewise.
32374 * iconvdata/ibm1399.h: Likewise.
32375 * iconvdata/ibm16804.h: Likewise.
32376 * iconvdata/ibm4517.h: Likewise.
32377 * iconvdata/ibm4899.h: Likewise.
32378 * iconvdata/ibm4909.h: Likewise.
32379 * iconvdata/ibm4971.h: Likewise.
32380 * iconvdata/ibm5347.h: Likewise.
32381 * iconvdata/ibm803.h: Likewise.
32382 * iconvdata/ibm856.h: Likewise.
32383 * iconvdata/ibm901.h: Likewise.
32384 * iconvdata/ibm902.h: Likewise.
32385 * iconvdata/ibm9030.h: Likewise.
32386 * iconvdata/ibm9066.h: Likewise.
32387 * iconvdata/ibm921.h: Likewise.
32388 * iconvdata/ibm922.h: Likewise.
32389 * iconvdata/ibm9448.h: Likewise.
32390 * iconvdata/isiri-3342.h: Likewise.
32391 * iconvdata/jis0201.h: Likewise.
32392 * include/link.h: Likewise.
32393 * include/netdb.h: Likewise.
32394 * inet/check_native.c: Likewise.
32395 * inet/check_pf.c: Likewise.
32396 * inet/getipv4sourcefilter.c: Likewise.
32397 * inet/getnameinfo.c: Likewise.
32398 * inet/getsourcefilter.c: Likewise.
32399 * inet/htonl.c: Likewise.
32400 * inet/setipv4sourcefilter.c: Likewise.
32401 * inet/setsourcefilter.c: Likewise.
32402 * inet/test-inet6_opt.c: Likewise.
32403 * inet/tst-network.c: Likewise.
32404 * locale/C-collate.c: Likewise.
32405 * locale/C-ctype.c: Likewise.
32406 * locale/C-time.c: Likewise.
32407 * locale/C-translit.h: Likewise.
32408 * locale/loadarchive.c: Likewise.
32409 * locale/programs/3level.h: Likewise.
32410 * locale/programs/charmap.c: Likewise.
32411 * locale/programs/charmap.h: Likewise.
32412 * locale/programs/ld-address.c: Likewise.
32413 * locale/programs/ld-collate.c: Likewise.
32414 * locale/programs/ld-ctype.c: Likewise.
32415 * locale/programs/ld-identification.c: Likewise.
32416 * locale/programs/ld-measurement.c: Likewise.
32417 * locale/programs/ld-messages.c: Likewise.
32418 * locale/programs/ld-monetary.c: Likewise.
32419 * locale/programs/ld-name.c: Likewise.
32420 * locale/programs/ld-numeric.c: Likewise.
32421 * locale/programs/ld-paper.c: Likewise.
32422 * locale/programs/ld-telephone.c: Likewise.
32423 * locale/programs/ld-time.c: Likewise.
32424 * locale/programs/linereader.c: Likewise.
32425 * locale/programs/locale.c: Likewise.
32426 * locale/programs/locarchive.c: Likewise.
32427 * locale/programs/locfile.h: Likewise.
32428 * locale/programs/repertoire.c: Likewise.
32429 * locale/programs/simple-hash.c: Likewise.
32430 * locale/programs/simple-hash.h: Likewise.
32431 * malloc/memusage.c: Likewise.
32432 * malloc/memusagestat.c: Likewise.
32433 * nis/nis_defaults.c: Likewise.
32434 * nis/nis_hash.c: Likewise.
32435 * nis/nis_print.c: Likewise.
32436 * nis/nis_xdr.c: Likewise.
32437 * nscd/connections.c: Likewise.
32438 * nscd/hstcache.c: Likewise.
32439 * nscd/nscd_gethst_r.c: Likewise.
32440 * nscd/nscd_getserv_r.c: Likewise.
32441 * nscd/nscd_helper.c: Likewise.
32442 * nscd/servicescache.c: Likewise.
32443 * nss/makedb.c: Likewise.
32444 * nss/nss_db/db-XXX.c: Likewise.
32445 * nss/nss_db/db-initgroups.c: Likewise.
32446 * nss/nss_db/db-netgrp.c: Likewise.
32447 * nss/nss_files/files-network.c: Likewise.
32448 * nss/nss_files/files-parse.c: Likewise.
32449 * posix/bug-regex5.c: Likewise.
32450 * posix/fnmatch_loop.c: Likewise.
32451 * posix/regcomp.c: Likewise.
32452 * posix/regexec.c: Likewise.
32453 * posix/tst-rfc3484-2.c: Likewise.
32454 * posix/tst-rfc3484-3.c: Likewise.
32455 * posix/tst-rfc3484.c: Likewise.
32456 * resolv/nss_dns/dns-canon.c: Likewise.
32457 * resolv/nss_dns/dns-network.c: Likewise.
32458 * resolv/res_init.c: Likewise.
32459 * resolv/res_mkquery.c: Likewise.
32460 * resolv/tst-aton.c: Likewise.
32461 * stdlib/cxa_atexit.c: Likewise.
32462 * stdlib/cxa_finalize.c: Likewise.
32463 * stdlib/gen-fpioconst.c: Likewise.
32464 * stdlib/strtol_l.c: Likewise.
32465 * string/tst-endian.c: Likewise.
32466 * sunrpc/auth_des.c: Likewise.
32467 * sunrpc/clnt_udp.c: Likewise.
32468 * sunrpc/rtime.c: Likewise.
32469 * sunrpc/svcauth_des.c: Likewise.
32470 * sunrpc/xdr.c: Likewise.
32471 * sunrpc/xdr_intXX_t.c: Likewise.
32472 * sunrpc/xdr_rec.c: Likewise.
32473 * sysdeps/generic/ldconfig.h: Likewise.
32474 * sysdeps/generic/ldsodefs.h: Likewise.
32475 * sysdeps/generic/memusage.h: Likewise.
32476 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32478 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32479 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32486 * sysdeps/posix/getaddrinfo.c: Likewise.
32487 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32488 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32489 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32490 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32491 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32492 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32493 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32494 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32495 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32496 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32497 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32498 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32499 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32500 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32501 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32502 * sysdeps/x86_64/dl-tls.h: Likewise.
32503 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32504 * time/alt_digit.c: Likewise.
32505 * time/era.c: Likewise.
32506 * wcsmbs/tst-c16c32-1.c: Likewise.
32508 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32510 * math/libm-test.inc (struct test_sincos_data): New type.
32511 (RUN_TEST_LOOP_sincos): New macro.
32512 (sincos_test_data): New variable.
32513 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32515 2013-05-16 Richard Henderson <rth@redhat.com>
32517 * math/atest-exp2.c (LIMB64): New macro.
32518 (CONSTSZ): New macro.
32519 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32521 (print_mpn_fp): ... to function scope.
32522 (read_mpn_hex): Remove.
32523 (get_log2): Remove.
32524 (exp2_mpn): Use mp_log2.
32525 (main): Use mp_exp1.
32527 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32529 * math/libm-test.inc: Remove comment about not testing "inexact"
32531 (INEXACT_EXCEPTION): New macro.
32532 (NO_INEXACT_EXCEPTION): Likewise.
32533 (INVALID_EXCEPTION_OK): Update value.
32534 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32535 (OVERFLOW_EXCEPTION_OK): Likewise.
32536 (UNDERFLOW_EXCEPTION_OK): Likewise.
32537 (IGNORE_ZERO_INF_SIGN): Likewise.
32538 (ERRNO_UNCHANGED): Likewise.
32539 (ERRNO_EDOM): Likewise.
32540 (ERRNO_ERANGE): Likewise.
32541 (test_exceptions): Handle testing "inexact" exceptions.
32542 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32543 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32544 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32545 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32547 (rint_towardzero_test_data): Likewise.
32548 (rint_downward_test_data): Likewise.
32549 (rint_upward_test_data): Likewise.
32551 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32552 with OVERFLOW_EXCEPTION.
32553 (exp10_test_data): Likewise.
32554 (exp2_test_data): Likewise.
32555 (expm1_test_data): Likewise.
32556 (lgamma_test_data): Likewise.
32557 (pow_test_data): Likewise.
32558 (tgamma_test_data): Likewise.
32559 (yn_test_data): Remove duplicate test of overflow.
32561 * math/libm-test.inc (struct test_cc_c_data): New type.
32562 (RUN_TEST_LOOP_cc_c): New macro.
32563 (cpow_test_data): New variable.
32564 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32566 * math/libm-test.inc (struct test_f_L_data): New type.
32567 (RUN_TEST_LOOP_f_L): New macro.
32568 (llrint_test_data): New variable.
32569 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32570 (llrint_tonearest_test_data): New variable.
32571 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32572 (llrint_towardzero_test_data): New variable.
32573 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32574 (llrint_downward_test_data): New variable.
32575 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32576 (llrint_upward_test_data): New variable.
32577 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32578 (llround_test_data): New variable.
32579 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32581 2013-05-13 Peter Collingbourne <pcc@google.com>
32583 * math/atest-exp2.c (get_log2): Remove const attribute.
32585 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32587 * math/libm-test.inc (struct test_f_l_data): New type.
32588 (RUN_TEST_LOOP_f_l): New macro.
32589 (lrint_test_data): New variable.
32590 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32591 (lrint_tonearest_test_data): New variable.
32592 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32593 (lrint_towardzero_test_data): New variable.
32594 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32595 (lrint_downward_test_data): New variable.
32596 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32597 (lrint_upward_test_data): New variable.
32598 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32599 (lround_test_data): New variable.
32600 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32602 2013-05-15 Peter Collingbourne <pcc@google.com>
32604 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32605 (EXTRACT_WORDS64) Use where appropriate.
32606 (INSERT_WORDS64) Likewise.
32608 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32609 constraints with x constraints.
32610 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32612 * malloc/obstack.c (_obstack_compat): Add initializer.
32614 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32616 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32617 si_trapno and add si_addr_lsb to _sifields.sigfault.
32618 (si_trapno): Remove macro.
32619 (si_addr_lsb): Define new macro.
32620 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32622 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32624 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32625 instead of TEST_f_l.
32626 (llrint_test_tonearest): Likewise.
32627 (llrint_test_towardzero): Likewise.
32628 (llrint_test_downward): Likewise.
32629 (llrint_test_upward): Likewise.
32630 (llround_test): Likewise.
32632 * math/libm-test.inc (struct test_f_i_data): Add comment.
32633 (RUN_TEST_LOOP_f_b): New macro.
32634 (RUN_TEST_LOOP_f_b_tg): Likewise.
32635 (finite_test_data): New variable.
32636 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32637 (isfinite_test_data): New variable.
32638 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32639 (isinf_test_data): New variable.
32640 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32641 (isnan_test_data): New variable.
32642 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32643 (isnormal_test_data): New variable.
32644 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32645 (issignaling_test_data): New variable.
32646 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32647 (signbit_test_data): New variable.
32648 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32650 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32651 with INVALID_EXCEPTION.
32652 (acosh_test_data): Likewise.
32653 (asin_test_data): Likewise.
32654 (atanh_test_data): Likewise.
32655 (fmod_test_data): Likewise.
32656 (log_test_data): Likewise.
32657 (log10_test_data): Likewise.
32658 (log2_test_data): Likewise.
32659 (pow_test_data): Likewise.
32660 (sqrt_test_data): Likewise.
32661 (y0_test_data): Likewise.
32662 (y1_test_data): Likewise.
32663 (yn_test_data): Likewise.
32665 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32668 * math/libm-test.inc (struct test_ff_i_data): New type.
32669 (RUN_TEST_LOOP_ff_i_tg): New macro.
32670 (isgreater_test_data): New variable.
32671 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32672 (isgreaterequal_test_data): New variable.
32673 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32674 (isless_test_data): New variable.
32675 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32676 (islessequal_test_data): New variable.
32677 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32678 (islessgreater_test_data): New variable.
32679 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32680 (isunordered_test_data): New variable.
32681 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32683 2013-05-14 David S. Miller <davem@davemloft.net>
32685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32687 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32689 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32691 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32693 (struct test_f_i_data): Change type of max_ulp to int.
32695 * math/libm-test.inc (test_ffI_f1_data): New type.
32696 (RUN_TEST_LOOP_ffI_f1): New macro.
32697 (remquo_test_data): New variable.
32698 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32700 * setjmp/tst-setjmp-fp.c: New file.
32701 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32702 (link-libm): New variable.
32703 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32705 * math/libm-test.inc (struct test_f_i_data): New type.
32706 (RUN_TEST_LOOP_f_i): New macro.
32707 (RUN_TEST_LOOP_f_i_tg): Likewise.
32708 (fpclassify_test_data): New variable.
32709 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32710 (ilogb_test_data): New variable.
32711 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32713 * math/libm-test.inc (scalbln_test): Correct function name in END
32716 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32717 (RUN_TEST_LOOP_fI_f1): New macro.
32718 (frexp_test_data): New variable.
32719 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32721 * math/libm-test.inc (struct test_fF_f1_data): New type.
32722 (RUN_TEST_LOOP_fF_f1): New macro.
32723 (modf_test_data): New variable.
32724 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32726 * math/libm-test.inc (struct test_f_f1_data): New type.
32727 (RUN_TEST_LOOP_f_f1): New macro.
32728 (gamma_test_data): New variable.
32729 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32730 (lgamma_test_data): New variable.
32731 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32733 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32735 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32736 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32737 (main): Comment "tls" pseudo-hwcap.
32739 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32741 * math/libm-test.inc (struct test_fl_f_data): New type.
32742 (RUN_TEST_LOOP_fl_f): New variable.
32743 (scalbln_test_data): New variable.
32744 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32746 * math/libm-test.inc (struct test_fi_f_data): New type.
32747 (RUN_TEST_LOOP_fi_f): New macro.
32748 (ldexp_test_data): New variable.
32749 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32750 (scalbn_test_data): New variable.
32751 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32753 * math/libm-test.inc (struct test_c_f_data): New type.
32754 (RUN_TEST_LOOP_c_f): New macro.
32755 (cabs_test_data): New variable.
32756 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32757 (carg_test_data): New variable.
32758 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32759 (cimag_test_data): New variable.
32760 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32761 (creal_test_data): New variable.
32762 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32764 * math/libm-test.inc (struct test_if_f_data): New type.
32765 (RUN_TEST_LOOP_if_f): New macro.
32766 (jn_test_data): New variable.
32767 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32768 (yn_test_data): New variable.
32769 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32771 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32773 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32775 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32776 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32778 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32780 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32781 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32782 (bench-deps): Add bench-timing.h.
32783 * benchtests-bench-skeleton.c: Include bench-timing.h.
32784 (main): Use TIMING_* macros instead of clock_gettime.
32785 * benchtests/bench-timing.h: New file.
32788 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32789 Renamed from _LIB_VERSION.
32790 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32792 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32794 * math/libm-test.inc (struct test_fff_f_data): New type.
32795 (RUN_TEST_LOOP_fff_f): New macro.
32796 (fma_test_data): New variable.
32797 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32798 (fma_towardzero_test_data): New variable.
32799 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32800 (fma_downward_test_data): New variable.
32801 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32802 (fma_upward_test_data): New variable.
32803 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32805 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32806 (struct test_c_c_data): New type.
32807 (RUN_TEST_LOOP_c_c): New macro.
32808 (cacos_test_data): New variable.
32809 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32810 (cacosh_test_data): New variable.
32811 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32812 (casin_test_data): New variable.
32813 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32814 (casinh_test_data): New variable.
32815 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32816 (catan_test_data): New variable.
32817 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32818 (catanh_test_data): New variable.
32819 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32820 (ccos_test_data): New variable.
32821 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32822 (ccosh_test_data): New variable.
32823 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32824 (cexp_test_data): New variable.
32825 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32826 (clog_test_data): New variable.
32827 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32828 (clog10_test_data): New variable.
32829 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32830 (conj_test_data): New variable.
32831 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32832 (cproj_test_data): New variable.
32833 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32834 (csin_test_data): New variable.
32835 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32836 (csinh_test_data): New variable.
32837 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32838 (csqrt_test_data): New variable.
32839 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32840 (ctan_test_data): New variable.
32841 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32842 (ctan_tonearest_test_data): New variable.
32843 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32844 (ctan_towardzero_test_data): New variable.
32845 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32846 (ctan_downward_test_data): New variable.
32847 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32848 (ctan_upward_test_data): New variable.
32849 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32850 (ctanh_test_data): New variable.
32851 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32852 (ctanh_tonearest_test_data): New variable.
32853 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32854 (ctanh_towardzero_test_data): New variable.
32855 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32856 (ctanh_downward_test_data): New variable.
32857 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32858 (ctanh_upward_test_data): New variable.
32859 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32860 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32863 * math/libm-test.inc (struct test_ff_f_data): New type.
32864 (struct test_ff_f_data_nexttoward): Likewise.
32865 (RUN_TEST_LOOP_2_f): New macro.
32866 (RUN_TEST_LOOP_ff_f): Likewise.
32867 (atan2_test_data): New variable.
32868 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32869 (copysign_test_data): New variable.
32870 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32871 (fdim_test_data): New variable.
32872 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32873 (fmax_test_data): New variable.
32874 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32875 (fmin_test_data): New variable.
32876 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32877 (fmod_test_data): New variable.
32878 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32879 (hypot_test_data): New variable.
32880 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32881 (nextafter_test_data): New variable.
32882 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32883 (nexttoward_test_data): New variable.
32884 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32885 (pow_test_data): New variable.
32886 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32887 (pow_tonearest_test_data): New variable.
32888 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32889 (pow_towardzero_test_data): New variable.
32890 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32891 (pow_downward_test_data): New variable.
32892 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32893 (pow_upward_test_data): New variable.
32894 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32895 (remainder_test_data): New variable.
32896 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32897 (scalb_test_data): New variable.
32898 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32899 * sysdeps/i386/fpu/libm-test-ulps: Update.
32901 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32903 * math/libm-test.inc (fma_test): Use max_value instead of local
32905 (nextafter_test): Likewise.
32907 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32908 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32909 (acos_downward_test_data): New variable.
32910 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32911 (acos_upward_test_data): New variable.
32912 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32913 (acosh_test_data): New variable.
32914 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32915 (asin_test_data): New variable.
32916 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32917 (asin_tonearest_test_data): New variable.
32918 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32919 (asin_towardzero_test_data): New variable.
32920 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32921 (asin_downward_test_data): New variable.
32922 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32923 (asin_upward_test_data): New variable.
32924 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32925 (asinh_test_data): New variable.
32926 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32927 (atan_test_data): New variable.
32928 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32929 (atanh_test_data): New variable.
32930 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32931 (cbrt_test_data): New variable.
32932 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32933 (ceil_test_data): New variable.
32934 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32935 (cos_test_data): New variable.
32936 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32937 (cos_tonearest_test_data): New variable.
32938 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32939 (cos_towardzero_test_data): New variable.
32940 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32941 (cos_downward_test_data): New variable.
32942 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32943 (cos_upward_test_data): New variable.
32944 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32945 (cosh_test_data): New variable.
32946 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32947 (cosh_tonearest_test_data): New variable.
32948 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32949 (cosh_towardzero_test_data): New variable.
32950 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32951 (cosh_downward_test_data): New variable.
32952 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32953 (cosh_upward_test_data): New variable.
32954 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32955 (erf_test_data): New variable.
32956 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32957 (erfc_test_data): New variable.
32958 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32959 (exp_test_data): New variable.
32960 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32961 (exp_tonearest_test_data): New variable.
32962 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32963 (exp_towardzero_test_data): New variable.
32964 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32965 (exp_downward_test_data): New variable.
32966 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32967 (exp_upward_test_data): New variable.
32968 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32969 (exp10_test_data): New variable.
32970 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32971 (exp2_test_data): New variable.
32972 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32973 (expm1_test_data): New variable.
32974 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32975 (fabs_test_data): New variable.
32976 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32977 (floor_test_data): New variable.
32978 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32979 (j0_test_data): New variable.
32980 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32981 (j1_test_data): New variable.
32982 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32983 (log_test_data): New variable.
32984 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32985 (log10_test_data): New variable.
32986 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32987 (log1p_test_data): New variable.
32988 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32989 (log2_test_data): New variable.
32990 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32991 (logb_test_data): New variable.
32992 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32993 (logb_downward_test_data): New variable.
32994 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32995 (nearbyint_test_data): New variable.
32996 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32997 (rint_test_data): New variable.
32998 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32999 (rint_tonearest_test_data): New variable.
33000 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33001 (rint_towardzero_test_data): New variable.
33002 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33003 (rint_downward_test_data): New variable.
33004 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33005 (rint_upward_test_data): New variable.
33006 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33007 (round_test_data): New variable.
33008 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33009 (sin_test_data): New variable.
33010 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33011 (sin_tonearest_test_data): New variable.
33012 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33013 (sin_towardzero_test_data): New variable.
33014 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33015 (sin_downward_test_data): New variable.
33016 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33017 (sin_upward_test_data): New variable.
33018 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33019 (sinh_test_data): New variable.
33020 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33021 (sinh_tonearest_test_data): New variable.
33022 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33023 (sinh_towardzero_test_data): New variable.
33024 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33025 (sinh_downward_test_data): New variable.
33026 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33027 (sinh_upward_test_data): New variable.
33028 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33029 (sqrt_test_data): New variable.
33030 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33031 (tan_test_data): New variable.
33032 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33033 (tan_tonearest_test_data): New variable.
33034 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33035 (tan_towardzero_test_data): New variable.
33036 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33037 (tan_downward_test_data): New variable.
33038 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33039 (tan_upward_test_data): New variable.
33040 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33041 (tanh_test_data): New variable.
33042 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33043 (tgamma_test_data): New variable.
33044 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33045 (trunc_test_data): New variable.
33046 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33047 (y0_test_data): New variable.
33048 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33049 (y1_test_data): New variable.
33050 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33051 (significand_test_data): New variable.
33052 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33054 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33057 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33059 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33061 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33063 2013-05-10 Andreas Jaeger <aj@suse.de>
33066 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33067 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33069 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33071 * math/gen-libm-test.pl (adjust_arg): New function.
33072 (special_functions): Handle generating output in both functions
33074 (parse_args): Likewise.
33075 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33076 $in_func argument to parse_args.
33077 * math/libm-test.inc (struct test_f_f_data): New type.
33078 (IF_ROUND_INIT_): New macro.
33079 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33080 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33081 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33082 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33083 (ROUND_RESTORE_): Likewise.
33084 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33085 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33086 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33087 (ROUND_RESTORE_FE_UPWARD): Likewise.
33088 (RUN_TEST_LOOP_f_f): New macro.
33089 (acos_test_data): New variable.
33090 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33091 (acos_tonearest_test_data): New variable.
33092 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33094 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33096 * benchtests/bench-skeleton.c (startup): Fix coding style.
33098 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33101 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33102 negative infinity argument.
33103 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33104 negative infinity argument.
33105 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33106 negative infinity argument.
33107 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33110 2013-05-10 Florian Weimer <fweimer@redhat.com>
33112 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33113 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33114 * iconv/iconv_prog.c (main): Likewise.
33115 * locale/programs/charmap-dir.c (charmap_readdir)
33116 (fopen_uncompressed): Likewise.
33117 * locale/programs/locfile.c (siblings_uncached)
33118 (write_locale_data): Use lstat64 instead of lstat.
33119 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33122 2013-05-10 Andreas Jaeger <aj@suse.de>
33125 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33127 Include <locale.h>.
33129 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33131 * elf/dl-close.c (_dl_close_worker): Add comments.
33133 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33138 (__ieee754_rem_pio2l): Update comments.
33141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33143 (__ieee754_rem_pio2l): Update comments.
33145 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33146 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33148 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33151 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33152 (M_PI_34_LOG10El): Likewise.
33153 (M_PI2_LOG10El): Likewise.
33154 (M_PI4_LOG10El): Likewise.
33155 (M_PI_LOG10El): Likewise.
33157 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33161 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33163 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33164 (MINUS_ZERO_INIT): Likewise.
33165 (PLUS_INFTY_INIT): Likewise.
33166 (MINUS_INFTY_INIT): Likewise.
33167 (QNAN_VALUE_INIT): Likewise.
33168 (MAX_VALUE_INIT): Likewise.
33169 (MIN_VALUE_INIT): Likewise.
33170 (MIN_SUBNORM_VALUE_INIT): Likewise.
33171 (plus_zero): Initialize with PLUS_ZERO_INIT.
33172 (minus_zero): Initialize with MINUS_ZERO_INIT.
33173 (plus_infty): Initialize with PLUS_INFTY_INIT.
33174 (minus_infty): Initialize with MINUS_INFTY_INIT.
33175 (qnan_value): Initialize with QNAN_VALUE_INIT.
33176 (max_value): Initialize with MAX_VALUE_INIT.
33177 (min_value): Initialize with MIN_VALUE_INIT.
33178 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33180 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33181 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33182 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33183 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33185 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33186 (RUN_TEST_2_f): Likewise.
33187 (RUN_TEST_ff_f): Likewise.
33188 (RUN_TEST_fi_f): Likewise.
33189 (RUN_TEST_fl_f): Likewise.
33190 (RUN_TEST_fff_f): Likewise.
33191 (RUN_TEST_c_f): Likewise.
33192 (RUN_TEST_f_f1): Likewise.
33193 (RUN_TEST_fF_f1): Likewise.
33194 (RUN_TEST_fI_f1): Likewise.
33195 (RUN_TEST_ffI_f1): Likewise.
33196 (RUN_TEST_c_c): Likewise.
33197 (RUN_TEST_cc_c): Likewise.
33198 (RUN_TEST_f_i): Likewise.
33199 (RUN_TEST_f_i_tg): Likewise.
33200 (RUN_TEST_ff_i_tg): Likewise.
33201 (RUN_TEST_f_b): Likewise.
33202 (RUN_TEST_f_b_tg): Likewise.
33203 (RUN_TEST_f_l): Likewise.
33204 (RUN_TEST_f_L): Likewise.
33205 (RUN_TEST_sincos): Likewise.
33206 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33207 whether to show exceptions. Do not include ");\n" in return
33209 (special_functions): Output call to RUN_TEST_sincos instead of
33210 check_float calls. Update calls to new_test.
33211 (parse_args): Output call to single RUN_TEST_* macro instead of
33212 check_* calls and other assignments. Update calls to new_test.
33218 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33219 input to result for tgamma overflow.
33220 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33221 (gamma_coeff): New variable.
33222 (NCOEFF): New macro.
33223 (gamma_positive): New function.
33224 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33225 underflow here. Use gamma_positive instead of exp (lgamma) for
33227 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33228 (gamma_coeff): New variable.
33229 (NCOEFF): New macro.
33230 (gammaf_positive): New function.
33231 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33232 underflow here. Use gamma_positive instead of exp (lgamma) for
33234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33235 (gamma_coeff): New variable.
33236 (NCOEFF): New macro.
33237 (gammal_positive): New function.
33238 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33239 underflow here. Use gamma_positive instead of exp (lgamma) for
33241 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33242 (gamma_coeff): New variable.
33243 (NCOEFF): New macro.
33244 (gammal_positive): New function.
33245 (__ieee754_gammal_r): Handle positive infinity, overflow and
33246 underflow here. Handle NaN the same as positive infinity. Remove
33247 check x < 0xffffffff for negative integers. Use gamma_positive
33248 instead of exp (lgamma) for other arguments.
33249 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33250 (gamma_coeff): New variable.
33251 (NCOEFF): New macro.
33252 (gammal_positive): New function.
33253 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33254 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33255 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33259 * sysdeps/generic/math_private.h (__gamma_productf): New
33261 (__gamma_product): Likewise.
33262 (__gamma_productl): Likewise.
33263 * math/Makefile (libm-calls): Add gamma_product.
33264 * math/libm-test.inc (tgamma_test): Add more tests.
33265 * sysdeps/i386/fpu/libm-test-ulps: Update.
33266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33268 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33270 * benchtests/bench-skeleton.c (main): Preheat CPU.
33272 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33274 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33276 2013-05-07 Roland McGrath <roland@hack.frob.com>
33278 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33279 and _dl_skip_args_internal.
33281 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33283 * manual/message.texi (Message Translation): Talk about users.
33284 Message to key mapping impacts design.
33286 2013-05-06 Roland McGrath <roland@hack.frob.com>
33288 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33290 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33292 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33293 * sysdeps/wordsize-64/glob64.c: ... here.
33295 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33296 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33299 * debug/getlogin_r_chk.c: Moved to ...
33300 * login/getlogin_r_chk.c: ... here.
33301 * debug/Makefile (routines): Move getlogin_r_chk to ...
33302 * login/Makefile (routines): ... here.
33303 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33304 * login/Versions (libc: GLIBC_2.4): ... here.
33306 * io/poll.c (__poll): Renamed from poll.
33307 Add libc_hidden_def.
33308 (poll): Define as weak alias.
33310 * debug/ptsname_r_chk.c: Moved to ...
33311 * login/ptsname_r_chk.c: ... here.
33312 * debug/Makefile (routines): Move ptsname_r_chk to ...
33313 * login/Makefile (routines): ... here.
33314 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33315 * login/Versions (libc: GLIBC_2.4): ... here.
33317 * posix/getlogin.c: Moved to ...
33318 * login/getlogin.c: ... here.
33319 * posix/getlogin_r.c: Moved to ...
33320 * login/getlogin_r.c: ... here.
33321 * posix/getlogin_r.c: Moved to ...
33322 * login/getlogin_r.c: ... here.
33323 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33324 * login/Makefile (routines): ... here.
33325 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33326 * login/Versions (libc: GLIBC_2.0): ... here.
33328 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33329 (setrlimit): Define as weak alias.
33331 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33332 Call __ names for open, ftruncate, and close.
33333 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33334 (truncate): Define as weak alias.
33336 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33338 * math/gen-libm-test.pl (parse_args): Initialize x before each
33339 test of frexp, modf and remquo.
33341 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33342 test signgam value.
33344 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33348 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33352 2013-05-06 Roland McGrath <roland@hack.frob.com>
33354 * elf/dl-writev.h: New file.
33355 * elf/dl-misc.c: Include it.
33356 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33357 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33359 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33361 * math/libm-test.inc (noXFails): Remove variable.
33362 (noXPasses): Likewise.
33363 (BUILD_COMPLEX_INT): Remove macro.
33364 (print_screen): Remove xfail argument.
33365 (print_screen_max_error): Likewise.
33366 (update_stats): Likewise.
33367 (print_max_error): Likewise. Update calls to other affected
33369 (print_complex_max_error): Likewise.
33370 (test_single_exception): Update calls to print_screen.
33371 (test_single_errno): Likewise.
33372 (check_float_internal): Remove xfail argument. Update calls to
33373 other affected functions.
33374 (check_float): Likewise.
33375 (check_complex): Likewise.
33376 (check_int): Likewise.
33377 (check_long): Likewise.
33378 (check_bool): Likewise.
33379 (check_longlong): Likewise.
33380 (main): Don't print noXFails and noXPasses.
33381 * math/gen-libm-test.pl (top level): Don't mention expected
33382 failure handling in comment.
33383 (new_test): Don't handle expected failures.
33384 (parse_args): Don't mention expected failure handling in comment.
33385 (generate_testfile): Don't handle expected failures.
33386 (parse_ulps): Likewise.
33387 (print_ulps_file): Likewise.
33388 (get_failure): Remove function.
33389 (output_test): Don't handle expected failures.
33390 * make/README.libm-test: Don't mention expected failure handling.
33392 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33393 (minus_zero): Likewise.
33394 (plus_infty): Likewise.
33395 (minus_infty): Likewise.
33396 (qnan_value): Likewise.
33397 (max_value): Likewise.
33398 (min_value): Likewise.
33399 (min_subnorm_value): Likewise.
33400 (initialize): Do not initialize those variables dynamically.
33402 2013-05-03 Roland McGrath <roland@hack.frob.com>
33404 * io/open.c (__open_2): Moved to ...
33405 * io/open_2.c: ... this new file.
33406 * io/open64.c (__open64_2): Moved to ...
33407 * io/open64_2.c: ... this new file.
33408 * io/openat.c (__openat_2): Moved to ...
33409 * io/openat_2.c: ... this new file.
33410 * io/openat64.c (__openat64_2): Moved to ...
33411 * io/openat64_2.c: ... this new file.
33412 * io/Makefile (routines): Add them.
33413 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33414 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33415 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33416 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33417 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33418 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33419 (__openat64): Add hidden_ver.
33420 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33421 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33423 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33424 Separately conditionalize setting of GLRO(dl_sysinfo) so
33425 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33426 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33428 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33430 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33433 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33434 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33435 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33436 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33437 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33439 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33441 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33442 test signgam value.
33444 * math/libm-test.inc (hypot_test): Do not use
33445 IGNORE_ZERO_INF_SIGN.
33447 2013-05-03 Andreas Jaeger <aj@suse.de>
33449 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33451 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33452 (PF_MAX): Adjust for VSOCK change.
33454 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33458 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33461 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33462 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33463 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33465 2013-05-02 David S. Miller <davem@davemloft.net>
33467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33469 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33471 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33473 2013-05-01 Roland McGrath <roland@hack.frob.com>
33475 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33477 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33480 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33481 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33482 Use __attribute__ ((__gnu_inline__)).
33483 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33484 Don't use __attribute__ ((__gnu_inline__)).
33486 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33489 * math/s_catan.c (__catan): Handle small real or imaginary part of
33490 input specially to avoid spurious underflow.
33491 * math/s_catanf.c (__catanf): Likewise.
33492 * math/s_catanh.c (__catanh): Likewise.
33493 * math/s_catanhf.c (__catanhf): Likewise.
33494 * math/s_catanhl.c (__catanhl): Likewise.
33495 * math/s_catanl.c (__catanl): Likewise.
33496 * math/libm-test.inc (catan_test): Add more tests.
33497 (catanh_test): Likewise.
33498 * sysdeps/i386/fpu/libm-test-ulps: Update.
33499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33501 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33505 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33508 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33509 accurately for denominator in atan2.
33510 * math/s_catanf.c (__catanf): Likewise.
33511 * math/s_catanh.c (__catanh): Likewise.
33512 * math/s_catanhf.c (__catanhf): Likewise.
33513 * math/s_catanhl.c (__catanhl): Likewise.
33514 * math/s_catanl.c (__catanl): Likewise.
33515 * math/libm-test.inc (catan_test): Add more tests.
33516 (catanh_test): Likewise.
33517 * sysdeps/i386/fpu/libm-test-ulps: Update.
33518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33520 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33522 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33524 * benchtests/Makefile (bench): Remove slow benchmarks.
33525 * benchtests/atan-inputs: Add slow benchmark inputs.
33526 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33527 (BENCH_FUNC): Accept variant offset.
33529 * benchtests/bench-skeleton.c (main): Run benchmark for each
33531 * benchtests/cos-inputs: Add slow benchmark inputs.
33532 * benchtests/exp-inputs: Likewise.
33533 * benchtests/pow-inputs: Likewise.
33534 * benchtests/sin-inputs: Likewise.
33535 * benchtests/slowatan-inputs: Remove.
33536 * benchtests/slowatan.c: Remove.
33537 * benchtests/slowcos-inputs: Remove.
33538 * benchtests/slowcos.c: Remove.
33539 * benchtests/slowexp-inputs: Remove.
33540 * benchtests/slowexp.c: Remove.
33541 * benchtests/slowpow-inputs: Remove.
33542 * benchtests/slowpow.c: Remove.
33543 * benchtests/slowsin-inputs: Remove.
33544 * benchtests/slowsin.c: Remove.
33545 * benchtests/slowtan-inputs: Remove.
33546 * benchtests/slowtan.c: Remove.
33547 * benchtests/tan-inputs: Add slow benchmark inputs.
33548 * scripts/bench.pl: Parse comments and directives.
33550 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33552 ($(objpfx)bench-%.c): Remove *-ITER.
33553 * benchtests/bench-modf.c: Remove definition of ITER.
33554 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33555 (main): Loop for DURATION seconds instead of fixed number of
33557 * scripts/bench.pl: Don't expect iterations in parameters.
33559 2013-04-29 Roland McGrath <roland@hack.frob.com>
33561 * io/fchdir.c (__fchdir): Renamed from fchdir.
33562 (fchdir): Define as weak alias.
33564 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33566 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33567 (ERRNO_EDOM): Likewise.
33568 (ERRNO_ERANGE): Likewise.
33569 (noErrnoTests): New variable.
33570 (init_max_error): Set errno to 0.
33571 (test_single_errno): New function.
33572 (test_errno): Likewise.
33573 (check_float_internal): Call test_errno. Set errno to 0.
33574 (check_complex): Refer to errno tests in comment.
33575 (check_int): Call test_errno. Set errno to 0.
33576 (check_long): Likewise.
33577 (check_bool): Likewise.
33578 (check_longlong): Likewise.
33579 (cos_test): Use ERRNO_* flags for errno tests instead of
33581 (expm1_test): Likewise.
33582 (fmod_test): Likewise.
33583 (ilogb_test): Likewise.
33584 (lgamma_test): Likewise.
33585 (pow_test): Likewise.
33586 (remainder_test): Likewise.
33587 (sin_test): Likewise.
33588 (tan_test): Likewise.
33589 (yn_test): Likewise.
33590 (initialize): Set errno to 0.
33591 (main): Print number of errno tests.
33592 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33594 2013-04-29 Andreas Jaeger <aj@suse.de>
33597 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33601 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33602 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33606 * stdlib/random.c (__initstate): Return NULL if
33610 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33611 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33614 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33618 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33620 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33621 of individual tests.
33622 (casin_test): Likewise.
33623 (casinh_test): Likewise.
33625 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33628 * math/s_catan.c (__catan): Handle arguments with large real or
33629 imaginary part separately without squaring.
33630 * math/s_catanf.c (__catanf): Likewise.
33631 * math/s_catanh.c (__catanh): Likewise.
33632 * math/s_catanhf.c (__catanhf): Likewise.
33633 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33635 (__catanhl): Handle arguments with large real or imaginary part
33636 separately without squaring.
33637 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33639 (__catanl): Handle arguments with large real or imaginary part
33640 separately without squaring.
33641 * math/libm-test.inc (catan_test): Add more tests.
33642 (catanh_test): Likewise.
33643 * sysdeps/i386/fpu/libm-test-ulps: Update.
33644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33646 2013-04-27 Andreas Jaeger <aj@suse.de>
33649 * stdlib/stdlib.h: Update guards for qecvt.
33650 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33653 2013-04-27 Allan McRae <allan@archlinux.org>
33655 * sysdeps/i386/fpu/libm-test-ulps: Update.
33657 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33660 * math/s_catan.c: Include <float.h>.
33661 (__catan): Ensure underflow exception occurs for underflowed
33663 * math/s_catanf.c: Include <float.h>.
33664 (__catanf): Ensure underflow exception occurs for underflowed
33666 * math/s_catanh.c: Include <float.h>.
33667 (__catanh): Ensure underflow exception occurs for underflowed
33669 * math/s_catanhf.c: Include <float.h>.
33670 (__catanhf): Ensure underflow exception occurs for underflowed
33672 * math/s_catanhl.c: Include <float.h>.
33673 (__catanhl): Ensure underflow exception occurs for underflowed
33675 * math/s_catanl.c: Include <float.h>.
33676 (__catanl): Ensure underflow exception occurs for underflowed
33678 * math/libm-test.inc (catan_test): Add more tests.
33679 (catanh_test): Likewise.
33682 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33683 underflowed result.
33684 * math/s_ccoshf.c (__ccoshf): Likewise.
33685 * math/s_ccoshl.c (__ccoshl): Likewise.
33686 * math/s_csin.c (__csin): Likewise.
33687 * math/s_csinf.c (__csinf): Likewise.
33688 * math/s_csinh.c (__csinh): Likewise.
33689 * math/s_csinhf.c (__csinhf): Likewise.
33690 * math/s_csinhl.c (__csinhl): Likewise.
33691 * math/s_csinl.c (__csinl): Likewise.
33692 * math/libm-test.inc (ccos_test): Add more tests.
33693 (ccosh_test): Likewise.
33694 (csin_test): Likewise.
33695 (csinh_test): Likewise.
33697 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33699 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33700 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33701 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33702 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33703 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33704 powerpc/power5+/fpu folders.
33705 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33708 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33712 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33714 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33715 additions to variable.
33716 [$(config-machine) = x86_64] (modules-names): Likewise.
33717 ($(objpfx)tst-audit3): Remove dependency.
33718 ($(objpfx)tst-audit3.out): Likewise.
33719 ($(objpfx)tst-audit4): Likewise.
33720 ($(objpfx)tst-audit4.out): Likewise.
33721 ($(objpfx)tst-audit5): Likewise.
33722 ($(objpfx)tst-audit5.out): Likewise.
33723 ($(objpfx)tst-audit6): Likewise.
33724 ($(objpfx)tst-audit6.out): Likewise.
33725 ($(objpfx)tst-audit7): Likewise.
33726 ($(objpfx)tst-audit7.out): Likewise.
33727 (tst-audit3-ENV): Remove variable.
33728 (tst-audit4-ENV): Likewise.
33729 (tst-audit5-ENV): Likewise.
33730 (tst-audit6-ENV): Likewise.
33731 (tst-audit7-ENV): Likewise.
33732 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33733 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33734 addition to variable.
33735 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33736 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33737 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33738 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33739 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33740 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33741 tst-audit3, tst-audit4 and tst-audit5.
33742 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33743 tst-audit6 and tst-audit7.
33744 [$(subdir) = elf] (modules-names): Add audit modules for those
33746 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33747 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33748 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33749 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33750 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33751 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33752 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33753 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33754 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33755 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33756 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33757 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33758 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33759 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33760 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33761 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33763 [$(subdir) = elf && $(config-cflags-avx) = yes]
33764 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33765 [$(subdir) = elf && $(config-cflags-avx) = yes]
33766 (CFLAGS-tst-auditmod4a.c): Likewise.
33767 [$(subdir) = elf && $(config-cflags-avx) = yes]
33768 (CFLAGS-tst-auditmod4b.c): Likewise.
33769 [$(subdir) = elf && $(config-cflags-avx) = yes]
33770 (CFLAGS-tst-auditmod6b.c): Likewise.
33771 [$(subdir) = elf && $(config-cflags-avx) = yes]
33772 (CFLAGS-tst-auditmod6c.c): Likewise.
33773 [$(subdir) = elf && $(config-cflags-avx) = yes]
33774 (CFLAGS-tst-auditmod7b.c): Likewise.
33775 * elf/tst-audit3.c: Move to ...
33776 * sysdeps/x86_64/tst-audit3.c: ... here.
33777 * elf/tst-audit4.c: Move to ...
33778 * sysdeps/x86_64/tst-audit4.c: ... here.
33779 * elf/tst-audit5.c: Move to ...
33780 * sysdeps/x86_64/tst-audit5.c: ... here.
33781 * elf/tst-audit6.c: Move to ...
33782 * sysdeps/x86_64/tst-audit6.c: ... here.
33783 * elf/tst-audit7.c: Move to ...
33784 * sysdeps/x86_64/tst-audit7.c: ... here.
33785 * elf/tst-auditmod3a.c: Move to ...
33786 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33787 * elf/tst-auditmod3b.c: Move to ...
33788 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33789 * elf/tst-auditmod4a.c: Move to ...
33790 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33791 * elf/tst-auditmod4b.c: Move to ...
33792 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33793 * elf/tst-auditmod5a.c: Move to ...
33794 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33795 * elf/tst-auditmod5b.c: Move to ...
33796 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33797 * elf/tst-auditmod6a.c: Move to ...
33798 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33799 * elf/tst-auditmod6b.c: Move to ...
33800 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33801 * elf/tst-auditmod6c.c: Move to ...
33802 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33803 * elf/tst-auditmod7a.c: Move to ...
33804 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33805 * elf/tst-auditmod7b.c: Move to ...
33806 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33808 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33811 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33812 define unconditionally.
33813 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33814 define unconditionally.
33815 (INT8_C, INT16_C, etc.): Likewise.
33817 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33819 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33820 __ehdr_start with hidden visibility.
33822 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33824 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33826 * math/libm-test.inc (cos_test): Use accurate hex constants.
33827 (sincost_test): Likewise.
33829 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33831 * math/libm-test.inc (catan_test): Add more tests.
33832 (catanh_test): Likewise.
33834 * math/s_catanf.c (__catanf): Use suffixed floating-point
33836 * math/s_catanhf.c (__catanhf): Likewise.
33837 * math/s_catanhl.c (__catanhl): Likewise.
33838 * math/s_catanl.c (__catanl): Likewise.
33841 * math/s_catan.c (__catan): Calculate imaginary part of result
33842 with log1p not log unless computing log of number close to 0.
33843 * math/s_catanf.c (__catanf): Likewise.
33844 * math/s_catanl.c (__catanl): Likewise.
33845 * math/s_catanh.c (__catanh): Calculate real part of result with
33846 log1p not log unless computing log of number close to 0.
33847 * math/s_catanhf.c (__catanhf): Likewise.
33848 * math/s_catanhl.c (__catanhl): Likewise.
33849 * math/libm-test.inc (catan_test): Add more tests.
33850 (catanh_test): Likewise.
33851 * sysdeps/i386/fpu/libm-test-ulps: Update.
33852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33854 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33856 * benchtests/Makefile: Mention files in which fast and slow
33857 paths of math functions are implemented.
33859 2013-04-23 Roland McGrath <roland@hack.frob.com>
33861 * sysdeps/posix/timespec_get.c: New file.
33863 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33865 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33867 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33869 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33870 powerpc/power5/fpu folders.
33871 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33872 * benchtests/Makefile: Add modf testcase.
33873 * benchtests/bench-modf.c: New file: Benchmark test for mo
33875 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33878 * time/Makefile (tests): Add tst-strptime-whitespace.
33879 * time/strptime_l.c (get_number): Use ISSPACE.
33880 (__strptime_internal): Likewise.
33881 * time/tst-strptime-whitespace.c: New test case.
33883 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33885 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33887 (_nss_files_init): Set it here.
33889 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33891 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33892 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33895 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33897 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33899 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33901 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33904 2013-04-21 David S. Miller <davem@davemloft.net>
33906 * po/ru.po: Update Russion translation from translation project.
33908 2013-04-17 Adam Conrad <adconrad@0c3.net>
33910 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33913 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33915 * configure.in: Remove i386 configure warning. Remove i386 case.
33916 * configure: Regenerate.
33917 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33918 Add example to error message.
33919 * sysdeps/i386/configure: Regenerate.
33921 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33923 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33925 * benchtests/cos-inputs: New file.
33926 * benchtests/slowcos-inputs: New file.
33927 * benchtests/slowcos.c: New file.
33928 * benchtests/slowtan-inputs: New file.
33929 * benchtests/slowtan.c: New file.
33930 * benchtests/tan-inputs: New file.
33932 2013-04-16 Roland McGrath <roland@hack.frob.com>
33934 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33937 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33939 * benchtests/Makefile: Include cppflags-iterator.mk to add
33940 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33942 * Makefile.in (bench-clean): New target.
33943 * benchtests/Makefile (bench-clean): Likewise.
33945 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33947 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33949 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33951 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33953 2013-04-15 Andreas Schwab <schwab@suse.de>
33955 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33957 * nscd/pwdcache.c (cache_addpw): Likewise.
33958 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33961 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33963 * benchtests/Makefile (bench): Write all output to
33964 bench-out.tmp together.
33966 2013-04-15 Andreas Schwab <schwab@suse.de>
33968 * nscd/nscd.c (main): Don't fork again after closing files.
33970 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33972 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33974 * benchtests/Rules (bench-deps): Collect dependencies into a
33975 single variable. Add Makefile to dependencies.
33976 ($(objpfx)bench-%.c): Depend on bench-deps.
33978 2013-04-12 Roland McGrath <roland@hack.frob.com>
33979 Xavier Roche <roche+kml2@exalead.com>
33982 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33983 just that it's a file descriptor.
33984 * manual/llio.texi (Synchronizing AIO Operations): Update description
33985 for EBADF error from aio_fsync.
33987 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33989 * Rules (bench): Move target definition...
33990 * benchtests/Makefile: ... here.
33992 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33994 * math/libm-test.inc (cos_test): Fix PI/2 test.
33995 (sincos_test): Likewise.
33996 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33997 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33999 2013-04-11 Andreas Schwab <schwab@suse.de>
34002 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34003 accept exponent character only when digits were seen.
34004 * stdio-common/Makefile (tests): Add bug26.
34005 * stdio-common/bug26.c: New file.
34008 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34011 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34013 * Makeconfig (rtld-prefix): Define built linker prefix.
34014 * Rules (run-bench): Use it.
34015 * math/Makefile (run-regen-ulps): Likewise.
34017 * Rules (bench): Remove eval.
34019 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34020 Roland McGrath <roland@hack.frob.com>
34021 Ondrej Bilka <neleai@seznam.cz>
34024 * time/getdate.c: Include ctype.h and alloca.h.
34025 (__getdate_r): Trim leading and trailing spaces of input.
34026 * time/tst-getdate.c (tests): Add tests with leading and
34029 2013-04-08 Roland McGrath <roland@hack.frob.com>
34032 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34033 when computing value.
34035 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34037 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34038 Use testrun.sh to run libm tests.
34041 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34043 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34046 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34048 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34050 * Makefile.in (regen-ulps): New target.
34051 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34052 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34053 [ifneq (no,$(PERL)] (regen-ulps): New target.
34054 [ifeq (no,$(PERL)] (regen-ulps): New target.
34055 * math/libm-test.inc (ulps_file_name): Define.
34056 (output_dir): New variable.
34057 (options): Add "output-dir" option.
34058 (parse_opt): Handle 'o' case.
34059 (main): If output_dir is non-NULL use it as a prefix
34061 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34063 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34065 [BZ #10060, #10062]
34066 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34067 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34068 fail configure if __sync_val_compare_and_swap is not inlined.
34069 * sysdeps/i386/configure: Regenerate.
34070 * configure.in: Build for i686 when configured for i386.
34071 * configure: Regenerate.
34072 * README: Remove i386 reference.
34074 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34076 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34079 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34081 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34082 (lmsnanval): New variables.
34083 (F): Add conversion tests.
34084 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34085 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34087 * stdio-common/tstdiomisc.c (F): Properly collect individual
34090 [BZ #14686, #15336]
34091 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34092 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34093 Instead, use input NaN values or generate a qNaN by arithmetic
34094 operation. Also fix bugs to comply with the standard.
34095 * math/libm-test.inc (remainder_test): Add more tests.
34097 [BZ #15335, #15342]
34098 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34100 input NaN values or generate a qNaN by arithmetic operation.
34102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34105 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34108 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34111 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34112 underflowed result.
34113 * math/s_cexpf.c (__cexpf): Likewise.
34114 * math/s_cexpl.c (__cexpl): Likewise.
34115 * math/libm-test.inc (cexp_test): Add more tests.
34117 2013-04-03 Andreas Schwab <schwab@suse.de>
34120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34121 order arrays from heap if bigger than alloca cutoff.
34123 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34125 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34126 (SNAN_TESTS_double): Refer to GCC PR56831.
34127 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34130 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34132 * Rules (bench): Move bench.out after the run is complete.
34134 * Rules (bench): Echo currently running benchmark.
34136 * benchtests/Makefile (bench): Add atan and slowatan.
34137 * benchtests/atan-inputs: New file.
34138 * benchtests/slowatan-inputs: New file.
34139 * benchtests/slowatan.c: New file.
34141 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34146 * sysdeps/unix/sysv/linux/kernel-features.h
34147 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34148 __ASSUME_XFS_RESTRICTED_CHOWN.
34149 * sysdeps/unix/sysv/linux/pathconf.c
34150 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34151 Save and restore errno.
34153 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34156 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34157 arguments using __kernel_casinh.
34158 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34159 arguments using __kernel_casinhf.
34160 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34161 arguments using __kernel_casinhl.
34162 * math/libm-test.inc (cacosh_test): Add more tests.
34163 * sysdeps/i386/fpu/libm-test-ulps: Update.
34164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34166 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34168 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34171 * bench/Makefile (bench): Add sin and slowsin.
34172 * benchtests/sin-inputs: New file.
34173 * benchtests/slowsin-inputs: New file.
34174 * benchtests/slowsin.c: New file.
34176 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34177 (bench): Add slowexp and slowpow.
34178 (exp-ITER): Increase iterations.
34179 (pow-ITER): Likewise.
34180 * benchtests/exp-inputs: Change input.
34181 * benchtests/pow-inputs: Likewise.
34182 * benchtests/slowexp-inputs: New file.
34183 * benchtests/slowexp.c: New file.
34184 * benchtests/slowpow-inputs: New file.
34185 * benchtests/slowpow.c: New file.
34187 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34189 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34191 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34192 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34193 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34194 * benchtests/Makefile: Add rint benchtest.
34195 * benchtests/rint-inputs: Input for rint benchtest.
34197 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34199 * Versions.def (libm): Add GLIBC_2.18.
34200 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34201 hidden libm prototypes.
34202 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34203 * math/Makefile (libm-calls): Add s_issignaling.
34204 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34205 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34206 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34208 * math/math.h [__USE_GNU] (issignaling): New macro.
34209 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34210 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34211 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34215 * manual/arith.texi (issignaling): New section.
34216 * manual/libm-err-tab.pl (@all_functions): Update comment.
34217 * math/gen-libm-test.pl (parse_args): Apply special handling for
34219 * math/libm-test.inc (print_float, issignaling_test): New
34221 (check_float_internal): Add issignaling checks.
34222 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34223 default definition.
34224 * sysdeps/powerpc/math-tests.h: New file.
34225 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34227 * math/test-snan.c (TEST_FUNC): Likewise.
34229 2013-03-30 David S. Miller <davem@davemloft.net>
34231 * po/de.po: Update from translation team.
34233 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34236 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34237 imaginary part less than 1.0 and real part less than 0.5
34239 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34240 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34241 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34242 (cacos_test): Add more tests.
34243 (casin_test): Likewise.
34244 (casinh_test): Likewise.
34245 * sysdeps/i386/fpu/libm-test-ulps: Update.
34246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34248 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34250 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34251 ONE with its value.
34253 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34254 (__pow_mp): Replace ONE and MONE with their values.
34255 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34257 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34258 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34259 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34260 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34262 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34264 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34265 (__pow_mp): Replace ZERO and MZERO with their values.
34266 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34267 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34268 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34270 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34271 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34274 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34276 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34278 2013-03-28 Roland McGrath <roland@hack.frob.com>
34280 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34281 Declare with __attribute__ ((weak)).
34282 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34283 Call __call_tls_dtors only if it's not NULL.
34285 2013-03-28 Roland McGrath <roland@hack.frob.com>
34287 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34288 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34289 magic __ehdr_start linker symbol if it's defined.
34290 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34291 them up here if it was already done.
34293 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34294 (_dl_aux_init): Use const in cast when setting it.
34295 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34296 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34297 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34299 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34301 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34302 * csu/libc-tls.c: Nor here.
34303 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34305 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34306 (__libc_message): Never call vsyslog.
34308 2013-03-28 Alan Modra <amodra@gmail.com>
34310 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34312 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34315 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34322 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34325 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34326 Don't add gid passed as argument.
34328 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34330 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34333 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34334 imaginary part between 1.0 and 1.5 and real part less than 0.5
34336 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34337 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34338 * math/libm-test.inc (cacos_test): Add more tests.
34339 (casin_test): Likewise.
34340 (casinh_test): Likewise.
34341 * sysdeps/i386/fpu/libm-test-ulps: Update.
34342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34344 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34346 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34349 (denorm): Likewise.
34350 (__dbl_mp): Likewise.
34351 (add_magnitudes): Likewise.
34352 (sub_magnitudes): Likewise.
34360 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34362 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34363 (__dubcos): Likewise.
34364 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34365 (__ieee754_acos): Likewise.
34366 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34367 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34368 (__exp1): Likewise.
34369 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34372 (my_log2): Likewise.
34373 (checkint): Likewise.
34374 * sysdeps/ieee754/dbl-64/e_remainder.c
34375 (__ieee754_remainder): Likewise.
34376 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34378 (bsloww): Likewise.
34379 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34381 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34382 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34383 MANTISSA_STORE_T to store computations on mantissa. Use
34384 macros for rounding and division.
34385 (denorm): Likewise.
34386 (__dbl_mp): Likewise.
34387 (add_magnitudes): Likewise.
34388 (sub_magnitudes): Likewise.
34391 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34392 powers of two in terms of TWOPOW macro.
34393 (mp_no): Make type of mantissa as MANTISSA_T.
34394 [!RADIXI]: Define RADIXI.
34395 [!TWO52]: Define TWO52.
34396 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34398 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34400 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34401 llroundl symbol when building for PPC32.
34403 2013-03-24 Mark H Weaver <mhw@netris.org>
34405 * manual/arith.texi (Normalization Functions): Fix prototypes for
34406 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34408 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34411 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34412 high value to check if expl overflow.
34413 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34414 to check for underflow and overflow.
34415 * math/libm-test.inc: Add exp test.
34417 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34420 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34423 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34425 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34428 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34430 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34431 wrap blocks consisting of several statements.
34433 * sysdeps/generic/math-tests.h: New file.
34434 * sysdeps/i386/fpu/math-tests.h: Likewise.
34435 * math/test-snan.c: Include it.
34436 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34438 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34441 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34442 (__ieee754_j0l): Do not improve calculations using cos of twice
34443 input for inputs above LDBL_MAX / 2.0L.
34444 (__ieee754_y0l): Likewise.
34445 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34446 (__ieee754_j1l): Do not improve calculations using cos of twice
34447 input for inputs above LDBL_MAX / 2.0L.
34448 (__ieee754_y1l): Likewise.
34449 * math/libm-test.inc (j0_test): Add another test.
34450 (j1_test): Likewise.
34451 (y0_test): Likewise.
34452 (y1_test): Likewise.
34453 * sysdeps/i386/fpu/libm-test-ulps: Update.
34455 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34457 * Rules ($(objpfx)bench-%.c): Include code from a C source
34460 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34463 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34464 imaginary part 1.0 and real part less than 0.5 specially.
34465 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34466 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34467 * math/libm-test.inc (cacos_test): Add more tests.
34468 (casin_test): Likewise.
34469 (casinh_test): Likewise.
34470 * sysdeps/i386/fpu/libm-test-ulps: Update.
34471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34473 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34475 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34476 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34478 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34480 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34481 * config.make.in (config-cflags-sse4): Remove variable.
34482 (config-cflags-avx): Likewise.
34483 (config-cflags-sse2avx): Likewise.
34484 (config-cflags-novzeroupper): Likewise.
34485 (config-asflags-i686): Likewise.
34486 (have-mfma4): Likewise.
34487 (have-as-vis3): Likewise.
34489 * configure.in (MIG): Do not AC_SUBST.
34490 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34491 (libc_cv_cc_sse4): Do not AC_SUBST.
34492 (libc_cv_cc_avx): Likewise.
34493 (libc_cv_cc_sse2avx): Likewise.
34494 (libc_cv_cc_novzeroupper): Likewise.
34495 (libc_cv_cc_fma4): Likewise.
34496 (libc_cv_as_i686): Likewise.
34497 (libc_cv_sparc_as_vis3): Likewise.
34498 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34500 (config-asflags-i686): Likewise.
34501 (config-cflags-avx): Likewise.
34502 (config-cflags-sse2avx): Likewise.
34503 (have-mfma4): Likewise.
34504 (config-cflags-novzeroupper): Likewise.
34505 * sysdeps/mach/configure.in (MIG): Likewise.
34506 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34507 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34509 (config-cflags-avx): Likewise.
34510 (config-cflags-sse2avx): Likewise.
34511 (have-mfma4): Likewise.
34512 (config-cflags-novzeroupper): Likewise.
34513 * configure: Regenerated.
34514 * sysdeps/i386/configure: Likewise.
34515 * sysdeps/mach/configure: Likewise.
34516 * sysdeps/sparc/configure: Likewise.
34517 * sysdeps/x86_64/configure: Likewise.
34519 2013-03-20 Roland McGrath <roland@hack.frob.com>
34522 * locale/programs/localedef.c (options): Put N_ translation marker
34523 on argument names, not just descriptions.
34525 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34527 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34529 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34532 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34534 2013-03-19 Roland McGrath <roland@hack.frob.com>
34536 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34537 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34538 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34539 [!BEFORE_ABORT] (before_abort): New function.
34540 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34541 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34542 (writev_for_fatal): New function.
34543 (WRITEV_FOR_FATAL): New macro; call that.
34544 (backtrace_and_maps): New function.
34545 (BEFORE_ABORT): New macro; call that.
34546 (struct str_list): Type removed.
34547 (__libc_message, __libc_fatal): Functions removed.
34548 Include <sysdeps/posix/libc_fatal.c> instead.
34550 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34552 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34554 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34557 2013-03-19 Andreas Schwab <schwab@suse.de>
34559 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34560 * sysdeps/gnu/configure: Regenerate.
34562 * configure.in: Substitute libc_cv_rtlddir.
34563 * configure: Regenerate.
34564 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34565 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34566 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34567 * elf/Makefile (install-others, CFLAGS-interp.c)
34568 (ldso_install, common-ldd-rewrite): Likewise.
34569 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34570 $(inst_slibdir)/$(rtld-installed-name).
34571 * scripts/rellns-sh: Add -p option.
34572 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34575 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34577 * manual/nptl.texi: Renamed to ...
34578 * manual/threads.texi: ... this.
34579 * manual/Makefile (chapters): Update.
34581 2013-03-18 Roland McGrath <roland@hack.frob.com>
34584 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34585 on argument names, not just descriptions.
34586 * malloc/memusagestat.c (options): Likewise.
34587 * nss/getent.c (options): Likewise.
34589 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34592 * iconv/iconv_prog.c (options): Put N_ translation marker
34593 on argument names, not just descriptions.
34594 * iconv/iconvconfig.c (options): Likewise.
34596 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34598 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34599 implementation which is faster on all x86_64 architectures.
34600 Tested on AMD, Intel Nehalem, SNB, IVB.
34601 * sysdeps/x86_64/strnlen.S: Likewise.
34603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34604 Remove all multiarch strlen and strnlen versions.
34605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34606 Remove strlen and strnlen related parts.
34608 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34609 Inline strlen part.
34610 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34612 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34613 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34614 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34615 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34616 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34617 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34619 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34621 * manual/memory.texi (Malloc Tunable Parameters):
34622 Sort parameters alphabetically. Add comments for missing entries.
34624 2013-03-17 David S. Miller <davem@davemloft.net>
34626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34628 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34631 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34632 for arguments at most half maximum finite value.
34633 * math/libm-test.inc (j0_test): Add more tests.
34634 (j1_test): Likewise.
34635 (y0_test): Likewise.
34636 (y1_test): Likewise.
34637 * sysdeps/i386/fpu/libm-test-ulps: Update.
34638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34641 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34642 1 / x and functions P and Q for arguments above 0x1p256L.
34643 (__ieee754_y0l): Likewise.
34644 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34645 (__ieee754_y1l): Likewise.
34646 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34647 (j1_test): Likewise.
34648 (y0_test): Likewise.
34649 (y1_test): Likewise.
34651 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34653 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34656 2013-03-15 Roland McGrath <roland@hack.frob.com>
34658 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34659 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34660 zero since it's initialized to EXEC_PAGESIZE.
34662 * sysdeps/unix/sysv/linux/ldsodefs.h
34663 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34664 * sysdeps/generic/ldsodefs.h: ... here.
34666 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34668 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34670 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34672 * math/test-snan.c: Renamed from
34673 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34674 * math/Makefile (tests): Add test-snan.
34675 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34678 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34679 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34681 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34682 __builtin_nan family of functions.
34683 * math/libm-test.inc (initialize): Initialize qnan_value with
34684 __builtin_nan family of functions.
34685 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34687 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34689 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34690 storage class. Initialize qNaN_var and sNaN_var with
34691 __builtin_nan and __builtin_nans families of functions,
34694 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34695 (sqrt_test): Remove duplicate test with qNaN input.
34696 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34697 (round_test, signbit_test, significand_test): Note missing +/-Inf
34698 as well as qNaN tests.
34700 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34701 qNaN_var. Fix a few strings, too.
34702 * math/libm-test.inc (nan_value): Rename to qnan_value.
34703 * math/gen-libm-test.pl (%beautify): Adjust to that.
34704 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34705 * math/test-misc.c (main): Likewise.
34706 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34707 to __qnan_bytes, and __qnan_union, respectively.
34708 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34710 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34711 and lqnanval, respectively.
34712 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34713 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34714 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34715 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34717 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34718 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34721 * math/test-misc.c (main): Fix copy'n'pastos.
34722 * misc/tst-efgcvt.c (special): Likewise.
34724 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34725 Remove declarations.
34727 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34729 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34730 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34731 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34732 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34734 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34736 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34737 macro to return vdso values correctly in IFUNC implementations.
34738 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34739 Optimization by using IFUNC.
34741 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34742 Richard Henderson <rth@redhat.com>
34743 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34745 * Makefile.in (bench): New target.
34746 * NEWS: Mention the benchmark framework.
34747 * Rules (bench): Likewise.
34748 (binaries-bench): Generate binaries for functions to
34750 * benchtests/Makefile: New makefile for benchmark tests.
34751 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34753 * benchtests/exp-inputs: New input file for EXP function.
34754 * benchtests/pow-inputs: New input file for POW function.
34755 * scripts/bench.pl: New script to generate source files for
34756 benchmark programs.
34758 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34760 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34761 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34762 computations on mantissa. Use macros for rounding and
34764 (denorm): Likewise.
34765 (__dbl_mp): Likewise.
34766 (add_magnitudes): Likewise.
34767 (sub_magnitudes): Likewise.
34770 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34771 powers of two in terms of TWOPOW macro.
34772 (mp_no): Make type of mantissa as MANTISSA_T.
34773 [!RADIXI]: Define RADIXI.
34774 [!TWO52]: Define TWO52.
34775 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34777 * manual/nptl.texi (cindex): Modify threads to pthreads.
34779 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34781 * sysdeps/x86_64/preconfigure: Regenerated.
34783 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34786 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34788 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34789 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34791 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34792 * math/libm-test.inc (j0_test): Do not allow one spurious
34793 underflow exception.
34794 (y1_test): Likewise.
34796 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34798 * manual/Makefile (chapters): Add nptl.
34799 * manual/debug.texi (Debugging Support): Add link to Threads
34801 * manual/nptl.texi: New file.
34803 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34805 2013-03-14 Petr Baudis <pasky@ucw.cz>
34807 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34808 for non-NULL pointer before the memory validity test. Pointed
34809 out by Holger Brunck <holger.brunck@keymile.com>.
34811 2013-03-13 Andreas Schwab <schwab@suse.de>
34813 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34816 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34818 * timezone/zic.c: Update from tzcode 2013b.
34820 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34822 * manual/install.texi (Configuring and compiling):
34823 Mention i686 and i586.
34824 * INSTALL: Regenerate.
34826 2013-03-12 Roland McGrath <roland@hack.frob.com>
34828 * sysdeps/init_array/elf-init.c: New file.
34830 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34831 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34833 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34834 __gmon_start__ as global, but as static with a .preinit_array pointer.
34835 * sysdeps/init_array/gmon-start.c: New file. Use that.
34836 * sysdeps/init_array/crti.S: New file, empty except for comments.
34837 * sysdeps/init_array/crtn.S: Likewise.
34839 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34841 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34844 Remove Prefer_SSE_for_memop.
34845 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34846 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34847 HAS_PREFER_SSE_FOR_MEMOP.
34848 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34851 Remove bzero, memset ifunc support.
34852 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34853 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34854 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34855 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34857 2013-03-11 Andreas Schwab <schwab@suse.de>
34860 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34863 (GLIBC_2.16): Remove pthread_atfork.
34865 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34867 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34868 (ptestcases.h): Likewise.
34870 2013-03-08 Roland McGrath <roland@hack.frob.com>
34872 * Makeconfig ($(common-objpfx)config.status): Depend on
34873 sysdeps/*/preconfigure{,.in} too.
34875 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34877 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34878 (__free_hook): Use void * instead of __malloc_ptr_t.
34879 (__malloc_hook): Likewise.
34880 (__realloc_hook): Likewise.
34881 (__memalign_hook): Likewise.
34882 (__after_morecore_hook): Likewise.
34883 * malloc/arena.c (save_malloc_hook): Likewise.
34884 (save_free_hook): Likewise.
34885 * malloc/hooks.c (malloc_hook_ini): Likewise.
34886 (realloc_hook_ini): Likewise.
34887 (memalign_hook_ini): Likewise.
34888 * malloc/malloc.c (malloc_hook_ini): Likewise.
34889 (realloc_hook_ini): Likewise.
34890 (memalign_hook_ini): Likewise.
34891 (__free_hook): Likewise.
34892 (__malloc_hook): Likewise.
34893 (__realloc_hook): Likewise.
34894 (__memalign_hook): Likewise.
34895 (__libc_malloc): Likewise.
34896 (__libc_free): Likewise.
34897 (__libc_realloc): Likewise.
34898 (__libc_memalign): Likewise.
34899 (__libc_valloc): Likewise.
34900 (__libc_pvalloc): Likewise.
34901 (__libc_calloc): Likewise.
34902 (__posix_memalign): Likewise.
34903 * malloc/morecore.c (__sbrk): Likewise.
34904 (__default_morecore): Likewise.
34906 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34908 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34909 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34910 __malloc_ptrdiff_t.
34912 * malloc/malloc.h (__malloc_size_t): Remove macro.
34913 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34915 (old_memalign_hook): Likewise.
34916 (old_realloc_hook): Likewise.
34917 (struct hdr): Likewise.
34919 (mallochook): Likewise.
34920 (memalignhook): Likewise.
34921 (reallochook): Likewise.
34922 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34923 (tr_old_realloc_hook): Likewise.
34924 (tr_old_memalign_hook): Likewise.
34925 (tr_mallochook): Likewise.
34926 (tr_reallochook): Likewise.
34927 (tr_memalignhook): Likewise.
34929 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34932 default_ldbl_pack and using as default implementation.
34933 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34935 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34936 redundant definition.
34937 (ldbl_insert_mantissa): Likewise.
34938 (ldbl_canonicalize): Likewise.
34939 (ldbl_nearbyint): Likewise.
34940 (ldbl_pack): Rename to ldbl_pack_ppc.
34941 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34942 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34943 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34945 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34948 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34949 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34950 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34952 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34953 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34954 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34956 2013-03-07 Andreas Jaeger <aj@suse.de>
34958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34961 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34963 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34964 Include mpa.h and declare __MPEXP.
34965 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34966 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34967 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34968 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34969 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34970 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34971 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34973 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34974 (__slowpow): Use long double EXPL and LOGL functions to
34976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34977 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34978 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34980 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34981 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34984 intermediate variable to calculate exponent.
34986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34990 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34991 [!NO__SQR]: Define __sqr.
34992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34993 and NO__SQR. Remove all code except __mul and __sqr. Include
34994 sysdeps/ieee754/dbl-64/mpa.c.
34995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34998 * posix/Makefile (tests): Add tst-pathconf.
34999 * posix/tst-pathconf.c: New test case.
35000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35002 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35004 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35006 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35008 2013-03-06 Andreas Jaeger <aj@suse.de>
35010 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35011 definition via __MAP_ANONYMOUS.
35013 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35014 it's not part of Linux headers.
35016 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35017 (MAP_HUGE_MASK): Define.
35019 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35024 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35025 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35027 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35030 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35032 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35033 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35034 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35035 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35036 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35037 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35042 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35043 Handle f2fs and efivarfs.
35045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35048 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35049 (EFIVARFS_MAGIC): Add.
35050 (F2FS_LINK_MAX): Add.
35052 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35054 * stdio-common/vfprintf.c: Replace __builtin_expect with
35057 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35060 * sysdeps/generic/bp-sym.h: Remove file.
35061 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35062 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35063 <bp-sym.h> and <bp-asm.h>.
35064 (__longjmp): Don't use BP_SYM.
35065 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35067 (memcpy): Don't use BP_SYM.
35068 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35069 <bp-sym.h> and <bp-asm.h>.
35070 (memcpy): Don't use BP_SYM.
35071 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35073 (memcpy): Don't use BP_SYM.
35074 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35076 (memset): Don't use BP_SYM.
35077 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35078 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35079 (__bzero): Don't use BP_SYM.
35080 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35081 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35083 <bp-sym.h> and <bp-asm.h>.
35084 (memcmp): Don't use BP_SYM. Remove comment about bounded
35086 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35087 <bp-sym.h> and <bp-asm.h>.
35088 (memcpy): Don't use BP_SYM.
35089 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35090 <bp-sym.h> and <bp-asm.h>.
35091 (memset): Don't use BP_SYM.
35092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35094 (__bzero): Don't use BP_SYM.
35095 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35096 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35098 <bp-sym.h> and <bp-asm.h>.
35099 (strncmp): Don't use BP_SYM. Remove comment about bounded
35101 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35102 <bp-sym.h> and <bp-asm.h>.
35103 (memcpy): Don't use BP_SYM.
35104 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35105 <bp-sym.h> and <bp-asm.h>.
35106 (memset): Don't use BP_SYM.
35107 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35108 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35109 (__bzero): Don't use BP_SYM.
35110 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35111 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35112 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35113 <bp-sym.h> and <bp-asm.h>.
35114 (__memchr): Don't use BP_SYM.
35115 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35116 <bp-sym.h> and <bp-asm.h>.
35117 (memcmp): Don't use BP_SYM. Remove comment about bounded
35119 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35120 <bp-sym.h> and <bp-asm.h>.
35121 (memcpy): Don't use BP_SYM.
35122 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35123 <bp-sym.h> and <bp-asm.h>.
35124 (__mempcpy): Don't use BP_SYM.
35125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35126 <bp-sym.h> and <bp-asm.h>.
35127 (__memrchr): Don't use BP_SYM.
35128 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35129 <bp-sym.h> and <bp-asm.h>.
35130 (memset): Don't use BP_SYM.
35131 (__bzero): Likewise.
35132 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35133 <bp-sym.h> and <bp-asm.h>.
35134 (__rawmemchr): Don't use BP_SYM.
35135 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35136 <bp-sym.h> and <bp-asm.h>.
35137 (__STRCMP): Don't use BP_SYM.
35138 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35139 <bp-sym.h> and <bp-asm.h>.
35140 (strchr): Don't use BP_SYM.
35141 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35142 <bp-sym.h> and <bp-asm.h>.
35143 (__strchrnul): Don't use BP_SYM.
35144 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35145 <bp-sym.h> and <bp-asm.h>.
35146 (strlen): Don't use BP_SYM.
35147 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35148 <bp-sym.h> and <bp-asm.h>.
35149 (strncmp): Don't use BP_SYM. Remove comment about bounded
35151 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35152 <bp-sym.h> and <bp-asm.h>.
35153 (__strnlen): Don't use BP_SYM.
35154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35155 <bp-sym.h> and <bp-asm.h>.
35156 (__GI__setjmp): Don't use BP_SYM.
35157 (_setjmp): Likewise.
35158 (__sigsetjmp): Likewise.
35159 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35160 (L(start_addresses)): Don't use BP_SYM.
35161 (_start): Likewise.
35162 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35164 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35165 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35166 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35167 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35168 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35170 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35171 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35172 about bounded pointers.
35173 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35174 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35175 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35177 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35178 about bounded pointers. Remove GKM FIXME comments.
35179 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35180 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35182 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35183 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35184 Remove GKM FIXME comments.
35185 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35186 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35187 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35189 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35190 about bounded pointers. Remove GKM FIXME comment.
35191 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35193 (strncmp): Don't use BP_SYM. Remove comment about bounded
35195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35196 <bp-sym.h> and <bp-asm.h>.
35197 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35199 <bp-sym.h> and <bp-asm.h>.
35200 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35203 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35205 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35208 2013-03-05 David S. Miller <davem@davemloft.net>
35210 * po/es.po: Update from translation team.
35212 2013-03-05 Andreas Jaeger <aj@suse.de>
35214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35215 <bits/mman-linux.h>.
35216 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35219 <bits/mman-linux.h> to end of file.
35220 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35222 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35223 <bits/mman-linux.h> to end of file.
35224 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35227 <bits/mman-linux.h> to end of file.
35229 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35230 (MCL_CURRENT, MCL_FUTURE): Define here.
35232 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35235 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35237 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35239 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35241 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35242 fourth parameter needed for rt_sigprocmask syscall.
35243 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35244 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35245 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35246 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35247 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35248 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35250 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35253 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35254 comment about bounded pointers.
35255 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35256 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35258 2013-03-04 Andreas Jaeger <aj@suse.de>
35260 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35261 common definitions.
35263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35264 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35265 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35266 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35267 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35268 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35270 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35273 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35274 __ieee754_sqrl instead of __sqrl.
35276 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35278 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35279 * sysdeps/powerpc/fpu_control.h: ... here.
35280 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35281 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35282 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35283 * sysdeps/powerpc/bits/mathinline.h: ... here.
35285 2013-03-01 Roland McGrath <roland@hack.frob.com>
35287 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35288 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35289 to just [NEED_DL_SYSINFO_DSO].
35290 * elf/dl-support.c: Likewise.
35291 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35292 * elf/rtld.c (dl_main): Likewise.
35293 * elf/setup-vdso.h (setup_vdso): Likewise.
35294 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35295 * sysdeps/unix/sysv/linux/dl-sysdep.c
35296 (_dl_discover_osversion): Likewise.
35298 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35300 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35301 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35303 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35305 * NEWS: Mention libm performance improvements and non-x86 PI
35308 * csu/libc-start.c (__pthread_initialize_minimal): Change
35309 function arguments.
35310 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35312 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35315 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35316 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35317 <bp-sym.h> and <bp-asm.h>.
35318 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35321 (memcpy): Don't use BP_SYM.
35322 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35324 (__mpn_add_n): Don't use BP_SYM.
35325 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35326 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35328 (__mpn_addmul_1): Don't use BP_SYM.
35329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35330 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35332 (_setjmp): Don't use BP_SYM.
35333 (__novmx_setjmp): Likewise.
35334 (__GI__setjmp): Likewise.
35335 (__vmx_setjmp): Likewise.
35336 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35338 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35339 (__bzero): Don't use BP_SYM.
35340 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35341 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35342 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35343 <bp-sym.h> and <bp-asm.h>.
35344 (memcpy): Don't use BP_SYM.
35345 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35346 <bp-sym.h> and <bp-asm.h>.
35347 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35349 <bp-sym.h> and <bp-asm.h>.
35350 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35351 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35353 (__mpn_lshift): Don't use BP_SYM.
35354 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35355 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35357 (memset): Don't use BP_SYM.
35358 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35359 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35360 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35362 (__mpn_mul_1): Don't use BP_SYM.
35363 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35365 <bp-sym.h> and <bp-asm.h>.
35366 (memcmp): Don't use BP_SYM.
35367 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35368 <bp-sym.h> and <bp-asm.h>.
35369 (memcpy): Don't use BP_SYM.
35370 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35371 <bp-sym.h> and <bp-asm.h>.
35372 (memset): Don't use BP_SYM.
35373 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35374 <bp-sym.h> and <bp-asm.h>.
35375 (strncmp): Don't use BP_SYM.
35376 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35377 <bp-sym.h> and <bp-asm.h>.
35378 (memcpy): Don't use BP_SYM.
35379 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35380 <bp-sym.h> and <bp-asm.h>.
35381 (memset): Don't use BP_SYM.
35382 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35383 <bp-sym.h> and <bp-asm.h>.
35384 (__memchr): Don't use BP_SYM.
35385 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35386 <bp-sym.h> and <bp-asm.h>.
35387 (memcmp): Don't use BP_SYM.
35388 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35389 <bp-sym.h> and <bp-asm.h>.
35390 (memcpy): Don't use BP_SYM.
35391 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35392 <bp-sym.h> and <bp-asm.h>.
35393 (__mempcpy): Don't use BP_SYM.
35394 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35395 <bp-sym.h> and <bp-asm.h>.
35396 (__memrchr): Don't use BP_SYM.
35397 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35398 <bp-sym.h> and <bp-asm.h>.
35399 (memset): Don't use BP_SYM.
35400 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35401 <bp-sym.h> and <bp-asm.h>.
35402 (__rawmemchr): Don't use BP_SYM.
35403 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35404 <bp-sym.h> and <bp-asm.h>.
35405 (__STRCMP): Don't use BP_SYM.
35406 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35407 <bp-sym.h> and <bp-asm.h>.
35408 (strchr): Don't use BP_SYM.
35409 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35410 <bp-sym.h> and <bp-asm.h>.
35411 (__strchrnul): Don't use BP_SYM.
35412 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35413 <bp-sym.h> and <bp-asm.h>.
35414 (strlen): Don't use BP_SYM.
35415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35416 <bp-sym.h> and <bp-asm.h>.
35417 (strncmp): Don't use BP_SYM.
35418 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35419 <bp-sym.h> and <bp-asm.h>.
35420 (__strnlen): Don't use BP_SYM.
35421 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35423 (__mpn_rshift): Don't use BP_SYM.
35424 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35425 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35426 <bp-sym.h> and <bp-asm.h>.
35427 (__sigsetjmp): Don't use BP_SYM.
35428 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35429 (L(start_addresses)): Don't use BP_SYM.
35430 (_start): Likewise.
35431 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35433 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35434 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35435 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35436 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35438 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35439 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35440 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35441 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35443 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35445 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35446 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35448 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35450 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35451 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35452 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35454 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35456 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35458 (strncmp): Don't use BP_SYM,
35459 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35461 (__mpn_sub_n): Don't use BP_SYM.
35462 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35463 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35465 (__mpn_submul_1): Don't use BP_SYM.
35466 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35468 <bp-sym.h> and <bp-asm.h>.
35469 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35471 <bp-sym.h> and <bp-asm.h>.
35472 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35475 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35478 Use ZK to minimize writes to Z.
35479 (sub_magnitudes): Simplify code a bit.
35480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35481 Use ZK to minimize writes to Z.
35482 (sub_magnitudes): Simplify code a bit.
35484 2013-02-27 Roland McGrath <roland@hack.frob.com>
35486 * csu/gmon-start.c: Add special exception to license text.
35488 2013-02-27 Richard Henderson <rth@redhat.com>
35490 * scripts/config.guess: Update from config.git.
35491 * scripts/config.sub: Likewise.
35493 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35495 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35497 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35499 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35501 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35503 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35505 2013-02-26 Roland McGrath <roland@hack.frob.com>
35507 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35508 [$(build-shared = yes].
35510 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35512 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35513 (__mul): Reduce iterations for calculating mantissa.
35515 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35517 (__mpranred): Likewise.
35520 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35521 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35523 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35525 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35526 Define __attribute__.
35528 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35530 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35532 * posix/regex_internal.h (__attribute): Remove.
35533 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35534 (re_string_context_at): Likewise.
35535 (bitset_not): Use __attribute__ and mark function as possibly
35537 (bitset_merge): Likewise.
35538 (bitset_mask): Likewise.
35539 (re_string_char_size_at): Likewise.
35540 (re_string_wchar_at): Likewise.
35541 (re_string_elem_size_at): Likewise.
35543 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35545 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35549 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35553 (denorm): Likewise.
35554 (__dbl_mp): Likewise.
35555 (add_magnitudes): Likewise.
35556 (sub_magnitudes): Likewise.
35560 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35563 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35566 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35570 up changes with default code.
35571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35574 2013-02-24 Allan McRae <allan@archlinux.org>
35576 * manual/socket.texi (The Internet Namespace): Order menu items
35577 to match that in the file.
35579 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35580 node listing of the info page menu.
35582 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35585 * sysdeps/i386/bp-asm.h: Remove file.
35586 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35587 (PARMS): Do not use macros from bp-asm.h.
35591 (__mpn_add_n): Do not use BP_SYM
35592 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35594 (PARMS): Do not use macros from bp-asm.h.
35597 (__mpn_addmul_1): Do not use BP_SYM
35598 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35600 (PARMS): Do not use macros from bp-asm.h.
35601 (SIGMSK): Likewise.
35602 (_setjmp): Likewise. Do not use BP_SYM.
35603 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35605 (PARMS): Do not use macros from bp-asm.h.
35606 (SIGMSK): Likewise.
35607 (setjmp): Likewise. Do not use BP_SYM.
35608 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35610 (PARMS): Do not use macros from bp-asm.h.
35611 (__frexp): Do not use BP_SYM.
35613 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35615 (PARMS): Do not use macros from bp-asm.h.
35616 (__frexpf): Do not use BP_SYM.
35617 (frexpf): Likewise.
35618 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35620 (PARMS): Do not use macros from bp-asm.h.
35621 (__frexpl): Do not use BP_SYM.
35622 (frexpl): Likewise.
35623 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35625 (PARMS): Do not use macros from bp-asm.h.
35626 (__remquo): Do not use BP_SYM.
35627 (remquo): Likewise.
35628 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35630 (PARMS): Do not use macros from bp-asm.h.
35631 (__remquof): Do not use BP_SYM.
35632 (remquof): Likewise.
35633 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35635 (PARMS): Do not use macros from bp-asm.h.
35636 (__remquol): Do not use BP_SYM.
35637 (remquol): Likewise.
35638 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35640 (PARMS): Do not use macros from bp-asm.h.
35643 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35644 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35646 (PARMS): Do not use macros from bp-asm.h.
35647 (strlen): Do not use BP_SYM.
35648 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35650 (PARMS): Do not use macros from bp-asm.h.
35654 (__mpn_add_n): Do not use BP_SYM.
35655 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35657 (PARMS): Do not use macros from bp-asm.h.
35660 (__mpn_addmul_1): Do not use BP_SYM.
35661 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35664 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35666 (PARMS): Do not use macros from bp-asm.h.
35669 (__mpn_lshift): Do not use BP_SYM.
35670 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35672 (PARMS): Do not use macros from bp-asm.h.
35676 (memcpy): Likewise. Do not use BP_SYM.
35677 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35678 libc_hidden_def and weak_alias.
35679 (mempcpy): Do not use BP_SYM in weak_alias.
35680 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35682 (PARMS): Do not use macros from bp-asm.h.
35685 [!BZERO_P] (CHR): Likewise.
35686 (memset): Likewise. Do not use BP_SYM.
35687 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35689 (PARMS): Do not use macros from bp-asm.h.
35692 (__mpn_mul_1): Do not use BP_SYM.
35693 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35695 (PARMS): Do not use macros from bp-asm.h.
35698 (__mpn_rshift): Do not use BP_SYM.
35699 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35701 (PARMS): Do not use macros from bp-asm.h.
35704 (strchr): Likewise. Do not use BP_SYM.
35705 (index): Do not use BP_SYM in weak_alias.
35706 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35708 (PARMS): Do not use macros from bp-asm.h.
35711 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35712 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35714 (PARMS): Do not use macros from bp-asm.h.
35715 (strlen): Do not use BP_SYM.
35716 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35718 (PARMS): Do not use macros from bp-asm.h.
35722 (__mpn_sub_n): Do not use BP_SYM.
35723 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35725 (PARMS): Do not use macros from bp-asm.h.
35728 (__mpn_submul_1): Do not use BP_SYM.
35729 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35731 (PARMS): Do not use macros from bp-asm.h.
35735 (__mpn_add_n): Do not use BP_SYM.
35736 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35739 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35741 (PARMS): Do not use macros from bp-asm.h.
35744 (memcmp): Do not use BP_SYM.
35745 (bcmp): Do not use BP_SYM in weak_alias.
35746 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35748 (PARMS): Do not use macros from bp-asm.h.
35752 (memcpy): Likewise. Do not use BP_SYM.
35753 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35755 (PARMS): Do not use macros from bp-asm.h.
35759 (memmove): Likewise. Do not use BP_SYM.
35760 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35762 (PARMS): Do not use macros from bp-asm.h.
35766 (__mempcpy): Likewise. Do not use BP_SYM.
35767 (mempcpy): Do not use BP_SYM in weak_alias.
35768 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35770 (PARMS): Do not use macros from bp-asm.h.
35773 [!BZERO_P] (CHR): Likewise.
35774 (memset): Likewise. Do not use BP_SYM.
35775 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35777 (PARMS): Do not use macros from bp-asm.h.
35779 (strcmp): Do not use BP_SYM.
35780 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35782 (PARMS): Do not use macros from bp-asm.h.
35785 [USE_AS_STRTOK_R] (SAVE): Likewise.
35786 (FUNCTION): Likewise. Do not use BP_SYM.
35787 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35789 (strtok_r): Likewise.
35790 (__GI___strtok_r): Likewise.
35791 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35792 (PARMS): Do not use macros from bp-asm.h.
35795 (__mpn_lshift): Do not use BP_SYM.
35796 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35797 (PARMS): Do not use macros from bp-asm.h.
35800 (__memchr): Do not use BP_SYM.
35801 (memchr): Do not use BP_SYM in weak_alias.
35802 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35803 (PARMS): Do not use macros from bp-asm.h.
35806 (memcmp): Do not use BP_SYM.
35807 (bcmp): Do not use BP_SYM in weak_alias.
35808 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35809 (PARMS): Do not use macros from bp-asm.h.
35812 (__mpn_mul_1): Do not use BP_SYM.
35813 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35815 (PARMS): Do not use macros from bp-asm.h.
35818 (__rawmemchr): Do not use BP_SYM.
35819 (rawmemchr): Do not use BP_SYM in weak_alias.
35820 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35821 (PARMS): Do not use macros from bp-asm.h.
35824 (__mpn_rshift): Do not use BP_SYM.
35825 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35826 (PARMS): Do not use macros from bp-asm.h.
35827 (SIGMSK): Likewise.
35828 (__sigsetjmp): Likewise. Do not use BP_SYM.
35829 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35830 (_start): Do not use BP_SYM.
35831 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35832 (PARMS): Do not use macros from bp-asm.h.
35835 (__stpcpy): Likewise. Do not use BP_SYM.
35836 (stpcpy): Do not use BP_SYM in weak_alias.
35837 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35839 (PARMS): Do not use macros from bp-asm.h.
35843 (__stpncpy): Likewise. Do not use BP_SYM.
35844 (stpncpy): Do not use BP_SYM in weak_alias.
35845 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35846 (PARMS): Do not use macros from bp-asm.h.
35849 (strchr): Likewise. Do not use BP_SYM.
35850 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35852 (PARMS): Do not use macros from bp-asm.h.
35855 (__strchrnul): Likewise. Do not use BP_SYM.
35856 (strchrnul): Do not use BP_SYM in weak_alias.
35857 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35859 (PARMS): Do not use macros from bp-asm.h.
35861 (strcspn): Do not use BP_SYM.
35862 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35864 (PARMS): Do not use macros from bp-asm.h.
35867 (strpbrk): Likewise. Do not use BP_SYM.
35868 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35870 (PARMS): Do not use macros from bp-asm.h.
35873 (strrchr): Likewise. Do not use BP_SYM.
35874 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35875 (PARMS): Do not use macros from bp-asm.h.
35877 (strspn): Do not use BP_SYM.
35878 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35879 (PARMS): Do not use macros from bp-asm.h.
35883 (FUNCTION): Likewise. Do not use BP_SYM.
35884 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35886 (strtok_r): Likewise.
35887 (__GI___strtok_r): Likewise.
35888 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35889 (PARMS): Do not use macros from bp-asm.h.
35893 (__mpn_sub_n): Do not use BP_SYM.
35894 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35896 (PARMS): Do not use macros from bp-asm.h.
35899 (__mpn_submul_1): Do not use BP_SYM.
35900 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35902 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35904 (PARMS): Do not use macros from bp-asm.h.
35909 (__clone): Do not use BP_SYM.
35910 (clone): Do not use BP_SYM in weak_alias.
35911 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35913 (PARMS): Do not use macros from bp-asm.h.
35915 (__mmap64): Do not use BP_SYM.
35916 (mmap64): Do not use BP_SYM in weak_alias.
35917 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35918 <bp-sym.h> and <bp-asm.h>.
35919 (PARMS): Do not use macros from bp-asm.h.
35920 (__posix_fadvise64_l64): Do not use BP_SYM.
35921 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35922 (PARMS): Do not use macros from bp-asm.h.
35924 (semtimedop): Do not use BP_SYM.
35925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35928 2013-02-21 Allan McRae <allan@archlinux.org>
35930 * manual/message.texi (Charset conversion in gettext):
35931 Move @end statement to beginning of line.
35933 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35940 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35941 (denorm): Likewise.
35942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35945 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35947 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35948 tail-call to the resolved function if pltexit isn't needed.
35950 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35953 or Y being zero as being unlikely.
35954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35957 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35959 * manual/nss.texi (System Databases and Name Service Switch):
35960 Remove frobnicate @pxref.
35962 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35964 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35965 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35967 2013-02-20 Petr Machata <pmachata@redhat.com>
35969 * elf/elf.h (R_ARM_TARGET1): New macro.
35970 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35971 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35972 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35973 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35974 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35975 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35976 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35977 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35978 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35979 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35980 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35981 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35982 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35983 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35984 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35985 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35986 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35987 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35988 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35989 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35990 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35991 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35992 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35993 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35994 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35995 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35996 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35997 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35998 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35999 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36000 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36001 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36002 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36003 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36004 (R_ARM_THM_GOT_BREL12): Likewise.
36005 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36006 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36007 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36008 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36009 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36010 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36011 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36012 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36013 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36015 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36017 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36018 __attribute_used__ to __attribute__ ((unused)).
36020 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36022 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36025 comment formatting.
36026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36028 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36031 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36033 (ENTER): Remove both macro definitions.
36035 (CHECK_BOUNDS_LOW): Likewise.
36036 (CHECK_BOUNDS_HIGH): Likewise.
36037 (CHECK_BOUNDS_BOTH): Likewise.
36038 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36039 (RETURN_BOUNDED_POINTER): Likewise.
36040 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36041 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36042 (POP_ERRNO_LOCATION_RETURN): Likewise.
36043 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36044 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36045 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36047 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36048 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36049 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36050 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36051 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36052 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36053 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36054 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36055 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36056 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36057 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36058 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36059 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36060 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36062 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36063 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36065 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36066 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36067 * sysdeps/i386/i586/memset.S (memset): Likewise.
36068 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36069 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36070 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36072 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36073 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36074 Change uses of L(2) to L(out).
36075 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36076 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36077 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36078 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36079 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36081 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36082 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36084 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36085 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36086 (RETURN): Do not use macro LEAVE.
36087 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36088 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36089 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36090 * sysdeps/i386/i686/memset.S (memset): Likewise.
36091 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36092 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36094 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36096 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36097 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36098 L(1_2) and L(1_3) into L(1).
36099 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36100 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36101 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36102 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36103 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36104 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36105 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36106 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36107 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36109 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36110 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36111 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36112 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36113 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36114 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36115 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36116 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36117 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36118 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36119 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36120 * sysdeps/i386/strspn.S (strspn): Likewise.
36121 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36123 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36124 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36125 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36126 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36127 L(1_3) into L(1_1).
36128 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36129 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36130 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36132 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36134 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36136 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36139 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36141 * math/atest-exp.c (exp_mpn): Remove ROUND.
36142 * math/atest-exp2.c (exp_mpn): Likewise.
36143 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36145 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36146 * stdlib/tst-tls-atexit-lib.c: Likewise.
36147 * stdlib/tst-tls-atexit.c: Likewise.
36149 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36151 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36152 and __attribute_alloc_size__.
36154 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36156 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36157 __attribute_alloc_size__.
36158 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36159 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36161 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36163 * include/programs/xmalloc.h: New file.
36164 * catgets/gencat.c: Include it.
36165 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36166 * elf/pldd.c: Likewise.
36167 * iconv/iconv_charmap.c: Likewise.
36168 * iconv/iconvconfig.c: Likewise.
36169 * iconv/strtab.c: Likewise.
36170 * locale/programs/locale.c: Likewise.
36171 * locale/programs/localedef.h: Likewise.
36172 * locale/programs/simple-hash.c: Likewise.
36173 * nscd/nscd.h: Likewise.
36174 * nss/makedb.c: Likewise.
36175 * sysdeps/generic/ldconfig.h: Likewise.
36177 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36179 * Versions.def: Add GLIBC_2.18.
36180 * include/link.h (struct link_map): New member l_tls_dtor_count.
36181 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36182 (__call_tls_dtors): Likewise.
36183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36184 __cxa_thread_atexit_impl.
36185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36201 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36202 (tests): Add test case tst-tls-atexit.
36203 (modules-names): Add shared library for tst-tls-atexit.
36204 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36205 (GLIBC_PRIVATE): Add __call_tls_dtors.
36206 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36208 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36209 * stdlib/tst-tls-atexit.c: New test case.
36210 * stdlib/tst-tls-atexit-lib.c: New test case.
36212 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36214 * elf/Versions (ld): Add _dl_find_dso_for_object.
36215 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36216 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36217 (dl_open_worker): Use _dl_find_dso_for_object.
36218 * elf/dl-sym.c (do_sym): Likewise.
36219 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36221 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36223 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36224 Syntactic changes only.
36225 (_dl_runtime_profile): Do a tail-call to the resolved function.
36227 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36230 * sysdeps/x86_64/bp-asm.h: Remove file.
36231 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36232 <bp-sym.h> and <bp-asm.h>.
36233 (__clone): Do not use BP_SYM.
36234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36235 <bp-sym.h> and <bp-asm.h>.
36236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36237 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36239 (_setjmp): Do not use BP_SYM.
36240 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36242 (setjmp): Do not use BP_SYM.
36243 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36245 (mempcpy): Do not use BP_SYM in weak_alias.
36246 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36248 (strchr): Do not use BP_SYM.
36249 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36251 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36252 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36253 (_start): Do not use BP_SYM.
36254 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36256 (strcat): Do not use BP_SYM.
36257 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36259 (STRCMP): Do not use BP_SYM.
36260 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36262 (STRCPY): Do not use BP_SYM.
36263 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36265 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36267 (FUNCTION): Do not use BP_SYM.
36268 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36270 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36272 2013-02-17 Andreas Jaeger <aj@suse.de>
36274 * time/Versions: Sort entries.
36275 * string/Versions: Likewise.
36276 * resolv/Versions: Likewise.
36277 * posix/Versions: Likewise.
36278 * iconv/Versions: Likewise.
36279 * elf/Versions: Likewise.
36280 * wcsmbs/Versions: Likewise.
36282 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36284 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36285 loop termination condition.
36287 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36288 variable to calculate EZ.
36291 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36292 the lower precision input.
36294 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36297 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36298 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36299 (run-via-rtld-prefix): Do not handle %-bp tests.
36300 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36301 (all-object-suffixes): Remove .ob.
36302 (bppfx): Remove variable.
36303 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36304 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36305 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36306 [$(build-bounded) = yes] (libtype.ob): Likewise.
36307 * Makerules (elide-routines.ob): Remove variable.
36308 (do-tests-clean): Do not handle *-bp.out.
36309 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36310 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36311 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36312 (tests): Do not include $(tests-bp.out).
36313 (xtests): Do not include $(xtests-bp.out).
36314 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36315 [$(build-bounded) = yes] ($(addprefix
36316 $(objpfx),$(binaries-bounded))): Remove rule.
36317 ($(objpfx)%-bp.out): Remove rule.
36318 * config.make.in (build-bounded): Remove variable.
36319 * crypt/Makefile [$(build-bounded) = yes]
36320 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36321 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36322 append to variable.
36323 [$(build-bounded) = yes] (install-lib): Likewise.
36324 [$(build-bounded) = yes] (generated): Likewise.
36325 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36327 * intl/Makefile [$(build-bounded) = yes]
36328 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36329 * math/Makefile [$(build-bounded) = yes]
36330 ($(tests:%=$(objpfx)%-bp): Likewise.
36331 * misc/Makefile [$(build-bounded) = yes]
36332 ($(objpfx)tst-tsearch-bp): Likewise.
36333 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36334 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36336 * string/Makefile (o-objects.ob): Remove variable.
36337 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36338 (CFLAGS-.ob): Remove variable.
36339 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36340 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36341 both definitions of variable.
36342 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36343 (ASFLAGS-.ob): Remove variable.
36345 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36348 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36349 Remove __BOUNDED_POINTERS__ from condition.
36350 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36351 * string/bits/string2.h [!__NO_STRING_INLINES &&
36352 !__BOUNDED_POINTERS__]: Likewise.
36353 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36355 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36356 Remove conditional code.
36357 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36358 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36359 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36363 * csu/libc-start.c: Do not include <bp-sym.h>.
36364 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36365 * elf/dl-open.c: Do not include <bp-sym.h>.
36366 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36367 * math/fegetenv.c: Do not include <bp-sym.h>.
36368 (fegetenv): Do not use BP_SYM in versioned symbols.
36369 * nptl/sysdeps/pthread/bits/libc-lockP.h
36370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36373 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36375 (__pthread_mutex_destroy): Likewise.
36376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36377 (__pthread_mutex_lock): Likewise.
36378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36379 (__pthread_mutex_trylock): Likewise.
36380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36381 (__pthread_mutex_unlock): Likewise.
36382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36383 (__pthread_mutexattr_init): Likewise.
36384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36385 (__pthread_mutexattr_destroy): Likewise.
36386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36387 (__pthread_mutexattr_settype): Likewise.
36388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36389 (__pthread_rwlock_init): Likewise.
36390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36391 (__pthread_rwlock_destroy): Likewise.
36392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36393 (__pthread_rwlock_rdlock): Likewise.
36394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36395 (__pthread_rwlock_tryrdlock): Likewise.
36396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36397 (__pthread_rwlock_wrlock): Likewise.
36398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36399 (__pthread_rwlock_trywrlock): Likewise.
36400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36401 (__pthread_rwlock_unlock): Likewise.
36402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36403 (__pthread_key_create): Likewise.
36404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36405 (__pthread_setspecific): Likewise.
36406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36407 (__pthread_getspecific): Likewise.
36408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36411 (_pthread_cleanup_push_defer): Likewise.
36412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36413 (_pthread_cleanup_pop_restore): Likewise.
36414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36415 (pthread_setcancelstate): Likewise.
36416 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36418 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36419 (memchr): Do not use BP_SYM in weak_alias.
36420 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36421 (fegetenv): Do not use BP_SYM in versioned symbols.
36422 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36423 (fesetenv): Do not use BP_SYM in versioned symbols.
36424 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36425 (feupdateenv): Do not use BP_SYM in versioned symbols.
36426 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36427 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36428 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36429 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36430 (open64): Do not use BP_SYM in weak_alias.
36431 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36432 (fegetenv): Do not use BP_SYM in versioned symbols.
36433 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36434 (fesetenv): Do not use BP_SYM in versioned symbols.
36435 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36436 (feupdateenv): Do not use BP_SYM in versioned symbols.
36437 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36438 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36439 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36440 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36441 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36442 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36443 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36445 (__libc_start_main): Do not use BP_SYM.
36447 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36450 redundant return line.
36452 (denorm): Likewise.
36453 (dbl_mp): Likewise.
36454 (sub_magnitudes): Likewise.
36460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36462 (denorm): Likewise.
36463 (dbl_mp): Likewise.
36464 (sub_magnitudes): Likewise.
36471 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36473 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36474 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36477 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36478 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36480 of __mul for squares.
36481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36485 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36486 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36488 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36491 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36493 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36494 prototype or function definition. Rename ubp_* variables and
36495 parameters. Remove argv definitions conditional on
36496 [__BOUNDED_POINTERS__].
36497 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36498 * elf/dl-runtime.c (_dl_fixup): Likewise.
36499 * include/set-hooks.h (RUN_HOOK): Likewise.
36500 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36502 * string/strcpy.c (strcpy): Do not use __unbounded.
36503 * sysdeps/generic/frame.h (struct layout): Likewise.
36504 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36505 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36506 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36507 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36508 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36509 (__backtrace): Likewise.
36510 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36512 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36513 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36514 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36516 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36517 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36518 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36519 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36520 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36521 Do not use __unbounded.
36522 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36523 Rename __unboundedrlimits parameter to rlimits in prototype.
36524 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36525 Do not use __unbounded.
36526 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36527 not use __ptrvalue.
36528 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36529 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36530 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36531 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36532 __ptrvalue or __unbounded.
36533 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36534 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36536 (__new_msgctl): Do not use __ptrvalue.
36537 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36539 (__libc_msgrcv): Do not use __ptrvalue.
36540 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36541 startup_info): Do not use __unbounded.
36542 (__libc_start_main): Likewise. Rename ubp_* variables and
36543 parameters. Remove argv definitions conditional on
36544 [__BOUNDED_POINTERS__].
36545 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36547 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36549 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36551 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36553 (__new_shmctl): Do not use __ptrvalue.
36554 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36555 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36557 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36559 (__libc_sigaction): Likewise.
36560 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36561 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36563 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36565 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36567 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36569 * string/mempcpy.c: Implement by calling memcpy.
36571 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36579 values in the mantissa.
36581 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36582 minimize writes to Z.
36583 (sub_magnitudes): Simplify code a bit.
36585 2013-02-12 Roland McGrath <roland@hack.frob.com>
36587 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36588 from the message. The linker prefixes all warnings with that already.
36590 2013-02-12 Andreas Schwab <schwab@suse.de>
36593 * posix/regexec.c (extend_buffers): Add parameter min_len.
36594 (check_matching): Pass minimum needed length.
36595 (clean_state_log_if_needed): Likewise.
36596 (get_subexp): Likewise.
36597 * posix/Makefile (tests): Add bug-regex34.
36598 (bug-regex34-ENV): Define.
36599 * posix/bug-regex34.c: New file.
36602 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36603 elements compare against the byte sequence of it, not its name.
36604 * posix/Makefile (tests): Add bug-regex35.
36605 (bug-regex35-ENV): Define.
36606 * posix/bug-regex35.c: New file.
36608 2013-02-11 Tom de Vries <tom@codesourcery.com>
36610 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36612 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36613 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36614 (CHECK_EOL): Add undef.
36616 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36618 * bits/stdlib-bsearch.h: New file.
36619 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36620 * stdlib/stdlib.h: Likewise.
36622 2013-02-11 Roland McGrath <roland@hack.frob.com>
36624 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36625 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36627 * manual/search.texi (Array Search Function): Add missing const in
36629 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36630 declaration to use rlim_t.
36631 (Basic Scheduling Functions): Remove erroneous const from
36632 sched_getparam prototype. Remove erroneous * from
36633 sched_get_priority_max and sched_get_priority_min prototypes.
36634 (Resource Usage): Fix summary @comment on vtimes to refer to
36635 sys/vtimes.h rather than vtimes.h.
36636 Add missing *s in vtimes prototype.
36637 (Limits on Resources): Fix ulimit prototype to return long int.
36638 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36639 prototypes to use long int rather than double.
36640 (BSD Random): Fix initstate and setstate to use char *, not void *.
36641 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36642 prototype to make second argument 'struct aiocb64 *const[]'.
36643 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36644 (Status of AIO Operations): Remove erroneous const in aio_return and
36645 aio_return64 prototypes.
36646 (Synchronizing I/O): Fix sync prototype to return void.
36647 * manual/startup.texi (Suboptions): Remove an erroneous const in
36648 getsubopt prototype.
36649 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36650 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36651 use size_t rather than int.
36652 (Scanning All Users): Likewise for getpwent_r.
36653 (Setting Groups): Add missing const to setgroups prototype.
36654 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36655 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36656 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36657 'const void *' rather than 'const char *'.
36658 (Host Address Functions): Likewise for inet_ntop.
36659 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36660 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36661 ssize_t for return value.
36662 (Sending Data): Likewise for send, sendto, sendmsg.
36663 (Socket Option Functions): Add a missing const in setsockopt prototype.
36664 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36665 use wchar_t for the argument.
36666 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36667 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36669 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36670 double/float/long double for second argument.
36671 Fix return types of significand, significandf, significandl.
36672 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36673 argument in fchmod prototype.
36674 (File Owner): Use uid_t and gid_t in fchown prototype.
36675 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36676 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36677 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36678 use 'const struct dirent **' as argument types to CMP function pointer
36680 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36681 (File Times): Fix summary magic @comment for struct utimbuf and utime
36682 to refer to utime.h, not time.h.
36683 * manual/string.texi (Argz Functions): Add missing const in
36684 argz_extract and argz_next prototypes.
36685 (Finding Tokens in a String): Likewise for basename.
36686 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36687 (Copying and Concatenation): Fix typo in wmemmove prototype.
36688 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36689 (Signal Stack): Remove erroneous const in sigstack prototype.
36690 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36692 (Simple Calendar Time): Likewise for stime.
36693 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36695 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36696 say sys/sysctl.h instead.
36697 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36698 and vsyslog prototypes.
36700 2013-02-11 Tom de Vries <tom@codesourcery.com>
36702 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36705 2013-02-11 Roland McGrath <roland@hack.frob.com>
36707 * misc/sys/mman.h: Fix typo in mremap comment.
36709 2013-02-08 Roland McGrath <roland@hack.frob.com>
36711 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36712 the '\0' terminator.
36714 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36717 * debug/segfault.c: Don't include <bp-checks.h>.
36718 * sysdeps/generic/bp-checks.h: Remove file.
36719 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36720 (__GETDENTS): Don't use CHECK_N.
36721 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36722 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36723 (__getgroups): Don't use CHECK_N.
36724 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36725 (setgroups): Don't use CHECK_N.
36726 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36727 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36728 (__libc_msgrcv): Don't use CHECK_N.
36729 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36730 (__libc_msgsnd): Don't use CHECK_N.
36731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36733 (__libc_pread): Don't use CHECK_N.
36734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36735 include <bp-checks.h>.
36736 (__libc_pread64): Don't use CHECK_N.
36737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36738 include <bp-checks.h>.
36739 (__libc_pwrite): Don't use CHECK_N.
36740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36741 include <bp-checks.h>.
36742 (__libc_pwrite64): Don't use CHECK_N.
36743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36745 (__libc_pread): Don't use CHECK_N.
36746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36747 include <bp-checks.h>.
36748 (__libc_pread64): Don't use CHECK_N.
36749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36750 include <bp-checks.h>.
36751 (__libc_pwrite): Don't use CHECK_N.
36752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36753 include <bp-checks.h>.
36754 (__libc_pwrite64): Don't use CHECK_N.
36755 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36756 (do_pread): Don't use CHECK_N.
36757 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36758 (do_pread64): Don't use CHECK_N.
36759 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36760 (do_pwrite): Don't use CHECK_N.
36761 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36762 (do_pwrite64): Don't use CHECK_N.
36763 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36764 (__libc_readv): Don't use CHECK_N.
36765 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36766 (semop): Don't use CHECK_N.
36767 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36769 (semtimedop): Don't use CHECK_N.
36770 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36771 (__libc_pread): Don't use CHECK_N.
36772 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36774 (__libc_pread64): Don't use CHECK_N.
36775 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36777 (__libc_pwrite): Don't use CHECK_N.
36778 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36780 (__libc_pwrite64): Don't use CHECK_N.
36781 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36783 (__libc_msgrcv): Don't use CHECK_N.
36784 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36785 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36786 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36787 (__libc_writev): Don't use CHECK_N.
36789 2013-02-08 Roland McGrath <roland@hack.frob.com>
36791 * string/strcpy.c: Removed unused variable.
36793 * Makeconfig (+sysdep-includes): Define with := rather than =.
36794 Use an existing include/ subdir of each sysdeps dir before it.
36796 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36798 * nscd/connection.c (register_traced_file): Comment function.
36799 [HAVE_INOTIFY] (union __inev): Define.
36800 [HAVE_INOTIFY] (inotify_check_files): New function.
36801 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36802 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36804 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36806 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36808 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36809 loaded if not already and that a failure is permanent.
36811 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36814 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36815 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36817 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36820 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36821 (CHECK_1_NULL_OK): Likewise.
36822 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36823 (__fxstat): Do not use CHECK_1.
36824 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36826 (___fxstat64): Do not use CHECK_1.
36827 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36829 (__fxstatat): Do not use CHECK_1.
36830 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36832 (__fxstatat64): Do not use CHECK_1.
36833 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36835 (__fxstat): Do not use CHECK_1.
36836 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36838 (__fxstatat): Do not use CHECK_1.
36839 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36841 (__getresgid): Do not use CHECK_1.
36842 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36844 (__getresuid): Do not use CHECK_1.
36845 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36847 (__lxstat): Do not use CHECK_1.
36848 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36850 (__old_msgctl): Do not use CHECK_1.
36851 (__new_msgctl): Likewise.
36852 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36854 (__new_setrlimit): Do not use CHECK_1.
36855 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36857 (__old_shmctl): Do not use CHECK_1.
36858 (__new_shmctl): Likewise.
36859 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36861 (__xstat): Do not use CHECK_1.
36862 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36863 (__lxstat): Do not use CHECK_1.
36864 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36866 (___lxstat64): Do not use CHECK_1.
36867 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36868 (__old_msgctl): Do not use CHECK_1.
36869 (__new_msgctl): Likewise.
36870 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36872 (__gettimeofday): Do not use CHECK_1.
36873 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36874 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36877 (__gettimeofday): Do not use CHECK_1.
36878 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36879 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36880 (__new_shmctl): Do not use CHECK_1.
36881 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36883 (do_sigtimedwait): Do not use CHECK_1.
36884 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36886 (do_sigwaitinfo): Do not use CHECK_1.
36887 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36889 (msgctl): Do not use CHECK_1.
36890 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36892 (shmctl): Do not use CHECK_1.
36893 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36894 (ustat): Do not use CHECK_1.
36895 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36897 (__fxstat): Do not use CHECK_1.
36898 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36900 (__fxstatat): Do not use CHECK_1.
36901 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36903 (__lxstat): Do not use CHECK_1.
36904 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36906 (__xstat): Do not use CHECK_1.
36907 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36908 (__xstat): Do not use CHECK_1.
36909 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36910 (___xstat64): Do not use CHECK_1.
36913 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36915 (CHECK_BOUNDS_HIGH): Likewise.
36916 * string/strcpy.c: Do not include <bp-checks.h>.
36917 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36919 2013-02-07 Roland McGrath <roland@hack.frob.com>
36921 * nscd/nscd-client.h (__nscd_drop_map_ref):
36922 Add __attribute__ ((unused)).
36923 * nis/nss-nisplus.h (niserr2nss): Likewise.
36925 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36926 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36928 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36929 Remove inline keyword.
36930 * include/rounding-mode.h (round_away): Likewise.
36931 * libio/wfileops.c (adjust_wide_data): Likewise.
36932 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36933 (__m128i_strloadu_tolower): Likewise.
36934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36935 (__m128i_strloadu_tolower): Likewise.
36936 * time/mktime.c (ydhms_diff): Likewise.
36937 * locale/elem-hash.h (elem_hash): Likewise.
36938 * locale/setlocale.c (setdata): Likewise.
36939 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36940 (re_string_wchar_at): Likewise.
36941 (bitset_not, bitset_merge, bitset_mask): Likewise.
36942 [!(__GNUC__ > 3)] (inline): Remove macro.
36943 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36944 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36945 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36946 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36947 * string/memcmp.c (memcmp_bytes): Likewise.
36948 * locale/programs/locarchive.c (compute_hashval): Likewise.
36949 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36950 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36951 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36952 * nss/getent.c (print_rpc, print_protocols): Likewise.
36953 (print_passwd, print_group, print_aliases): Likewise.
36954 * nis/nss-nisplus.h (niserr2nss): Likewise.
36955 * nscd/connections.c (restart_p): Likewise.
36956 Change return type to bool.
36958 2013-02-05 Roland McGrath <roland@hack.frob.com>
36960 * Makeconfig (all-Depend-files): Add existing
36961 $(sorted-subdirs:=/Depend) files.
36962 (all-subdirs): Remove nss.
36963 * sysdeps/unix/inet/Subdirs: Add it here instead.
36964 * hesiod/Depend: New file.
36966 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36967 instead of calling alloca.
36969 * io/lseek.c (__lseek): Rename to __libc_lseek.
36970 Define __lseek as an alias.
36972 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36974 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36976 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36977 else clause and remove check for non-standard endianness.
36979 2013-02-04 David S. Miller <davem@davemloft.net>
36981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36983 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36986 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36987 (__ubp_memchr): Remove prototype.
36988 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36989 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36990 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36991 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36992 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36994 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36995 (__ubp_memchr): Likewise.
36996 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36997 (__ubp_memchr): Likewise.
36998 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36999 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37000 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37001 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37003 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37004 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37005 (__getcwd): Do not use CHECK_STRING.
37006 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37008 (__real_chown): Do not use CHECK_STRING.
37009 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37011 (fchownat): Do not use CHECK_STRING.
37012 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37014 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37016 (__lchown): Do not use CHECK_STRING.
37017 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37018 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37019 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37020 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37022 include <bp-checks.h>.
37023 (truncate64): Do not use CHECK_STRING.
37024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37026 (__real_chown): Do not use CHECK_STRING.
37027 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37029 (__lchown): Do not use CHECK_STRING.
37030 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37032 (__chown): Do not use CHECK_STRING.
37033 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37035 (truncate64): Do not use CHECK_STRING.
37036 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37038 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37039 (__xmknod): Do not use CHECK_STRING.
37040 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37042 (__xmknodat): Do not use CHECK_STRING.
37043 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37044 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37046 2013-02-04 Andreas Schwab <schwab@suse.de>
37049 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37050 * include/netdb.h: Likewise for h_errno.
37051 * elf/tst-stackguard1.c: Include <tls.h>.
37053 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37055 * elf/link.h (struct link_map): Extend the l_addr comment.
37056 * include/link.h (struct link_map): Likewise.
37058 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37061 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37062 (BOUNDED_1): Remove macro.
37063 * debug/backtrace.c: Don't include <bp-checks.h>.
37064 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37065 (__backtrace): Likewise.
37066 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37068 (__backtrace): Don't use BOUNDED_1.
37069 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37071 (__backtrace): Don't use BOUNDED_1.
37072 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37073 (__backtrace): Don't use BOUNDED_1.
37074 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37075 (shmat): Don't use BOUNDED_N.
37077 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37080 * sysdeps/generic/bp-start.h: Remove file.
37081 * csu/libc-start.c: Don't include <bp-start.h>.
37082 (LIBC_START_MAIN): Set up __environ directly instead of using
37083 INIT_ARGV_and_ENVIRON.
37084 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37088 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37090 (CHECK_FCNTL): Likewise.
37091 (CHECK_N_PAGES): Likewise.
37094 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37096 (CHECK_SIGSET_NULL_OK): Likewise.
37097 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37099 (sigpending): Don't use CHECK_SIGSET.
37100 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37102 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37103 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37105 (do_sigsuspend): Don't use CHECK_SIGSET.
37106 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37108 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37109 (do_sigwait): Don't use CHECK_SIGSET.
37110 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37113 include <bp-checks.h>.
37114 (sigpending): Don't use CHECK_SIGSET.
37115 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37116 include <bp-checks.h>.
37117 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37118 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37120 (sigpending): Don't use CHECK_SIGSET.
37121 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37123 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37126 * sysdeps/generic/bp-semctl.h: Remove file.
37127 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37128 <bp-checks.h> and <bp-semctl.h>.
37129 (__old_semctl): Don't use CHECK_SEMCTL.
37130 (__new_semctl): Likewise.
37131 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37133 (__old_semctl): Don't use CHECK_SEMCTL.
37134 (__new_semctl): Likewise.
37135 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37136 <bp-checks.h> and <bp-semctl.h>.
37137 (__old_semctl): Don't use CHECK_SEMCTL.
37138 (__new_semctl): Likewise.
37139 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37140 <bp-checks.h> and <bp-semctl.h>.
37141 (semctl): Don't use CHECK_SEMCTL.
37144 * Makerules (elide-bp-thunks): Remove variable.
37145 (elide-routines.oS): Don't use $(elide-bp-thunks).
37146 (elide-routines.os): Likewise.
37147 (elide-routines.o): Likewise.
37148 (elide-routines.op): Likewise.
37149 (elide-routines.og): Likewise.
37150 (objects): Don't use $(bp-thunks).
37151 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37153 (common-generated): Do not add s-proto-bp.d.
37154 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37157 Do not generate makefile rules for bounded-pointer thunks.
37158 * sysdeps/generic/bp-thunks.h: Remove file.
37159 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37160 * sysdeps/unix/s-proto-bp.S: Likewise.
37163 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37164 parts of result separately when argument is not close to line from
37165 -i to i and one part of argument is small.
37166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37168 * math/libm-test.inc (cacos_test): Add more tests.
37169 (casin_test): Likewise.
37170 (casinh_test): Likewise.
37171 * sysdeps/i386/fpu/libm-test-ulps: Update.
37172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37174 2013-01-31 David S. Miller <davem@davemloft.net>
37176 * po/de.po: Update from translation team.
37178 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37180 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37182 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37184 * configure.in (_AC_PROG_CC_C89): New definition.
37185 * configure: Regenerate.
37187 * configure.in (AC_PROG_CPP): New definition.
37188 * configure: Regenerate.
37190 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37192 * debug/tst-backtrace.h: New file.
37193 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37194 (ret): Remove variable.
37196 (FAIL): Remove macro.
37197 (NO_INLINE): Likewise.
37198 (fn1): Use match function instead of strstr.
37199 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37200 (ret): Remove variable.
37202 (FAIL): Remove macro.
37203 (NO_INLINE): Likewise.
37204 (fn): Use match function instead of strstr.
37205 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37206 (ret): Remove variable.
37208 (FAIL): Remove macro.
37209 (NO_INLINE): Likewise.
37210 (handle_signal): Use match function instead of strstr.
37211 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37212 (ret): Remove variable.
37214 (FAIL): Remove macro.
37215 (NO_INLINE): Likewise.
37216 (handle_signal): Use match function instead of strstr.
37218 2013-01-23 Roland McGrath <roland@hack.frob.com>
37220 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37222 2013-01-23 David S. Miller <davem@davemloft.net>
37224 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37225 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37226 argument of CAS if possible.
37227 * sysdeps/sparc/sparc64/bits/atomic.h
37228 (__arch_compare_and_exchange_val_32_acq): Likewise.
37229 (__arch_compare_and_exchange_val_64_acq): Likewise.
37231 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37233 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37234 * sysdeps/posix/ulimit.c: ... this.
37235 Include <limits.h>.
37236 * sysdeps/unix/bsd/ulimit.c: Remove file.
37238 2013-01-23 Adam Conrad <adconrad@0c3.net>
37240 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37241 (LDFLAGS-tst-array5): Likewise.
37243 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37246 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37247 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37248 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37249 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37251 2013-01-21 David S. Miller <davem@davemloft.net>
37253 * sysdeps/sparc/backtrace.c: New file.
37254 * sysdeps/sparc/sparc32/backtrace.h: New file.
37255 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37256 * sysdeps/sparc/sparc64/backtrace.h: New file.
37257 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37258 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37261 2013-01-21 Andreas Schwab <schwab@suse.de>
37264 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37267 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37273 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37274 Mark Mitchell <mark@codesourcery.com>
37275 Tom de Vries <tom@codesourcery.com>
37276 Paul Pluzhnikov <ppluzhnikov@google.com>
37278 * debug/tst-backtrace2.c: New file.
37279 * debug/tst-backtrace3.c: Likewise.
37280 * debug/tst-backtrace4.c: Likewise.
37281 * debug/tst-backtrace5.c: Likewise.
37282 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37283 (CFLAGS-tst-backtrace3.c): Likewise.
37284 (CFLAGS-tst-backtrace4.c): Likewise.
37285 (CFLAGS-tst-backtrace5.c): Likewise.
37286 (LDFLAGS-tst-backtrace2): Likewise.
37287 (LDFLAGS-tst-backtrace3): Likewise.
37288 (LDFLAGS-tst-backtrace4): Likewise.
37289 (LDFLAGS-tst-backtrace5): Likewise.
37290 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37291 tst-backtrace4 and tst-backtrace5.
37293 2013-01-18 Anton Blanchard <anton@samba.org>
37294 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37296 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37297 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37299 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37301 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37302 "+r" and remove output regs list as redundant. Add explicit inline
37303 asm to specify register of return val to work around compiler codegen
37304 bug. Remove (int) cast on return value. Add return type parameter to
37305 use in macro so that this macro does not truncate return value for
37307 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37308 pass to INTERNAL_VSYSCALL_NCS.
37309 (INLINE_VSYSCALL): Add 'long int' as return type to
37310 INTERNAL_VSYSCALL_NCS macro invocation.
37311 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37312 INTERNAL_VSYSCALL_NCS macro invocation.
37313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37315 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37318 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37319 Fix application of SIMD FP exception mask.
37321 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37322 mp_no from a power of two.
37323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37324 __mpexp_twomm1. Use __pow_mp.
37326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37329 2013-01-17 David S. Miller <davem@davemloft.net>
37331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37333 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37336 * include/complex.h: Condition contents on [!_COMPLEX_H].
37337 (__kernel_casinhf): New prototype.
37338 (__kernel_casinh): Likewise.
37339 (__kernel_casinhl): Likewise.
37340 * math/Makefile (libm_calls): Add k_casinh.
37341 * math/k_casinh.c: New file.
37342 * math/k_casinhf.c: Likewise.
37343 * math/k_casinhl.c: Likewise.
37344 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37345 finite nonzero arguments.
37346 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37347 finite nonzero arguments.
37348 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37349 finite nonzero arguments.
37350 * math/s_casinh.c: Do not include <float.h>.
37351 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37352 * math/s_casinhf.c: Do not include <float.h>.
37353 (__casinhf): Move code for finite nonzero arguments to
37355 * math/s_casinhl.c: Do not include <float.h>.
37356 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37358 (__casinhl): Move code for finite nonzero arguments to
37360 * math/libm-test.inc (cacos_test): Add more tests.
37361 * sysdeps/i386/fpu/libm-test-ulps: Update.
37362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37364 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37366 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37367 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37368 [!HAVE_MREMAP]: Remove [defined linux] case.
37369 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37371 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37373 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37375 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37377 * elf/elf.h (R_386_SIZE32): New relocation.
37378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37380 (elf_machine_rela): Likewise.
37381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37382 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37384 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37386 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37387 (FP_FAST_FMA): Do not define.
37388 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37389 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37390 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37391 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37392 !_SOFT_FLOAT]: Likewise.
37393 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37394 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37396 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37397 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37398 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37399 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37400 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37401 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37404 2013-01-16 Andreas Schwab <schwab@suse.de>
37407 * include/stdlib.h (__mktemp): Add declaration.
37408 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37409 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37411 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37413 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37415 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37416 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37417 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37419 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37420 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37424 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37425 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37426 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37428 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37429 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37431 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37433 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37435 2013-01-15 David S. Miller <davem@davemloft.net>
37437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37438 trunc{,f} to libm-sysdep_routes.
37439 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37449 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37450 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37451 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37452 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37453 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37454 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37457 nearbyint{,f} to libm-sysdep_routes.
37458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37469 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37471 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37472 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37474 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37475 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37476 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37478 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37479 libc_feholdexcept and libc_fesetenv.
37481 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37483 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37485 2013-01-14 David S. Miller <davem@davemloft.net>
37487 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37488 (SPARC_ASM_VIS2_IFUNC): Likewise.
37489 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37491 use of 'siam' instruction.
37492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37525 routines to libm-sysdep_routines.
37526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37529 fdim/fdimf to libm-sysdep_routines.
37530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37538 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37539 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37540 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37541 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37543 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37545 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37546 to optimize copies.
37548 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37553 local variable MPTWO.
37554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37557 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37559 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37562 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37564 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37566 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37568 * manual/pattern.texi (glob_t): Document gl_flags.
37569 (glob64_t): Likewise.
37571 2013-01-11 David S. Miller <davem@davemloft.net>
37573 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37574 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37575 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37576 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37577 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37578 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37579 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37580 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37581 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37582 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37583 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37584 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37585 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37587 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37588 sparc V9 rather than using V8 code.
37589 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37590 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37592 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37594 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37597 2013-01-11 Roland McGrath <roland@hack.frob.com>
37599 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37600 not in the main loop.
37601 * configure: Regenerated.
37603 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37605 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37606 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37608 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37609 [!__GLIBC_HAVE_LONG_LONG] case.
37610 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37611 condition to just #else.
37612 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37613 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37614 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37615 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37617 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37618 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37619 #elif condition to just #else.
37620 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37621 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37622 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37623 #elif condition to just #else.
37625 2013-01-11 Steve Ellcey <sellcey@mips.com>
37627 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37628 (EF_MIPS_ARCH_64): Fix value.
37629 (EF_MIPS_ARCH_32R2): New.
37630 (EF_MIPS_ARCH_64R2): New.
37632 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37634 * Makeconfig (+link-pie-before-libc): New.
37635 (+link-pie-after-libc): Likewise.
37636 (+link-pie-tests): Likewise.
37637 (+link-pie): Rewritten.
37638 (link-before-libc): Remove $(config-LDFLAGS).
37639 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37640 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37641 (config-LDFLAGS): Renamed to ...
37642 (rtld-LDFLAGS): This.
37643 (rtld-tests-LDFLAGS): New macro.
37644 (link-libc-rpath-link): Likewise.
37645 (link-libc-tests-rpath-link): Likewise.
37646 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37647 (link-libc): Prepand $(link-libc-rpath-link).
37648 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37649 (test-program-prefix): New macro.
37650 (test-via-rtld-prefix): Likewise.
37651 (test-program-cmd): Likewise.
37652 (host-test-program-cmd): Likewise.
37653 * Makefile ($(common-objpfx)testrun.sh): Replace
37654 $(run-program-prefix) with $(test-program-prefix).
37655 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37657 ($(common-objpfx)shlib.lds): Likewise.
37658 (build-module-helper): Likewise.
37659 ($(common-objpfx)format.lds): Likewise.
37660 * Rules (binaries-pie-tests): New.
37661 (binaries-pie-notests): Likewise.
37662 (binaries-pie): Rewritten.
37663 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37664 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37665 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37666 (make-test-out): Replace $(host-built-program-cmd) with
37667 $(host-test-program-cmd).
37668 * config.make.in (build-hardcoded-path-in-tests): New variable.
37669 * configure.in (--enable-hardcoded-path-in-tests): New configure
37671 (hardcoded_path_in_tests): New AC_SUBST.
37672 * configure: Regenerated.
37673 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37674 $(built-program-cmd) with $(test-program-cmd).
37675 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37676 (test_program_cmd): This.
37677 * elf/Makefile ($(objpfx)order.out): Run test with
37678 $(test-program-prefix).
37679 ($(objpfx)order2.out): Likewise.
37680 ($(objpfx)tst-initorder.out): Likewise.
37681 ($(objpfx)tst-initorder2.out): Likewise.
37682 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37683 $(test-program-cmd).
37684 ($(objpfx)tst-array1-static.out): Likewise.
37685 ($(objpfx)tst-array2.out): Likewise.
37686 ($(objpfx)tst-array3.out): Likewise.
37687 ($(objpfx)tst-array4.out): Likewise.
37688 ($(objpfx)tst-array5.out): Likewise.
37689 ($(objpfx)tst-array5-static.out): Likewise.
37690 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37691 $(test-program-cmd).
37692 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37693 $(run-program-prefix) with $(test-program-prefix).
37694 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37695 (test_program_prefix): This.
37696 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37697 $(run-program-prefix) with $(test-program-prefix).
37698 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37699 (test_program_prefix): This.
37700 * iconvdata/tst-tables.sh: Likewise.
37701 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37702 $(run-program-prefix) with $(test-program-prefix).
37703 ($(objpfx)tst-translit.out): Likewise.
37704 ($(objpfx)tst-gettext2.out): Likewise.
37705 ($(objpfx)tst-gettext4.out): Likewise.
37706 ($(objpfx)tst-gettext6.out): Likewise.
37707 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37708 (test_program_prefix): This.
37709 * intl/tst-gettext2.sh: Likewise.
37710 * intl/tst-gettext4.sh Likewise.
37711 * intl/tst-gettext6.sh: Likewise.
37712 * intl/tst-translit.sh: Likewise.
37713 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37714 with $(test-program-cmd).
37715 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37716 $(run-program-prefix) with $(test-program-prefix).
37717 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37718 (test_program_prefix): This.
37719 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37720 $(run-program-prefix) with $(test-program-prefix).
37721 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37722 (test_program_prefix): This.
37723 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37724 * posix/Makefile ($(objpfx)globtest.out): Replace
37725 $(run-via-rtld-prefix) and $(test-wrapper) with
37726 $(test-program-prefix) and $(test-via-rtld-prefix).
37727 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37728 $(test-program-prefix).
37729 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37730 $(host-test-program-cmd).
37731 (tst-spawn-ARGS): Likewise.
37732 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37733 $(test-program-prefix).
37734 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37735 (test_via_rtld_prefix): This.
37736 (test_wrapper): Renamed to ...
37737 (test_program_prefix): This.
37738 (run_program_prefix): Replaced by test_program_prefix.
37739 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37740 (test_program_prefix): This.
37741 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37742 with $(host-test-program-cmd).
37743 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37744 $(run-program-prefix) with $(test-program-prefix).
37745 ($(objpfx)tst-printf.out): Likewise.
37746 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37747 $(test-program-cmd).
37748 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37749 (test_program_prefix): This.
37750 * stdio-common/tst-unbputc.sh: Likewise.
37751 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37752 $(run-program-prefix) with $(test-program-prefix).
37753 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37754 (test_program_prefix): This.
37755 * string/Makefile ($(objpfx)tst-svc.out): Replace
37756 $(built-program-cmd) with $(test-program-cmd).
37758 2013-01-11 Andreas Jaeger <aj@suse.de>
37761 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37762 value. Sync with Linux 3.7.
37764 2013-01-10 David S. Miller <davem@davemloft.net>
37766 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37767 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37768 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37770 2013-01-10 Roland McGrath <roland@hack.frob.com>
37772 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37774 * configure: Regenerated.
37776 2013-01-10 David S. Miller <davem@davemloft.net>
37778 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37779 sparc V9 rather than using V8 code.
37780 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37781 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37783 2013-01-10 Roland McGrath <roland@hack.frob.com>
37785 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37786 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37787 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37788 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37789 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37790 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37791 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37792 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37793 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37794 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37795 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37796 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37797 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37798 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37799 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37800 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37801 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37802 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37803 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37804 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37805 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37806 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37807 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37808 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37809 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37810 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37811 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37813 2013-01-10 David S. Miller <davem@davemloft.net>
37815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37817 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37819 * posix/Makefile (tests-static): New variable.
37820 (tests): Add $(tests-static).
37821 (tst-exec-static-ARGS): New variable.
37822 (tst-spawn-static-ARGS): Likewise.
37823 * posix/tst-exec-static.c: New file.
37824 * posix/tst-spawn-static.c: Likewise.
37825 * posix/tst-exec.c: Support run directly.
37826 * posix/tst-spawn.c: Likewise.
37828 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37830 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37832 * math/bits/mathcalls.h (llrint): Likewise.
37833 (llround): Likewise.
37834 * stdlib/stdlib.h (struct drand48_data): Likewise.
37835 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37836 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37837 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37839 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37841 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37842 (elf_greg_t): Likewise.
37843 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37844 (__jmp_buf): Likewise.
37845 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37847 (llrint): Likewise, for all definitions.
37848 (llrintl): Likewise.
37850 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37851 Remove [__GNUC__] condition.
37852 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37853 condition to just [__USE_ISOC99].
37854 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37856 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37859 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37860 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37862 (_POSIX_V6_ILP32_OFF32): Likewise.
37863 (_XBS5_ILP32_OFF32): Likewise.
37864 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37865 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37867 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37869 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37872 doubles __mpexp_twomm1. Adjust usage.
37873 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37876 2013-01-10 Andreas Schwab <schwab@suse.de>
37879 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37880 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37882 2013-01-09 David S. Miller <davem@davemloft.net>
37885 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37886 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37887 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37888 (TCP_FASTOPEN): Define.
37889 (tcp_repair_opt): New structure.
37890 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37892 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37893 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37894 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37895 (tcp_cookie_transactions): New structure.
37897 2013-01-09 Anton Blanchard <anton@samba.org>
37899 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37900 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37901 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37902 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37904 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37906 * include/features.h (__USE_ANSI): Remove.
37908 2013-01-09 Roland McGrath <roland@hack.frob.com>
37910 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37912 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37914 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37916 * sysdeps/s390/fpu/libm-test-ulps: Update.
37918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37920 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37924 (denorm): Likewise.
37925 (__mp_dbl): Likewise.
37926 (__dbl_mp): Likewise.
37927 (add_magnitudes): Likewise.
37928 (sub_magnitudes): Likewise.
37934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37938 (denorm): Likewise.
37939 (__mp_dbl): Likewise.
37940 (__dbl_mp): Likewise.
37941 (add_magnitudes): Likewise.
37942 (sub_magnitudes): Likewise.
37948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37952 (denorm): Likewise.
37953 (__mp_dbl): Likewise.
37954 (__dbl_mp): Likewise.
37955 (add_magnitudes): Likewise.
37956 (sub_magnitudes): Likewise.
37963 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37965 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37966 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37967 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37968 2 && __USE_EXTERN_INLINES]: Likewise.
37970 2013-01-08 Andreas Jaeger <aj@suse.de>
37973 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37975 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37976 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37978 2013-01-07 Anton Blanchard <anton@samba.org>
37980 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37981 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37982 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37983 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37984 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37985 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37986 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37987 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37989 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37992 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37995 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37996 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37997 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37998 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37999 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38000 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38001 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38003 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38004 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38005 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38006 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38007 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38009 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38010 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38012 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38013 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38014 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38015 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38016 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38019 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38020 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38021 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38022 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38024 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38026 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38027 (__MALLOC_PMT): Likewise.
38028 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38029 [__GNUC__], only on [_LIBC].
38030 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38031 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38032 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38033 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38034 forward declaration.
38035 (realloc_hook_ini): Likewise.
38036 (memalign_hook_ini): Likewise.
38037 (__libc_memalign): Do not use __MALLOC_PMT in variable
38039 (__libc_valloc): Likewise.
38040 (__libc_pvalloc): Likewise.
38041 (__libc_calloc): Likewise.
38042 (__posix_memalign): Likewise.
38045 * math/s_casinh.c: Include <float.h>.
38046 (__casinh): Do not do computation with squaring and square root
38047 for large arguments.
38048 * math/s_casinhf.c: Include <float.h>.
38049 (__casinhf): Do not do computation with squaring and square root
38050 for large arguments.
38051 * math/s_casinhl.c: Include <float.h>.
38052 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38053 (__casinhl): Do not do computation with squaring and square root
38054 for large arguments.
38055 * math/libm-test.inc (casin_test): Add more tests.
38056 (casinh_test): Likewise.
38057 * sysdeps/i386/fpu/libm-test-ulps: Update.
38058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38060 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38062 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38063 (__x86_64_raw_data_cache_size): Likewise.
38064 (__x86_64_data_cache_size_half): Likewise.
38065 (__x86_64_raw_data_cache_size_half): Likewise.
38066 (__x86_64_shared_cache_size): Likewise.
38067 (__x86_64_raw_shared_cache_size): Likewise.
38068 (__x86_64_shared_cache_size_half): Likewise.
38069 (__x86_64_raw_shared_cache_size_half): Likewise.
38070 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38072 (__x86_data_cache_size): This.
38073 (__x86_64_raw_data_cache_size): Renamed to ...
38074 (__x86_raw_data_cache_size): This.
38075 (__x86_64_data_cache_size_half): Renamed to ...
38076 (__x86_data_cache_size_half): This.
38077 (__x86_64_raw_data_cache_size_half): Renamed to ...
38078 (__x86_raw_data_cache_size_half): This.
38079 (__x86_64_shared_cache_size): Renamed to ...
38080 (__x86_shared_cache_size): This.
38081 (__x86_64_raw_shared_cache_size): Renamed to ...
38082 (__x86_raw_shared_cache_size): This.
38083 (__x86_64_shared_cache_size_half): Renamed to ...
38084 (__x86_shared_cache_size_half): This.
38085 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38086 (__x86_raw_shared_cache_size_half): This.
38087 * sysdeps/x86_64/memcpy.S: Updated.
38088 * sysdeps/x86_64/memset.S: Likewise.
38089 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38093 2013-01-04 David S. Miller <davem@davemloft.net>
38095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38097 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38099 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38100 1 to avoid redefinition warning.
38101 (__USE_GNU): Don't define.
38102 (init_signaling_nan): Protoize.
38104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38106 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38108 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38109 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38110 (__cpymn): Likewise.
38111 (norm): Remove commented code.
38112 (denorm): Likewise.
38113 (__mp_dbl): Likewise.
38115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38116 (__cpymn): Likewise.
38117 (norm): Remove commented code.
38118 (denorm): Likewise.
38119 (__mp_dbl): Likewise.
38122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38123 mp_no value for 1.0 and 2.0.
38124 (norm): Use RADIXI instead of radixi.d.
38125 (denorm): Likewise.
38126 (__mul): Use 0.0 instead of zero.d.
38127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38128 mp_no value for 1.0 and 2.0.
38129 (norm): Use RADIXI instead of radixi.d.
38130 (denorm): Likewise.
38131 (__mul): Use 0.0 instead of zero.d.
38133 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38136 * math/s_casinh.c (__casinh): Reduce finite argument to first
38137 quadrant then set signs of results at the end.
38138 * math/s_casinhf.c (__casinhf): Likewise.
38139 * math/s_casinhl.c (__casinhl): Likewise.
38140 * math/libm-test.inc (casin_test): Add more tests.
38141 (casinh_test): Likewise.
38142 * sysdeps/i386/fpu/libm-test-ulps: Update.
38143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38145 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38147 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38149 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38151 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38153 (denorm): Likewise.
38154 (__mp_dbl): Likewise.
38157 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38158 and adjust the header comment.
38160 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38161 variable name from declaration.
38163 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38166 Initialize COMMON_CPUID_INDEX_7 element.
38167 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38168 (CPUID_RTM): Likewise.
38169 (HAS_RTM): Likewise.
38170 (COMMON_CPUID_INDEX_7): New enum.
38172 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38175 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38176 size is zero, record memory as freed.
38178 2013-01-03 Andreas Jaeger <aj@suse.de>
38180 * po/ia.po: Add new Interlingua translation.
38182 2012-01-03 Allan McRae <allan@archlinux.org>
38184 * locale/programs/localedef.c: Fix description of '--posix' flag.
38186 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38188 * NEWS: Update dates in second copyright notice.
38189 * README: Update copyright dates in example.
38190 * manual/libc.texinfo: Update copyright dates.
38191 * scripts/test-installation.pl: Update copyright date in --version
38194 * hurd/ctty-input.c: Fix copyright notice formatting.
38195 * hurd/ctty-output.c: Likewise.
38196 * hurd/dtable.c: Likewise.
38197 * hurd/hurd-raise.c: Likewise.
38198 * hurd/hurdprio.c: Likewise.
38199 * hurd/msgportdemux.c: Likewise.
38200 * misc/sys/file.h: Likewise.
38201 * misc/sys/ioctl.h: Likewise.
38202 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38203 * sysdeps/mach/hurd/chdir.c: Likewise.
38204 * sysdeps/mach/hurd/fchdir.c: Likewise.
38205 * sysdeps/mach/hurd/rename.c: Likewise.
38206 * sysdeps/mach/hurd/rmdir.c: Likewise.
38207 * sysdeps/mach/hurd/seekdir.c: Likewise.
38208 * sysdeps/mach/hurd/setsid.c: Likewise.
38209 * sysdeps/posix/wait3.c: Likewise.
38211 * All files with FSF copyright notices: Update copyright dates
38212 using scripts/update-copyrights.
38213 * intl/plural.c: Regenerated.
38214 * locale/programs/charmap-kw.h: Likewise.
38215 * locale/programs/locfile-kw.h: Likewise.
38217 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38219 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38222 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38223 calculation loop and add branch prediction.
38225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38226 check access beyond bounds of m1np.
38228 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38230 (__inv): Remove local variable MPTWO to use the global
38232 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38233 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38235 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38236 MP3HALFS static const.
38238 2013-01-01 David S. Miller <davem@davemloft.net>
38240 * po/ca.po: Update from translation team.
38242 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38244 * scripts/update-copyrights: New file.
38245 * Makeconfig: Reformat copyright notice.
38246 * ctype/ctype.h: Likewise.
38247 * debug/swprintf_chk.c: Likewise.
38248 * elf/dl-cache.c: Likewise.
38249 * elf/dl-debug.c: Likewise.
38250 * elf/dl-object.c: Likewise.
38251 * grp/initgroups.c: Likewise.
38252 * hurd/Makefile: Likewise.
38253 * hurd/hurd/signal.h: Likewise.
38254 * hurd/hurdfault.c: Likewise.
38255 * hurd/hurdioctl.c: Likewise.
38256 * hurd/hurdlookup.c: Likewise.
38257 * hurd/intr-msg.c: Likewise.
38258 * iconv/gconv_open.c: Likewise.
38259 * libio/swprintf.c: Likewise.
38260 * locale/lc-ctype.c: Likewise.
38261 * locale/nl_langinfo.c: Likewise.
38262 * mach/Machrules: Likewise.
38263 * mach/Makefile: Likewise.
38264 * malloc/obstack.h: Likewise.
38265 * manual/Makefile: Likewise.
38266 * manual/tsort.awk: Likewise.
38267 * misc/bits/stab.def: Likewise.
38268 * nis/nis_print_group_entry.c: Likewise.
38269 * nis/nis_table.c: Likewise.
38270 * nis/nss_compat/compat-pwd.c: Likewise.
38271 * nis/nss_compat/compat-spwd.c: Likewise.
38272 * po/Makefile: Likewise.
38273 * posix/fnmatch.c: Likewise.
38274 * posix/regex.h: Likewise.
38275 * resolv/Makefile: Likewise.
38276 * resolv/nss_dns/dns-network.c: Likewise.
38277 * resolv/res_hconf.c: Likewise.
38278 * scripts/gen-sorted.awk: Likewise.
38279 * soft-fp/soft-fp.h: Likewise.
38280 * stdio-common/printf.h: Likewise.
38281 * stdlib/monetary.h: Likewise.
38282 * stdlib/random.c: Likewise.
38283 * stdlib/random_r.c: Likewise.
38284 * sysdeps/generic/Makefile: Likewise.
38285 * sysdeps/gnu/Makefile: Likewise.
38286 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38294 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38296 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38297 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38298 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38299 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38300 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38301 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38306 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38307 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38308 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38309 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38310 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38311 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38312 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38313 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38314 * sysdeps/mach/hurd/errnos.awk: Likewise.
38315 * sysdeps/mach/hurd/fork.c: Likewise.
38316 * sysdeps/mach/hurd/getcwd.c: Likewise.
38317 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38318 * sysdeps/mach/hurd/mmap.c: Likewise.
38319 * sysdeps/mach/hurd/utimes.c: Likewise.
38320 * sysdeps/mach/hurd/xmknod.c: Likewise.
38321 * sysdeps/posix/profil.c: Likewise.
38322 * sysdeps/posix/readdir_r.c: Likewise.
38323 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38324 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38325 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38326 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38328 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38332 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38333 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38334 * sysdeps/pthread/lio_listio.c: Likewise.
38335 * sysdeps/sparc/dl-procinfo.h: Likewise.
38336 * sysdeps/unix/i386/sysdep.S: Likewise.
38337 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38338 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38339 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38340 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38342 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38343 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38344 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38345 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38346 * sysdeps/wordsize-32/divdi3.c: Likewise.
38347 * time/sys/time.h: Likewise.
38348 * wcsmbs/Makefile: Likewise.
38350 2013-01-01 David S. Miller <davem@davemloft.net>
38352 * po/fr.po: Update from translation team.
38354 * catgets/gencat.c: Update copyright year.
38355 * csu/version.c: Likewise.
38356 * debug/catchsegv.sh: Likewise.
38357 * debug/pcprofiledump.c: Likewise.
38358 * debug/xtrace.sh: Likewise.
38359 * elf/ldconfig.c: Likewise.
38360 * elf/ldd.bash.in: Likewise.
38361 * elf/pldd.c: Likewise.
38362 * elf/sotruss.ksh: Likewise.
38363 * elf/sprof.c: Likewise.
38364 * iconv/iconv_prog.c: Likewise.
38365 * iconv/iconvconfig.c: Likewise.
38366 * locale/programs/locale.c: Likewise.
38367 * locale/programs/localedef.c: Likewise.
38368 * login/programs/pt_chown.c: Likewise.
38369 * malloc/memusage.sh: Likewise.
38370 * malloc/memusagestat.c: Likewise.
38371 * malloc/mtrace.pl: Likewise.
38372 * nscd/nscd.c: Likewise.
38373 * nss/getent.c: Likewise.
38374 * nss/makedb.c: Likewise.
38375 * posix/getconf.c: Likewise.
38377 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38379 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38382 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38384 * math/bits/mathcalls.h (modf): Use __nonnull.
38386 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38388 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38389 (split): Use macro CN instead of the bare value.
38390 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38393 instead of the bare value.
38394 (power1): Likewise.
38396 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38400 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38402 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38404 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38405 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38406 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38407 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38409 2012-12-28 Andreas Jaeger <aj@suse.de>
38411 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38412 values are from Linux 3.7.
38414 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38415 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38417 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38419 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38422 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38424 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38425 variables with preprocessor constants.
38426 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38427 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38428 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38430 2012-12-27 Bruno Haible <bruno@clisp.org>
38433 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38436 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38439 and use variable directly.
38440 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38442 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38444 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38447 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38449 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38450 include directive. Remove local variable MPONE.
38451 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38452 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38453 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38455 2012-12-25 David S. Miller <davem@davemloft.net>
38457 * version.h (RELEASE): Set to "development".
38458 (VERSION): Set to "2.17.90".
38459 * NEWS: Add 2.18 section.
38461 2012-12-21 David S. Miller <davem@davemloft.net>
38463 * po/hr.po: Update from translation team.
38465 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38467 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38469 2012-12-19 Steve Ellcey <sellcey@mips.com>
38471 * NEWS: Mention new memcpy for MIPS.
38473 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38475 * manual/contrib.texi (Contributors): Spelling correction.
38477 2012-12-15 David S. Miller <davem@davemloft.net>
38479 * po/ru.po: Update from translation team.
38481 2012-12-13 David S. Miller <davem@davemloft.net>
38483 * NEWS: Mention IFUNC testsuite enhancements.
38485 * po/pl.po: Update from translation team.
38486 * po/bg.po: Likewise.
38488 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38489 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38491 2012-12-11 David S. Miller <davem@davemloft.net>
38493 * po/sv.po: Update from translation team.
38495 * po/vi.po: Update from translation team.
38497 * po/cs.po: Update from translation team.
38499 * po/de.po: Update from translation team.
38500 * po/eo.po: Likewise.
38501 * po/nl.po: Likewise.
38503 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38506 * manual/argp.texi (Argp Helper Functions): Move node to follow
38507 Argp Parsing State.
38510 * manual/conf.texi (Limits on File System Capacity): Mention if
38511 terminating null is included in the max size.
38513 2012-12-10 Andreas Jaeger <aj@suse.de>
38515 * po/cs.po: Update from translation team.
38517 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38519 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38520 void pointer and cast to uintptr_t.
38521 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38523 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38524 * sysdeps/s390/s390-64/memset.S: Likewise.
38526 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38529 * menual/message.texi (Message Translation): Fix typos.
38530 (Helper programs for gettext): Likewise.
38532 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38535 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38538 2012-12-07 David S. Miller <davem@davemloft.net>
38540 * po/libc.pot: Update.
38542 2012-12-07 Richard Henderson <rth@redhat.com>
38545 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38546 normal/normal case to before the switch.
38547 (_FP_DIV): Likewise.
38549 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38550 Mike Frysinger <vapier@gentoo.org>
38552 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38553 check for __NR_fadvise64_64.
38555 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38557 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38558 0, not just to plain "0" as a statement.
38559 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38562 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38564 * NEWS: Use sourceware.org in Bugzilla URL.
38566 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38569 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38571 * stdio-common/tst-put-error.c (do_test): Add newline to the
38572 padded test to ensure flush.
38574 2012-12-05 Jeff Law <law@redhat.com>
38576 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38578 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38580 * README: Don't refer to ports add-on as distributed separately.
38581 Mention AArch64 in list of systems supported in the ports add-on.
38583 * LICENSES: Add more non-FSF copyright and license notices.
38585 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38588 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38590 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38591 10000 as width of padded output.
38593 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38595 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38598 variable LX with __attribute__ ((unused)).
38599 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38601 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38604 with __attribute__ ((unused)).
38606 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38608 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38610 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38612 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38613 (CFLAGS-nldbl-acos.c): New variable.
38614 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38615 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38616 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38617 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38618 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38619 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38620 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38621 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38622 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38623 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38624 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38625 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38626 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38627 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38628 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38629 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38630 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38631 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38632 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38633 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38634 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38635 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38636 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38637 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38638 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38639 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38640 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38641 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38642 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38643 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38644 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38645 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38646 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38647 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38648 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38649 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38650 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38651 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38652 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38653 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38654 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38655 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38656 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38657 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38658 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38659 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38660 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38661 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38662 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38663 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38664 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38665 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38666 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38667 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38668 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38669 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38670 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38671 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38672 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38673 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38674 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38675 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38676 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38677 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38678 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38679 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38680 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38681 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38682 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38683 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38684 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38685 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38686 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38687 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38688 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38689 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38690 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38691 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38692 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38693 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38694 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38695 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38696 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38697 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38698 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38699 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38700 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38701 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38702 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38703 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38704 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38705 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38706 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38707 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38708 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38709 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38710 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38713 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38717 whole low double instead of just low 47 bits when splitting values
38720 2012-12-03 Allan McRae <allan@archlinux.org>
38722 * manual/stdio.texi (Predefined Printf Handlers): Remove
38723 @hsep and @vsep usage.
38725 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38727 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38728 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38730 2012-12-03 Jeff Law <law@redhat.com>
38732 * time/sys/time.h (settimeofday): Do not mark TV argument
38735 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38737 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38738 when currently writing and seek to current position when not.
38739 * libio/Makefile (tests): Remove bug-fclose1.
38740 * libio/bug-fclose1.c: Delete.
38742 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38744 * manual/arith.texi (feenableexcept): Fix typo.
38745 (fedisableexcept): Likewise.
38747 2012-11-30 Roland McGrath <roland@hack.frob.com>
38749 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38750 second, differently-typed declaration, rather than a cast.
38752 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38754 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38755 * include/rpc/svc.h: ... here.
38757 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38760 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38761 depending n and resplen2 to catch cases where answer
38764 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38766 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38767 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38769 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38771 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38773 2012-11-29 Roland McGrath <roland@hack.frob.com>
38775 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38777 2012-11-28 Jeff Law <law@redhat.com>
38780 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38781 dataset_temporary. Track alloca usage into alloca_used.
38782 If dataset is large allocate and release it via malloc/free.
38784 2012-06-04 Florian Weimer <fweimer@redhat.com>
38787 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38789 2012-11-28 David S. Miller <davem@davemloft.net>
38791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38793 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38796 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38797 of pi/2 rounded to nearest to 64 bits.
38798 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38799 nearest to 64 bits.
38800 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38803 2012-11-28 Jeff Law <law@redhat.com>
38804 Martin Osvald <mosvald@redhat.com>
38807 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38808 * sunrpc/svc.c: Include time.h.
38809 (__svc_accept_failed): New function.
38810 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38811 any reason other than EINTR, call __svc_accept_failed.
38812 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38813 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38815 2012-11-28 Andreas Schwab <schwab@suse.de>
38817 * scripts/abilist.awk: Also handle indirect functions in .opd
38820 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38823 * sysdeps/x86/fpu/powl_helper.c: New file.
38824 * sysdeps/x86/fpu/Makefile: Likewise.
38825 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38827 (__ieee754_powl): Use __powl_helper for finite arguments except
38828 integer exponents below 8.
38829 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38831 (__ieee754_powl): Use __powl_helper for finite arguments except
38832 integer exponents below 8.
38833 * math/libm-test.inc (pow_test): Add more tests and enable some
38834 previously disabled tests.
38835 * sysdeps/i386/fpu/libm-test-ulps: Update.
38836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38838 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38839 Carlos O'Donell <carlos_odonell@mentor.com>
38841 * nss/makedb.c (is_prime): Assert that input is odd and greater
38842 than 4. Note that fact in a comment too.
38843 (next_prime): Add 4 to input.
38845 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38848 * libio/Makefile (tests): Add test case tst-fwrite-error.
38849 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38850 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38851 * libio/tst-fwrite-error.c: New test case.
38853 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38855 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38856 before casting to void *.
38857 * include/libc-internal.h (__pointer_type): New macro.
38858 (__integer_if_pointer_type_sub): Likewise.
38859 (__integer_if_pointer_type): Likewise.
38860 (cast_to_integer): Likewise.
38861 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38862 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38863 before casting to atomic64_t.
38864 (atomic_exchange_acq): Likewise.
38865 (__arch_exchange_and_add_body): Likewise.
38866 (__arch_add_body): Likewise.
38867 (atomic_add_negative): Likewise.
38868 (atomic_add_zero): Likewise.
38870 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38872 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38873 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38874 (add_fdes): Likewise.
38875 (linear_search_fdes): Likewise.
38876 (binary_search_unencoded_fdes): Likewise.
38878 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38880 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38882 2012-11-24 Adam Conrad <adconrad@0c3.net>
38884 * configure.in: Autodetect C++ header directories.
38885 * configure: Regenerated.
38887 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38889 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38891 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38895 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38897 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38898 LDBL_MANT_DIG == 106]: Disable some tests.
38899 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38901 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38905 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38906 input for small inputs. Return +/- pi/2 for large inputs.
38907 * math/libm-test.inc (atan_test): Add more tests.
38909 * sysdeps/generic/unwind-dw2-fde-glibc.c
38910 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38911 __attribute__ ((unused)).
38914 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38915 x * y if x and y are nonzero and z is zero.
38918 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38919 nonzero exponents with absolute value below 0x1p-117 to +/-
38923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38924 up arguments below 2**-450, not just those below 2**-500.
38925 * math/libm-test.inc (hypot_test): Add another test.
38928 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38929 Return a+b for ratio over 2**120, not 2**60.
38930 * math/libm-test.inc (hypot_test): Add another test.
38932 * math/libm-test.inc (clog_test): Use
38933 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38934 (clog10_test): Likewise.
38937 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38939 2012-11-22 Andreas Schwab <schwab@suse.de>
38941 * sysdeps/i386/fpu/libm-test-ulps: Update.
38943 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38945 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38946 printf output with newline.
38948 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38951 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38952 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38953 -z nodlopen, -z initfirst and -z execstack support.
38954 * configure: Regenerated.
38956 * elf/elf.h (DF_1_NODIRECT): New macro.
38957 (DF_1_IGNMULDEF): Likewise.
38958 (DF_1_NOKSYMS): Likewise.
38959 (DF_1_NOHDR): Likewise.
38960 (DF_1_EDITED): Likewise.
38961 (DF_1_NORELOC): Likewise.
38962 (DF_1_SYMINTPOSE): Likewise.
38963 (DF_1_GLOBAUDIT): Likewise.
38964 (DF_1_SINGLETON): Likewise.
38965 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38966 DT_1_SUPPORTED_MASK bits.
38967 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38969 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38971 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38973 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38975 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38978 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38979 (sendmmsg): Move declarations...
38980 * socket/sys/socket.h: ... here.
38981 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38982 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38984 * socket/recvmmsg.c: ... this new file.
38985 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38986 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38987 definition of __sendmmsg hidden.
38988 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38989 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38990 Move ENOSYS stub into and include it from...
38991 * socket/sendmmsg.c: ... this new file.
38992 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38993 (sysdep_routines): Move recvmmsg and sendmmsg...
38994 * socket/Makefile (routines): ... here.
38995 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38996 (GLIBC_PRIVATE): Add __sendmmsg.
38997 * include/sys/socket.h (__sendmmsg): Add declarations.
38998 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39001 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39004 variable I1 with __attribute__ ((unused)).
39005 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39007 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39009 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39010 DUMMY variables with __attribute__ ((unused)).
39012 * bits/byteswap.h: Include <bits/types.h>.
39013 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39015 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39017 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39018 string_t. Do not manually set errno.
39019 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39020 length with __strnlen. Make sure to both set errno and return it on
39023 2012-11-19 David S. Miller <davem@davemloft.net>
39025 With help from Joseph Myers.
39026 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39027 very large arguments properly.
39028 * math/libm-test.inc (atan_test): New tests.
39029 (atan2_test): New tests.
39030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39033 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39036 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39039 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39040 [POSIX] (EADDRNOTAVAIL): Likewise.
39041 [POSIX] (EAFNOSUPPORT): Likewise.
39042 [POSIX] (EALREADY): Likewise.
39043 [POSIX] (ECONNABORTED): Likewise.
39044 [POSIX] (ECONNREFUSED): Likewise.
39045 [POSIX] (ECONNRESET): Likewise.
39046 [POSIX] (EDESTADDRREQ): Likewise.
39047 [POSIX] (EDQUOT): Likewise.
39048 [POSIX] (EHOSTUNREACH): Likewise.
39049 [POSIX] (EIDRM): Likewise.
39050 [POSIX] (EISCONN): Likewise.
39051 [POSIX] (ELOOP): Likewise.
39052 [POSIX] (EMULTIHOP): Likewise.
39053 [POSIX] (ENETDOWN): Likewise.
39054 [POSIX] (ENETUNREACH): Likewise.
39055 [POSIX] (ENOBUFS): Likewise.
39056 [POSIX] (ENODATA): Likewise.
39057 [POSIX] (ENOLINK): Likewise.
39058 [POSIX] (ENOMSG): Likewise.
39059 [POSIX] (ENOPROTOOPT): Likewise.
39060 [POSIX] (ENOSR): Likewise.
39061 [POSIX] (ENOSTR): Likewise.
39062 [POSIX] (ENOTCONN): Likewise.
39063 [POSIX] (ENOTSOCK): Likewise.
39064 [POSIX] (EOPNOTSUPP): Likewise.
39065 [POSIX] (EOVERFLOW): Likewise.
39066 [POSIX] (EPROTO): Likewise.
39067 [POSIX] (EPROTONOSUPPORT): Likewise.
39068 [POSIX] (EPROTOTYPE): Likewise.
39069 [POSIX] (ESTALE): Likewise.
39070 [POSIX] (ETIME): Likewise.
39071 [POSIX] (ETXTBSY): Likewise.
39072 [POSIX] (EWOULDBLOCK): Likewise.
39073 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39074 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39075 [POSIX] (SEEK_CUR): Likewise.
39076 [POSIX] (SEEK_END): Likewise.
39077 [POSIX || UNIX98] (mode_t): Do not require.
39078 [POSIX] (off_t): Likewise.
39079 [POSIX] (pid_t): Likewise.
39080 [POSIX] (sys/stat.h): Do not allow header.
39081 [POSIX] (unistd.h): Likewise.
39082 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39083 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39084 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39085 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39087 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39088 sigevent): Specify elements.
39089 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39091 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39092 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39094 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39095 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39096 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39097 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39098 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39099 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39100 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39101 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39102 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39103 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39104 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39105 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39106 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39107 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39109 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39111 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39113 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39115 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39116 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39117 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39118 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39119 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39120 Specify lower bound on value.
39121 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39122 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39123 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39124 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39125 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39126 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39127 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39128 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39130 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39132 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39133 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39134 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39135 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39136 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39137 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39138 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39139 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39140 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39141 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39142 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39143 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39144 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39145 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39146 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39147 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39149 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39151 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39152 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39153 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39154 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39155 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39156 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39158 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39159 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39160 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39161 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39162 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39163 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39164 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39166 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39167 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39168 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39169 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39170 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39171 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39172 specify as optional.
39173 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39174 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39175 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39176 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39177 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39178 [XPG3] (NL_LANGMAX): Likewise.
39179 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39180 [POSIX || XPG3] (NL_NMAX): Likewise.
39181 [POSIX || XPG3] (NL_SETMAX): Likewise.
39182 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39183 [XPG3] (NZERO): Likewise.
39184 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39185 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39186 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39187 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39188 (REG_ERANGE): Expect.
39189 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39191 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39192 Use (void) in prototype.
39193 [POSIX] (*_t): Allow.
39194 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39195 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39196 (WRDE_BADVAL): Expect.
39198 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39200 [XPG3 || XPG4] (O_RSYNC): Likewise.
39201 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39203 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39204 [XPG3 || XPG4] (sigqueue): Likewise.
39205 [XPG3 || XPG4] (sigtimedwait): Likewise.
39206 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39207 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39208 [XPG3 || XPG4] (vsnprintf): Likewise.
39209 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39211 [XPG3 || XPG4] (blksize_t): Likewise.
39212 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39214 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39215 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39216 [XPG3 || XPG4] (struct itimerspec): Likewise.
39217 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39218 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39219 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39220 [XPG3 || XPG4] (clockid_t): Likewise.
39221 [XPG3 || XPG4] (timer_t): Likewise.
39222 [XPG3 || XPG4] (clock_getres): Likewise.
39223 [XPG3 || XPG4] (clock_gettime): Likewise.
39224 [XPG3 || XPG4] (clock_settime): Likewise.
39225 [XPG3 || XPG4] (nanosleep): Likewise.
39226 [XPG3 || XPG4] (timer_create): Likewise.
39227 [XPG3 || XPG4] (timer_delete): Likewise.
39228 [XPG3 || XPG4] (timer_gettime): Likewise.
39229 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39230 [XPG3 || XPG4] (timer_settime): Likewise.
39231 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39232 [XPG3 || XPG4] (getlogin_r): Likewise.
39233 [XPG3 || XPG4] (pread): Likewise.
39234 [XPG3 || XPG4] (pthread_atfork): Likewise.
39235 [XPG3 || XPG4] (pwrite): Likewise.
39238 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39241 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39243 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39244 finalizing MALLSTREAM.
39246 * sysdeps/mach/hurd/syncfs.c: New file.
39248 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39251 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39252 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39253 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39254 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39255 (_nss_dns_gethostbyname4_r): Likewise.
39256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39257 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39259 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39262 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39264 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39266 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39267 * elf/cache.c (print_entry): Print ",AArch64" for
39270 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39271 * elf/cache.c (print_entry): Print ",hard-float" for
39274 2012-11-18 David S. Miller <davem@davemloft.net>
39276 With help from Joseph Myers.
39277 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39279 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39281 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39282 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39284 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39285 * math/libm-test.inc (y0_test): New tests.
39286 (y1_test): New tests.
39287 * sysdeps/i386/fpu/libm-test-ulps: Update.
39288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39291 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39293 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39295 * configure: Regenerated.
39297 2012-11-17 David S. Miller <davem@davemloft.net>
39300 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39301 nonzero exponents with absolute value below 0x1p-128 to +/-
39304 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39306 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39308 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39310 * posix/getconf-speclist.c: New file.
39311 * posix/posix-envs.def: Likewise.
39312 * posix/confstr.c (START_ENV_GROUP): New macro.
39313 (END_ENV_GROUP): Likewise.
39314 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39315 (KNOWN_PRESENT_ENV_STRING): Likewise.
39316 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39317 (UNKNOWN_ENVIRONMENT): Likewise.
39318 (confstr): Include posix-envs.def instead of handling
39319 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39320 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39321 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39322 (END_ENV_GROUP): Likewise.
39323 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39324 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39325 (UNKNOWN_ENVIRONMENT): Likewise.
39326 (__sysconf): Include posix-envs.def instead of handling associated
39327 cases directly here.
39328 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39329 preprocessing getconf-speclist.c rather than running getconf or
39330 generating empty file.
39332 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39334 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39336 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39339 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39341 2012-11-16 David S. Miller <davem@davemloft.net>
39343 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39344 smaller than LDBL_EPSILON/2.0L, just return xm1.
39346 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39348 * elf/tst-array1.c (init): Set constructor priority to 1000.
39349 (fini): Set destructor priority to 1000.
39350 * elf/tst-array2dep.c: Likewise.
39352 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39355 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39356 (_IO_new_file_xsputn): Also return EOF if none of the input
39357 data was written when overflow failed.
39358 * libio/iopadn.c (_IO_padn): Likewise.
39359 * libio/iowpadn.c (_IO_wpadn): Likewise.
39360 * stdio-common/tst-put-error.c: Add copyright notice.
39361 (do_test): Add case for printing padded string.
39362 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39363 _IO_padn returned error.
39364 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39365 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39368 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39370 * libio/libioP.h: Add comment note that the references to C++
39371 bits are now obsolete.
39373 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39375 * math/libm-test.inc (check_complex): Use asprintf.
39377 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39379 * debug/pcprofiledump.c (print_version): Update copyright year.
39380 * malloc/memusagestat.c (print_version): Likewise.
39382 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39385 * elf/Makefile (tests): Add tst-audit8.
39386 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39387 ($(objpfx)tst-audit8.out): New target.
39388 (tst-audit8-ENV): New variable.
39389 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39390 audit if l_reloc_result is NULL.
39391 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39392 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39393 * elf/tst-audit8.c: New file.
39395 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39397 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39398 * misc/Makefile (CFLAGS-select.c): Define.
39399 * posix/Makefile (CFLAGS-pause.c): Define.
39401 2012-11-13 David S. Miller <davem@davemloft.net>
39403 * crypt/Makefile: Move test targets after toplevel Rules
39404 inclusion. Grab any necessary sysdep routines when linking.
39405 * crypt/md5.c (md5_process_block): Remove define, we will always
39406 name it __md5_process_block.
39407 (md5_finish_ctx): Update md5_process_block call.
39408 (md5_stream): Likewise.
39409 (md5_process_bytes): Likewise.
39410 (md5_process_block): Rename to __md5_process_block and move to ...
39411 * crypt/md5-block.c: ... here.
39412 * crypt/sha256.c (sha256_process_block): Move to ...
39413 * crypt/sha256-block.c: ... here.
39414 * crypt/sha512.c (sha512_process_block): Move to ...
39415 * crypt/sha512-block.c: ... here.
39416 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39418 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39419 * sysdeps/sparc/sparc64/multiarch/Makefile
39420 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39422 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39423 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39425 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39426 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39427 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39428 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39429 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39430 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39431 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39432 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39433 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39435 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39436 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39438 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39440 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39442 * timezone/tzselect.ksh: Update from tzcode git revision
39443 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39444 * timezone/zdump.c: Likewise.
39445 * timezone/zic.c: Likewise.
39446 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39447 in TZVERSION setting, not $(PKGVERSION).
39448 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39449 REPORT_BUGS_TO settings.
39452 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39455 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39457 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39458 detection to immediately after _FP_ROUND().
39459 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39462 2012-11-11 David S. Miller <davem@davemloft.net>
39464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39466 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39467 __close rather than their public counterparts.
39469 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39471 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39473 [UNIX98] (sem_timedwait): Do not expect.
39474 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39475 [XPG4 || UNIX98] (sockatmark): Do not expect.
39476 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39477 (clock_getcpuclockid): Do not expect.
39478 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39479 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39481 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39482 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39483 [UNIX98] (vwscanf): Likewise.
39484 [UNIX98] (vswscanf): Likewise.
39486 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39488 * timezone/version.h: Remove file.
39489 * timezone/README: Do not refer to version.h.
39490 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39491 $(objpfx)version.h.
39492 ($(objpfx)zdump.o): Likewise.
39493 ($(objpfx)version.h): New target.
39495 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39497 * timezone/README: Don't mention modification to tzselect.ksh.
39498 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39499 work on unmodified tzselect.ksh. Substitute version numbers in
39502 * Makefile (format-me): Remove.
39503 (INSTALL): Adjust indentation. Use commands directly instead of
39504 using $(format-me).
39506 * aclocal.m4 (ACX_PKGVERSION): New macro.
39507 (ACX_BUGURL): Likewise.
39508 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39509 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39510 (REPORT_BUGS_TO): Likewise.
39511 * configure: Regenerated.
39512 * config.h.in (PKGVERSION): New macro.
39513 (REPORT_BUGS_TO): Likewise.
39514 * config.make.in (PKGVERSION): New variable.
39515 (PKGVERSION_TEXI): Likewise.
39516 (REPORT_BUGS_TO): Likewise.
39517 (REPORT_BUGS_TEXI): Likewise.
39518 * Makefile (format-me): Use -I$(common-objpfx)manual.
39519 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39520 ($(common-objpfx)manual/%): New target.
39521 (manual/%): Remove target.
39522 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39523 (print_version): Use PKGVERSION.
39524 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39525 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39526 and REPORT_BUGS_TO.
39527 ($(objpfx)xtrace): Likewise.
39528 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39529 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39530 (print_version): Use PKGVERSION.
39531 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39532 (do_version): Use PKGVERSION.
39533 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39535 (common-ldd-rewrite): Likewise.
39536 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39537 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39538 (print_version): Use PKGVERSION.
39539 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39540 * elf/pldd.c (argp_program_bug_address): Remove variable.
39541 (more_help): New function.
39542 (argp): Use more_help.
39543 (print_version): Use PKGVERSION.
39544 * elf/sln.c (main): Use PKGVERSION.
39545 (usage): Use REPORT_BUGS_TO.
39546 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39547 (top level): Use PKGVERSION.
39548 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39549 (print_version): Use PKGVERSION.
39550 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39551 (print_version): Use PKGVERSION.
39552 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39553 (print_version): Use PKGVERSION.
39554 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39555 (print_version): Use PKGVERSION.
39556 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39557 (print_version): Use PKGVERSION.
39558 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39559 (print_version): Use PKGVERSION.
39560 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39562 ($(objpfx)memusage): Likewise.
39563 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39564 (do_version): Use PKGVERSION.
39565 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39566 (print_version): Use PKGVERSION.
39567 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39568 ($PKGVERSION): New variable.
39569 ($REPORT_BUGS_TO): Likewise.
39570 (usage): Use $REPORT_BUGS_TO.
39571 (top level): Use $PKGVERSION.
39572 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39573 ($(objpfx)pkgvers.texi): New rule.
39574 ($(objpfx)stamp-pkgvers): Likewise.
39575 * manual/install.texi: Include pkgvers.texi.
39576 (--with-pkgversion): Document new configure option.
39577 (--with-bugurl): Likewise.
39578 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39579 than necessarily for this particular distribution. Use
39580 REPORT_BUGS_TO for where to report bugs.
39581 * INSTALL: Regenerated.
39582 * manual/libc.texinfo: Include pkgvers.texi.
39583 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39584 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39585 (print_version): Use PKGVERSION.
39586 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39587 (print_version): Use PKGVERSION.
39588 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39589 (print_version): Use PKGVERSION.
39590 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39591 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39593 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39594 (print_version): Use PKGVERSION.
39595 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39596 (print_version): Use PKGVERSION.
39597 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39600 * timezone/checktab.awk: Update from tzcode 2012i.
39601 * timezone/ialloc.c: Likewise.
39602 * timezone/private.h: Likewise.
39603 * timezone/scheck.c: Likewise.
39604 * timezone/tzfile.h: Likewise.
39605 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39606 (TZVERSION): Hardcode tzcode version number.
39607 * timezone/zdump.c: Update from tzcode 2012i.
39608 * timezone/zic.c: Likewise.
39609 * timezone/version.h: New file.
39610 * timezone/README: Describe version.h. Update upstream location.
39613 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39614 (mktemp): Enable declaration.
39615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39632 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39633 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39634 for copies of such integer values.
39635 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39636 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39638 2012-11-09 Andreas Jaeger <aj@suse.de>
39640 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39641 definitions and declarations that are provided by
39642 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39644 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39646 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39647 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39648 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39651 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39653 * elf/elf.h: Update comment before AArch64 relocations.
39655 2012-11-07 David S. Miller <davem@davemloft.net>
39657 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39658 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39659 (__start_context): Declare.
39660 (__makecontext_ret): Delete.
39661 (__makecontext): Hook up __start_context instead of
39663 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39664 (sysdep_routines): Add __start_context when in stdlib.
39666 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39668 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39669 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39670 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39672 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39673 (READELF): New variable. Use it instead of hardcoded "readelf".
39675 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39677 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39678 * sysdeps/x86/Makefile: Here.
39679 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39680 * sysdeps/x86/tst-xmmymm.sh: This.
39682 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39684 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39686 [UNIX98] (pthread_barrier_t): Do not expect.
39687 [UNIX98] (pthread_barrierattr_t): Likewise.
39688 [UNIX98] (pthread_spinlock_t): Likewise.
39689 [UNIX98] (pthread_barrier_destroy): Likewise.
39690 [UNIX98] (pthread_barrier_init): Likewise.
39691 [UNIX98] (pthread_barrier_wait): Likewise.
39692 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39693 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39694 [UNIX98] (pthread_barrierattr_init): Likewise.
39695 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39696 [UNIX98] (pthread_getcpuclockid): Likewise.
39697 [UNIX98] (pthread_mutex_timedlock): Likewise.
39698 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39699 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39700 [UNIX98] (pthread_sigmask): Likewise.
39701 [UNIX98] (pthread_spin_destroy): Likewise.
39702 [UNIX98] (pthread_spin_init): Likewise.
39703 [UNIX98] (pthread_spin_lock): Likewise.
39704 [UNIX98] (pthread_spin_trylock): Likewise.
39705 [UNIX98] (pthread_spin_unlock): Likewise.
39706 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39708 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39709 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39710 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39711 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39712 [XPG3 || XPG4] (pthread_key_t): Likewise.
39713 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39714 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39715 [XPG3 || XPG4] (pthread_once_t): Likewise.
39716 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39717 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39718 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39719 [XPG3 || XPG4] (pthread_t): Likewise.
39721 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39723 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39725 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39726 Change function return type to int.
39728 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39729 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39730 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39731 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39732 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39733 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39734 [!POSIX] (posix_madvise): Likewise.
39735 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39737 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39738 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39739 (mode_t): Likewise.
39740 (posix_mem_offset): Likewise.
39741 (posix_typed_mem_get_info): Likewise.
39742 (posix_typed_mem_open): Likewise.
39744 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39745 Change condition to [XOPEN2K8].
39747 * conform/conformtest.pl: Preprocess allow-header data with -x c
39748 instead of from stdin.
39749 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39750 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39751 [C99-based standards] (cerfc): Likewise.
39752 [C99-based standards] (cexp2): Likewise.
39753 [C99-based standards] (cexpm1): Likewise.
39754 [C99-based standards] (clog10): Likewise.
39755 [C99-based standards] (clog1p): Likewise.
39756 [C99-based standards] (clog2): Likewise.
39757 [C99-based standards] (clgamma): Likewise.
39758 [C99-based standards] (ctgamma): Likewise.
39759 [C99-based standards] (cerff): Likewise.
39760 [C99-based standards] (cerfcf): Likewise.
39761 [C99-based standards] (cexp2f): Likewise.
39762 [C99-based standards] (cexpm1f): Likewise.
39763 [C99-based standards] (clog10f): Likewise.
39764 [C99-based standards] (clog1pf): Likewise.
39765 [C99-based standards] (clog2f): Likewise.
39766 [C99-based standards] (clgammaf): Likewise.
39767 [C99-based standards] (ctgammaf): Likewise.
39768 [C99-based standards] (cerfl): Likewise.
39769 [C99-based standards] (cerfcl): Likewise.
39770 [C99-based standards] (cexp2l): Likewise.
39771 [C99-based standards] (cexpm1l): Likewise.
39772 [C99-based standards] (clog10l): Likewise.
39773 [C99-based standards] (clog1pl): Likewise.
39774 [C99-based standards] (clog2l): Likewise.
39775 [C99-based standards] (clgammal): Likewise.
39776 [C99-based standards] (ctgammal): Likewise.
39777 * conform/data/inttypes.h-data [C99-based standards]: Include
39778 stdint.h-data. Remove all expectations for stdint.h contents.
39779 [C99-based standards] (PRI*): Do not allow.
39780 [C99-based standards] (SCN*): Likewise.
39781 [C99-based standards] (*_t): Likewise.
39782 [C99-based-standards] (PRId8): Expect macro.
39783 [C99-based-standards] (PRIi8): Likewise.
39784 [C99-based-standards] (PRIo8): Likewise.
39785 [C99-based-standards] (PRIu8): Likewise.
39786 [C99-based-standards] (PRIx8): Likewise.
39787 [C99-based-standards] (PRIX8): Likewise.
39788 [C99-based-standards] (SCNd8): Likewise.
39789 [C99-based-standards] (SCNi8): Likewise.
39790 [C99-based-standards] (SCNo8): Likewise.
39791 [C99-based-standards] (SCNu8): Likewise.
39792 [C99-based-standards] (SCNx8): Likewise.
39793 [C99-based-standards] (PRIdLEAST8): Likewise.
39794 [C99-based-standards] (PRIiLEAST8): Likewise.
39795 [C99-based-standards] (PRIoLEAST8): Likewise.
39796 [C99-based-standards] (PRIuLEAST8): Likewise.
39797 [C99-based-standards] (PRIxLEAST8): Likewise.
39798 [C99-based-standards] (PRIXLEAST8): Likewise.
39799 [C99-based-standards] (SCNdLEAST8): Likewise.
39800 [C99-based-standards] (SCNiLEAST8): Likewise.
39801 [C99-based-standards] (SCNoLEAST8): Likewise.
39802 [C99-based-standards] (SCNuLEAST8): Likewise.
39803 [C99-based-standards] (SCNxLEAST8): Likewise.
39804 [C99-based-standards] (PRIdFAST8): Likewise.
39805 [C99-based-standards] (PRIiFAST8): Likewise.
39806 [C99-based-standards] (PRIoFAST8): Likewise.
39807 [C99-based-standards] (PRIuFAST8): Likewise.
39808 [C99-based-standards] (PRIxFAST8): Likewise.
39809 [C99-based-standards] (PRIXFAST8): Likewise.
39810 [C99-based-standards] (SCNdFAST8): Likewise.
39811 [C99-based-standards] (SCNiFAST8): Likewise.
39812 [C99-based-standards] (SCNoFAST8): Likewise.
39813 [C99-based-standards] (SCNuFAST8): Likewise.
39814 [C99-based-standards] (SCNxFAST8): Likewise.
39815 [C99-based-standards] (PRId16): Likewise.
39816 [C99-based-standards] (PRIi16): Likewise.
39817 [C99-based-standards] (PRIo16): Likewise.
39818 [C99-based-standards] (PRIu16): Likewise.
39819 [C99-based-standards] (PRIx16): Likewise.
39820 [C99-based-standards] (PRIX16): Likewise.
39821 [C99-based-standards] (SCNd16): Likewise.
39822 [C99-based-standards] (SCNi16): Likewise.
39823 [C99-based-standards] (SCNo16): Likewise.
39824 [C99-based-standards] (SCNu16): Likewise.
39825 [C99-based-standards] (SCNx16): Likewise.
39826 [C99-based-standards] (PRIdLEAST16): Likewise.
39827 [C99-based-standards] (PRIiLEAST16): Likewise.
39828 [C99-based-standards] (PRIoLEAST16): Likewise.
39829 [C99-based-standards] (PRIuLEAST16): Likewise.
39830 [C99-based-standards] (PRIxLEAST16): Likewise.
39831 [C99-based-standards] (PRIXLEAST16): Likewise.
39832 [C99-based-standards] (SCNdLEAST16): Likewise.
39833 [C99-based-standards] (SCNiLEAST16): Likewise.
39834 [C99-based-standards] (SCNoLEAST16): Likewise.
39835 [C99-based-standards] (SCNuLEAST16): Likewise.
39836 [C99-based-standards] (SCNxLEAST16): Likewise.
39837 [C99-based-standards] (PRIdFAST16): Likewise.
39838 [C99-based-standards] (PRIiFAST16): Likewise.
39839 [C99-based-standards] (PRIoFAST16): Likewise.
39840 [C99-based-standards] (PRIuFAST16): Likewise.
39841 [C99-based-standards] (PRIxFAST16): Likewise.
39842 [C99-based-standards] (PRIXFAST16): Likewise.
39843 [C99-based-standards] (SCNdFAST16): Likewise.
39844 [C99-based-standards] (SCNiFAST16): Likewise.
39845 [C99-based-standards] (SCNoFAST16): Likewise.
39846 [C99-based-standards] (SCNuFAST16): Likewise.
39847 [C99-based-standards] (SCNxFAST16): Likewise.
39848 [C99-based-standards] (PRId32): Likewise.
39849 [C99-based-standards] (PRIi32): Likewise.
39850 [C99-based-standards] (PRIo32): Likewise.
39851 [C99-based-standards] (PRIu32): Likewise.
39852 [C99-based-standards] (PRIx32): Likewise.
39853 [C99-based-standards] (PRIX32): Likewise.
39854 [C99-based-standards] (SCNd32): Likewise.
39855 [C99-based-standards] (SCNi32): Likewise.
39856 [C99-based-standards] (SCNo32): Likewise.
39857 [C99-based-standards] (SCNu32): Likewise.
39858 [C99-based-standards] (SCNx32): Likewise.
39859 [C99-based-standards] (PRIdLEAST32): Likewise.
39860 [C99-based-standards] (PRIiLEAST32): Likewise.
39861 [C99-based-standards] (PRIoLEAST32): Likewise.
39862 [C99-based-standards] (PRIuLEAST32): Likewise.
39863 [C99-based-standards] (PRIxLEAST32): Likewise.
39864 [C99-based-standards] (PRIXLEAST32): Likewise.
39865 [C99-based-standards] (SCNdLEAST32): Likewise.
39866 [C99-based-standards] (SCNiLEAST32): Likewise.
39867 [C99-based-standards] (SCNoLEAST32): Likewise.
39868 [C99-based-standards] (SCNuLEAST32): Likewise.
39869 [C99-based-standards] (SCNxLEAST32): Likewise.
39870 [C99-based-standards] (PRIdFAST32): Likewise.
39871 [C99-based-standards] (PRIiFAST32): Likewise.
39872 [C99-based-standards] (PRIoFAST32): Likewise.
39873 [C99-based-standards] (PRIuFAST32): Likewise.
39874 [C99-based-standards] (PRIxFAST32): Likewise.
39875 [C99-based-standards] (PRIXFAST32): Likewise.
39876 [C99-based-standards] (SCNdFAST32): Likewise.
39877 [C99-based-standards] (SCNiFAST32): Likewise.
39878 [C99-based-standards] (SCNoFAST32): Likewise.
39879 [C99-based-standards] (SCNuFAST32): Likewise.
39880 [C99-based-standards] (SCNxFAST32): Likewise.
39881 [C99-based-standards] (PRId64): Likewise.
39882 [C99-based-standards] (PRIi64): Likewise.
39883 [C99-based-standards] (PRIo64): Likewise.
39884 [C99-based-standards] (PRIu64): Likewise.
39885 [C99-based-standards] (PRIx64): Likewise.
39886 [C99-based-standards] (PRIX64): Likewise.
39887 [C99-based-standards] (SCNd64): Likewise.
39888 [C99-based-standards] (SCNi64): Likewise.
39889 [C99-based-standards] (SCNo64): Likewise.
39890 [C99-based-standards] (SCNu64): Likewise.
39891 [C99-based-standards] (SCNx64): Likewise.
39892 [C99-based-standards] (PRIdLEAST64): Likewise.
39893 [C99-based-standards] (PRIiLEAST64): Likewise.
39894 [C99-based-standards] (PRIoLEAST64): Likewise.
39895 [C99-based-standards] (PRIuLEAST64): Likewise.
39896 [C99-based-standards] (PRIxLEAST64): Likewise.
39897 [C99-based-standards] (PRIXLEAST64): Likewise.
39898 [C99-based-standards] (SCNdLEAST64): Likewise.
39899 [C99-based-standards] (SCNiLEAST64): Likewise.
39900 [C99-based-standards] (SCNoLEAST64): Likewise.
39901 [C99-based-standards] (SCNuLEAST64): Likewise.
39902 [C99-based-standards] (SCNxLEAST64): Likewise.
39903 [C99-based-standards] (PRIdFAST64): Likewise.
39904 [C99-based-standards] (PRIiFAST64): Likewise.
39905 [C99-based-standards] (PRIoFAST64): Likewise.
39906 [C99-based-standards] (PRIuFAST64): Likewise.
39907 [C99-based-standards] (PRIxFAST64): Likewise.
39908 [C99-based-standards] (PRIXFAST64): Likewise.
39909 [C99-based-standards] (SCNdFAST64): Likewise.
39910 [C99-based-standards] (SCNiFAST64): Likewise.
39911 [C99-based-standards] (SCNoFAST64): Likewise.
39912 [C99-based-standards] (SCNuFAST64): Likewise.
39913 [C99-based-standards] (SCNxFAST64): Likewise.
39914 [C99-based-standards] (PRIdMAX): Likewise.
39915 [C99-based-standards] (PRIiMAX): Likewise.
39916 [C99-based-standards] (PRIoMAX): Likewise.
39917 [C99-based-standards] (PRIuMAX): Likewise.
39918 [C99-based-standards] (PRIxMAX): Likewise.
39919 [C99-based-standards] (PRIXMAX): Likewise.
39920 [C99-based-standards] (SCNdMAX): Likewise.
39921 [C99-based-standards] (SCNiMAX): Likewise.
39922 [C99-based-standards] (SCNoMAX): Likewise.
39923 [C99-based-standards] (SCNuMAX): Likewise.
39924 [C99-based-standards] (SCNxMAX): Likewise.
39925 [C99-based-standards] (PRIdPTR): Likewise.
39926 [C99-based-standards] (PRIiPTR): Likewise.
39927 [C99-based-standards] (PRIoPTR): Likewise.
39928 [C99-based-standards] (PRIuPTR): Likewise.
39929 [C99-based-standards] (PRIxPTR): Likewise.
39930 [C99-based-standards] (PRIXPTR): Likewise.
39931 [C99-based-standards] (SCNdPTR): Likewise.
39932 [C99-based-standards] (SCNiPTR): Likewise.
39933 [C99-based-standards] (SCNoPTR): Likewise.
39934 [C99-based-standards] (SCNuPTR): Likewise.
39935 [C99-based-standards] (SCNxPTR): Likewise.
39936 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39938 * conform/data/stdint.h-data: Update comments to clarify
39940 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39942 [C99-based standards] (INT8_MAX): Likewise.
39943 [C99-based standards] (INT16_MIN): Likewise.
39944 [C99-based standards] (INT16_MAX): Likewise.
39945 [C99-based standards] (INT32_MIN): Likewise.
39946 [C99-based standards] (INT32_MAX): Likewise.
39947 [C99-based standards] (INT64_MIN): Likewise.
39948 [C99-based standards] (INT64_MAX): Likewise.
39949 [C99-based standards] (UINT8_MAX): Likewise.
39950 [C99-based standards] (UINT16_MAX): Likewise.
39951 [C99-based standards] (UINT32_MAX): Likewise.
39952 [C99-based standards] (UINT64_MAX): Likewise.
39953 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39954 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39955 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39956 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39957 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39958 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39959 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39960 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39961 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39962 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39963 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39964 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39965 [C99-based standards] (INT_FAST8_MIN): Likewise.
39966 [C99-based standards] (INT_FAST8_MAX): Likewise.
39967 [C99-based standards] (INT_FAST16_MIN): Likewise.
39968 [C99-based standards] (INT_FAST16_MAX): Likewise.
39969 [C99-based standards] (INT_FAST32_MIN): Likewise.
39970 [C99-based standards] (INT_FAST32_MAX): Likewise.
39971 [C99-based standards] (INT_FAST64_MIN): Likewise.
39972 [C99-based standards] (INT_FAST64_MAX): Likewise.
39973 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39974 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39975 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39976 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39977 [C99-based standards] (INTPTR_MIN): Likewise.
39978 [C99-based standards] (INTPTR_MAX): Likewise.
39979 [C99-based standards] (UINTPTR_MAX): Likewise.
39980 [C99-based standards] (INTMAX_MIN): Likewise.
39981 [C99-based standards] (INTMAX_MAX): Likewise.
39982 [C99-based standards] (UINTMAX_MAX): Likewise.
39983 [C99-based standards] (PTRDIFF_MIN): Likewise.
39984 [C99-based standards] (PTRDIFF_MAX): Likewise.
39985 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39986 [C99-based standards] (SIZE_MAX): Likewise.
39987 [C99-based standards] (WCHAR_MAX): Likewise.
39988 [C99-based standards] (WINT_MAX): Likewise.
39989 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39990 constraint on value.
39991 [C99-based standards] (WCHAR_MIN): Likewise.
39992 [C99-based standards] (WINT_MIN): Likewise.
39993 [C99-based standards] (*_t): Allow.
39994 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39995 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39996 Include math.h-data and complex.h-data. Remove all expectations
39997 of math.h and complex.h contents.
39998 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40000 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40001 (struct tm): Expect tag.
40002 [C99-based-standards] (wcstof): Expect function.
40003 [C99-based-standards] (wcstold): Likewise.
40004 [C99-based-standards] (wcstoll): Likewise.
40005 [C99-based-standards] (wcstoull): Likewise.
40006 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40007 macro-int-constant. Specify type.
40008 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40009 constraint on value.
40010 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40012 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40014 [ISO C standards]: Do not allow headers.
40015 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40016 wcs[abcdefghijklmnopqrstuvwxyz]*.
40017 [ISO C standards] (*_t): Do not allow.
40018 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40020 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40021 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40023 [ISO C standards]: Do not allow headers.
40024 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40025 is[abcdefghijklmnopqrstuvwxyz]*.
40026 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40027 to[abcdefghijklmnopqrstuvwxyz]*.
40028 [ISO C standards] (*_t): Do not allow.
40029 * conform/data/stdalign.h-data: New file.
40030 * conform/data/stdbool.h-data: Likewise.
40031 * conform/data/stdnoreturn.h-data: Likewise.
40033 2012-11-07 Roland McGrath <roland@hack.frob.com>
40036 * manual/filesys.texi (Directory Entries): Typo fix.
40037 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40039 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40041 * elf/elf.h (EM_AARCH64): New macro.
40042 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40043 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40044 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40045 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40046 (R_AARCH64_TLSDESC): Likewise.
40047 (NT_ARM_TLS): Likewise.
40048 (NT_ARM_HW_BREAK): Likewise.
40049 (NT_ARM_HW_WATCH): Likewise.
40051 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40054 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40055 (__ieee754_powl): Saturate nonzero exponents with absolute value
40056 below 0x1p-79 to +/- 0x1p-79.
40057 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40058 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40059 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40060 nonzero exponents with absolute value below 0x1p-32 to +/-
40062 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40063 (__ieee754_powl): Saturate nonzero exponents with absolute value
40064 below 0x1p-79 to +/- 0x1p-79.
40065 * math/libm-test.inc (pow_test): Add more tests.
40067 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40069 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40070 _dl_s390_cap_flags with kernel. Increase string length.
40071 (_dl_s390_platforms): Add z196 and zEC12.
40073 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40075 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40076 Change XOPEN21K to XOPEN2K.
40078 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40080 * string/memmove.c: Use memcpy when possible.
40082 2012-11-06 Andreas Jaeger <aj@suse.de>
40084 * po/eo.po: Update from translation team.
40086 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40090 exponent and small x and y exponents, scale x or y up. Increase
40091 by 2 the exponent used in scaling up.
40092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40094 * math/libm-test.inc (fma_test): Add more tests.
40095 (fma_test_towardzero): Likewise.
40096 (fma_test_downward): Likewise.
40097 (fma_test_upward): Likewise.
40099 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40102 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40106 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40107 namespace for names of struct fields.
40108 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40110 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40111 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40113 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40116 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40118 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40120 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40124 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40127 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40131 definitely overflow as x * y not x * y + z.
40132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40134 * math/libm-test.inc (fma_test): Add more tests.
40135 (fma_test_towardzero): Likewise.
40136 (fma_test_downward): Likewise.
40137 (fma_test_upward): Likewise.
40139 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40143 * include/stub-tag.h: Remove file.
40144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40146 * manual/maint.texi (Porting): Don't reference it.
40147 * Makerules ($(objpfx)stubs): Likewise.
40148 * dirent/closedir.c: Don't include <stub-tag.h>.
40149 * dirent/dirfd.c: Likewise.
40150 * dirent/fdopendir.c: Likewise.
40151 * dirent/getdents.c: Likewise.
40152 * dirent/getdents64.c: Likewise.
40153 * dirent/opendir.c: Likewise.
40154 * dirent/readdir.c: Likewise.
40155 * dirent/readdir64.c: Likewise.
40156 * dirent/readdir64_r.c: Likewise.
40157 * dirent/readdir_r.c: Likewise.
40158 * dirent/rewinddir.c: Likewise.
40159 * dirent/seekdir.c: Likewise.
40160 * dirent/telldir.c: Likewise.
40161 * gmon/profil.c: Likewise.
40162 * grp/setgroups.c: Likewise.
40163 * inet/if_index.c: Likewise.
40164 * io/access.c: Likewise.
40165 * io/chdir.c: Likewise.
40166 * io/chmod.c: Likewise.
40167 * io/chown.c: Likewise.
40168 * io/close.c: Likewise.
40169 * io/dup.c: Likewise.
40170 * io/dup2.c: Likewise.
40171 * io/dup3.c: Likewise.
40172 * io/euidaccess.c: Likewise.
40173 * io/faccessat.c: Likewise.
40174 * io/fchdir.c: Likewise.
40175 * io/fchmod.c: Likewise.
40176 * io/fchmodat.c: Likewise.
40177 * io/fchown.c: Likewise.
40178 * io/fchownat.c: Likewise.
40179 * io/fcntl.c: Likewise.
40180 * io/flock.c: Likewise.
40181 * io/fstatfs.c: Likewise.
40182 * io/fstatfs64.c: Likewise.
40183 * io/fstatvfs.c: Likewise.
40184 * io/fstatvfs64.c: Likewise.
40185 * io/futimens.c: Likewise.
40186 * io/fxstat.c: Likewise.
40187 * io/fxstat64.c: Likewise.
40188 * io/fxstatat.c: Likewise.
40189 * io/fxstatat64.c: Likewise.
40190 * io/getcwd.c: Likewise.
40191 * io/isatty.c: Likewise.
40192 * io/lchmod.c: Likewise.
40193 * io/lchown.c: Likewise.
40194 * io/link.c: Likewise.
40195 * io/linkat.c: Likewise.
40196 * io/lseek.c: Likewise.
40197 * io/lseek64.c: Likewise.
40198 * io/lxstat64.c: Likewise.
40199 * io/mkdir.c: Likewise.
40200 * io/mkdirat.c: Likewise.
40201 * io/mkfifo.c: Likewise.
40202 * io/mkfifoat.c: Likewise.
40203 * io/open.c: Likewise.
40204 * io/open64.c: Likewise.
40205 * io/openat.c: Likewise.
40206 * io/openat64.c: Likewise.
40207 * io/pipe.c: Likewise.
40208 * io/pipe2.c: Likewise.
40209 * io/poll.c: Likewise.
40210 * io/posix_fadvise.c: Likewise.
40211 * io/posix_fadvise64.c: Likewise.
40212 * io/posix_fallocate.c: Likewise.
40213 * io/posix_fallocate64.c: Likewise.
40214 * io/read.c: Likewise.
40215 * io/readlink.c: Likewise.
40216 * io/readlinkat.c: Likewise.
40217 * io/rmdir.c: Likewise.
40218 * io/sendfile.c: Likewise.
40219 * io/sendfile64.c: Likewise.
40220 * io/statfs.c: Likewise.
40221 * io/statfs64.c: Likewise.
40222 * io/statvfs.c: Likewise.
40223 * io/statvfs64.c: Likewise.
40224 * io/symlink.c: Likewise.
40225 * io/symlinkat.c: Likewise.
40226 * io/ttyname.c: Likewise.
40227 * io/ttyname_r.c: Likewise.
40228 * io/umask.c: Likewise.
40229 * io/unlink.c: Likewise.
40230 * io/unlinkat.c: Likewise.
40231 * io/utime.c: Likewise.
40232 * io/utimensat.c: Likewise.
40233 * io/write.c: Likewise.
40234 * io/xmknod.c: Likewise.
40235 * io/xmknodat.c: Likewise.
40236 * io/xstat.c: Likewise.
40237 * io/xstat64.c: Likewise.
40238 * login/getpt.c: Likewise.
40239 * login/grantpt.c: Likewise.
40240 * login/unlockpt.c: Likewise.
40241 * math/e_acoshl.c: Likewise.
40242 * math/e_acosl.c: Likewise.
40243 * math/e_asinl.c: Likewise.
40244 * math/e_atan2l.c: Likewise.
40245 * math/e_atanhl.c: Likewise.
40246 * math/e_coshl.c: Likewise.
40247 * math/e_expl.c: Likewise.
40248 * math/e_fmodl.c: Likewise.
40249 * math/e_gammal_r.c: Likewise.
40250 * math/e_hypotl.c: Likewise.
40251 * math/e_j0l.c: Likewise.
40252 * math/e_j1l.c: Likewise.
40253 * math/e_jnl.c: Likewise.
40254 * math/e_lgammal_r.c: Likewise.
40255 * math/e_log10l.c: Likewise.
40256 * math/e_log2l.c: Likewise.
40257 * math/e_logl.c: Likewise.
40258 * math/e_powl.c: Likewise.
40259 * math/e_rem_pio2l.c: Likewise.
40260 * math/e_sinhl.c: Likewise.
40261 * math/e_sqrtl.c: Likewise.
40262 * math/fclrexcpt.c: Likewise.
40263 * math/fedisblxcpt.c: Likewise.
40264 * math/feenablxcpt.c: Likewise.
40265 * math/fegetenv.c: Likewise.
40266 * math/fegetexcept.c: Likewise.
40267 * math/fegetround.c: Likewise.
40268 * math/feholdexcpt.c: Likewise.
40269 * math/fesetenv.c: Likewise.
40270 * math/fesetround.c: Likewise.
40271 * math/feupdateenv.c: Likewise.
40272 * math/fgetexcptflg.c: Likewise.
40273 * math/fraiseexcpt.c: Likewise.
40274 * math/fsetexcptflg.c: Likewise.
40275 * math/ftestexcept.c: Likewise.
40276 * math/k_cosl.c: Likewise.
40277 * math/k_rem_pio2l.c: Likewise.
40278 * math/k_sinl.c: Likewise.
40279 * math/k_tanl.c: Likewise.
40280 * math/s_asinhl.c: Likewise.
40281 * math/s_atanl.c: Likewise.
40282 * math/s_cbrtl.c: Likewise.
40283 * math/s_erfl.c: Likewise.
40284 * math/s_expm1l.c: Likewise.
40285 * math/s_log1pl.c: Likewise.
40286 * math/s_tanhl.c: Likewise.
40287 * misc/acct.c: Likewise.
40288 * misc/brk.c: Likewise.
40289 * misc/chflags.c: Likewise.
40290 * misc/chroot.c: Likewise.
40291 * misc/fchflags.c: Likewise.
40292 * misc/fgetxattr.c: Likewise.
40293 * misc/flistxattr.c: Likewise.
40294 * misc/fremovexattr.c: Likewise.
40295 * misc/fsetxattr.c: Likewise.
40296 * misc/fsync.c: Likewise.
40297 * misc/ftruncate.c: Likewise.
40298 * misc/futimes.c: Likewise.
40299 * misc/futimesat.c: Likewise.
40300 * misc/getdomain.c: Likewise.
40301 * misc/getdtsz.c: Likewise.
40302 * misc/gethostid.c: Likewise.
40303 * misc/gethostname.c: Likewise.
40304 * misc/getloadavg.c: Likewise.
40305 * misc/getpagesize.c: Likewise.
40306 * misc/getsysstats.c: Likewise.
40307 * misc/getxattr.c: Likewise.
40308 * misc/gtty.c: Likewise.
40309 * misc/ioctl.c: Likewise.
40310 * misc/lgetxattr.c: Likewise.
40311 * misc/listxattr.c: Likewise.
40312 * misc/llistxattr.c: Likewise.
40313 * misc/lremovexattr.c: Likewise.
40314 * misc/lsetxattr.c: Likewise.
40315 * misc/lutimes.c: Likewise.
40316 * misc/madvise.c: Likewise.
40317 * misc/mincore.c: Likewise.
40318 * misc/mlock.c: Likewise.
40319 * misc/mlockall.c: Likewise.
40320 * misc/mmap.c: Likewise.
40321 * misc/mprotect.c: Likewise.
40322 * misc/msync.c: Likewise.
40323 * misc/munlock.c: Likewise.
40324 * misc/munlockall.c: Likewise.
40325 * misc/munmap.c: Likewise.
40326 * misc/preadv.c: Likewise.
40327 * misc/preadv64.c: Likewise.
40328 * misc/ptrace.c: Likewise.
40329 * misc/pwritev.c: Likewise.
40330 * misc/pwritev64.c: Likewise.
40331 * misc/readv.c: Likewise.
40332 * misc/reboot.c: Likewise.
40333 * misc/remap_file_pages.c: Likewise.
40334 * misc/removexattr.c: Likewise.
40335 * misc/revoke.c: Likewise.
40336 * misc/select.c: Likewise.
40337 * misc/setdomain.c: Likewise.
40338 * misc/setegid.c: Likewise.
40339 * misc/seteuid.c: Likewise.
40340 * misc/sethostid.c: Likewise.
40341 * misc/sethostname.c: Likewise.
40342 * misc/setregid.c: Likewise.
40343 * misc/setreuid.c: Likewise.
40344 * misc/setxattr.c: Likewise.
40345 * misc/sstk.c: Likewise.
40346 * misc/stty.c: Likewise.
40347 * misc/swapoff.c: Likewise.
40348 * misc/swapon.c: Likewise.
40349 * misc/sync.c: Likewise.
40350 * misc/syncfs.c: Likewise.
40351 * misc/syscall.c: Likewise.
40352 * misc/truncate.c: Likewise.
40353 * misc/ualarm.c: Likewise.
40354 * misc/usleep.c: Likewise.
40355 * misc/ustat.c: Likewise.
40356 * misc/utimes.c: Likewise.
40357 * misc/vhangup.c: Likewise.
40358 * misc/writev.c: Likewise.
40359 * posix/_exit.c: Likewise.
40360 * posix/alarm.c: Likewise.
40361 * posix/execve.c: Likewise.
40362 * posix/fexecve.c: Likewise.
40363 * posix/fork.c: Likewise.
40364 * posix/fpathconf.c: Likewise.
40365 * posix/getaddrinfo.c: Likewise.
40366 * posix/getegid.c: Likewise.
40367 * posix/geteuid.c: Likewise.
40368 * posix/getgid.c: Likewise.
40369 * posix/getgroups.c: Likewise.
40370 * posix/getlogin.c: Likewise.
40371 * posix/getlogin_r.c: Likewise.
40372 * posix/getpgid.c: Likewise.
40373 * posix/getpid.c: Likewise.
40374 * posix/getppid.c: Likewise.
40375 * posix/getresgid.c: Likewise.
40376 * posix/getresuid.c: Likewise.
40377 * posix/getsid.c: Likewise.
40378 * posix/getuid.c: Likewise.
40379 * posix/glob64.c: Likewise.
40380 * posix/nanosleep.c: Likewise.
40381 * posix/pathconf.c: Likewise.
40382 * posix/pause.c: Likewise.
40383 * posix/posix_madvise.c: Likewise.
40384 * posix/pread.c: Likewise.
40385 * posix/pread64.c: Likewise.
40386 * posix/pwrite.c: Likewise.
40387 * posix/pwrite64.c: Likewise.
40388 * posix/sched_getaffinity.c: Likewise.
40389 * posix/sched_getp.c: Likewise.
40390 * posix/sched_gets.c: Likewise.
40391 * posix/sched_primax.c: Likewise.
40392 * posix/sched_primin.c: Likewise.
40393 * posix/sched_rr_gi.c: Likewise.
40394 * posix/sched_setaffinity.c: Likewise.
40395 * posix/sched_setp.c: Likewise.
40396 * posix/sched_sets.c: Likewise.
40397 * posix/sched_yield.c: Likewise.
40398 * posix/setgid.c: Likewise.
40399 * posix/setlogin.c: Likewise.
40400 * posix/setpgid.c: Likewise.
40401 * posix/setresgid.c: Likewise.
40402 * posix/setresuid.c: Likewise.
40403 * posix/setsid.c: Likewise.
40404 * posix/setuid.c: Likewise.
40405 * posix/sleep.c: Likewise.
40406 * posix/spawni.c: Likewise.
40407 * posix/sysconf.c: Likewise.
40408 * posix/times.c: Likewise.
40409 * posix/wait.c: Likewise.
40410 * posix/wait3.c: Likewise.
40411 * posix/wait4.c: Likewise.
40412 * posix/waitpid.c: Likewise.
40413 * resolv/gai_sigqueue.c: Likewise.
40414 * resource/getpriority.c: Likewise.
40415 * resource/getrlimit.c: Likewise.
40416 * resource/getrusage.c: Likewise.
40417 * resource/nice.c: Likewise.
40418 * resource/setpriority.c: Likewise.
40419 * resource/setrlimit.c: Likewise.
40420 * resource/ulimit.c: Likewise.
40421 * rt/aio_cancel.c: Likewise.
40422 * rt/aio_fsync.c: Likewise.
40423 * rt/aio_read.c: Likewise.
40424 * rt/aio_sigqueue.c: Likewise.
40425 * rt/aio_suspend.c: Likewise.
40426 * rt/aio_write.c: Likewise.
40427 * rt/clock_getres.c: Likewise.
40428 * rt/clock_gettime.c: Likewise.
40429 * rt/clock_nanosleep.c: Likewise.
40430 * rt/clock_settime.c: Likewise.
40431 * rt/lio_listio.c: Likewise.
40432 * rt/mq_close.c: Likewise.
40433 * rt/mq_getattr.c: Likewise.
40434 * rt/mq_notify.c: Likewise.
40435 * rt/mq_open.c: Likewise.
40436 * rt/mq_receive.c: Likewise.
40437 * rt/mq_send.c: Likewise.
40438 * rt/mq_setattr.c: Likewise.
40439 * rt/mq_timedreceive.c: Likewise.
40440 * rt/mq_timedsend.c: Likewise.
40441 * rt/mq_unlink.c: Likewise.
40442 * rt/shm_open.c: Likewise.
40443 * rt/shm_unlink.c: Likewise.
40444 * rt/timer_create.c: Likewise.
40445 * rt/timer_delete.c: Likewise.
40446 * rt/timer_getoverr.c: Likewise.
40447 * rt/timer_gettime.c: Likewise.
40448 * rt/timer_settime.c: Likewise.
40449 * setjmp/__longjmp.c: Likewise.
40450 * setjmp/setjmp.c: Likewise.
40451 * signal/kill.c: Likewise.
40452 * signal/killpg.c: Likewise.
40453 * signal/raise.c: Likewise.
40454 * signal/sigaction.c: Likewise.
40455 * signal/sigaltstack.c: Likewise.
40456 * signal/sigblock.c: Likewise.
40457 * signal/sigignore.c: Likewise.
40458 * signal/sigintr.c: Likewise.
40459 * signal/signal.c: Likewise.
40460 * signal/sigpause.c: Likewise.
40461 * signal/sigpending.c: Likewise.
40462 * signal/sigqueue.c: Likewise.
40463 * signal/sigreturn.c: Likewise.
40464 * signal/sigset.c: Likewise.
40465 * signal/sigsetmask.c: Likewise.
40466 * signal/sigstack.c: Likewise.
40467 * signal/sigsuspend.c: Likewise.
40468 * signal/sigtimedwait.c: Likewise.
40469 * signal/sigvec.c: Likewise.
40470 * signal/sigwait.c: Likewise.
40471 * signal/sigwaitinfo.c: Likewise.
40472 * signal/sysv_signal.c: Likewise.
40473 * socket/accept.c: Likewise.
40474 * socket/accept4.c: Likewise.
40475 * socket/bind.c: Likewise.
40476 * socket/connect.c: Likewise.
40477 * socket/getpeername.c: Likewise.
40478 * socket/getsockname.c: Likewise.
40479 * socket/getsockopt.c: Likewise.
40480 * socket/isfdtype.c: Likewise.
40481 * socket/listen.c: Likewise.
40482 * socket/recv.c: Likewise.
40483 * socket/recvfrom.c: Likewise.
40484 * socket/recvmsg.c: Likewise.
40485 * socket/send.c: Likewise.
40486 * socket/sendmsg.c: Likewise.
40487 * socket/sendto.c: Likewise.
40488 * socket/setsockopt.c: Likewise.
40489 * socket/shutdown.c: Likewise.
40490 * socket/sockatmark.c: Likewise.
40491 * socket/socket.c: Likewise.
40492 * socket/socketpair.c: Likewise.
40493 * stdio-common/ctermid.c: Likewise.
40494 * stdio-common/cuserid.c: Likewise.
40495 * stdio-common/remove.c: Likewise.
40496 * stdio-common/rename.c: Likewise.
40497 * stdio-common/renameat.c: Likewise.
40498 * stdio-common/tempname.c: Likewise.
40499 * stdlib/getcontext.c: Likewise.
40500 * stdlib/makecontext.c: Likewise.
40501 * stdlib/setcontext.c: Likewise.
40502 * stdlib/swapcontext.c: Likewise.
40503 * stdlib/system.c: Likewise.
40504 * streams/fattach.c: Likewise.
40505 * streams/fdetach.c: Likewise.
40506 * streams/getmsg.c: Likewise.
40507 * streams/getpmsg.c: Likewise.
40508 * streams/putmsg.c: Likewise.
40509 * streams/putpmsg.c: Likewise.
40510 * sysdeps/unix/bsd/getpt.c: Likewise.
40511 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40512 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40513 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40516 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40517 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40518 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40519 * sysvipc/msgctl.c: Likewise.
40520 * sysvipc/msgget.c: Likewise.
40521 * sysvipc/msgrcv.c: Likewise.
40522 * sysvipc/msgsnd.c: Likewise.
40523 * sysvipc/semctl.c: Likewise.
40524 * sysvipc/semget.c: Likewise.
40525 * sysvipc/semop.c: Likewise.
40526 * sysvipc/semtimedop.c: Likewise.
40527 * sysvipc/shmat.c: Likewise.
40528 * sysvipc/shmctl.c: Likewise.
40529 * sysvipc/shmdt.c: Likewise.
40530 * sysvipc/shmget.c: Likewise.
40531 * termios/tcdrain.c: Likewise.
40532 * termios/tcflow.c: Likewise.
40533 * termios/tcflush.c: Likewise.
40534 * termios/tcgetattr.c: Likewise.
40535 * termios/tcgetpgrp.c: Likewise.
40536 * termios/tcsendbrk.c: Likewise.
40537 * termios/tcsetattr.c: Likewise.
40538 * termios/tcsetpgrp.c: Likewise.
40539 * time/adjtime.c: Likewise.
40540 * time/clock.c: Likewise.
40541 * time/getitimer.c: Likewise.
40542 * time/gettimeofday.c: Likewise.
40543 * time/setitimer.c: Likewise.
40544 * time/settimeofday.c: Likewise.
40545 * time/stime.c: Likewise.
40546 * time/time.c: Likewise.
40548 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40550 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40553 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40555 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40557 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40561 FE_TONEAREST before applying Dekker multiplication and Knuth
40562 addition. Clear inexact exceptions and check for exact zero
40563 results afterwards.
40564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40567 * math/libm-test.inc (fma_test): Add more tests.
40568 (fma_test_towardzero): Likewise.
40569 (fma_test_downward): Likewise.
40570 (fma_test_upward): Likewise.
40571 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40573 (libc_fesetround): New macro.
40574 (libc_fesetroundf): Likewise.
40575 (libc_fesetroundl): Likewise.
40576 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40578 (libc_fesetround_387): Likewise.
40579 (libc_fesetroundf): New macro.
40580 (libc_fesetround): Likewise.
40581 (libc_fesetroundl): Likewise.
40582 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40584 (libc_fesetroundf): New macro.
40585 (libc_fesetround): Likewise.
40586 (libc_fesetroundl): Likewise.
40587 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40588 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40589 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40591 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40592 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40594 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40595 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40597 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40601 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40602 integer constant usable in #if and use that to give value to enum
40604 (FE_DIVBYZERO): Likewise.
40605 (FE_UNDERFLOW): Likewise.
40606 (FE_OVERFLOW): Likewise.
40607 (FE_INVALID): Likewise.
40608 (FE_INVALID_SNAN): Likewise.
40609 (FE_INVALID_ISI): Likewise.
40610 (FE_INVALID_IDI): Likewise.
40611 (FE_INVALID_ZDZ): Likewise.
40612 (FE_INVALID_IMZ): Likewise.
40613 (FE_INVALID_COMPARE): Likewise.
40614 (FE_INVALID_SOFTWARE): Likewise.
40615 (FE_INVALID_SQRT): Likewise.
40616 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40617 (FE_TONEAREST): Likewise.
40618 (FE_TOWARDZERO): Likewise.
40619 (FE_UPWARD): Likewise.
40620 (FE_DOWNWARD): Likewise.
40621 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40622 (FE_DIVBYZERO): Likewise.
40623 (FE_OVERFLOW): Likewise.
40624 (FE_UNDERFLOW): Likewise.
40625 (FE_INEXACT): Likewise.
40626 (FE_TONEAREST): Likewise.
40627 (FE_DOWNWARD): Likewise.
40628 (FE_UPWARD): Likewise.
40629 (FE_TOWARDZERO): Likewise.
40630 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40631 (FE_UNDERFLOW): Likewise.
40632 (FE_OVERFLOW): Likewise.
40633 (FE_DIVBYZERO): Likewise.
40634 (FE_INVALID): Likewise.
40635 (FE_TONEAREST): Likewise.
40636 (FE_TOWARDZERO): Likewise.
40637 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40638 (FE_OVERFLOW): Likewise.
40639 (FE_UNDERFLOW): Likewise.
40640 (FE_DIVBYZERO): Likewise.
40641 (FE_INEXACT): Likewise.
40642 (FE_TONEAREST): Likewise.
40643 (FE_TOWARDZERO): Likewise.
40644 (FE_UPWARD): Likewise.
40645 (FE_DOWNWARD): Likewise.
40646 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40647 (FE_DIVBYZERO): Likewise.
40648 (FE_OVERFLOW): Likewise.
40649 (FE_UNDERFLOW): Likewise.
40650 (FE_INEXACT): Likewise.
40651 (FE_TONEAREST): Likewise.
40652 (FE_DOWNWARD): Likewise.
40653 (FE_UPWARD): Likewise.
40654 (FE_TOWARDZERO): Likewise.
40656 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40658 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40660 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40662 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40663 commands. Quote $PWD.
40664 (blacklist_exports): Don't use remove_newlines. Replace "declare
40666 (remove_newlines): Remove.
40668 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40670 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40671 * stdlib/stdlib.h (atof): Moved to ...
40672 * include/bits/stdlib-float.h: Here. New file.
40673 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40674 * stdlib/bits/stdlib-float.h: New file.
40675 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40677 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40680 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40682 * conform/conformtest.pl (@headers): Add fenv.h.
40683 * conform/data/fenv.h-data: New file.
40684 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40685 include of <math/fenv.h>.
40687 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40688 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40689 && !UNIX98]. Enables tests for XOPEN2K8.
40690 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40691 POSIX2008]: Likewise.
40693 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40694 (struct rusage): Do not expect type or its members.
40697 * math/math.h (FP_NAN): Define macro to integer constant usable in
40698 #if and use that to give value to enum constant.
40699 (FP_INFINITE): Likewise.
40700 (FP_ZERO): Likewise.
40701 (FP_SUBNORMAL): Likewise.
40702 (FP_NORMAL): Likewise.
40704 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40706 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40707 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40710 2012-11-02 Roland McGrath <roland@hack.frob.com>
40712 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40713 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40714 autoconf-time if not.
40715 * configure.in: Remove AC_PREREQ.
40717 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40719 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40720 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40721 of the internal implementation.
40723 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40725 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40726 except include of <misc/sys/syslog.h>.
40728 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40731 function returns with a NULL context exit with zero.
40733 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40735 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40737 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40739 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40740 (run_program_cmd): This.
40741 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40742 (tst_langinfo): New variable. Use it.
40744 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40746 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40747 floating point opcodes.
40749 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40751 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40754 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40756 * sysdeps/mach/hurd/powerpc: Remove directory.
40757 * sysdeps/mach/powerpc: Likewise.
40759 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40761 * scripts/check-local-headers.sh: Ignore c++ headers.
40763 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40765 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40766 __libc_cleanup_region_start argument.
40768 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40773 x * y using scaling, not as x * y + z.
40774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40776 * math/libm-test.inc (fma_test): Add more tests.
40777 (fma_test_towardzero): Likewise.
40778 (fma_test_downward): Likewise.
40779 (fma_test_upward): Likewise.
40781 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40783 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40785 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40787 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40790 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40792 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40794 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40801 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40804 Fix the order of the list for glibc 2.17.
40805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40808 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40812 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40815 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40816 for low part of x being zero before using __atanl (y).
40817 * math/libm-test.inc (atan2_test): Add another test.
40819 * manual/install.texi (Configuring and compiling): Document
40820 general use of test-wrapper and test-wrapper-env.
40821 * INSTALL: Regenerated.
40823 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40824 (__fma): Do not extract and scale down low bits on after-rounding
40825 systems when result rounded to normal precision would have normal
40827 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40828 (__fmal): Do not extract and scale down low bits on after-rounding
40829 systems when result rounded to normal precision would have normal
40831 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40832 (__fmal): Do not extract and scale down low bits on after-rounding
40833 systems when result rounded to normal precision would have normal
40835 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40837 (fma_test): Add more tests.
40838 (fma_test_towardzero): Likewise.
40839 (fma_test_downward): Likewise.
40840 (fma_test_upward): Likewise.
40842 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40844 * sysdeps/i386/tininess.h: Renamed to ...
40845 * sysdeps/x86/tininess.h: This.
40846 * sysdeps/x86_64/tininess.h: Removed.
40848 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40850 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40851 input. Use $(build-program-cmd).
40852 ($(objpfx)tst-array1-static.out): Likewise.
40853 ($(objpfx)tst-array2.out): Likewise.
40854 ($(objpfx)tst-array3.out): Likewise.
40855 ($(objpfx)tst-array4.out): Likewise.
40856 ($(objpfx)tst-array5.out): Likewise.
40857 ($(objpfx)tst-array5-static.out): Likewise.
40859 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40861 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40864 * nss/nsswitch.h (nss_interface_function): Provide new
40865 macro for use with NSS functions.
40866 * grp/initgroups.c: Use new macro.
40867 * nss/getXXbyYY.c: Likewise.
40868 * nss/getXXbyYY_r.c: Likewise.
40869 * nss/getXXent.c: Likewise.
40870 * nss/getXXent_r.c: Likewise.
40871 * sysdeps/posix/getaddrinfo.c: Likewise.
40873 2012-10-30 Andreas Jaeger <aj@suse.de>
40875 * po/ru.po: Update Russion translation from translation project.
40877 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40882 result and shift together with sticky bit instead of replicating
40883 round-to-nearest rounding.
40884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40885 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40886 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40887 missing underflow exceptions.
40888 (fma_test_towardzero): Add more tests.
40889 (fma_test_downward): Likewise.
40890 (fma_test_upward): Likewise.
40893 * sysdeps/generic/tininess.h: New file.
40894 * sysdeps/i386/tininess.h: Likewise.
40895 * sysdeps/sh/tininess.h: Likewise.
40896 * sysdeps/x86_64/tininess.h: Likewise.
40897 * stdlib/tst-strtod-underflow.c: Likewise.
40898 * stdlib/tst-tininess.c: Likewise.
40899 * stdlib/strtod_l.c: Include <tininess.h>.
40900 (round_and_return): Do not set errno for exact underflow cases.
40901 Force an underflow exception when setting errno for underflow.
40902 Determine underflow based on rounding to normal precision if
40903 TININESS_AFTER_ROUNDING.
40904 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40905 ERANGE for exact underflow cases.
40906 * stdlib/Makefile (tests): Add tst-tininess and
40907 tst-strtod-underflow.
40908 ($(objpfx)tst-tininess): Use $(link-libm).
40909 ($(objpfx)tst-strtod-underflow): Likewise.
40911 2012-10-30 Andreas Jaeger <aj@suse.de>
40914 * elf/Makefile (tests): Remove conditional for have-initfini-array
40915 since this is now always required and the variable does not exist
40917 (tests-static): Likewise.
40918 (modules-names): Likewise.
40920 * po/eo.po: Add Esperanto translation from translation project.
40922 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40923 merged with constructor/destructor.
40924 (init_array): Likewise.
40925 * elf/tst-array2dep.c (fini_array): Likewise.
40926 (init_array): Likewise.
40928 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40930 * manual/message.texi: Delete @cartouche tags.
40932 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40934 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40936 * sysdeps/mach/hurd/fsync.c: Likewise.
40938 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40939 [_POSIX_REALTIME_SIGNALS]: Change condition to
40940 [_POSIX_REALTIME_SIGNALS > 0].
40942 2012-10-27 Andreas Jaeger <aj@suse.de>
40944 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40945 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40947 [__WORDSIZE != 64]: Likewise.
40949 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40951 * iconvdata/tst-table.sh: Remove ${SHELL}.
40952 * iconvdata/tst-tables.sh: Likewise.
40954 2012-10-25 David S. Miller <davem@davemloft.net>
40956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40957 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40963 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40964 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40967 2012-10-25 Roland McGrath <roland@hack.frob.com>
40969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40970 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40973 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40974 Jim Blandy <jimb@codesourcery.com>
40976 * scripts/cross-test-ssh.sh: New file.
40977 * manual/install.texi (Configuring and compiling): Document use of
40979 * INSTALL: Regenerated.
40981 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40983 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40986 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40988 * Makeconfig (run-program-prefix): Fix comment.
40990 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40991 Jim Blandy <jimb@codesourcery.com>
40993 * Makeconfig (test-wrapper): New variable,
40994 (test-wrapper-env): Likewise.
40995 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40996 (run-built-tests): Define to yes.
40997 (run-program-prefix): Use $(test-wrapper).
40998 (built-program-cmd): Likewise.
40999 * Rules (make-test-out): Use $(test-wrapper-env) and
41000 $(host-built-program-cmd).
41001 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41002 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41004 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41005 $(test-wrapper-env) to tst-rtld-load-self.sh.
41006 ($(objpfx)order2.out): Use $(test-wrapper).
41007 ($(objpfx)tst-initorder.out): Likewise.
41008 ($(objpfx)tst-initorder2.out): Likewise.
41009 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41010 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41011 (test_wrapper_env): New variable. Use it to run ld.so.
41012 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41013 Use it to run ld.so.
41014 (test_wrapper_env): Likewise.
41015 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41016 $(test-wrapper) to run-iconv-test.sh.
41017 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41018 (ICONV): Use $test_wrapper.
41019 * posix/Makefile ($(objpfx)globtest.out): Pass
41020 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41021 globtest.sh, not $(run-program-prefix).
41022 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41023 (test_wrapper): Likewise.
41024 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41025 set together with run_via_rtld_prefix.
41026 (run_program_prefix): Define in terms of test_wrapper and
41027 run_via_rtld_prefix.
41029 2012-10-24 Roland McGrath <roland@hack.frob.com>
41031 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41032 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41036 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41037 Declare __clock_getres, __clock_gettime, __clock_settime,
41038 __clock_nanosleep, and __clock_getcpuclockid.
41039 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41040 Remove librt_hidden_def (clock_gettime).
41041 * sysdeps/unix/clock_gettime.c: Likewise.
41042 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41044 * rt/clock_getres.c: Define __clock_getres as an alias.
41045 * sysdeps/posix/clock_getres.c: Likewise.
41046 * rt/clock_settime.c: Define __clock_settime as an alias.
41047 * sysdeps/unix/clock_settime.c: Likewise.
41048 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41049 * sysdeps/unix/clock_nanosleep.c: Likewise.
41050 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41051 * rt/clock-compat.c: New file.
41052 * rt/Makefile (librt-routines): Add clock-compat and move
41053 $(clock-routines) to ...
41054 (routines): ... here, new variable.
41055 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41056 Don't add get_clockfreq here.
41057 * rt/Versions (libc: GLIBC_2.17): New version set.
41058 Add clock_* symbols here.
41059 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41061 (GLIBC_2.17): Add clock_* symbols.
41062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41073 * NEWS: Mention the move.
41075 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41076 Use __open, __read, __close rather than their public counterparts.
41077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41078 (__get_clockfreq_via_cpuinfo): Likewise.
41079 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41080 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41082 * config.h.in (HAVE_IFUNC): New #undef.
41083 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41085 * configure: Regenerated.
41087 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41089 * configure.in: Move READELF check to start of file.
41090 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41091 libc_cv_asm_gnu_indirect_function in the process.
41092 * configure: Regenerated.
41094 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41096 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41097 send the output to /dev/null.
41098 (libc_cv_cc_with_libunwind): Likewise.
41099 (libc_cv_as_noexecstack): Likewise.
41100 * configure: Regenerate.
41102 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41104 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41106 * posix/globtest.sh (TMPDIR): Do not set.
41107 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41108 (testout): Likewise.
41110 2012-10-24 Andreas Jaeger <aj@suse.de>
41112 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41113 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41114 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41115 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41116 posix_fadvise64, posix_fallocate64.
41118 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41119 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41120 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41122 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41124 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41127 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41128 <bits/fcntl-linux.h>.
41129 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41132 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41133 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41134 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41135 [__WORDSIZE != 64]: Likewise.
41137 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41139 * Makeconfig (run-built-tests): New variable.
41140 * Rules [$(cross-compiling) = yes]: Change condition to
41141 [$(run-built-tests) = no].
41142 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41143 to [$(run-built-tests) = yes].
41144 * elf/Makefile [$(cross-compiling) = no]: Likewise
41145 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41146 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41147 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41148 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41149 * io/Makefile [$(cross-compiling) = no]: Likewise.
41150 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41151 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41152 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41153 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41154 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41155 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41156 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41157 * string/Makefile [$(cross-compiling) = no]: Likewise.
41159 * posix/Makefile ($(objpfx)globtest.out): Pass
41160 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41161 $(rtld-installed-name).
41162 * posix/globtest.sh (elf_objpfx): Remove variable.
41163 (rtld_installed_name): Likewise.
41164 (library_path): Likewise.
41165 (run_program_prefix): New variable. Use for running globtest
41168 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41169 Joseph Myers <joseph@codesourcery.com>
41171 * Makeconfig (host-built-program-cmd): New variable.
41172 * elf/Makefile (tst-stackguard1-ARGS): Use
41173 $(host-built-program-cmd).
41174 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41175 (tst-spawn-ARGS): Likewise.
41176 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41178 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41179 Jim Blandy <jimb@codesourcery.com>
41181 * Makeconfig (run-via-rtld-prefix): New variable.
41182 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41183 (built-program-cmd): Likewise.
41185 2012-10-22 Andreas Jaeger <aj@suse.de>
41187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41188 __O_RSYNC if it exists, otherwise to O_SYNC.
41190 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41191 Joseph Myers <joseph@codesourcery.com>
41193 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41195 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41197 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41200 2012-10-22 Andreas Jaeger <aj@suse.de>
41202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41207 bits/fcntl-linux.h.
41209 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41210 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41217 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41218 Joseph Myers <joseph@codesourcery.com>
41220 * config.make.in (NM): New variable.
41222 2012-10-21 Andreas Jaeger <aj@suse.de>
41224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41225 definitions and declarations that are provided by
41226 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41228 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41231 * elf/Makefile (tests-static): Add tst-leaks1-static.
41232 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41233 ($(objpfx)tst-leaks1-static): New rule.
41234 ($(objpfx)tst-leaks1-static-mem): Likewise.
41235 (tst-leaks1-static-ENV): New macro.
41236 * elf/dl-open.c (dl_open_worker): Check the main application
41237 only if SHARED is defined.
41238 * elf/tst-leaks1-static.c: New file.
41240 2012-10-20 Andreas Jaeger <aj@suse.de>
41242 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41243 generic values for Linux.
41244 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41245 and declarations that are provided by <bits/fcntl-linux.h> and
41246 include <bits/fcntl-linux.h>.
41247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41250 2012-10-20 Roland McGrath <roland@hack.frob.com>
41252 * io/fcntl.h: Move include of <bits/types.h> to the top and
41253 include it unconditionally.
41255 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41257 * wcsmbs/Makefile (tests-ifunc): New variable.
41258 (tests): Add $(tests-ifunc).
41259 * wcsmbs/test-wcschr-ifunc.c: New file.
41260 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41261 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41262 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41263 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41264 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41266 * string/Makefile (tests-ifunc): New variable.
41267 (tests): Add $(tests-ifunc).
41268 * string/test-memccpy.c (TEST_NAME): New macro.
41269 * string/test-memchr.c (TEST_NAME): Likewise.
41270 * string/test-memcmp.c (TEST_NAME): Likewise.
41271 * string/test-memcpy.c (TEST_NAME): Likewise.
41272 * string/test-memmem.c (TEST_NAME): Likewise.
41273 * string/test-memmove.c (TEST_NAME): Likewise.
41274 * string/test-memset.c (TEST_NAME): Likewise.
41275 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41276 * string/test-stpcpy.c (TEST_NAME): Likewise.
41277 * string/test-stpncpy.c (TEST_NAME): Likewise.
41278 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41279 * string/test-strcasestr.c (TEST_NAME): Likewise.
41280 * string/test-strcat.c (TEST_NAME): Likewise.
41281 * string/test-strchr.c (TEST_NAME): Likewise.
41282 * string/test-strcmp.c(TEST_NAME): Likewise.
41283 * string/test-strcpy.c (TEST_NAME): Likewise.
41284 * string/test-strcspn.c (TEST_NAME): Likewise.
41285 * string/test-strlen.c (TEST_NAME): Likewise.
41286 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41287 * string/test-strncmp.c (TEST_NAME): Likewise.
41288 * string/test-strncpy.c (TEST_NAME): Likewise.
41289 * string/test-strnlen.c (TEST_NAME): Likewise.
41290 * string/test-strpbrk.c (TEST_NAME): Likewise.
41291 * string/test-strrchr.c (TEST_NAME): Likewise.
41292 * string/test-strspn.c (TEST_NAME): Likewise.
41293 * string/test-strstr.c (TEST_NAME): Likewise.
41294 * string/test-bcopy-ifunc.c: New file.
41295 * string/test-bzero-ifunc.c: Likewise.
41296 * string/test-memccpy-ifunc.c: Likewise.
41297 * string/test-memchr-ifunc.c: Likewise.
41298 * string/test-memcmp-ifunc.c: Likewise.
41299 * string/test-memcpy-ifunc.c: Likewise.
41300 * string/test-memmem-ifunc.c: Likewise.
41301 * string/test-memmove-ifunc.c: Likewise.
41302 * string/test-mempcpy-ifunc.c: Likewise.
41303 * string/test-memset-ifunc.c: Likewise.
41304 * string/test-rawmemchr-ifunc.c: Likewise.
41305 * string/test-stpcpy-ifunc.c: Likewise.
41306 * string/test-stpncpy-ifunc.c: Likewise.
41307 * string/test-strcasecmp-ifunc.c: Likewise.
41308 * string/test-strcasestr-ifunc.c: Likewise.
41309 * string/test-strcat-ifunc.c: Likewise.
41310 * string/test-strchr-ifunc.c: Likewise.
41311 * string/test-strchrnul-ifunc.c: Likewise.
41312 * string/test-strcmp-ifunc.c: Likewise.
41313 * string/test-strcpy-ifunc.c: Likewise.
41314 * string/test-strcspn-ifunc.c: Likewise.
41315 * string/test-strlen-ifunc.c: Likewise.
41316 * string/test-strncasecmp-ifunc.c: Likewise.
41317 * string/test-strncat-ifunc.c: Likewise.
41318 * string/test-strncmp-ifunc.c: Likewise.
41319 * string/test-strncpy-ifunc.c: Likewise.
41320 * string/test-strnlen-ifunc.c: Likewise.
41321 * string/test-strpbrk-ifunc.c: Likewise.
41322 * string/test-strrchr-ifunc.c: Likewise.
41323 * string/test-strspn-ifunc.c: Likewise.
41324 * string/test-strstr-ifunc.c: Likewise.
41326 * debug/Makefile (tests-ifunc): New variable.
41327 (tests): Add $(tests-ifunc).
41328 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41329 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41330 * debug/test-stpcpy_chk-ifunc.c: New file.
41331 * debug/test-strcpy_chk-ifunc.c: Likewise.
41333 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41336 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41337 header is not read in.
41339 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41341 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41342 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41343 directly. Pass built executable to script as
41344 $(built-program-cmd).
41345 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41346 $testprogram without using LD_LIBRARY_PATH and $ldso.
41348 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41349 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41350 $(rtld-installed-name).
41351 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41352 (rtld_installed_name): Likewise.
41353 (library_path): Likewise.
41354 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41355 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41356 $(run-program-prefix) to tst-tables.sh.
41357 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41358 it to run tst-table-from and tst-table-to.
41359 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41360 Pass it to tst-table.sh.
41361 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41362 $(run-program-prefix) to tst-gettext.sh.
41363 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41365 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41367 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41368 to run tst-gettext.
41369 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41370 to run tst-gettext2.
41371 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41372 to run tst-translit.
41373 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41374 $(run-program-prefix) to tst-mtrace.sh.
41375 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41377 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41378 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41379 $(rtld-installed-name).
41380 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41381 (rtld_installed_name): Likewise.
41382 (run_program_prefix): New variable. Use it to run wordexp-test.
41384 * Makeconfig (ARCH): Remove all definitions.
41385 (machine): Likewise.
41386 [ARCH]: Remove conditional code.
41387 [!objdir]: Give error.
41388 [!objdir] (objpfx): Remove.
41389 [!objdir] (common-objpfx): Likewise.
41390 [!objdir] (common-objdir): Likewise.
41391 * configure.in (config_makefile): Remove. Hardcode Makefile in
41392 AC_CONFIG_FILES call.
41393 * configure: Regenerated.
41396 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41398 (testout): Likewise.
41400 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41401 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41402 $(rtld-installed-name).
41403 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41404 (rtld_installed_name): Likwise.
41405 (runit): Remove function.
41406 (run_getconf): New variable, Use it for running getconf binary.
41408 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41411 * string/test-memmem.c (check_result): New function.
41412 (do_one_test): Use it.
41413 (check1): New function.
41414 (test_main): Use it.
41416 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41418 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41420 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41422 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41423 (_G_LSEEK64): Likewise.
41424 (_G_MMAP64): Likewise.
41425 (_G_FSTAT64): Likewise.
41426 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41427 (_G_LSEEK64): Likewise.
41428 (_G_MMAP64): Likewise.
41429 (_G_FSTAT64): Likewise.
41430 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41431 unconditional. Call __mmap64 directly.
41432 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41433 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41434 __lseek64 directly.
41435 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41436 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41438 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41439 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41440 __lseek64 directly.
41441 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41442 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41443 __lseek64 directly.
41444 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41445 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41446 __lseek64 directly.
41447 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41448 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41449 __fxstat64 directly.
41450 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41451 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41453 (freopen64) [!_G_OPEN64]: Remove conditional code.
41454 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41456 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41457 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41459 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41460 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41462 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41463 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41465 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41466 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41468 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41469 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41471 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41472 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41474 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41476 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41479 * manual/memory.texi (Malloc Tunable Parameters): Add note
41480 about free list pointers overwriting some perturb bytes.
41481 Wording suggested by Roland McGrath.
41483 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41485 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41486 (lgamma_test): Likewise.
41487 (tgamma_test): Likewise.
41489 2012-10-16 Florian Weimer <fweimer@redhat.com>
41492 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41493 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41495 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41497 * NEWS: Mention BZ #14716.
41498 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41499 when removing AVAILABLE1_USES_J macro.
41501 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41503 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41504 (__bswap_64): __uint64_t for unsigned 64-bit int.
41506 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41508 * include/string.h (memmem): Declare libc hidden alias.
41509 * string/memmem.c (memmem): Define libc hidden alias.
41510 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41511 __read, __close instead of open, read, close.
41513 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41516 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41518 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41519 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41520 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41522 (__rawmemchr_sse2): Likewise.
41523 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41524 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41525 (__strchr_sse2): Likewise.
41526 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41527 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41528 (__strcasecmp_sse2): Likewise.
41529 (__strncasecmp_sse2): Likewise.
41530 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41531 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41532 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41533 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41534 (__strrchr_sse2): Likewise.
41535 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41537 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41538 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41539 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41540 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41541 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41542 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41543 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41544 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41545 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41546 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41547 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41548 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41549 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41550 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41551 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41552 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41553 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41554 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41555 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41556 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41557 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41558 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41559 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41560 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41561 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41562 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41563 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41564 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41565 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41566 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41568 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41570 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41571 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41572 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41573 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41575 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41577 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41578 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41579 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41580 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41582 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41583 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41584 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41585 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41586 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41587 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41588 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41589 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41590 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41591 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41592 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41593 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41594 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41595 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41596 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41598 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41599 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41600 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41601 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41603 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41604 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41605 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41606 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41607 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41608 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41609 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41610 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41611 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41612 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41613 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41614 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41615 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41616 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41617 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41618 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41619 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41620 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41621 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41622 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41624 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41625 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41626 * include/ifunc-impl-list.h: New file.
41627 * misc/ifunc-impl-list.c: Likewise.
41628 * misc/Makefile (routines): Add ifunc-impl-list.
41629 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41630 * string/test-string.h: Include <ifunc-impl-list.h>.
41631 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41632 TEST_NAME]: New variables.
41633 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41635 (test_init): Call __libc_ifunc_impl_list to initialize
41636 func_list if TEST_IFUNC and TEST_NAME are defined.
41638 * string/Makefile (strop-tests): Add bcopy and bzero.
41639 * string/test-bcopy.c: New file.
41640 * string/test-bzero.c: Likewise.
41641 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41643 * string/test-memset.c: Support bzero test if TEST_BZERO is
41645 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41647 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41649 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41652 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41654 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41655 * configure: Regenerated.
41657 * Makeconfig (+link-static-before-libc): Don't include
41658 $(link-static-libc).
41660 * libio/libio.h (_IO_pos_t): Remove.
41662 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41664 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41667 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41669 * crypt/crypt-entry.c: Include fips-private.h.
41670 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41671 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41672 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41673 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41675 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41677 * crypt/crypt-private.h: Include stdbool.h.
41678 (_ufc_setup_salt_r): Return bool.
41679 * crypt/crypt-entry.c: Include errno.h.
41680 (__crypt_r): Return NULL with EINVAL for bad salt.
41681 * crypt/crypt_util.c (bad_for_salt): New.
41682 (_ufc_setup_salt_r): Check that salt is long enough and within
41683 the specified alphabet.
41684 * crypt/badsalttest.c: New file.
41685 * crypt/Makefile (tests): Add it.
41686 ($(objpfx)badsalttest): New.
41688 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41690 * NEWS: Add entry for BZ #14602.
41692 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41694 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41696 * math/libm-test.inc: Update comment listing what functions and
41698 (isgreater_test): New function.
41699 (isgreaterequal_test): Likewise.
41700 (isless_test): Likewise.
41701 (islessequal_test): Likewise.
41702 (islessgreater_test): Likewise.
41703 (isunordered_test): Likewise.
41704 (main): Call the new functions.
41706 2012-10-09 Roland McGrath <roland@hack.frob.com>
41708 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41709 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41710 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41711 * sysdeps/i386/configure: Regenerated.
41712 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41713 * sysdeps/mach/configure: Regenerated.
41714 * sysdeps/mach/hurd/configure: Regenerated.
41715 * sysdeps/powerpc/configure: Regenerated.
41716 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41717 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41718 * sysdeps/s390/s390-32/configure: Regenerated.
41719 * sysdeps/s390/s390-64/configure: Regenerated.
41720 * sysdeps/sh/configure: Regenerated.
41721 * sysdeps/sparc/configure: Regenerated.
41722 * sysdeps/unix/sysv/linux/configure: Regenerated.
41723 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41724 * sysdeps/x86_64/configure: Regenerated.
41726 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41727 defined. Don't check if MAP is NULL.
41729 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41731 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41732 (_G_stat64): Likewise.
41733 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41734 (_G_stat64): Likewise.
41735 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41736 instead of struct _G_stat64.
41737 * libio/fileops.c (mmap_remap_check): Likewise.
41738 (decide_maybe_mmap): Likewise.
41739 (_IO_new_file_seekoff): Likewise.
41740 (_IO_file_stat): Likewise.
41741 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41743 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41744 instead of struct _G_stat64.
41745 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41747 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41750 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41752 (CHECK_EOL): New macro.
41753 (two_way_short_needle): Check beginning of haystack for EOL. Use
41755 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41756 Replace with CHECK_EOL.
41757 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41758 Replace with CHECK_EOL.
41760 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41762 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41764 * math/libm-test.inc: Update comment listing what functions and
41766 (finite_test): New function.
41767 (isinf_test): Likewise.
41768 (isnan_test): Likewise.
41769 (fpclassify_test): Test subnormal input.
41770 (isfinite_test): Likewise.
41771 (isnormal_test): Likewise.
41772 (main): Call the new functions.
41774 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41777 * Makerules (%.dynsym): Force C locale when running
41778 $(OBJDUMP) --dynamic-syms.
41780 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41782 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41785 2012-10-06 David S. Miller <davem@davemloft.net>
41787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41788 upper 32-bits of the length value in %o2 since we use branch-on-register
41789 tests which consider the entire 64-bit register.
41791 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41793 * string/test-strstr.c (check2): Add a test for page boundary.
41795 2012-10-05 David S. Miller <davem@davemloft.net>
41797 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41798 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41800 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41802 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41803 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41804 and bzero when HWCAP_SPARC_CRYPTO is present.
41806 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41809 * string/test-strstr.c (check2): New function.
41810 (test_main): Call check2.
41812 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41814 * string/bug-strcasestr1.c (do_test): Moved to ...
41815 * string/test-strcasestr.c (check1): Here. New function.
41816 (do_one_test): Break out result checking code into ...
41817 (check_result): This. New function.
41818 (do_one_test): Call check_result.
41819 (test_main): Call check1.
41820 * string/bug-strchr1.c (do_test): Moved to ...
41821 * string/test-strchr.c (check1): Here. New function.
41822 (do_one_test): Break out result checking code into ...
41823 (check_result): This. New function.
41824 (do_one_test): Call check_result.
41825 (test_main): Call check1.
41826 * string/bug-strstr1.c (main): Moved to ...
41827 * string/test-strstr.c (check1): Here. New function.
41828 (do_one_test): Break out result checking code into ...
41829 (check_result): This. New function.
41830 (do_one_test): Call check_result.
41831 (test_main): Call check1.
41832 * string/bug-strcasestr1.c: Removed.
41833 * string/bug-strchr1.c: Likewise.
41834 * string/bug-strstr1.c: Likewise.
41836 * elf/Makefile (dl-routines): Add hwcaps.
41837 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41838 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41839 (_dl_important_hwcaps): Moved to ...
41840 * elf/dl-hwcaps.c: Here. New file.
41841 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41844 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41845 if IS_IN_rtld isn't defined.
41847 * elf/dl-support.c (_dl_sysinfo_map): New.
41848 Include "get-dynamic-info.h" and "setup-vdso.h".
41849 (_dl_non_dynamic_init): Call setup_vdso.
41850 * elf/dynamic-link.h: Don't include <assert.h>.
41851 (elf_get_dynamic_info): Moved to ...
41852 * elf/get-dynamic-info.h: Here. New file.
41853 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41854 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41855 * elf/setup-vdso.h: Here. New file.
41856 * elf/rtld.c: Include "setup-vdso.h".
41857 (dl_main): Call setup_vdso.
41859 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41861 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41862 creal in comment listing functions tested. List finite, isinf,
41863 isnan, isless, islessequal, isgreater, isgreaterequal,
41864 islessgreater, isunordered, lgamma_r and pow10 as functions and
41865 macros not tested. Mention which functions not tested are aliases
41866 for other functions. Fix typo. Note that signs of NaNs are not
41869 * scripts/config.guess: Update from config.git.
41870 * scripts/config.sub: Likewise.
41872 2012-10-04 Roland McGrath <roland@hack.frob.com>
41874 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41875 * misc/madvise.c (madvise): Renamed to __madvise.
41876 Make madvise a weak alias.
41877 * include/sys/mman.h: Declare __madvise.
41878 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41879 * sysdeps/unix/syscalls.list
41880 (madvise): Make __madvise the strong name, and madvise a weak alias.
41881 * sysdeps/unix/sysv/linux/syscalls.list
41882 (madvise, mmap): Remove redundant entries.
41883 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41884 * malloc/malloc.c (mtrim): Likewise.
41885 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41887 2012-10-03 Roland McGrath <roland@hack.frob.com>
41889 * sysdeps/mach/hurd/dl-cache.c: File removed.
41890 * config.h.in (USE_LDCONFIG): New #undef.
41891 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41892 * configure: Regenerated.
41893 * elf/Makefile (dl-routines): Add dl-cache only under
41894 [$(use-ldconfig) = yes].
41895 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41896 cache on [USE_LDCONFIG].
41897 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41899 * elf/rtld.c (dl_main): Likewise.
41901 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41903 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41904 _SC_LEVEL4_CACHE_LINESIZE.
41906 2012-10-03 Roland McGrath <roland@hack.frob.com>
41908 * sysdeps/unix/bsd/confstr.h: File removed.
41910 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41912 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41915 2012-10-02 Roland McGrath <roland@hack.frob.com>
41917 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41918 Make 'mapoff' field ElfW(Off) rather than off_t.
41920 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41922 * nscd/Makefile: Remove nscd-cflags and all its users.
41923 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41924 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41927 * malloc.c (malloc_printerr): Clarify error message.
41929 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41933 Set bit_FMA_Usable if FMA is supported.
41934 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41936 (bit_FMA4_Usable): Updated.
41937 (index_FMA_Usable): New macro.
41938 (CPUID_FMA): Likewise
41939 (HAS_FMA): Defined with bit_FMA_Usable.
41941 2012-10-01 Roland McGrath <roland@hack.frob.com>
41943 * bits/types.h (__swblk_t): Type removed.
41944 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41945 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41946 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41947 (__SWBLK_T_TYPE): Likewise.
41948 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41949 (__SWBLK_T_TYPE): Likewise.
41950 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41951 (__SWBLK_T_TYPE): Likewise.
41952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41953 (__SWBLK_T_TYPE): Likewise.
41955 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41956 Honza Horak <hhorak@redhat.com>
41958 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41959 (xdr_mapname): Use YPMAXMAP as maxsize.
41960 (xdr_peername): Use YPMAXPEER as maxsize.
41961 (xdr_keydat): Use YPAXRECORD as maxsize.
41962 (xdr_valdat): Use YPMAXRECORD as maxsize.
41964 2012-10-01 Roland McGrath <roland@hack.frob.com>
41966 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41968 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41969 * csu/init-first.c: ... here.
41970 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41971 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41972 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41973 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41974 * sysdeps/i386/init-first.c: File removed.
41975 * sysdeps/sh/init-first.c: File removed.
41977 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41981 if x * y might underflow to zero and z is zero.
41982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41984 * math/libm-test.inc (min_subnorm_value): New variable.
41985 (fma_test): Add more tests.
41986 (fma_test_towardzero): Likewise.
41987 (fma_test_downward): Likewise
41988 (fma_test_upward): Likewise.
41989 (initialize): Set min_subnorm_value.
41991 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41996 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41997 mode for addition resulting in exact zero.
41998 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42001 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42003 * math/libm-test.inc (fma_test): Add more tests.
42004 (fma_test_towardzero): New function.
42005 (fma_test_downward): Likewise.
42006 (fma_test_upward): Likewise.
42007 (main): Call the new functions.
42009 2012-09-28 David S. Miller <davem@davemloft.net>
42011 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42013 2012-09-28 Roland McGrath <roland@hack.frob.com>
42015 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42016 instead of SIGALRM.
42018 * sysdeps/gnu/_G_config.h: Moved to ...
42019 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42020 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42021 * sysdeps/generic/_G_config.h: ... here.
42023 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42025 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42027 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42028 Conditionalize target on [libnss_test1.so-version].
42030 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42032 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42033 (elfobjdir): Move out of conditionals.
42035 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42036 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42037 (__nss_lookup_function): Conditionalize label remove_from_tree on
42038 [!DO_STATIC_NSS || SHARED], matching its only use.
42040 2012-09-28 David S. Miller <davem@davemloft.net>
42042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42043 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42045 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42047 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42049 when HWCAP_SPARC_CRYPTO is present.
42051 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42053 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42055 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42058 * stdio-common/vfprintf.c (process_string_arg): Revert
42061 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42063 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42065 * stdio-common/tst-sprintf.c: Include <locale.h>
42066 (main): Test sprintf's handling of incomplete multibyte
42069 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42071 * elf/dl-runtime.c (VERSYMIDX): Removed.
42072 * elf/dl-version.c (VERSYMIDX): Likewise.
42073 * elf/do-rel.h (VERSYMIDX): Likewise.
42074 (VALIDX): Likewise.
42075 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42076 * elf/rtld.c (VALIDX): Likewise.
42077 (ADDRIDX): Likewise.
42078 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42079 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42080 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42081 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42082 (VALIDX): Likewise.
42083 (ADDRIDX): Likewise.
42085 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42087 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42089 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42092 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42094 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42095 addresses are in the same scope as 192.0.2/24.
42096 * posix/gai.conf: Document new scope table defaults.
42098 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42101 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42102 for ftell. Compute offsets from write pointers instead.
42103 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42105 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42108 * libio/Makefile (tests): New test case tst-fseek.
42109 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42110 combination works in wide mode.
42111 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42112 state when the external buffer state changes.
42114 2012-09-27 David S. Miller <davem@davemloft.net>
42117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42118 pass reloc->r_addend in as the 'high' argument to
42119 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42123 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42125 * rt/tst-aio2.c: Include <pthread.h>.
42126 * rt/tst-aio3.c: Likewise.
42128 2012-09-27 Steve Ellcey <sellcey@mips.com>
42130 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42132 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42134 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42135 contents on [SHARED].
42137 2012-09-26 Marek Polacek <polacek@redhat.com>
42141 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42142 for C++ and GCC <4.3 as well as for non GCC compilers.
42144 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42148 2012-09-25 Roland McGrath <roland@hack.frob.com>
42150 * Makefile.in (all, install): Declare with .PHONY.
42151 Reported by Michael Hope <michael.hope@linaro.org>.
42153 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42155 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42156 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42158 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42160 (sydep_routines): Add the new and the internal functions.
42161 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42162 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42164 (GLIBC_2.17): Add the new function.
42165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42166 (GLIBC_2.17): Likewise.
42167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42168 (GLIBC_2.17): Likewise.
42169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42170 (GLIBC_2.17): Likewise.
42171 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42173 2012-09-25 Alan Modra <amodra@gmail.com>
42175 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42176 Add release barrier before setting once_control to say
42177 initialisation is done. Add hints on lwarx. Use macro in
42179 (clear_once_control): Add release barrier.
42181 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42184 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42186 * math/s_clog10.c (__clog10): Likewise.
42187 * math/s_clog10f.c (__clog10f): Likewise.
42188 * math/s_clog10l.c (__clog10l): Likewise.
42189 * math/s_clogf.c (__clogf): Likewise.
42190 * math/s_clogl.c (__clogl): Likewise.
42191 * math/Makefile (libm-calls): Add x2y2m1.
42192 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42193 (__x2y2m1): Likewise.
42194 (__x2y2m1l): Likewise.
42195 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42196 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42197 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42199 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42200 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42201 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42202 * sysdeps/i386/fpu/libm-test-ulps: Update.
42203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42206 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42207 int as type of variable DEPTH.
42208 (glob): Use size_t instead of int as type of variables NEWCOUNT
42211 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42213 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42214 Add s_sincosf-sse2.
42215 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42216 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42217 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42218 macros for using routine as __sincosf_ia32.
42219 Use macro for function declaration and weak_alias.
42220 * sysdeps/i386/fpu/libm-test-ulps: Update.
42222 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42225 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42226 subnormal argument.
42227 * math/s_cexpf.c (__cexpf): Likewise.
42228 * math/s_csinf.c (__csinf): Likewise.
42229 * math/s_csinhf.c (__csinhf): Likewise.
42230 * math/s_ctanf.c (__ctanf): Likewise.
42231 * math/s_ctanhf.c (__ctanhf): Likewise.
42232 * math/s_ccosh.c (__ccoshf): Likewise.
42233 * math/s_cexp.c (__cexpl): Likewise.
42234 * math/s_csin.c (__csin): Likewise.
42235 * math/s_csinh.c (__csinh): Likewise.
42236 * math/s_ctan.c (__ctan): Likewise.
42237 * math/s_ctanh.c (ctanh): Likewise.
42238 * math/s_ccoshl.c (__ccoshl): Likewise.
42239 * math/s_cexpl.c (__cexpl): Likewise.
42240 * math/s_csinl.c (__csinl): Likewise.
42241 * math/s_csinhl.c (__csinhl): Likewise.
42242 * math/s_ctanl.c (__ctanl): Likewise.
42243 * math/s_ctanhl.c (__ctanhl): Likewise.
42245 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42247 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42248 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42249 (_IO_off_t): Define to __off_t, not _G_off_t.
42250 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42251 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42252 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42253 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42254 type of __dummy and __dummy2 fields.
42255 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42256 (_G_ssize_t): Likewise.
42257 (_G_off_t): Likewise.
42258 (_G_pid_t): Likewise.
42259 (_G_uid_t): Likewise.
42260 (_G_wchar_t): Likewise.
42261 (_G_wint_t): Likewise.
42262 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42263 (_G_ssize_t): Likewise.
42264 (_G_off_t): Likewise.
42265 (_G_pid_t): Likewise.
42266 (_G_uid_t): Likewise.
42267 (_G_wchar_t): Likewise.
42268 (_G_wint_t): Likewise.
42269 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42270 (_G_ssize_t): Likewise.
42271 (_G_off_t): Likewise.
42272 (_G_pid_t): Likewise.
42273 (_G_uid_t): Likewise.
42274 (_G_wchar_t): Likewise.
42275 (_G_wint_t): Likewise.
42277 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42279 * malloc/arena.c: Include malloc-sysdep.h.
42280 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42281 is sufficient to shrink the heap or an unmap is needed.
42282 * sysdeps/generic/malloc-sysdep.h: New file. Define
42283 new function check_may_shrink_heap.
42284 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42285 new function check_may_shrink_heap.
42287 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42289 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42292 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42294 * catgets/test-gencat.sh: Add "set -e".
42295 * elf/tst-pathopt.sh: Likewise.
42296 * grp/tst_fgetgrent.sh: Likewise.
42297 * iconvdata/run-iconv-test.sh: Likewise.
42298 * intl/tst-gettext.sh: Likewise.
42299 * intl/tst-gettext2.sh: Likewise.
42300 * intl/tst-gettext4.sh: Likewise.
42301 * intl/tst-gettext6.sh: Likewise.
42302 * intl/tst-translit.sh: Likewise.
42303 * io/ftwtest-sh: Likewise.
42304 * libio/test-freopen.sh: Likewise.
42305 * malloc/tst-mtrace.sh: Likewise.
42306 * posix/globtest.sh: Likewise.
42307 * posix/tst-getconf.sh: Likewise.
42308 * posix/wordexp-tst.sh: Likewise.
42309 * stdio-common/tst-printf.sh: Likewise.
42310 * stdio-common/tst-unbputc.sh: Likewise.
42311 * stdlib/tst-fmtmsg.sh: Likewise.
42312 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42313 * catgets/Makefile: Do not specify -e option when running
42314 testsuite shell scripts.
42315 * elf/Makefile: Likewise.
42316 * grp/Makefile: Likewise.
42317 * iconvdata/Makefile: Likewise.
42318 * intl/Makefile: Likewise.
42319 * io/Makefile: Likewise.
42320 * libio/Makefile: Likewise.
42321 * malloc/Makefile: Likewise.
42322 * posix/Makefile: Likewise.
42323 * stdio-common/Makefile: Likewise.
42324 * stdlib/Makefile: Likewise.
42325 * sysdeps/x86_64/Makefile: Likewise.
42327 * io/ftwtest-sh: Add copyright header.
42328 * posix/globtest.sh: Likewise.
42329 * posix/tst-getconf.sh: Likewise.
42330 * posix/wordexp-tst.sh: Likewise.
42331 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42333 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42336 * Makeconfig (+link): Defined as $(+link-static) if
42337 $(build-shared) isn't yes.
42338 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42340 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42342 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42345 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42346 new chunk size with MALLOC_ALIGN_MASK.
42348 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42351 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42353 (__printf_fphex): Determine rounding using get_rounding_mode and
42355 * stdio-common/tst-printf-round.c (struct hex_test): New
42357 (hex_tests): New variable.
42358 (test_hex_in_one_mode): New function.
42359 (do_test): Also run tests for hex float output.
42361 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42363 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42364 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42365 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42366 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42367 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42368 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42369 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42370 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42372 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42374 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42375 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42376 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42377 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42379 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42382 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42384 * elf/tst-rtld-load-self.sh: New test.
42385 * elf/Makefile: Run it.
42387 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42389 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42390 (tst-writev-ENV): Remove.
42391 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42393 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42395 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42397 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42399 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42401 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42403 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42404 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42405 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42408 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42411 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42412 * config.make.in (have-cpp-asm-debuginfo): Removed.
42413 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42414 * configure: Regenerated.
42416 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42419 * stdio-common/printf_fp.c: Include <stdbool.h> and
42421 (___printf_fp): Determine rounding using get_rounding_mode and
42423 * stdio-common/tst-printf-round.c: New file.
42424 * stdio-common/Makefile (tests): Add tst-printf-round.
42425 (link-libm): New variable.
42426 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42428 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42431 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42432 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42434 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42437 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42439 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42440 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42441 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42444 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42447 * include/rounding-mode.h: New file.
42448 * sysdeps/generic/get-rounding-mode.h: Likewise.
42449 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42450 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42451 (MAX_VALUE): New macro.
42452 (MIN_VALUE): Likewise.
42453 (overflow_value): New function.
42454 (underflow_value): Likewise.
42455 (round_and_return): Use overflow_value and underflow_value to
42456 determine return values in overflow and underflow cases. Use
42457 round_away to determine rounding depending on rounding mode.
42458 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42459 determine return values in overflow and underflow cases.
42460 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42461 (struct test_results): New structure.
42462 (struct test): Use struct test_results to store expected results
42463 for all rounding modes.
42464 (TEST): Include expected results for all rounding modes.
42465 (test_in_one_mode): New function.
42466 (do_test): Use test_in_one_mode to compute and check results.
42467 Check results for all rounding modes.
42468 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42471 2012-12-09 Allan McRae <allan@archlinux.org>
42473 * sysdeps/i386/fpu/libm-test-ulps: Update
42475 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42477 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42478 (_G_int32_t): Likewise.
42479 (_G_uint16_t): Likewise.
42480 (_G_uint32_t): Likewise.
42481 (_G_HAVE_BOOL): Likewise.
42482 (_G_HAVE_ATEXIT): Likewise.
42483 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42484 (_G_HAVE_IO_FILE_OPEN): Likewise.
42485 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42486 (_G_int32_t): Likewise.
42487 (_G_uint16_t): Likewise.
42488 (_G_uint32_t): Likewise.
42489 (_G_HAVE_BOOL): Likewise.
42490 (_G_HAVE_ATEXIT): Likewise.
42491 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42492 (_G_HAVE_IO_FILE_OPEN): Likewise.
42493 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42494 (_G_int32_t): Likewise.
42495 (_G_uint16_t): Likewise.
42496 (_G_uint32_t): Likewise.
42497 (_G_HAVE_BOOL): Likewise.
42498 (_G_HAVE_ATEXIT): Likewise.
42499 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42500 (_G_HAVE_IO_FILE_OPEN): Likewise.
42502 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42504 * csu/libc-tls.c: Update copyright years.
42506 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42508 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42509 [!_G_USING_THUNKS]: Remove conditional code.
42510 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42511 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42513 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42514 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42515 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42516 (_G_VTABLE_LABEL_PREFIX): Likewise.
42517 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42518 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42519 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42520 (_G_VTABLE_LABEL_PREFIX): Likewise.
42521 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42522 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42523 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42524 (_G_VTABLE_LABEL_PREFIX): Likewise.
42525 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42527 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42529 * libio/Makefile: Include ../Makeconfig before tests.
42530 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42531 only if $(build-shared) is yes.
42533 * iconv/gconv_db.c: Update copyright years.
42535 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42537 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42538 unwind info if defined PIC. Fix special cases description.
42539 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42541 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42543 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42545 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42547 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42549 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42552 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42553 (LDLIBS-tst-chk4): This.
42554 (LDFLAGS-tst-chk5): Renamed to ...
42555 (LDLIBS-tst-chk5): This.
42556 (LDFLAGS-tst-chk6): Renamed to ...
42557 (LDLIBS-tst-chk6): This.
42558 (LDFLAGS-tst-lfschk4): Renamed to ...
42559 (LDLIBS-tst-lfschk4): This.
42560 (LDFLAGS-tst-lfschk5): Renamed to ...
42561 (LDLIBS-tst-lfschk5): This.
42562 (LDFLAGS-tst-lfschk6): Renamed to ...
42563 (LDLIBS-tst-lfschk6): This.
42565 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42566 on $(common-objpfx)soversions.mk.
42568 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42571 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42574 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42576 * malloc/arena.c (arena_get_retry): New function that gets
42577 another arena for the caller to try its request on.
42578 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42579 current arena cannot fulfill the request.
42580 (__libc_memalign): Likewise.
42581 (__libc_memalign): Likewise.
42582 (__libc_pvalloc): Likewise.
42583 (__libc_calloc): Likewise.
42585 2012-09-05 John Tobey <john.tobey@gmail.com>
42588 * manual/arith.texi (Operations on Complex): Fix description
42589 of carg branch cut.
42591 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42594 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42598 * manual/memory.texi (Memory): Make order of menu items match
42601 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42603 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42604 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42605 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42607 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42609 * csu/libc-tls.c (static_dtv): Renamed to ...
42610 (_dl_static_dtv): This. Make it global.
42611 (_dl_initial_dtv): Removed.
42612 (__libc_setup_tls): Updated.
42613 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42614 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42617 2012-09-06 Petr Machata <pmachata@redhat.com>
42619 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42620 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42621 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42622 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42624 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42627 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42628 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42631 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42634 * Makeconfig (link-static-before-libc): Replace $(+prector)
42636 (link-static-after-libc): Replace $(+postctor) with
42638 (link-bounded): Replace $(+prector)/$(+postctor) with
42639 $(+prectorT)/$(+postctorT).
42640 (+prectorT): New macro.
42641 (+postctorT): Likewise.
42643 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42645 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42646 (round_str): Handle values above the maximum for IBM long double
42648 * stdlib/tst-strtod-round.c (tests): Regenerated.
42650 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42652 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42654 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42655 zarch_nohighgprs around the zarch optimized routines.
42656 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42657 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42658 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42661 2012-09-05 David S. Miller <davem@davemloft.net>
42663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42665 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42666 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42667 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42668 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42671 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42673 * malloc/arena.c: Fold copyright years.
42674 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42678 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42680 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42682 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42684 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42686 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42687 change internal state upon failure.
42689 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42691 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42692 * malloc/memusage.c (mmap): Likewise.
42693 (mmap64, mremap): Likewise. Adjust name in comment.
42695 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42697 * libio/fileops.c: Fix typos in comments.
42698 * libio/oldfileops.c: Likewise.
42699 * libio/wfileops.c: Likewise.
42701 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42704 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42705 (tst-malloc-usable-ENV): Set environment for test case.
42706 * malloc/hooks.c (malloc_check_get_size): New function to get
42708 * malloc/malloc.c (musable): Use malloc_check_get_size.
42709 * malloc/tst-malloc-usable.c: New test case.
42711 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42713 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42715 2012-09-05 Allan McRae <allan@archlinux.org>
42718 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42719 determine header location.
42720 * configure: Regenerated.
42722 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42724 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42726 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42727 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42729 (test): Regenerate.
42731 2012-09-04 David S. Miller <davem@davemloft.net>
42733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42735 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42737 2012-09-04 Florian Weimer <fweimer@redhat.com>
42739 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42742 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42744 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42747 * libio/iogetdelim.c: Include <limits.h>.
42748 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42749 + len + 1 would overflow.
42751 2012-09-03 Andreas Jaeger <aj@suse.de>
42753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42754 * sysdeps/i386/fpu/libm-test-ulps: Update.
42756 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42758 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42759 Add s_sinf-sse2, s_conf-sse2.
42761 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42762 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42763 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42764 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42766 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42767 for using routine as __sinf_ia32.
42768 Use macro for function declaration and weak_alias.
42769 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42770 for using routine as __cosf_ia32.
42771 Use macro for function declaration and weak_alias.
42773 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42774 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42776 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42777 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42780 * math/libm-test.inc (cos_test): Add more test cases.
42781 (sin_test): Likewise.
42782 (sincos_test): Likewise.
42784 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42787 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42789 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42791 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42794 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42795 first element of the GOT.
42796 (elf_machine_load_address): Return the difference between
42797 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42799 2012-09-01 Allan McRae <allan@archlinux.org>
42802 * configure.in (AWK): Require gawk version 3.0 or later.
42803 * configure: Regenerated.
42805 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42807 * sysdeps/unix/sysv/linux/kernel-features.h
42808 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42809 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42810 [__NR_clock_getres]: Make code unconditional.
42811 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42812 (clock_getcpuclockid): Remove code left unreachable by removal of
42814 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42815 code unconditional.
42816 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42817 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42818 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42819 Make code unconditional.
42820 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42821 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42822 * sysdeps/unix/sysv/linux/clock_settime.c
42823 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42825 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42826 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42828 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42831 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42832 scripts/test-installation.pl.
42834 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42835 and $ld_so_version if it is set.
42837 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42841 failure if reading from procfs failed.
42842 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42844 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42846 * sysdeps/unix/sysv/linux/kernel-features.h
42847 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42848 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42849 Remove conditional code.
42850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42851 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42852 Remove conditional code.
42853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42854 * sysdeps/unix/sysv/linux/i386/fxstat.c
42855 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42857 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42858 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42860 * sysdeps/unix/sysv/linux/i386/lxstat.c
42861 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42863 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42864 Remove conditional code.
42865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42866 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42867 Remove conditional code.
42868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42869 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42870 <kernel-features.h>.
42871 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42873 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42874 Remove conditional code.
42875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42876 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42877 Remove conditional.
42879 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42882 * NEWS: Add fixed bug number.
42884 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42887 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42888 underflowing exponent in case of negative sign.
42889 * stdlib/tst-strtod-round-data: Add more tests.
42890 * stdlib/tst-strtod-round.c (tests): Regenerated.
42893 * stdlib/strtod_l.c (NDIG): Remove.
42894 (HEXNDIG): Likewise.
42895 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42896 smallest representable value.
42897 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42898 lie within an exact representation of 1/2 ulp of the result.
42899 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42901 (TENS_P9_IDX): Define unconditionally.
42902 (TENS_P9_SIZE): Likewise.
42903 (TENS_P10_IDX): Likewise.
42904 (TENS_P10_SIZE): Likewise.
42905 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42906 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42907 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42908 entries for 10^2^13 and 10^2^14.
42909 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42910 (TENS_P13_IDX): Define.
42911 (TENS_P13_SIZE): Likewise.
42912 (TENS_P14_IDX): Likewise.
42913 (TENS_P14_SIZE): Likewise.
42914 (_fpioconst_pow10): Change array size to
42915 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42917 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42918 1024]: Add entries for 10^2^13 and 10^2^14.
42919 [LAST_POW10 > _LAST_POW10]: Remove #error.
42920 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42921 (_fpioconst_pow10): Change array size to
42922 FPIOCONST_POW10_ARRAY_SIZE.
42923 * stdlib/gen-fpioconst.c: New file.
42924 * stdlib/gen-tst-strtod-round.c: Likewise.
42925 * stdlib/tst-strtod-round-data: Likewise.
42926 * stdlib/tst-strtod-round.c: Likewise.
42927 * stdlib/Makefile (tests): Add tst-strtod-round.
42930 * stdlib/strtod_l.c: Include <stdint.h>.
42931 (NDEBUG): Do not define.
42932 (round_and_return): Change EXPONENT parameter to type intmax_t.
42933 Rearrange calculations to avoid internal overflow possibilities.
42934 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42935 Rearrange calculations to avoid internal overflow possibilities.
42936 Assert that number fits inside MPNSIZE limbs.
42937 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42938 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42939 calculations and add assertions to avoid internal overflow
42940 possibilities. Add casts to avoid signed/unsigned operations.
42941 * stdlib/tst-strtod-overflow.c: New file.
42942 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42944 2012-08-25 Marek Polacek <polacek@redhat.com>
42946 * time/time.h: Fix some typos in comments.
42948 2012-08-23 Roland McGrath <roland@hack.frob.com>
42950 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42951 * posix/tst-rfc3484-2.c: Likewise.
42952 * posix/tst-rfc3484-3.c: Likewise.
42954 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42956 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42957 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42959 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42961 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42962 #include of fxstatat64.c.
42964 2012-08-22 Roland McGrath <roland@hack.frob.com>
42966 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42967 * shadow/getspent_r.c: Likewise.
42968 * shadow/getspnam.c: Likewise.
42969 * shadow/getspnam_r.c: Likewise.
42970 * gshadow/getsgent.c: Likewise.
42971 * gshadow/getsgent_r.c: Likewise.
42972 * gshadow/getsgnam.c: Likewise.
42973 * gshadow/getsgnam_r.c: Likewise.
42974 * inet/getnetbyad.c: Likewise.
42975 * inet/getnetbyad_r.c: Likewise.
42976 * inet/getnetbynm.c: Likewise.
42977 * inet/getnetbynm_r.c: Likewise.
42978 * inet/getnetent.c: Likewise.
42979 * inet/getnetent_r.c: Likewise.
42980 * inet/getproto.c: Likewise.
42981 * inet/getproto_r.c: Likewise.
42982 * inet/getprtent.c: Likewise.
42983 * inet/getprtent_r.c: Likewise.
42984 * inet/getprtname.c: Likewise.
42985 * inet/getprtname_r.c: Likewise.
42986 * inet/getrpcbyname.c: Likewise.
42987 * inet/getrpcbyname_r.c: Likewise.
42988 * inet/getrpcbynumber.c: Likewise.
42989 * inet/getrpcbynumber_r.c: Likewise.
42990 * inet/getrpcent.c: Likewise.
42991 * inet/getrpcent_r.c: Likewise.
42992 * inet/getaliasent.c: Likewise.
42993 * inet/getaliasent_r.c: Likewise.
42994 * inet/getaliasname.c: Likewise.
42995 * inet/getaliasname_r.c: Likewise.
42996 * nscd/getgrgid_r.c: Likewise.
42997 * nscd/getgrnam_r.c: Likewise.
42998 * nscd/gethstbyad_r.c: Likewise.
42999 * nscd/gethstbynm3_r.c: Likewise.
43000 * nscd/getpwnam_r.c: Likewise.
43001 * nscd/getpwuid_r.c: Likewise.
43002 * nscd/getsrvbynm_r.c: Likewise.
43003 * nscd/getsrvbypt_r.c: Likewise.
43004 * nscd/gai.c: Likewise.
43006 * configure.in (build_nscd): New substituted variable, set
43007 by --disable-build-nscd and defaults to $use_nscd.
43008 * configure: Regenerated.
43009 * config.make.in (build-nscd): New substituted variable.
43010 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43011 Change conditional to require [$(build-nscd) = yes] as well.
43012 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43015 * configure.in (use_nscd): New substituted variable, set by
43016 --disable-nscd. If enabled, define USE_NSCD.
43017 * configure: Regenerated.
43018 * config.h.in: Add USE_NSCD.
43019 * config.make.in (use-nscd): New substituted variable.
43020 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43021 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43022 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43023 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43024 (CFLAGS-getgrnam_r.c): Likewise.
43025 (CFLAGS-initgroups.c): Likewise.
43026 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43027 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43029 * inet/getnetgrent_r.c
43030 (nscd_setnetgrent): New function, broken out of ...
43031 (setnetgrent): ... here. Call it.
43032 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43033 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43034 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43035 * nscd/Makefile (routines, aux): Move definitions after include of
43036 Makeconfig. Conditionalize on [$(use-nscd) != no].
43037 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43038 Conditionalize on [USE_NSCD].
43039 (is_nscd, nscd_init_cb): Likewise.
43040 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43041 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43042 * nss/nss_db/db-init.c: Likewise.
43043 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43045 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43046 (make_request): Use it.
43047 (cache_valid_p): New function.
43048 (__check_pf): Use it.
43049 * NEWS: Add item for --disable-nscd.
43051 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43053 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43054 to support sed >= 4.2.1-20-ga9bf076.
43055 * configure: Regenerated.
43057 2012-08-22 Roland McGrath <roland@hack.frob.com>
43059 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43060 Conditionalize whole body on [IREL].
43062 2012-08-22 Jeff Law <law@redhat.com>
43065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43066 if the family is PF_UNSPEC.
43068 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43070 * Makerules (lib-version): Rename from V.
43071 (install-lib-nosubdir): Change V to lib-version.
43073 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43076 * powerpc32/power6/wcschr.c: New file.
43077 * powerpc32/power6/wcscpy.c: New file.
43078 * powerpc32/power6/wcsrchr.c: New file.
43079 * powerpc64/power6/wcschr.c: New file.
43080 * powerpc64/power6/wcscpy.c: New file.
43081 * powerpc64/power6/wcsrchr.c: New file.
43083 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43085 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43086 (two_way_short_needle): Use it.
43087 * string/strstr.c (AVAILABLE1_USES_J): Define.
43088 * string/strcasestr.c: Likewise.
43090 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43092 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43095 * NEWS: Add an entry.
43096 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43097 define their defaults.
43098 (two_way_short_needle): Detect end-of-string on-the-fly.
43099 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43100 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43101 * string/bug-strcasestr1.c: New test.
43102 * string/Makefile: Run it.
43104 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43107 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43108 the first character.
43110 2012-08-21 Roland McGrath <roland@hack.frob.com>
43112 * csu/elf-init.c (__libc_csu_irel): Function removed.
43113 * csu/libc-start.c (apply_irel): New function.
43114 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43116 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43118 * sysdeps/unix/sysv/linux/kernel-features.h
43119 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43120 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43121 <kernel-features.h>.
43122 [__NR_fadvise64_64]: Make code unconditional.
43123 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43124 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43125 !__NR_fadvise64_64)]: Likewise.
43126 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43127 !__NR_fadvise64_64))]: Likewise.
43128 [__NR_fadvise64]: Make code unconditional.
43129 [!__NR_fadvise64]: Remove conditional code.
43130 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43131 <kernel-features.h>.
43132 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43134 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43137 not include <kernel-features.h>.
43138 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43140 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43142 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43143 include <kernel-features.h>.
43144 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43146 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43149 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43151 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43152 slight instruction rearrangements per scrollpipe analysis.
43153 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43155 2012-08-20 Roland McGrath <roland@hack.frob.com>
43157 * manual/syslog.texi (syslog; vsyslog, closelog):
43158 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43159 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43161 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43162 DSOCAPS to match condition on defining it.
43164 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43166 * sysdeps/unix/sysv/linux/kernel-features.h
43167 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43172 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43173 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43175 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43176 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43178 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43179 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43181 * sysdeps/unix/sysv/linux/kernel-features.h
43182 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43183 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43185 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43186 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43187 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43188 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43189 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43190 Make code unconditional.
43191 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43192 (__mmap64) [!__NR_mmap2]: Likewise.
43193 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43194 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43195 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43196 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43197 [__NR_mmap2]: Make code unconditional.
43198 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43199 (__mmap64) [!__NR_mmap2]: Likewise.
43201 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43203 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43205 2012-08-18 Andreas Jaeger <aj@suse.de>
43207 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43209 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43211 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43212 * include/unistd.h (__have_sock_cloexec): Likewise.
43213 (__have_pipe2): Likewise.
43214 (__have_dup3): Likewise.
43216 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43219 * include/unistd.h (__have_pipe2): Change define into an extern int.
43220 (__have_dup3): Likewise.
43221 * socket/have_sock_cloexec.c: Include fcntl.h.
43222 (__have_pipe2): New variable.
43223 (__have_dup3): Likewise.
43225 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43227 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43229 2012-08-17 Marek Polacek <polacek@redhat.com>
43231 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43232 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43234 2012-08-17 Roland McGrath <roland@hack.frob.com>
43236 * configure.in: Add AC_SUBST for sysheaders.
43237 * configure: Regenerated.
43238 * config.make.in (sysheaders): New substituted variable.
43240 * sysdeps/unix/mkfifo.c: Moved ...
43241 * sysdeps/posix/mkfifo.c: ... here.
43242 * sysdeps/unix/mkfifoat.c: Moved ...
43243 * sysdeps/posix/mkfifoat.c: ... here.
43245 * sysdeps/unix/utime.c: Moved ...
43246 * sysdeps/posix/utime.c: ... here.
43248 * sysdeps/unix/time.c: Moved ...
43249 * sysdeps/posix/time.c: ... here.
43250 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43251 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43253 * sysdeps/unix/nice.c: Moved ...
43254 * sysdeps/posix/nice.c: ... here.
43256 * sysdeps/unix/alarm.c: Moved ...
43257 * sysdeps/posix/alarm.c: ... here.
43259 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43261 2012-08-17 Jeff Law <law@redhat.com>
43263 * intl/Makefile (codeset_mo): New variable.
43264 ($(codeset_mo)): New target.
43265 (tst-codeset.out): Depend on that. Remove explicit rule.
43266 (tst-gettext3.out, tst-gettext5.out): Likewise.
43267 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43268 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43269 * intl/tst-codeset.sh: Remove.
43270 * intl/tst-gettext3.sh: Likewise.
43271 * intl/tst-gettext5.sh: Likewise.
43273 2012-08-17 Roland McGrath <roland@hack.frob.com>
43275 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43276 * sysdeps/unix/syscalls.list: ... here.
43278 * sysdeps/posix/getaddrinfo.c
43279 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43280 (gaiconf_init, gaiconf_reload): Use them.
43281 [!_STATBUF_ST_NSEC]
43282 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43283 Define using time_t rather than struct timespec.
43285 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43286 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43288 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43290 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43291 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43294 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43295 __libc_cleanup_push argument.
43297 * bits/param.h: New file.
43298 * misc/sys/param.h: New file.
43299 * include/sys/param.h: New file.
43300 * misc/Makefile (headers): Add bits/param.h.
43301 * sysdeps/generic/sys/param.h: File removed.
43302 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43303 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43304 * sysdeps/mach/hurd/bits/param.h: New file.
43305 * sysdeps/mach/hurd/sys/param.h: File removed.
43307 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43310 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43312 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43313 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43316 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43317 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43318 rather than -D_IO_MTSAFE_IO conditionally.
43319 * stdio-common/Makefile (CPPFLAGS): Likewise.
43320 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43321 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43322 Use $(libio-mtsafe).
43323 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43324 of -D_IO_MTSAFE_IO.
43325 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43326 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43327 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43328 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43329 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43330 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43331 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43332 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43333 (CFLAGS-fread_u_chk.c): Likewise.
43334 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43335 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43336 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43337 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43338 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43339 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43340 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43341 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43342 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43344 * libio/Makefile: Test [$(libc-reentrant) = yes]
43345 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43348 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43349 * sysdeps/pthread/configure: File removed.
43350 * sysdeps/pthread/Makeconfig: New file.
43351 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43352 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43354 2012-08-16 Gary Benson <gbenson@redhat.com>
43356 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43357 unmapping the first object in a namespace.
43359 2012-08-16 Roland McGrath <roland@hack.frob.com>
43361 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43362 (__internal_setnetgrent): ... this. Add internal_function to
43363 definition. Add libc_hidden_def.
43364 (setnetgrent): Update caller.
43365 (internal_endnetgrent): Renamed to ...
43366 (__internal_endnetgrent): ... this. Add internal_function to
43367 definition. Add libc_hidden_def.
43368 (endnetgrent): Update caller.
43369 (internal_getnetgrent_r): Renamed to ...
43370 (__internal_getnetgrent_r): ... this. Add internal_function to
43371 definition. Add libc_hidden_def.
43372 (__getnetgrent_r): Update caller.
43373 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43375 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43377 * stdlib/longlong.h: Update from GCC.
43379 2012-08-16 Roland McGrath <roland@hack.frob.com>
43381 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43382 on _QL, which is set by umul_ppmm but never used.
43383 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43384 variables, which are set by GMP macros but never used.
43385 * stdio-common/_itowa.c (_itowa): Likewise.
43386 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43387 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43389 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43391 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43392 struct La_sh_regs is not constant.
43393 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43394 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43395 and struct La_sparc64_regs are not constant.
43397 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43399 * sysdeps/unix/sysv/linux/kernel-features.h
43400 (__ASSUME_POSIX_TIMERS): Remove.
43401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43403 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43404 Make code unconditional.
43405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43406 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43407 Make code unconditional.
43408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43409 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43410 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43412 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43413 Make code unconditional.
43414 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43415 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43416 (__libc_missing_posix_timers): Remove.
43418 2012-08-15 Roland McGrath <roland@hack.frob.com>
43420 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43421 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43423 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43425 * elf/dl-sym.c: Include <stdlib.h>.
43427 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43428 constants, which avoids warnings in 32-bit builds.
43430 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43431 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43433 * misc/lseek.c: File moved to ...
43434 * io/lseek.c: ... here.
43436 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43438 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43439 shifting LEN more than 31 bits at once.
43441 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43444 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43445 segmentation fault for a case of two empty input strings.
43446 * string/test-strncasecmp.c (check1): Renamed to...
43447 (bz12205): ...this.
43448 (bz14195): Add new testcase for two empty input strings and N > 0.
43449 (test_main): Call new testcase, adapt for renamed function.
43451 2012-08-15 Andreas Jaeger <aj@suse.de>
43454 * crypt/md5test2.c: New test, based on test supplied by Serge
43455 Belyshev <belyshev@depni.sinp.msu.ru>.
43456 * crypt/Makefile (xtests): Add md5test-giant..
43457 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43459 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43462 * crypt/md5.c (md5_process_block): Don't assume the buffer
43463 length is less than 2**32.
43464 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43465 length is less than 2**64.
43467 2012-08-15 Roland McGrath <roland@hack.frob.com>
43469 * string/str-two-way.h: Include <sys/param.h>.
43470 (MAX): Macro removed.
43472 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43473 Move #define and #undef of memmove to just before and after
43474 including <string.h>.
43476 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43477 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43478 and after including <string.h>. Move declarations of
43479 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43480 to before #include "string/memmove.c".
43482 * include/dirent.h: Declare __getdirentries.
43484 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43485 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43487 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43489 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43490 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43491 * sysdeps/i386/configure: Regenerated.
43492 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43493 STABS_CURRENT_FILE, and STABS_FUN.
43494 (END): Remove call to STABS_FUN_END.
43495 (STABS_CURRENT_FILE1): Delete.
43496 (STABS_CURRENT_FILE): Likewise.
43497 (STABS_FUN): Likewise.
43498 (STABS_FUN_END): Likewise.
43499 (STABS_FUN2): Likewise.
43500 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43501 * sysdeps/x86_64/configure: Regenerated.
43503 2012-08-14 Roland McGrath <roland@hack.frob.com>
43505 * elf/dl-open.c: Include <atomic.h>.
43506 * elf/dl-lookup.c: Likewise.
43508 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43510 * sysdeps/unix/sysv/linux/kernel-features.h
43511 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43512 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43514 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43516 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43517 condition on __ASSUME_CLONE_THREAD_FLAGS.
43519 2012-08-14 Andreas Jaeger <aj@suse.de>
43521 * sysdeps/i386/fpu/libm-test-ulps: Update.
43523 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43525 * include/atomic.h (atomic_exchange_and_add): Split into ...
43526 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43529 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43533 2012-08-13 Jeff Law <law@redhat.com>
43535 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43536 null byte in the output string.
43538 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43540 * sysdeps/unix/sysv/linux/kernel-features.h
43541 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43542 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43543 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43544 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43545 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43546 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43547 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43549 2012-08-09 Jeff Law <law@redhat.com>
43552 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43553 When avoid_arena is set, don't retry in the that arena. Pick the
43554 next one, whatever it might be.
43555 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43556 (arena_lock): Pass in new parameter to arena_get2.
43557 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43559 (__libc_malloc): Unify retrying after main arena failure with
43560 __libc_memalign version.
43561 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43563 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43566 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43567 to __redirect_strstr.
43568 (__strstr_sse42): Use typeof __redirect_strstr.
43569 (__strstr_ia32): Likewise.
43570 (__libc_strstr): New prototype.
43571 (strstr): Renamed to ...
43572 (__libc_strstr): This.
43573 (strstr): New strong alias of __libc_strstr.
43574 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43575 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43578 (__libc_time): New prototype.
43579 (time_ifunc): Replace time with __libc_time.
43580 (time): New strong alias and hidden definition of __libc_time.
43581 (__GI_time): Remove strong alias.
43582 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43583 Include <stddef.h>.
43584 (memmove): Redefined to __redirect_memmove.
43585 (__memmove_sse2): Use typeof __redirect_memmove.
43586 (__memmove_ssse3): Likewise.
43587 (__memmove_ssse3_back): Likewise.
43588 (__libc_memmove): New prototype.
43589 (memmove): Renamed to ...
43590 (__libc_memmove): This.
43591 (memmove): New strong alias of __libc_memmove.
43593 2012-08-08 Mark Salter <msalter@redhat.com>
43596 (R_MN10300_TLS_GD): Define.
43597 (R_MN10300_TLS_LD): Likewise.
43598 (R_MN10300_TLS_LDO): Likewise.
43599 (R_MN10300_TLS_GOTIE): Likewise.
43600 (R_MN10300_TLS_IE): Likewise.
43601 (R_MN10300_TLS_LE): Likewise.
43602 (R_MN10300_TLS_DTPMOD): Likewise.
43603 (R_MN10300_TLS_DTPOFF): Likewise.
43604 (R_MN10300_TLS_TPOFF): Likewise.
43605 (R_MN10300_SYM_DIFF): Likewise.
43606 (R_MN10300_ALIGN): Likewise.
43607 (R_MN10300_NUM): Update.
43609 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43614 2012-08-08 Roland McGrath <roland@hack.frob.com>
43616 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43618 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43619 sysdeps/unix -> sysdeps/posix move.
43620 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43622 2012-08-07 Allan McRae <allan@archlinux.org>
43625 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43626 (SUNOS_CPP): Likewise.
43627 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43629 (open_input): Call CPP using execvp.
43631 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43633 * sysdeps/unix/sysv/linux/kernel-features.h
43634 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43635 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43636 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43637 (__ASSUME_WAITID_SYSCALL): Likewise.
43638 * sysdeps/unix/sysv/linux/dl-execstack.c
43639 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43640 code unconditional.
43641 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43643 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43644 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43645 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43647 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43649 [__ASSUME_WAITID_SYSCALL]: Likewise.
43650 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43652 2012-08-07 Roland McGrath <roland@hack.frob.com>
43654 * sysdeps/unix/closedir.c: Renamed to ...
43655 * sysdeps/posix/closedir.c: ... here.
43656 * sysdeps/unix/dirfd.c: Renamed to ...
43657 * sysdeps/posix/dirfd.c: ... here.
43658 * sysdeps/unix/dirstream.h: Renamed to ...
43659 * sysdeps/posix/dirstream.h: ... here.
43660 * sysdeps/unix/fdopendir.c: Renamed to ...
43661 * sysdeps/posix/fdopendir.c: ... here.
43662 * sysdeps/unix/opendir.c: Renamed to ...
43663 * sysdeps/posix/opendir.c: ... here.
43664 * sysdeps/unix/readdir.c: Renamed to ...
43665 * sysdeps/posix/readdir.c: ... here.
43666 * sysdeps/unix/readdir_r.c: Renamed to ...
43667 * sysdeps/posix/readdir_r.c: ... here.
43668 * sysdeps/unix/rewinddir.c: Renamed to ...
43669 * sysdeps/posix/rewinddir.c: ... here.
43670 * sysdeps/unix/seekdir.c: Renamed to ...
43671 * sysdeps/posix/seekdir.c: ... here.
43672 * sysdeps/unix/telldir.c: Renamed to ...
43673 * sysdeps/posix/telldir.c: ... here.
43674 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43675 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43676 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43677 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43679 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43680 * bits/fcntl.h: ... here.
43682 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43684 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43685 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43686 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43687 (struct flock): Move l_start, l_len to the beginning.
43688 Use __pid_t for l_pid.
43689 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43690 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43691 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43692 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43693 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43694 [__USE_LARGEFILE64] (struct flock64): New type.
43695 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43697 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43698 * bits/dirent.h: ... here.
43700 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43701 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43703 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43706 Change from 2.6.0 to 2.6.16.
43707 * sysdeps/unix/sysv/linux/configure: Regenerated.
43708 * sysdeps/unix/sysv/linux/kernel-features.h
43709 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43710 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43712 (__ASSUME_UTIMES): Likewise.
43713 (__ASSUME_CLONE_STOPPED): Remove.
43714 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43715 architectures, not kernel version.
43716 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43717 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43718 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43719 (__ASSUME_WAITID_SYSCALL): Likewise.
43720 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43721 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43722 * README: State 2.6.16 as minimum Linux kernel version. Do not
43723 refer to older versions.
43725 2012-08-06 Roland McGrath <roland@hack.frob.com>
43727 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43728 Define alphasort64 as an alias.
43729 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43730 Define versionsort64 as an alias.
43731 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43732 Define scandir64 as an alias.
43733 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43734 Define scandirat64 as an alias.
43735 * dirent/alphasort64.c (alphasort64):
43736 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43737 * dirent/versionsort64.c: Likewise.
43738 * dirent/scandir64.c: Likewise.
43739 * dirent/scandirat64.c: Likewise.
43740 * sysdeps/wordsize-64/alphasort.c: File removed.
43741 * sysdeps/wordsize-64/alphasort64.c: File removed.
43742 * sysdeps/wordsize-64/scandir.c: File removed.
43743 * sysdeps/wordsize-64/scandir64.c: File removed.
43744 * sysdeps/wordsize-64/scandirat.c: File removed.
43745 * sysdeps/wordsize-64/scandirat64.c: File removed.
43746 * sysdeps/wordsize-64/versionsort.c: File removed.
43747 * sysdeps/wordsize-64/versionsort64.c: File removed.
43748 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43749 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43750 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43751 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43752 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43753 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43755 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43757 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43759 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43761 [defined __arch64__ || defined __sparcv9]
43762 (__INO_T_MATCHES_INO64_T): New macro.
43763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43764 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43765 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43766 * sysdeps/unix/sysv/linux/bits/dirent.h
43767 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43768 (_DIRENT_MATCHES_DIRENT64): New macro.
43770 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43771 Define lockf64 as an alias.
43772 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43773 Define fseeko64 as an alias.
43774 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43775 Define ftello64 as an alias.
43776 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43777 Define _IO_fgetpos64 and fgetpos64 as aliases.
43778 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43779 Define _IO_fsetpos64 and fsetpos64 as aliases.
43780 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43781 Conditionalize body on this.
43782 * libio/fseeko64.c: Likewise.
43783 * libio/ftello64.c: Likewise.
43784 * libio/iofgetpos64.c: Likewise.
43785 * libio/iofsetpos64.c: Likewise.
43786 * sysdeps/wordsize-64/lockf.c: File removed.
43787 * sysdeps/wordsize-64/lockf64.c: File removed.
43788 * sysdeps/wordsize-64/fseeko.c: File removed.
43789 * sysdeps/wordsize-64/fseeko64.c: File removed.
43790 * sysdeps/wordsize-64/ftello.c: File removed.
43791 * sysdeps/wordsize-64/ftello64.c: File removed.
43792 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43793 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43794 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43795 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43796 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43797 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43798 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43800 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43804 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43807 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43809 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43811 [defined __arch64__ || defined __sparcv9]
43812 (__OFF_T_MATCHES_OFF64_T): New macro.
43813 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43814 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43816 (__OFF_T_MATCHES_OFF64_T): New macro.
43818 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43820 * stdlib/secure-getenv.c (__secure_getenv): Replace
43821 GLIBC_2_16 with GLIBC_2_17.
43823 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43825 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43826 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43828 2012-08-03 David S. Miller <davem@davemloft.net>
43830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43832 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43834 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43836 (__ASSUME_CORRECT_SI_PID): Likewise.
43837 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43838 (__ASSUME_TMPFS_NAME): Likewise.
43839 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43840 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43841 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43842 (HAVE_AUX_SECURE): Make definition unconditional.
43843 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43844 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43846 2012-08-03 Roland McGrath <roland@hack.frob.com>
43848 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43849 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43850 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43851 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43852 __eloop_threshold instead of SYMLOOP_MAX.
43854 * sysdeps/generic/eloop-threshold.h: New file.
43855 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43857 * elf/chroot_canon.c (chroot_canon): Likewise.
43859 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43863 Change to 2.6.0 everywhere.
43864 * sysdeps/unix/sysv/linux/configure: Regenerated.
43865 * sysdeps/unix/sysv/linux/kernel-features.h
43866 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43867 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43869 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43870 (__ASSUME_FUTEX_REQUEUE): Remove.
43871 (__ASSUME_STATFS64): Define unconditionally.
43872 (__ASSUME_AT_SECURE): Likewise.
43873 (__ASSUME_CORRECT_SI_PID): Likewise.
43874 (__ASSUME_TGKILL): Define without depending on kernel version for
43876 (__ASSUME_UTIMES): Likewise.
43877 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43879 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43880 (__ASSUME_TMPFS_NAME): Likewise.
43881 * README: Update reference to Linux kernel versions.
43883 2012-08-02 Marek Polacek <polacek@redhat.com>
43886 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43887 libc_cv_asm_type_prefix with %.
43888 * configure: Regenerated.
43889 * include/libc-symbols.h: Remove comment about
43890 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43891 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43892 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43893 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43894 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43895 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43896 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43897 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43898 * elf/tst-unique2mod1.c: Likewise.
43899 * elf/tst-unique1mod2.c: Likewise.
43900 * elf/tst-unique1mod1.c: Likewise.
43901 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43902 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43903 Replace ASM_TYPE_DIRECTIVE with .type.
43904 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43905 * sysdeps/i386/sysdep.h: Likewise.
43906 * sysdeps/x86_64/sysdep.h: Likewise.
43907 * sysdeps/sh/sysdep.h: Likewise.
43908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43909 Do not define ASM_TYPE_DIRECTIVE.
43910 * sysdeps/powerpc/sysdep.h: Likewise.
43911 * sysdeps/powerpc/powerpc32/sysdep.h:
43912 Replace ASM_TYPE_DIRECTIVE with .type.
43913 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43914 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43915 * sysdeps/i386/fpu/e_powf.S: Likewise.
43916 * sysdeps/i386/fpu/e_expl.S: Likewise.
43917 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43918 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43919 * sysdeps/i386/fpu/e_pow.S: Likewise.
43920 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43921 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43922 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43923 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43924 * sysdeps/i386/fpu/e_log2.S: Likewise.
43925 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43926 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43927 * sysdeps/i386/fpu/e_powl.S: Likewise.
43928 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43929 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43930 * sysdeps/i386/fpu/e_logl.S: Likewise.
43931 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43932 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43933 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43934 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43935 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43936 * sysdeps/i386/fpu/e_log.S: Likewise.
43937 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43938 * sysdeps/i386/fpu/e_logf.S: Likewise.
43939 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43940 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43941 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43942 * sysdeps/i386/fpu/e_log10.S: Likewise.
43943 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43944 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43945 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43946 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43947 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43948 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43949 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43950 * sysdeps/i386/i686/strtok.S: Likewise.
43951 * sysdeps/i386/i386-mcount.S: Likewise.
43952 * sysdeps/i386/strtok.S: Likewise.
43953 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43954 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43955 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43956 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43957 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43958 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43959 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43960 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43961 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43962 * sysdeps/x86_64/_mcount.S: Likewise.
43963 * sysdeps/x86_64/strtok.S: Likewise.
43964 * sysdeps/sh/_mcount.S: Likewise.
43966 2012-08-01 Roland McGrath <roland@hack.frob.com>
43968 * libio/iofopen.c: Include <fcntl.h>.
43969 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43970 (_IO_fopen64, fopen64): Define as aliases.
43971 * libio/iofopen64.c: Include <fcntl.h>.
43972 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43973 Conditionalize body on this.
43974 * sysdeps/wordsize-64/iofopen.c: File removed.
43975 * sysdeps/wordsize-64/iofopen64.c: File removed.
43977 2012-08-01 Marek Polacek <polacek@redhat.com>
43979 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43980 Use dlfcn directly instead of a variable.
43981 (binfmt-subdir): Do not define.
43984 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43986 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43987 Remove all definitions.
43988 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43989 <kernel-features.h>.
43990 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43991 (miss_F_GETOWN_EX): Remove all definitions.
43992 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43994 [!__ASSUME_FCNTL64]: Remove conditional code.
43995 [__ASSUME_FCNTL64]: Make code unconditional.
43996 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43997 <kernel-features.h>.
43998 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43999 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44000 (lockf64) [__NR_fcntl64]: Make code unconditional.
44001 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44003 * sysdeps/unix/sysv/linux/kernel-features.h
44004 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44005 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44006 Make code unconditional.
44007 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44008 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44010 [__NR_vfork]: Make code unconditional.
44011 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44012 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44014 [__NR_vfork]: Make code unconditional.
44015 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44016 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44018 2012-08-01 Roland McGrath <roland@hack.frob.com>
44020 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44021 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44023 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44024 Define mkstemp64 as an alias.
44025 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44026 Define mkstemps64 as an alias.
44027 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44028 Define mkostemp64 as an alias.
44029 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44030 Define mkostemps64 as an alias.
44031 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44032 Conditionalize body on this.
44033 * misc/mkostemp64.c: Likewise.
44034 * misc/mkostemps64.c: Likewise.
44035 * misc/mkstemps64.c: Likewise.
44036 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44037 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44038 * sysdeps/wordsize-64/mkostemp.c: File removed.
44039 * sysdeps/wordsize-64/mkstemp.c: File removed.
44040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44041 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44042 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44043 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44046 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44047 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44048 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44049 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44051 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44052 compat_symbol macros from <shlib-compat.h> rather than the underlying
44053 default_symbol_version and symbol_version macros, so that DEFAULT
44054 lines in shlib-versions are respected.
44055 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44057 2012-08-01 Florian Weimer <fweimer@redhat.com>
44059 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44060 Declare with warn_unused_result.
44061 (setgid, setregid, setegid, setresgid): Likewise.
44062 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44064 * WUR-REPORT: Remove set*id functions.
44066 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44068 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44070 2012-07-31 Roland McGrath <roland@hack.frob.com>
44073 * include/sys/socket.h (__libc_accept, __libc_accept4):
44074 Add attribute_hidden.
44075 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44077 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44079 * inet/getnetgrent_r.c (setup): Likewise.
44081 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44083 2012-07-31 David S. Miller <davem@davemloft.net>
44085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44087 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44090 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44091 value between 1.0 and 2.0 and smaller part has absolute value less
44093 * math/s_clog10.c (__clog10): Likewise.
44094 * math/s_clog10f.c (__clog10f): Likewise.
44095 * math/s_clog10l.c (__clog10l): Likewise.
44096 * math/s_clogf.c (__clogf): Likewise.
44097 * math/s_clogl.c (__clogl): Likewise.
44098 * math/libm-test.inc (clog_test): Add more tests.
44099 (clog10_test): Likewise.
44100 * sysdeps/i386/fpu/libm-test-ulps: Update.
44101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44103 2012-07-31 Florian Weimer <fweimer@redhat.com>
44105 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44106 Exit with zero in case no suitable GID is found, and write a
44107 message to standard error.
44109 2012-07-30 Roland McGrath <roland@hack.frob.com>
44111 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44113 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44114 (MAXPATHLEN): Removed.
44115 (NOGROUP, NODEV): New macros.
44116 (setbit, clrbit, isset, isclr): New macros.
44117 (howmany, roundup, powerof2): New macros.
44118 (DEV_BSIZE): New macro.
44120 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44121 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44123 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44124 definition on [!__NO_LONG_DOUBLE_MATH].
44126 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44127 PTR_MANGLE and PTR_DEMANGLE.
44129 * socket/accept4.c (accept4): Rename to __libc_accept4.
44130 Define accept4 as a weak alias.
44132 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44133 on [_DIRENT_HAVE_D_TYPE].
44134 * io/ftw.c (ftw_dir): Likewise.
44136 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44138 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44140 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44141 Use the BSD numbers rather than the arbitrary ones we had.
44142 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44143 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44144 (SIGXCPU, SIGXFSZ): New macros.
44147 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44148 initializer on [_LIBC_REENTRANT].
44150 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44151 definitions inside [_POSIX_MAPPED_FILES].
44153 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44155 * dirent/opendir.c: Include <fcntl.h>.
44157 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44158 (__libc_getspecific): Likewise.
44159 (__libc_key_create): Likewise.
44161 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44162 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44163 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44164 (tmpfile64): Define as alias.
44165 * sysdeps/wordsize-64/tmpfile.c: File removed.
44166 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44168 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44170 * stdio-common/vfscanf.c: Include <stdbool.h>.
44171 * nss/makedb.c: Likewise.
44172 * stdio-common/_i18n_number.h: Likewise.
44173 * argp/argp-help.c: Likewise.
44174 * posix/wordexp.c: Likewise.
44175 * sysdeps/posix/spawni.c: Likewise.
44176 * nss/nss_files/files-initgroups.c: Likewise.
44177 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44178 * nss/nss_files/files-initgroups.c: Likewise.
44179 * nss/nss_db/db-netgrp.c: Likewise.
44180 * nss/nss_db/db-initgroups.c: Likewise.
44181 * io/fchmodat.c: Include <sys/stat.h>.
44183 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44184 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44186 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44189 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44190 Add multiple inclusion protection.
44192 2012-07-27 David S. Miller <davem@davemloft.net>
44194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44196 2012-07-27 Gary Benson <gbenson@redhat.com>
44199 * elf/rtld.c: Include <stap-probe.h>.
44200 (dl_main): Added static probes "init_start" and "init_complete".
44201 * elf/dl-load.c: Include <stap-probe.h>.
44202 (lose): Take new parameter "nsid".
44203 Added static probe "map_failed".
44204 (_dl_map_object_from_fd): Pass namespace id to lose.
44205 Added static probe "map_start".
44206 (open_verify): Pass namespace id to lose.
44207 * elf/dl-open.c: Include <stap-probe.h>.
44208 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44209 and "reloc_complete".
44210 * elf/dl-close.c: Include <stap-probe.h>.
44211 (_dl_close_worker): Added static probes "unmap_start" and
44213 * elf/rtld-debugger-interface.txt: New file documenting the above.
44215 2012-07-26 Roland McGrath <roland@hack.frob.com>
44217 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44218 rather than a string variable.
44219 * sunrpc/rpc_main.c (h_output): Likewise.
44220 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44222 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44224 * inet/check_native.c: New file.
44226 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44229 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44230 if larger part has absolute value 1.0.
44231 * math/s_clog10.c (__clog10): Likewise.
44232 * math/s_clog10f.c (__clog10f): Likewise.
44233 * math/s_clog10l.c (__clog10l): Likewise.
44234 * math/s_clogf.c (__clogf): Likewise.
44235 * math/s_clogl.c (__clogl): Likewise.
44236 * math/libm-test.inc (clog_test): Add more tests.
44237 (clog10_test): Likewise.
44238 * sysdeps/i386/fpu/libm-test-ulps: Update.
44239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44241 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44242 (pltexit): Likewise.
44243 (La_regs): Likewise.
44244 (La_retval): Likewise.
44245 (int_retval): Likewise.
44246 Update #error for removed macros to refer only to definitions in
44248 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44250 (pltexit): Likewise.
44251 (La_regs): Likewise.
44252 (La_retval): Likewise.
44253 (int_retval): Likewise.
44254 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44256 (pltexit): Likewise.
44257 (La_regs): Likewise.
44258 (La_retval): Likewise.
44259 (int_retval): Likewise.
44260 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44262 (pltexit): Likewise.
44263 (La_regs): Likewise.
44264 (La_retval): Likewise.
44265 (int_retval): Likewise.
44266 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44268 (pltexit): Likewise.
44269 (La_regs): Likewise.
44270 (La_retval): Likewise.
44271 (int_retval): Likewise.
44272 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44274 (pltexit): Likewise.
44275 (La_regs): Likewise.
44276 (La_retval): Likewise.
44277 (int_retval): Likewise.
44278 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44280 (pltexit): Likewise.
44281 (La_regs): Likewise.
44282 (La_retval): Likewise.
44283 (int_retval): Likewise.
44284 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44285 macro definitions in tst-audit.h.
44286 * sysdeps/i386/tst-audit.h: New file.
44287 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44288 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44289 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44290 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44291 * sysdeps/sh/tst-audit.h: Likewise.
44292 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44293 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44294 * sysdeps/x86_64/tst-audit.h: Likewise.
44296 2012-07-26 Andreas Jaeger <aj@suse.de>
44298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44301 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44302 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44303 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44305 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44306 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44307 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44309 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44312 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44314 (si_call_addr, si_syscall, si_arch): Define new macro.
44315 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44317 (si_call_addr, si_syscall, si_arch): Define new marcro.
44318 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44320 (si_call_addr, si_syscall, si_arch): Define new macro.
44321 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44323 (si_call_addr, si_syscall, si_arch): Define new macro.
44325 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44329 Change to 2.4.21 where previously 2.4.1.
44330 * sysdeps/unix/sysv/linux/configure: Regenerated.
44331 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44332 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44333 Linux kernel version.
44334 (__ASSUME_STD_AUXV): Remove.
44335 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44337 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44338 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44339 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44340 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44341 (__ASSUME_NETLINK_SUPPORT): Likewise.
44342 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44343 (__no_netlink_support): Remove conditional definition.
44344 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44346 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44347 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44348 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44349 (if_nameindex_ioctl): Remove.
44350 (if_nameindex_netlink): Do not handle __no_netlink_support.
44351 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44353 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44354 Remove conditional code.
44355 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44357 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44359 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44360 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44361 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44363 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44364 [!__ASSUME_STD_AUXV]: Remove conditional code.
44365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44366 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44367 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44369 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44370 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44372 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44374 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44375 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44377 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44379 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44382 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44385 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44386 code unconditional.
44387 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44389 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44391 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44394 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44396 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44399 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44400 code unconditional.
44401 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44403 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44405 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44408 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44409 code unconditional.
44410 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44412 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44414 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44417 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44419 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44420 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44421 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44422 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44423 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44424 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44425 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44426 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44427 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44428 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44429 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44430 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44431 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44432 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44433 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44434 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44435 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44436 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44437 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44439 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44440 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44443 2012-07-25 Florian Weimer <fweimer@redhat.com>
44445 * Versions.def: Add GLIBC_2.17.
44446 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44447 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44448 Introduce __libc_secure_getenv.
44449 * stdlib/Versions (2.17): Add secure_getenv
44450 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44451 * stdlib/secure-getenv.c: Rename __secure_getenv to
44452 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44453 symbol __secure_getenv for GLIBC_2.0.
44454 * stdlib/tst-secure-getenv.c: New.
44455 * stdlib/Makefile (tests): Add testcase.
44456 * manual/startup.texi (Environment Access): Document
44458 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44459 __libc_secure_getenv.
44460 * inet/ruserpass.c (ruserpass): Likewise.
44461 * malloc/mtrace.c (mtrace): Likewise.
44462 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44463 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44464 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44465 * sysdeps/posix/tempname.c: Likewise. Evaluate
44466 HAVE_SECURE_GETENV.
44467 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44468 __secure_getenv to __libc_secure_getenv.
44469 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44476 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44482 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44484 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44485 (struct La_i86_retval): Likewise.
44486 (struct La_x86_64_regs): Likewise.
44487 (struct La_x86_64_retval): Likewise.
44488 (struct La_x32_regs): Likewise.
44489 (struct La_x32_retval): Likewise.
44490 (struct La_ppc32_regs): Likewise.
44491 (struct La_ppc32_retval): Likewise.
44492 (struct La_ppc64_regs): Likewise.
44493 (struct La_ppc64_retval): Likewise.
44494 (struct La_sh_regs): Likewise.
44495 (struct La_sh_retval): Likewise.
44496 (struct La_s390_32_regs): Likewise.
44497 (struct La_s390_32_retval): Likewise.
44498 (struct La_s390_64_regs): Likewise.
44499 (struct La_s390_64_retval): Likewise.
44500 (struct La_sparc32_regs): Likewise.
44501 (struct La_sparc32_retval): Likewise.
44502 (struct La_sparc64_regs): Likewise.
44503 (struct La_sparc64_retval): Likewise.
44504 (struct audit_ifaces): Remove architecture-specific pltenter and
44506 * sysdeps/i386/ldsodefs.h: New file.
44507 * sysdeps/powerpc/ldsodefs.h: Likewise.
44508 * sysdeps/s390/ldsodefs.h: Likewise.
44509 * sysdeps/sh/ldsodefs.h: Likewise.
44510 * sysdeps/sparc/ldsodefs.h: Likewise.
44511 * sysdeps/x86_64/ldsodefs.h: Likewise.
44513 2012-07-25 Marek Polacek <polacek@redhat.com>
44516 * math/libm-test.inc (yn_test): Add another test.
44517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44518 to ERANGE when the result is +-Inf.
44519 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44520 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44521 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44522 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44524 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44526 * conform/data/time.h-data (NULL): Use macro-constant. Require
44528 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44530 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44532 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44534 * configure.in <sysdeps resolving>: Correct printing
44536 * configure: Regenerate.
44538 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44540 * math/w_ilogb.c: Include <limits.h>.
44541 * math/w_ilogbl.c: Likewise.
44543 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44545 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44546 va_copy. Document allowing for unavailable va_copy only as
44547 pre-C99 compatibility.
44548 * manual/string.texi (Copying and Concatenation): Use va_copy
44549 instead of __va_copy in concat example.
44551 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44553 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44554 (__sendto): Use create_address_port. Initialize APORT and deallocate
44557 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44558 with O_NOLINK passed to __file_name_lookup.
44560 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44561 with O_NOLINK passed to __file_name_lookup.
44563 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44564 negative N or less than NGIDS.
44566 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44567 type to string_t. Set ERANGE as errno and return it if NAME is not big
44568 enough. Use memcpy instead of strncpy.
44570 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44572 * elf/Makefile (check-data): Remove.
44573 (localplt.data): New vpath directive.
44574 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44575 instead of $(check-data).
44576 * scripts/data/localplt-generic.data: Move to ...
44577 * sysdeps/generic/localplt.data: ... here.
44578 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44579 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44580 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44583 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44586 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44589 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44592 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44595 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44599 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44601 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44602 PPC32 and PPC64 files.
44603 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44604 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44606 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44608 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44609 __makecontext_ret to ...
44610 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44611 ... here and call exit if uc_link is NULL. New file.
44612 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44613 __makecontext_ret.S.
44614 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44615 __makecontext_ret to ...
44616 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44617 ... here and call exit if uc_link is NULL. New file.
44618 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44619 __makecontext_ret.S.
44621 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44623 * elf/elf.h (R_390_IRELATIVE): New definition.
44624 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44625 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44626 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44627 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44628 (elf_machine_lazy_rel): Likewise.
44629 * sysdeps/s390/dl-irel.h: New file.
44630 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44631 * sysdeps/s390/s390-64/memset.S: New asm code.
44632 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44633 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44635 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44636 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44637 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44638 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44639 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44640 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44641 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44642 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44643 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44644 * sysdeps/s390/s390-32/memset.S: New asm code.
44645 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44647 2012-07-17 Marek Polacek <polacek@redhat.com>
44650 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44651 * sysdeps/s390/s390-64/configure.in: Likewise.
44652 * sysdeps/sparc/configure.in: Likewise.
44653 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44654 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44655 * sysdeps/i386/configure.in: Likewise.
44656 * sysdeps/x86_64/configure.in: Likewise.
44657 * sysdeps/sh/configure.in: Likewise.
44658 * sysdeps/s390/s390-32/configure: Regenerated.
44659 * sysdeps/s390/s390-64/configure: Likewise.
44660 * sysdeps/x86_64/configure: Likewise.
44661 * sysdeps/sh/configure: Likewise.
44662 * sysdeps/powerpc/powerpc64/configure: Likewise.
44663 * sysdeps/powerpc/powerpc32/configure: Likewise.
44664 * sysdeps/sparc/configure: Likwise.
44665 * sysdeps/i386/configure: Likewise.
44667 * elf/dl-open.c: Comment fixes.
44669 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44671 * Makefile [CXX] (check-data): Remove.
44672 [CXX] (c++-types.data): New vpath directive.
44673 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44674 vpath. Do not allow for C++ type data being missing.
44675 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44676 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44677 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44678 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44679 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44680 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44681 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44684 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44687 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44690 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44693 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44696 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44699 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44702 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44705 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44706 definitions to architecture-specific files.
44707 (TLS_IE): Likewise.
44708 (TLS_LD): Likewise.
44709 (TLS_GD): Likewise.
44710 * sysdeps/i386/tls-macros.h: New file.
44711 * sysdeps/powerpc/tls-macros.h: Likewise.
44712 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44713 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44714 * sysdeps/sh/tls-macros.h: Likewise.
44715 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44716 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44717 * sysdeps/x86_64/tls-macros.h: Likewise.
44719 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44721 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44722 zero value for regular exit case.
44724 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44725 (__start_context): Preserve zero value for regular exit case.
44727 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44728 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44730 * manual/setjmp.texi (setcontext): Clarify normal process
44731 termination when uc_link is the null pointer.
44732 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44735 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44737 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44738 preprocessor. Test for each exception mask separately.
44740 2012-07-16 Andreas Jaeger <aj@suse.de>
44742 * po/ru.po: Update from translation team.
44744 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44746 * conform/data/string.h-data (NULL): Use macro-constant. Require
44748 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44749 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44750 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44751 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44754 2012-07-13 Andreas Jaeger <aj@suse.de>
44756 * po/fr.po: Update from translation team.
44758 2012-07-12 Marek Polacek <polacek@redhat.com>
44761 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44762 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44765 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44768 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44769 Change to 2.4.1 where previously 2.4.0.
44770 * sysdeps/unix/sysv/linux/configure: Regenerated.
44771 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44772 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44774 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44775 (__ASSUME_AT_CLKTCK): Remove.
44776 (__ASSUME_AT_PAGESIZE): Likewise.
44777 (__ASSUME_AT_XID): Likewise.
44778 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44779 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44780 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44782 (HAVE_AUX_PAGESIZE): Likewise.
44783 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44784 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44785 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44787 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44791 the temporary buffer used to invoke __gethostbyname2_r,
44792 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44793 host_data / struct gaih_addrtuple.
44794 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44795 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44796 header file nss/nsswitch.h.
44797 * nss/nsswitch.h (global scope): Add definition of implementation
44798 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44799 resolv/nss_dns/dns-host.c).
44801 2012-07-11 Andreas Jaeger <aj@suse.de>
44803 * po/fr.po: Update from translation team.
44805 * po/sv.po: Update from translation team
44806 * po/fr.po: Another update from translation team.
44808 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44810 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44811 for subnormals or multiply small sinh result by itself.
44812 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44815 2012-07-11 David S. Miller <davem@davemloft.net>
44817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44819 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44822 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44823 (INTERNAL_MARK): Shift it here.
44825 2012-07-10 Marek Polacek <polacek@redhat.com>
44828 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44829 libc_cv_asm_global_directive with .globl.
44830 * configure: Regenerated.
44831 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44833 * sysdeps/i386/configure: Regenerated.
44834 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44836 * sysdeps/x86_64/configure: Regenerated.
44837 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44838 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44839 * elf/tst-unique2mod2.c: Likewise.
44840 * elf/tst-unique2mod1.c: Likewise.
44841 * elf/tst-unique1mod2.c: Likewise.
44842 * elf/tst-unique1mod1.c: Likewise.
44843 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44844 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44846 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44847 * sysdeps/mach/sysdep.h: Likewise.
44848 * sysdeps/i386/sysdep.h: Likewise.
44849 * sysdeps/i386/i386-mcount.S: Likewise.
44850 * sysdeps/x86_64/_mcount.S: Likewise.
44851 * sysdeps/x86_64/sysdep.h: Likewise.
44852 * sysdeps/sh/_mcount.S: Likewise.
44853 * sysdeps/sh/sysdep.h: Likewise.
44854 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44855 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44856 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44857 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44858 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44859 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44860 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44861 * locale/localeinfo.h: Likewise.
44862 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44863 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44865 2012-07-09 Roland McGrath <roland@hack.frob.com>
44868 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44870 * manual/message.texi (The Uniforum approach): Likewise.
44871 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44872 (glibc iconv Implementation): Likewise.
44874 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44877 * math/s_clog.c (__clog): Avoid scaling a value down where that
44878 could result in underflow.
44879 * math/s_clog10.c (__clog10): Likewise.
44880 * math/s_clog10f.c (__clog10f): Likewise.
44881 * math/s_clog10l.c (__clog10l): Likewise.
44882 * math/s_clogf.c (__clogf): Likewise.
44883 * math/s_clogl.c (__clogl): Likewise.
44884 * math/libm-test.inc (clog_test): Add more tests.
44885 (clog10_test): Likewise.
44886 * sysdeps/i386/fpu/libm-test-ulps: Update.
44887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44889 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44892 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44893 by 7 not 8 to examine high bit of fractional part.
44896 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44897 for call to __mcount_internal.
44898 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44899 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44900 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44902 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44905 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44906 approximation for values within 0x1p-13f of an odd multiple of
44908 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44909 exception. Add more tests.
44910 * sysdeps/i386/fpu/libm-test-ulps: Update.
44913 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44914 inputs and return -1 for them. Do not check for +Inf in case not
44915 reachable for +Inf.
44916 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44917 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44918 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44919 and return -1 for them. Do not check for +Inf in case not
44920 reachable for +Inf.
44921 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44923 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44924 and return -1 for them. Do not check for +Inf in case not
44925 reachable for +Inf.
44926 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44927 spurious underflow.
44928 * sysdeps/i386/fpu/libm-test-ulps: Update.
44929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44931 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44933 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44935 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44939 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44940 could result in spurious underflow. Scale down values above
44941 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44942 * math/s_csqrtf.c (__csqrtf): Likewise.
44943 * math/s_csqrtl.c (__csqrtl): Likewise.
44944 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44945 spurious underflow.
44946 * sysdeps/i386/fpu/libm-test-ulps: Update.
44947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44949 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44951 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44953 * catgets/xopen-msg.awk: New file.
44954 * catgets/xopen-msg.sed: Removed.
44956 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44958 * intl/po2test.awk: New file.
44959 * intl/po2test.sed: Removed.
44961 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44964 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44965 or multiply small sinh result by itself.
44966 * math/s_ctanf.c (__ctanf): Likewise.
44967 * math/s_ctanh.c (__ctanh): Likewise.
44968 * math/s_ctanhf.c (__ctanhf): Likewise.
44969 * math/s_ctanhl.c (__ctanhl): Likewise.
44970 * math/s_ctanl.c (__ctanl): Likewise.
44971 * math/libm-test.inc (ctan_test_tonearest): New function.
44972 (ctan_test_towardzero): Likewise.
44973 (ctan_test_downward): Likewise.
44974 (ctan_test_upward): Likewise.
44975 (ctanh_test_tonearest): Likewise.
44976 (ctanh_test_towardzero): Likewise.
44977 (ctanh_test_downward): Likewise.
44978 (ctanh_test_upward): Likewise.
44979 (main): Call these new functions.
44980 * sysdeps/i386/fpu/libm-test-ulps: Update.
44981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44983 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44985 * .gitignore: Delete /ports entry.
44987 2012-07-03 Andreas Jaeger <aj@suse.de>
44989 * po/bg.po: Update from translation team.
44990 * po/cs.po: Likewise.
44991 * po/de.po: Likewise.
44992 * po/hr.po: Likewise.
44993 * po/nl.pl: Likewise.
44994 * po/pl.po: Likewise.
44995 * po/vi.po: Likewise.
44997 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44999 * Makeconfig [!+link] (+link-before-libc): New variable.
45000 [!+link] (+link-after-libc): Likewise.
45001 [!+link] (+link-tests): Likewise.
45002 [!+link] (+link): Define in terms of $(+link-before-libc) and
45003 $(+link-after-libc).
45004 [!+link-static] (+link-static-before-libc): New variable.
45005 [!+link-static] (+link-static-after-libc): Likewise.
45006 [!+link-static] (+link-static-tests): Likewise.
45007 [!+link-static] (+link-static): Define in terms of
45008 $(+link-static-before-libc) and $(+link-static-after-libc).
45009 [build-shared] (link-libc-before-gnulib): New variable.
45010 [build-shared] (link-libc-tests): Likewise.
45011 [build-shared] (link-libc): Define in terms of
45012 $(link-libc-before-gnulib).
45013 [!build-shared] (link-libc-tests): New variable.
45014 (link-libc-static-tests): New variable.
45015 [!gnulib] (gnulib-arch): New variable.
45016 [!gnulib] (gnulib-tests): Likewise.
45017 [!gnulib] (static-gnulib-arch): Likewise.
45018 [!gnulib] (static-gnulib-tests): Likewise.
45019 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45020 Define with "=" instead of ":=".
45021 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45022 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45023 * Rules (binaries-all-notests): New variable.
45024 (binaries-all-tests): Likewise.
45025 (binaries-static-notests): Likewise.
45026 (binaries-static-tests): Likewise.
45027 (binaries-all): Define using $(binaries-all-notests) and
45028 $(binaries-all-tests).
45029 (binaries-static): Define using $(binaries-static-notests) and
45030 $(binaries-static-tests).
45031 (binaries-shared-tests): New variable.
45032 (binaries-shared-notests): Likewise.
45033 (binaries-shared): Remove variable.
45034 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45035 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45036 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45037 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45038 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45039 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45040 * elf/Makefile (sln-modules): New variable.
45041 (extra-objs): Add $(sln-modules:=.o).
45042 (ldconfig-modules): Add static-stubs.
45043 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45044 * elf/static-stubs.c: New file.
45047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45048 by 7 not 8 to examine high bit of fractional part. Use volatile
45049 variables when splitting into final array of floats if
45050 __FLT_EVAL_METHOD__ != 0.
45051 * math/libm-test.inc (cos_test): Add another test.
45052 (sin_test): Likewise.
45053 * sysdeps/i386/fpu/libm-test-ulps: Update.
45056 * math/libm-test.inc (cosh_test): Add more tests.
45058 * version.h (RELEASE): Set to "development".
45059 (VERSION): Set to "2.16.90".
45061 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45063 * NEWS: Update copyright. Remove last-updated date.
45064 Mention math library bug fixes and timezone data changes.
45065 * README: Mention GNU/Hurd, x32, and HPPA support status.
45067 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45069 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45071 2012-06-27 Andreas Jaeger <aj@suse.de>
45073 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45075 2012-06-25 Andreas Jaeger <aj@suse.de>
45077 * sysdeps/s390/fpu/libm-test-ulps: Update.
45079 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45080 Thomas Schwinge <thomas@codesourcery.com>
45082 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45083 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45087 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45089 * sysdeps/mach/start.c: Remove file.
45090 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45091 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45092 * sysdeps/sh/init-first.c: Likewise.
45094 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45095 registers for frame unwinding purposes, add CFI directives.
45096 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45098 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45101 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45102 __fortify_fail returning.
45103 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45105 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45106 sysdeps/sh/____longjmp_chk.S.
45107 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45108 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45109 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45110 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45112 * sysdeps/sh/abort-instr.h: New file.
45113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45114 process in case exit returns.
45116 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45117 initialize the GOT register before use.
45119 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45120 calculation of ARGC > 4.
45122 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45123 meaningful names to some local labels.
45125 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45126 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45128 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45129 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45130 (__arch_compare_and_exchange_val_16_acq): Likewise.
45131 (__arch_compare_and_exchange_val_32_acq): Likewise.
45132 (atomic_exchange_and_add): Fix gUSA sequence.
45133 (atomic_add): Likewise.
45134 (atomic_add_negative): Likewise.
45135 (atomic_add_zero): Likewise.
45136 (atomic_bit_test_set): Likewise.
45138 2012-06-22 Andreas Schwab <schwab@redhat.com>
45141 * include/link.h (struct link_map): Add l_free_initfini.
45142 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45144 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45145 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45146 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45149 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45151 * configure.in: Use AC_LANG_SOURCE.
45152 * configure: Regenerate.
45154 2012-06-22 Roland McGrath <roland@hack.frob.com>
45156 * configure.in (libc_cv_localstatedir): New substituted variable.
45157 * configure: Regenerated.
45158 * config.make.in (localstatedir): New variable, substituted from
45159 libc_cv_localstatedir.
45160 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45161 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45162 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45163 * sysdeps/gnu/configure: Regenerated.
45165 2012-06-21 Jeff Law <law@redhat.com>
45168 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45169 free. Simplify list management for _LIBC case.
45171 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45174 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45175 Clear sign bit of 64-bit integer value before comparing against
45178 * sysdeps/mach/configure: Regenerated.
45180 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45183 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45185 2012-06-21 Jeff Law <law@redhat.com>
45188 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45189 uint16_t for elements in the "seen" array to avoid char overflows.
45190 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45191 * elf/dl-open.c (dl_open_worker): Likewise.
45193 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45195 * scripts/list-sources.sh: Scan PORTS for translations.
45196 * po/libc.pot: Regenerated.
45198 2012-06-21 Andreas Jaeger <aj@suse.de>
45201 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45203 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45204 * bits/byteswap-16.h (__bswap_16): Likewise.
45205 * bits/byteswap.h (__bswap_constant_16): Likewise.
45207 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45210 * sysdeps/i386/fpu_control.h: Removed.
45211 * sysdeps/x86_64/fpu_control.h: Moved to ...
45212 * sysdeps/x86/fpu_control.h: Here.
45214 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45215 (_FPU_SETCW): Likewise.
45217 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45220 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45221 * sysdeps/x86/fpu/bits/mathinline.h: This.
45222 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45226 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45227 functions if __x86_64__ is defined.
45229 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45231 * string/endian.h: Add !__ASSEMBLER__ condition for including
45232 conversion interfaces.
45234 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45238 of ABS(x) in calculating zero to negative powers other than odd
45240 * math/libm-test.inc (pow_test): Add more tests.
45242 2012-06-15 Andreas Jaeger <aj@suse.de>
45244 * manual/contrib.texi (Contributors): Update entry of Liubov
45245 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45248 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45250 * string/string.h: Add __wur to GNU version of strerror_r.
45252 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45255 * string/Makefile (tests): Add tst-strtok_r.
45256 * string/tst-strtok_r.c: New file.
45257 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45258 RAX_LP/RDX_LP on SAVE_PTR.
45260 2012-06-14 Roland McGrath <roland@hack.frob.com>
45262 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45264 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45266 * libm_test.inc (csqrt_test): Allow more spurious underflow
45268 (j0_test): Likewise.
45269 (j1_test): Likewise.
45270 (y0_test): Likewise.
45271 (y1_test): Likewise.
45273 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45275 * po/Makefile (libc.pot): Use UTF-8 charset.
45277 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45280 Suppress sign-conversion warning from FD_SET.
45281 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45282 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45283 not unsigned long int.
45284 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45286 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45290 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45291 __extern_always_inline instead of __extern_inline.
45292 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45293 (__signbit): Likewise.
45294 (__signbitl): Support C++ namespace.
45295 (lrintf): New inline function.
45297 (llrintf): Likewise.
45298 (llrint): Likewise.
45308 (floorf): Likewise.
45309 (nearbyint): Likewise.
45310 (nearbyintf): Likewise.
45312 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45315 non-default versions.
45317 2012-06-11 Roland McGrath <roland@hack.frob.com>
45320 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45322 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45324 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45325 (FE_UPWARD, FE_DOWNWARD): Don't define.
45326 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45329 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45331 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45332 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45334 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45336 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45338 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45339 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45341 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45344 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45345 * sysdeps/i386/fpu/Implies: New file.
45346 * sysdeps/x86_64/fpu/Implies: Likewise.
45347 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45348 * sysdeps/x86/fpu/bits/fenv.h: This.
45350 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45353 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45356 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45357 character 0xffff that matches the last element of the
45360 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45365 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45368 values higher than 25.6283.
45370 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45373 subnormal exponent extraction and add some __builtin_expect.
45374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45375 Fix for subnormal mantissa calculation.
45377 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45379 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45380 cpu2 is -1 and errno is not ENOSYS.
45382 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45385 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45386 * sysdeps/x86/bits/string.h: This.
45387 * sysdeps/x86_64/bits/string.h: Removed.
45389 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45390 if not compiling for x86-64, but compiling for >= i486.
45392 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45393 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45395 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45396 New macro from Linux kernel 3.4.0.
45397 (FP_XSTATE_MAGIC2): Likewise.
45398 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45399 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45400 (struct _fpx_sw_bytes): New struct.
45401 (struct _xsave_hdr): Likewise.
45402 (struct _ymmh_state): Likewise.
45403 (struct _xstate): Likewise.
45405 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45406 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45407 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45408 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45409 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45410 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45412 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45413 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45414 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45415 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45416 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45417 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45419 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45422 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45423 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45424 (sysdep_headers): Include sys/platform/ppc.h.
45425 * sysdeps/powerpc/test-gettimebase.c: Test for
45426 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45427 * manual/Makefile (appendices): Include platform.texi.
45428 * manual/contrib.texi (Contributors): Update @node pointers.
45429 * manual/maint.texi (Maintenance): Likewise.
45430 (Platform): New node.
45431 * manual/platform.texi: New file. Document the new features.
45433 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45434 Jakub Jelinek <jakub@redhat.com>
45437 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45438 where __builtin_expect is unavailable.
45440 2012-06-03 David S. Miller <davem@davemloft.net>
45442 * stdlib/longlong.h: Updated from GCC.
45444 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45447 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45448 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45451 (GLIBC_2.16): Likewise.
45453 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45455 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45457 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45460 (default-abi): New variable.
45461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45462 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45464 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45466 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45468 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45471 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45472 definition. Document in comment.
45474 2012-06-01 David S. Miller <davem@davemloft.net>
45476 * stdlib/longlong.h: Updated from GCC.
45478 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45481 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45482 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45483 sys/debugreg.h sys/io.h here.
45484 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45485 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45487 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45488 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45489 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45490 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45491 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45492 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45494 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45495 Define only if __x86_64__ is defined.
45497 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45500 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45501 Use int64_t for variable i.
45502 * math/libm-test.inc (fmod_test): Add more tests.
45504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45505 z computation is not scheduled after fetestexcept.
45506 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45507 Use math_force_eval instead of asm to ensure calculation scheduled
45508 before exception test.
45509 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45510 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45512 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45515 computation is not scheduled after fetestexcept.
45517 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45520 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45521 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45523 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45525 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45526 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45528 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45531 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45533 (__WCHAR_MIN): Support __WORDSIZE == 64.
45534 (__WCHAR_MAX): Likewise.
45536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45541 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45544 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45545 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45547 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45548 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45551 Defined to 1 if __x86_64__ isn't defined.
45552 (_STAT_VER_LINUX_OLD): New.
45553 (st_atime): Remove duplicate.
45554 (st_mtime): Likewise.
45555 (st_ctime): Likewise.
45557 2012-05-31 David S. Miller <davem@davemloft.net>
45559 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45562 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45564 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45568 * elf/dl-reloc.c: Include <_itoa.h>.
45569 (_dl_reloc_bad_type): Remove use of INTUSE.
45570 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45571 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45572 * stdio-common/psiginfo.c (psiginfo): Likewise.
45573 * stdio-common/psignal.c (psignal): Likewise.
45574 * string/strsignal.c (strsignal): Likewise.
45575 * include/signal.h (_sys_siglist): Declare hidden proto.
45576 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45577 INTVARDEF with libc_hidden_data_def.
45578 * stdio-common/itoa-udigits.c: Likewise.
45579 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45580 (_itoa_lower_digits_internal): Remove declaration.
45581 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45582 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45583 (_sys_sigabbrev_internal): Remove aliases.
45584 (_sys_siglist): Define hidden alias.
45586 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45591 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45594 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45595 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45597 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45598 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45599 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45600 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45602 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45604 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45605 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45606 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45608 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45616 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45617 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45618 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45620 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45621 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45622 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45623 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45624 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45625 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45627 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45628 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45630 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45631 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45635 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45637 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45638 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45640 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45642 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45643 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45644 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45646 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45648 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45650 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45652 * math/math.h (M_El): Use two more decimal places.
45653 (M_LOG2El): Likewise.
45654 (M_LOG10El): Likewise.
45655 (M_LN2l): Likewise.
45656 (M_LN10l): Likewise.
45658 (M_PI_2l): Likewise.
45659 (M_PI_4l): Likewise.
45660 (M_1_PIl): Likewise.
45661 (M_2_PIl): Likewise.
45662 (M_2_SQRTPIl): Likewise.
45663 (M_SQRT2l): Likewise.
45664 (M_SQRT1_2l): Likewise.
45666 2012-05-31 David S. Miller <davem@davemloft.net>
45668 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45669 values between float registers.
45670 * sysdeps/sparc/sparc64/memset.S: Likewise.
45671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45673 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45675 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45676 -D_FORTIFY_SOURCE=1.
45677 (CPPFLAGS-tst-longjmp_chk.c): Define.
45678 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45679 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45680 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45681 CFLAGS-tst-wchar-h.c.
45683 2012-05-31 Marek Polacek <polacek@redhat.com>
45686 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45687 __endmntent_internal): Remove declaration.
45688 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45689 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45690 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45692 2012-05-30 David S. Miller <davem@davemloft.net>
45694 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45695 (___Q_simulate_exceptions): Use real FP ops rather than writing
45697 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45700 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45703 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45704 * sysdeps/x86/bits/xtitypes.h: This.
45706 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45707 * sysdeps/x86/bits/wordsize.h: This.
45709 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45710 * sysdeps/x86/bits/huge_vall.h: This.
45712 * sysdeps/i386/bits/select.h: Removed.
45713 * sysdeps/x86_64/bits/select.h: Renamed to ...
45714 * sysdeps/x86/bits/select.h: This.
45716 * sysdeps/i386/bits/setjmp.h: Removed.
45717 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45718 * sysdeps/x86/bits/setjmp.h: This.
45720 * sysdeps/i386/bits/mathdef.h: Removed.
45721 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45722 * sysdeps/x86/bits/mathdef.h: This.
45724 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45727 * include/sys/socket.h (__connect_internal)
45728 (__libc_sa_len_internal): Remove declaration.
45729 (__connect, __libc_sa_len): Declare hidden_proto.
45730 (SA_LEN): Remove use of INTUSE.
45731 * socket/connect.c: Add libc_hidden_def.
45732 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45733 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45734 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45736 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45737 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45738 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45739 of adding _internal alias.
45741 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45744 * sysdeps/i386/bits/link.h: Removed.
45745 * sysdeps/i386/bits/linkmap.h: Likewise.
45746 * sysdeps/x86_64/bits/link.h: Renamed to ...
45747 * sysdeps/x86/bits/link.h: This.
45748 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45749 * sysdeps/x86/bits/linkmap.h: This.
45751 * sysdeps/i386/bits/endian.h: Removed.
45752 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45753 * sysdeps/x86/bits/endian.h: This.
45755 * sysdeps/i386/bits/byteswap.h: Removed.
45756 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45757 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45758 * sysdeps/x86/bits/byteswap.h: This.
45759 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45760 * sysdeps/x86/bits/byteswap-16.h: This.
45761 * sysdeps/i386/Implies: Add x86.
45762 * sysdeps/x86_64/Implies: Likewise.
45764 2012-05-30 David S. Miller <davem@davemloft.net>
45766 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45767 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45768 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45769 (FP_TRAPPING_EXCEPTIONS): Define.
45770 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45771 (FP_TRAPPING_EXCEPTIONS): Define.
45772 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45773 subnormals only when inexact has been signalled or underflow
45774 exceptions are enabled.
45775 (_FP_PACK_CANONICAL): Likewise.
45777 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45780 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45781 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45783 2012-05-30 Richard Henderson <rth@twiddle.net>
45785 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45786 with #ifndef NOT_IN_libc.
45788 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45789 marked to avoid plt entry.
45791 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45794 * Makeconfig (default-abi): New macro.
45795 (abi-includes): Likewise.
45796 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45797 $(abi-$(default-abi)-lib-soname) for soname if defined.
45798 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45800 * Makefile (installed-stubs): Likewise.
45801 * include/stubs-biarch.h: Removed.
45802 * scripts/lib-names.awk: Only handle one library at a time.
45803 * scripts/soversions.awk: Remove WORDSIZE support.
45804 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45806 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45808 (syscall-list-default-condition): Likewise.
45809 (syscall-list-default-condition): Likewise.
45810 (syscall-list-includes): Likewise.
45811 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45812 syscall-list-* with abi-*. Handle undefined abi-variants.
45813 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45814 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45815 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45816 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45817 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45818 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45820 (syscall-list-32-options): Likewise.
45821 (syscall-list-32-condition): Likewise.
45822 (syscall-list-64-options): Likewise.
45823 (syscall-list-64-condition): Likewise.
45824 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45826 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45829 (abi-64-ld-soname): New macro.
45830 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45831 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45834 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45835 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45837 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45839 * sysdeps/unix/sysv/linux/kernel-features.h
45840 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45841 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45842 include <kernel-features.h>.
45843 [!__NR_ftruncate64]: Remove conditional code.
45844 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45845 [__NR_ftruncate64]: Make code unconditional.
45846 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45847 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45848 include <kernel-features.h>.
45849 [!__NR_ftruncate64]: Remove conditional code.
45850 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45851 [__NR_ftruncate64]: Make code unconditional.
45852 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45854 include <kernel-features.h>.
45855 [!__NR_ftruncate64]: Remove conditional code.
45856 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45857 [__NR_ftruncate64]: Make code unconditional.
45858 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45860 include <kernel-features.h>.
45861 [!__NR_ftruncate64]: Remove conditional code.
45862 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45863 [__NR_ftruncate64]: Make code unconditional.
45864 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45866 * configure.in (libc_cv_fpie): Weaken to a compile test using
45867 LIBC_TRY_CC_OPTION.
45868 * configure: Regenerated.
45870 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45885 2012-05-27 David S. Miller <davem@davemloft.net>
45887 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45889 (__Q_simulate_exceptions): Return void. Change to simulate
45890 exceptions by writing into the %fsr.
45891 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45892 (__Qp_handle_exceptions): Likewise.
45894 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45895 __Qp_handle_exceptions.
45896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45897 __Qp_handle_exceptions.
45898 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45899 as unused and give dummy FP_RND_NEAREST initializer.
45900 (FP_INHIBIT_RESULTS): Define.
45901 (___Q_simulate_exceptions): Update declaration.
45902 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45905 as unused and give dummy FP_RND_NEAREST initializer.
45906 (__Qp_handle_exceptions): Update declaration.
45907 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45910 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45912 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45913 the temporary FPU control word.
45914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45915 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45917 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45918 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45919 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45920 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45921 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45922 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45923 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45924 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45926 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45931 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45933 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45934 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45935 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45936 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45938 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45939 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45942 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45944 * po/h.po: Update from translation team.
45946 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45948 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45950 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45951 handling of denormals.
45952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45953 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45961 2012-05-26 Marek Polacek <polacek@redhat.com>
45964 * math/libm-test.inc (fma_test): Don't always expect underflow
45967 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45970 * elf/tst-execstack.c: Include stackinfo.h.
45971 (do_test): Adjust test case to ensure that pthread_getattr_np
45972 behaviour remains the same after marking stack executable.
45974 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45976 * sysdeps/unix/sysv/linux/kernel-features.h
45977 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45978 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45980 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45981 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45982 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45984 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45985 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45987 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45989 * configure.in: Define the default includes to being none.
45990 * configure: Regenerated.
45992 2012-05-25 Roland McGrath <roland@hack.frob.com>
45994 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45995 * sysdeps/x86_64/setjmp.S: Likewise.
45996 * sysdeps/i386/bsd-setjmp.S: Likewise.
45997 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45998 * sysdeps/i386/setjmp.S: Likewise.
45999 * sysdeps/i386/__longjmp.S: Likewise.
46000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46001 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46003 * include/stap-probe.h: New file.
46004 * configure.in: Handle --enable-systemtap.
46005 * configure: Regenerated.
46006 * config.h.in (USE_STAP_PROBE): New #undef.
46007 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46008 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46009 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46011 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46015 to 2.4.0 where earlier.
46016 * sysdeps/unix/sysv/linux/configure: Regenerated.
46017 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46018 <kernel-features.h>.
46019 [__ASSUME_32BITUIDS]: Make code unconditional.
46020 [!__ASSUME_32BITUIDS]: Remove conditional code.
46021 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46022 <kernel-features.h>.
46023 [__ASSUME_32BITUIDS]: Make code unconditional.
46024 [!__ASSUME_32BITUIDS]: Remove conditional code.
46025 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46026 [__ASSUME_32BITUIDS]: Make code unconditional.
46027 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46028 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46029 <kernel-features.h>.
46030 [__ASSUME_32BITUIDS]: Make code unconditional.
46031 [!__ASSUME_32BITUIDS]: Remove conditional code.
46032 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46033 <kernel-features.h>.
46034 [__ASSUME_32BITUIDS]: Make code unconditional.
46035 [!__ASSUME_32BITUIDS]: Remove conditional code.
46036 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46037 <kernel-features.h>.
46038 [__ASSUME_32BITUIDS]: Make code unconditional.
46039 [!__ASSUME_32BITUIDS]: Remove conditional code.
46040 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46041 <kernel-features.h>.
46042 [__ASSUME_32BITUIDS]: Make code unconditional.
46043 [!__ASSUME_32BITUIDS]: Remove conditional code.
46044 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46045 <kernel-features.h>.
46046 [__ASSUME_32BITUIDS]: Make code unconditional.
46047 [!__ASSUME_32BITUIDS]: Remove conditional code.
46048 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46049 <kernel-features.h>.
46050 [__ASSUME_32BITUIDS]: Make code unconditional.
46051 [!__ASSUME_32BITUIDS]: Remove conditional code.
46052 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46053 <kernel-features.h>.
46054 [__ASSUME_32BITUIDS]: Make code unconditional.
46055 [!__ASSUME_32BITUIDS]: Remove conditional code.
46056 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46057 <kernel-features.h>.
46058 [__ASSUME_32BITUIDS]: Make code unconditional.
46059 [!__ASSUME_32BITUIDS]: Remove conditional code.
46060 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46061 <kernel-features.h>.
46062 [__ASSUME_32BITUIDS]: Make code unconditional.
46063 [!__ASSUME_32BITUIDS]: Remove conditional code.
46064 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46065 <kernel-features.h>.
46066 [__ASSUME_32BITUIDS]: Make code unconditional.
46067 [!__ASSUME_32BITUIDS]: Remove conditional code.
46068 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46069 <kernel-features.h>.
46070 [__NR_setresgid] (__setresgid): Do not declare.
46071 [__ASSUME_32BITUIDS]: Make code unconditional.
46072 [!__ASSUME_32BITUIDS]: Remove conditional code.
46073 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46074 <kernel-features.h>.
46075 [__NR_setresuid] (__setresuid): Do not declare.
46076 [__ASSUME_32BITUIDS]: Make code unconditional.
46077 [!__ASSUME_32BITUIDS]: Remove conditional code.
46078 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46079 <kernel-features.h>.
46080 [__ASSUME_32BITUIDS]: Make code unconditional.
46081 [!__ASSUME_32BITUIDS]: Remove conditional code.
46082 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46083 <kernel-features.h>.
46084 [__ASSUME_32BITUIDS]: Make code unconditional.
46085 [!__ASSUME_32BITUIDS]: Remove conditional code.
46086 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46087 <kernel-features.h>.
46088 [__ASSUME_32BITUIDS]: Make code unconditional.
46089 [!__ASSUME_32BITUIDS]: Remove conditional code.
46090 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46091 <kernel-features.h>.
46092 [__ASSUME_32BITUIDS]: Make code unconditional.
46093 [!__ASSUME_32BITUIDS]: Remove conditional code.
46094 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46095 <kernel-features.h>.
46096 [__ASSUME_32BITUIDS]: Make code unconditional.
46097 [!__ASSUME_32BITUIDS]: Remove conditional code.
46098 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46099 <kernel-features.h>.
46100 [__ASSUME_32BITUIDS]: Make code unconditional.
46101 [!__ASSUME_32BITUIDS]: Remove conditional code.
46102 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46103 <kernel-features.h>.
46104 [__ASSUME_32BITUIDS]: Make code unconditional.
46105 [!__ASSUME_32BITUIDS]: Remove conditional code.
46106 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46107 <kernel-features.h>.
46108 [__ASSUME_32BITUIDS]: Make code unconditional.
46109 [!__ASSUME_32BITUIDS]: Remove conditional code.
46110 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46111 <kernel-features.h>.
46112 [__ASSUME_32BITUIDS]: Make code unconditional.
46113 [!__ASSUME_32BITUIDS]: Remove conditional code.
46114 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46115 <kernel-features.h>.
46116 [__ASSUME_32BITUIDS]: Make code unconditional.
46117 [!__ASSUME_32BITUIDS]: Remove conditional code.
46118 * sysdeps/unix/sysv/linux/kernel-features.h
46119 (__ASSUME_SETRESUID_SYSCALL): Remove.
46120 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46121 (__ASSUME_32BITUIDS): Likewise.
46122 (__ASSUME_LDT_WORKS): Likewise.
46123 (__ASSUME_O_DIRECTORY): Likewise.
46124 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46125 architecture but not kernel version.
46126 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46127 (__ASSUME_MMAP2_SYSCALL): Likewise.
46128 (__ASSUME_STAT64_SYSCALL): Likewise.
46129 (__ASSUME_IPC64): Likewise.
46130 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46131 <kernel-features.h>.
46132 [__ASSUME_32BITUIDS]: Make code unconditional.
46133 [!__ASSUME_32BITUIDS]: Remove conditional code.
46134 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46135 <kernel-features.h>.
46136 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46137 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46138 132096]: Remove conditional code.
46139 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46140 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
46149 <kernel-features.h>.
46150 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46152 (__setresgid): Do not declare.
46153 [__ASSUME_32BITUIDS]: Make code unconditional.
46154 [!__ASSUME_32BITUIDS]: Remove conditional code.
46155 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46156 <kernel-features.h>.
46157 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46159 (__setresuid): Do not declare.
46160 [__ASSUME_32BITUIDS]: Make code unconditional.
46161 [!__ASSUME_32BITUIDS]: Remove conditional code.
46162 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46163 <kernel-features.h>.
46164 [__ASSUME_32BITUIDS]: Make code unconditional.
46165 [!__ASSUME_32BITUIDS]: Remove conditional code.
46166 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46167 <kernel-features.h>.
46168 [__ASSUME_32BITUIDS]: Make code unconditional.
46169 [!__ASSUME_32BITUIDS]: Remove conditional code.
46171 2012-05-25 Richard Henderson <rth@twiddle.net>
46173 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46174 dl_hwcap to ifunc resolver.
46175 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46178 dl_hwcap to ifunc resolver.
46179 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46181 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46184 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46185 for |x| <= 2**-26, not 2**-57.
46186 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46189 2012-05-24 Jeff Law <law@redhat.com>
46191 * stdio-common/Makefile (tests): Add bug25.
46192 * stdio-common/bug25.c: New test.
46194 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46197 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46198 multiple of MALLOC_ALIGNMENT in size.
46199 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46201 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46203 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46205 (FILENAME_MAX): Use macro-int-constant.
46206 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46207 (_IOFBF): Use macro-int-constant.
46208 (_IOLBF): Likewise.
46209 (_IONBF): Likewise.
46210 (SEEK_CUR): Likewise.
46211 (SEEK_END): Likewise.
46212 (SEEK_SET): Likewise.
46213 (TMP_MAX): Likewise.
46214 (EOF): Use macro-int-constant. Require < 0.
46215 (NULL): Use macro-constant. Require == 0.
46216 (stdin): Require type to be FILE *.
46217 (stdout): Likewise.
46218 (stderr): Likewise.
46219 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46220 macro-int-constant.
46221 (EXIT_SUCCESS): Likewise.
46222 (NULL): Use macro-constant. Require == 0.
46223 (RAND_MAX): Use macro-int-constant.
46224 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46225 [C99-based standards] (strtof): Require function.
46226 [C99-based standards] (strtold): Likewise.
46227 [C99-based standards] (strtoll): Likewise.
46228 [C99-based standards] (strtoull): Likewise.
46229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46230 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46231 [ISO || ISO99 || ISO11] (math.h): Likewise.
46232 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46233 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46236 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46239 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46240 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46241 * intl/dgettext.c (DCGETTEXT): Likewise.
46242 * intl/gettext.c (DCGETTEXT): Likewise.
46243 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46244 * posix/regex_internal.h (gettext): Likewise.
46245 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46246 Remove declaration.
46247 * include/argz.h (__argz_count_internal)
46248 (__argz_stringify_internal): Remove declaration.
46249 (__argz_count, __argz_stringify): Declare hidden proto.
46250 * intl/dcgettext.c: Remove use of INTDEF.
46251 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46252 * string/argz-stringify.c: Likewise.
46253 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46254 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46255 Declare hidden proto.
46256 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46257 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46258 Declare hidden proto.
46259 * include/stdio.h (__asprintf_internal): Don't declare.
46260 (__asprintf): Don't define as macro. Declare hidden proto.
46261 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46262 (__fsetlocking): Declare hidden proto.
46263 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46264 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46266 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46267 (_IO_setlinebuf): Remove use of INTUSE.
46268 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46269 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46270 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46271 Remove declaration.
46272 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46273 (_IO_do_flush): Remove use of INTUSE.
46274 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46275 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46276 (_IO_adjust_column, _IO_least_wmarker)
46277 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46278 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46279 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46280 (_IO_default_doallocate, _IO_wdefault_doallocate)
46281 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46282 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46283 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46284 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46285 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46286 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46287 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46288 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46289 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46290 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46291 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46292 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46293 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46295 (_IO_flush_all_internal, _IO_adjust_column_internal)
46296 (_IO_default_uflow_internal, _IO_default_finish_internal)
46297 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46298 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46299 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46300 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46301 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46302 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46303 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46304 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46305 (_IO_file_close_internal, _IO_file_close_it_internal)
46306 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46307 (_IO_file_init_internal, _IO_file_attach_internal)
46308 (_IO_file_fopen_internal, _IO_file_read_internal)
46309 (_IO_file_sync_internal, _IO_file_seek_internal)
46310 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46311 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46312 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46313 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46314 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46315 (_IO_list_all_internal, _IO_link_in_internal)
46316 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46317 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46318 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46319 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46320 (_IO_do_write_internal, _IO_padn_internal)
46321 (_IO_getline_info_internal, _IO_getline_internal)
46322 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46323 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46324 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46325 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46326 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46327 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46328 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46329 with libc_hidden_ver, remove use of INTUSE.
46330 * libio/genops.c: Likewise.
46331 * libio/freopen.c: Likewise.
46332 * libio/freopen64.c: Likewise.
46333 * libio/iofclose.c: Likewise.
46334 * libio/iofdopen.c: Likewise.
46335 * libio/iofflush.c: Likewise.
46336 * libio/iofflush_u.c: Likewise.
46337 * libio/iofgets.c: Likewise.
46338 * libio/iofgets_u.c: Likewise.
46339 * libio/iofopen.c: Likewise.
46340 * libio/iofopncook.c: Likewise.
46341 * libio/iofread.c: Likewise.
46342 * libio/iofread_u.c: Likewise.
46343 * libio/ioftell.c: Likewise.
46344 * libio/iofwrite.c: Likewise.
46345 * libio/iogetline.c: Likewise.
46346 * libio/iogets.c: Likewise.
46347 * libio/iogetwline.c: Likewise.
46348 * libio/iopadn.c: Likewise.
46349 * libio/iopopen.c: Likewise.
46350 * libio/ioseekoff.c: Likewise.
46351 * libio/ioseekpos.c: Likewise.
46352 * libio/iosetbuffer.c: Likewise.
46353 * libio/iosetvbuf.c: Likewise.
46354 * libio/ioungetc.c: Likewise.
46355 * libio/ioungetwc.c: Likewise.
46356 * libio/iovdprintf.c: Likewise.
46357 * libio/iovsprintf.c: Likewise.
46358 * libio/iovsscanf.c: Likewise.
46359 * libio/memstream.c: Likewise.
46360 * libio/obprintf.c: Likewise.
46361 * libio/oldfileops.c: Likewise.
46362 * libio/oldiofclose.c: Likewise.
46363 * libio/oldiofdopen.c: Likewise.
46364 * libio/oldiofopen.c: Likewise.
46365 * libio/oldiopopen.c: Likewise.
46366 * libio/oldstdfiles.c: Likewise.
46367 * libio/putc.c: Likewise.
46368 * libio/setbuf.c: Likewise.
46369 * libio/setlinebuf.c: Likewise.
46370 * libio/stdfiles.c: Likewise.
46371 * libio/strops.c: Likewise.
46372 * libio/vasprintf.c: Likewise.
46373 * libio/vscanf.c: Likewise.
46374 * libio/vsnprintf.c: Likewise.
46375 * libio/vswprintf.c: Likewise.
46376 * libio/wfiledoalloc.c: Likewise.
46377 * libio/wfileops.c: Likewise.
46378 * libio/wgenops.c: Likewise.
46379 * libio/wmemstream.c: Likewise.
46380 * libio/wstrops.c: Likewise.
46381 * libio/__fpurge.c: Likewise.
46382 * libio/__fsetlocking.c: Likewise.
46383 * assert/assert.c: Likewise.
46384 * debug/fgets_chk.c: Likewise.
46385 * debug/fgets_u_chk.c: Likewise.
46386 * debug/fread_chk.c: Likewise.
46387 * debug/fread_u_chk.c: Likewise.
46388 * debug/gets_chk.c: Likewise.
46389 * debug/obprintf_chk.c: Likewise.
46390 * debug/vasprintf_chk.c: Likewise.
46391 * debug/vdprintf_chk.c: Likewise.
46392 * debug/vsnprintf_chk.c: Likewise.
46393 * debug/vsprintf_chk.c: Likewise.
46394 * malloc/mtrace.c: Likewise.
46395 * misc/error.c: Likewise.
46396 * misc/syslog.c: Likewise.
46397 * stdio-common/asprintf.c: Likewise.
46398 * stdio-common/fxprintf.c: Likewise.
46399 * stdio-common/getw.c: Likewise.
46400 * stdio-common/isoc99_fscanf.c: Likewise.
46401 * stdio-common/isoc99_scanf.c: Likewise.
46402 * stdio-common/isoc99_vfscanf.c: Likewise.
46403 * stdio-common/isoc99_vscanf.c: Likewise.
46404 * stdio-common/isoc99_vsscanf.c: Likewise.
46405 * stdio-common/printf-prs.c: Likewise.
46406 * stdio-common/printf_fp.c: Likewise.
46407 * stdio-common/printf_fphex.c: Likewise.
46408 * stdio-common/printf_size.c: Likewise.
46409 * stdio-common/putw.c: Likewise.
46410 * stdio-common/scanf.c: Likewise.
46411 * stdio-common/sprintf.c: Likewise.
46412 * stdio-common/tmpfile.c: Likewise.
46413 * stdio-common/vfprintf.c: Likewise.
46414 * stdio-common/vfscanf.c: Likewise.
46415 * stdlib/strfmon_l.c: Likewise.
46416 * sunrpc/openchild.c: Likewise.
46417 * sunrpc/xdr_stdio.c: Likewise.
46418 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46419 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46421 2012-05-24 Roland McGrath <roland@hack.frob.com>
46423 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46425 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46426 in the third column, to generate for the shared library an IFUNC
46427 that uses _dl_vdso_vsym.
46428 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46429 * Makeconfig (object-suffixes-noshared): New variable.
46431 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46432 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46433 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46434 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46437 * include/sys/time.h (__gettimeofday): Remove macro.
46438 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46439 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46441 (__gettimeofday): Add libc_hidden_def.
46442 (gettimeofday): Add libc_hidden_weak.
46443 * sysdeps/mach/gettimeofday.c: Likewise.
46444 * sysdeps/posix/gettimeofday.c: Likewise.
46445 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46446 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46448 (__gettimeofday_internal): Remove strong_alias.
46449 (__gettimeofday): Add libc_hidden_def.
46450 (gettimeofday): Add libc_hidden_weak.
46451 * sysdeps/unix/syscalls.list (gettimeofday):
46452 Remove __gettimeofday_internal alias.
46454 2012-05-24 Daniel Jacobowitz <drow@false.org>
46455 H.J. Lu <hongjiu.lu@intel.com>
46458 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46459 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46460 (largebin_index_32_big): New.
46461 (largebin_index): Use it for 16-byte alignment.
46462 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46463 correction with front_misalign.
46465 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46493 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46494 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46496 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46500 * math/libm-test.inc (exp_test): Add test from bug 14036.
46501 (pow_test): Add test from bug 10846.
46503 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46505 (special_function): Do not include flags in test name.
46506 (parse_args): Likewise.
46507 * sysdeps/i386/fpu/libm-test-ulps: Update.
46508 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46509 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46510 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46513 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46515 * math/libm-test.inc ("Philosophy"): Update comment about
46517 (UNDERFLOW_EXCEPTION): New macro.
46518 (UNDERFLOW_EXCEPTION_OK): Likewise.
46519 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46520 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46521 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46522 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46523 (INVALID_EXCEPTION_OK): Update value.
46524 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46525 (OVERFLOW_EXCEPTION_OK): Likewise.
46526 (IGNORE_ZERO_INF_SIGN): Likewise.
46527 (test_exceptions): Handle underflow exceptions.
46528 (acos_test): Update for underflow exception expectations.
46529 (cexp_test): Likewise.
46530 (clog_test): Likewise.
46531 (clog10_test): Likewise.
46532 (csqrt_test): Likewise.
46533 (ctan_test): Likewise.
46534 (ctanh_test): Likewise.
46535 (exp_test): Likewise.
46536 (exp10_test): Likewise.
46537 (exp2_test): Likewise.
46538 (expm1_test): Likewise.
46539 (fma_test): Likewise.
46540 (j0_test): Likewise.
46541 (jn_test): Likewise.
46542 (nexttoward_test): Likewise.
46543 (pow_test): Likewise.
46544 (scalbn_test): Likewise.
46545 (scalbln_test): Likewise.
46546 (tan_test): Likewise.
46547 (y1_test): Likewise.
46548 * sysdeps/i386/fpu/libm-test-ulps: Update.
46549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46551 2012-05-23 David S. Miller <davem@davemloft.net>
46553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46554 (__libc_sigaction): Remove unused local variables.
46556 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46558 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46560 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46562 mktime: avoid signed integer overflow
46563 * time/mktime.c (__mktime_internal): Do not mishandle the case
46564 where diff == INT_MIN.
46566 mktime: simplify computation of average
46567 * time/mktime.c (ranged_convert): Use new time_t_avg function
46568 instead of rolling our own (probably-slower) code.
46570 mktime: do not assume signed right shift propagates sign bit
46571 * time/mktime.c (isdst_differ): New static function.
46572 (__mktime_internal): No need to normalize tm_isdst now.
46573 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46576 mktime: merge another wrapv change from gnulib
46577 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46578 from some compilers.
46580 mktime: remove incorrect attempt at unusual arithmetics
46581 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46582 The code didn't really work on such machines anyway.
46583 (TYPE_MINIMUM): Assume two's complement.
46584 (twos_complement_arithmetic): Verify that long_int and time_t
46585 are two's complement (or unsigned, in the latter case).
46587 mktime: check signed shifts on long_int and time_t, too
46588 * time/mktime.c (SHR): Check that shifts work as desired
46589 on the types long_int and time_t too, as SHR is used on
46592 mktime: do not assume 'long' is wide enough
46593 * time/mktime.c (verify): Move decl up.
46594 (long_int): New type.
46595 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46596 to remove assumption in the code that 'long' is wide enough to
46597 store year values. This assumption is not true on x32 and on
46598 some non-glibc platforms.
46600 mktime: merge wrapv change from gnulib
46601 * time/mktime.c (WRAPV): New macro.
46602 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46603 (guess_time_tm, __mktime_internal): Do not assume that signed
46604 integer overflow wraps around; modern compilers generate code
46605 where this assumption is no longer valid.
46607 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46609 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46610 Replace "jmp L(pseudo_end)" with "ret".
46611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46614 2012-05-23 Andreas Jaeger <aj@suse.de>
46616 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46617 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46619 2012-05-23 Andreas Jaeger <aj@suse.de>
46620 Maximilian Attems <max@stro.at>
46622 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46625 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46627 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46628 code so that pseudo_end is just ret and the stack pointer is
46629 correct also for static library in error case.
46631 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46633 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46634 move to syscalls.list.
46635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46640 * manual/install.texi (Running make install): Do not mention Linux
46641 kernel version for which pt_chown is not needed.
46642 (Linux): Do not mention problems with nscd with 2.0 kernels.
46643 * INSTALL: Regenerated.
46645 2012-05-23 Andreas Jaeger <aj@suse.de>
46647 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46648 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46650 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46652 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46653 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46654 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46655 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46657 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46658 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46659 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46660 * sysdeps/unix/sysv/linux/bits/in.h
46661 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46663 2012-05-22 Roland McGrath <roland@hack.frob.com>
46665 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46666 (PREPARE_VERSION): Just use assert instead, it will be elided
46667 under [NDEBUG] anyway.
46669 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46671 * sysdeps/unix/sysv/linux/Makefile: Include
46672 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46673 (sysdep_routines): Remove sysctl.
46674 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46675 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46676 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46677 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46678 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46680 2012-05-22 Andreas Jaeger <aj@suse.de>
46682 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46683 that pseudo_end is just ret and the stack pointer is correct also
46684 for static library in error case.
46686 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46689 * nss/nsswitch.c (defconfig_entries): New variable.
46690 (__nss_database_lookup): Don't leak defconfig entries.
46691 (nss_parse_service_list): Don't leak on error paths.
46692 (free_database_entries): New function.
46693 (free_defconfig): New function.
46694 (free_mem): Move common code to free_database_entries.
46696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46698 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46700 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46702 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46703 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46706 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46707 (INTERNAL_SYSCALL_TYPES): Likewise.
46708 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46709 (LOAD_REGS_TYPES_[1-6]): Likewise.
46710 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46711 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46713 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46716 copysignl for GLIBC_2_0.
46717 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46718 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46720 logbl for GLIBC_2_0.
46721 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46722 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46724 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46726 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46727 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46729 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46732 * time/mktime.c: Update copyright years.
46734 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46736 mktime: merge comment-quoting-style change from gnulib
46737 * time/mktime.c: Quote 'like this' in comments.
46738 The GNU coding standards suggest that we no longer quote `like this',
46739 as "`" and "'" are typically rendered asymmetrically nowadays.
46740 The typical gnulib style is to quote 'like this' when quoting
46741 code, and "like this" when quoting English.
46743 * time/mktime.c (compile-command): Add "-I.".
46745 mktime: merge mktime-internal.h change from gnulib
46746 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46748 mktime: merge time_r change from gnulib
46749 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46751 mktime: merge DEBUG change from gnulib
46752 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46753 case system <time.h> has a #define.
46755 mktime: merge <sys/types.h> change from gnulib
46756 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46757 since <time.t> is now guaranteed to define time_t.
46759 mktime: merge HAVE_CONFIG_H change from gnulib
46760 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46762 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46767 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46769 (struct rusage): Use anonymous union to pad each field to
46772 2012-05-21 David S. Miller <davem@davemloft.net>
46774 * Makefules (o-iterator): Remove .s cases.
46775 (compile-command.s): Delete.
46776 (COMPILE.s): Delete.
46777 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46779 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46781 * configure.in (libc_cv_predef_stack_protector): Only consider
46782 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46783 * configure: Regenerated.
46785 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46788 New macro. Use R*LP on int and pointer.
46789 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46790 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46791 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46792 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46794 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46795 [__WORDSIZE_TIME64_COMPAT32] instead of
46796 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46797 (struct utmp): Likewise.
46798 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46799 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46801 (__WORDSIZE_TIME64_COMPAT32): This.
46802 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46803 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46804 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46805 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46806 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46807 (__WORDSIZE_TIME64_COMPAT32): New macro.
46809 2012-05-21 Andreas Jaeger <aj@suse.de>
46811 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46812 only if [SHARED]. Add prototype for __wcschr_ia32.
46814 2012-05-21 Roland McGrath <roland@hack.frob.com>
46816 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46817 of %rbp unmolested in the jmp_buf while mangling the low bits.
46818 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46819 unmolested high bits of %rbp while demangling the low bits.
46820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46822 2012-05-21 Andreas Jaeger <aj@suse.de>
46824 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46825 * sunrpc/svc_simple.c: Use it for registerrpc.
46826 * sunrpc/xcrypt.c: Use it for passwd2des.
46828 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46830 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46832 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46833 Don't define if [__SYSCALL_WORDSIZE != 32].
46834 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46837 2012-05-21 Bruno Haible <bruno@clisp.org>
46838 Andreas Jaeger <aj@suse.de>
46840 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46841 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46842 inptr and inend for must_buffer_ch.
46843 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46844 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46845 * stdio-common/Makefile (tests): Remove bug15.
46846 (bug15-ENV): Remove macro.
46847 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46850 2012-05-19 Andreas Jaeger <aj@suse.de>
46851 Roland McGrath <roland@hack.frob.com>
46853 * manual/contrib.texi: Completely rewritten. It contains now an
46854 alphabetical list of contributors and their contributions.
46856 2012-05-21 Richard Henderson <rth@twiddle.net>
46858 * misc/getauxval.c (__getauxval): Use unsigned long int.
46859 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46860 (getauxval): Use unsigned long int.
46862 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46864 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46866 2012-05-21 Roland McGrath <roland@hack.frob.com>
46868 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46869 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46870 __alignof__ (long double).
46872 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46876 2012-05-20 Richard Henderson <rth@twiddle.net>
46878 * misc/getauxval.c: New file.
46879 * misc/sys/auxv.h: New file.
46880 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46881 (routines): Add getauxval.
46882 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46883 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46884 * elf/dl-sysdep.c (_dl_auxv): Remove.
46885 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46886 * elf/dl-support.c (_dl_auxv): New variable.
46887 (_dl_aux_init): Initialize it.
46888 * manual/startup.texi (Auxiliary Vector): New node.
46889 * sysdeps/generic/bits/hwcap.h: New file.
46890 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46891 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46892 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46893 * sysdeps/sparc/sysdep.h: ... here. Include it.
46894 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46907 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46911 2012-05-19 David S. Miller <davem@davemloft.net>
46913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46915 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46918 * math/s_ccosh.c: Include <float.h>
46919 (__ccosh): Avoid internal overflow calculating sinh and cosh
46920 values before multiplying by sin and cos values.
46921 * math/s_ccoshf.c: Likewise.
46922 * math/s_ccoshl.c: Likewise.
46923 * math/s_csin.c: Likewise.
46924 * math/s_csinf.c: Likewise.
46925 * math/s_csinl.c: Likewise.
46926 * math/s_csinh.c: Likewise.
46927 * math/s_csinhf.c: Likewise.
46928 * math/s_csinhl.c: Likewise.
46929 * math/libm-test.inc (ccos_test): Add more tests.
46930 (ccosh_test): Likewise.
46931 (csin_test): Likewise.
46932 (csinh_test): Likewise.
46933 * sysdeps/i386/fpu/libm-test-ulps: Update.
46934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46936 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46938 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46939 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46941 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46943 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46945 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46946 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46947 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46948 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46949 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46950 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46951 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46952 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46953 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46954 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46955 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46956 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46957 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46958 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46959 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46960 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46961 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46962 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46963 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46964 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46965 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46966 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46967 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46968 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46969 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46970 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46971 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46972 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46973 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46974 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46975 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46977 2012-05-18 Andreas Jaeger <aj@suse.de>
46979 * csu/.gitignore: Delete.
46981 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46983 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46984 (timex): Use __syscall_slong_t.
46986 2012-05-18 Andreas Jaeger <aj@suse.de>
46987 Carlos O'Donell <carlos_odonell@mentor.com>
46989 * manual/install.texi (Configuring and compiling): Update
46990 description about files modified in the source directory.
46991 * INSTALL: Regenerated.
46993 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46995 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46996 value. Use "or" to set return value to -1.
46997 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46998 negate return value.
47000 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47002 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47003 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47004 failure if the compiler has Graphite support disabled.
47005 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47007 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47008 (CFLAGS-memmove.c): Likewise.
47009 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47012 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47014 * sysdeps/x86_64/x32/_itoa.h: New file.
47016 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47017 getdents system call only if kernel and user dirents have the
47018 same d_ino and d_off.
47020 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47021 LLONG_MAX != LONG_MAX.
47022 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47023 (_fitoa_word): Likewise.
47025 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47027 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47029 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47031 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47032 include <bits/wordsize.h>. Check __x86_64__ instead of
47034 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47035 if __x86_64__ is defined. Use anonymous union on fpstate.
47037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47040 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47042 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47043 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47044 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47045 Refer to _rtld_local_ro instead of _rtld_global_ro.
47046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47048 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47050 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47052 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47053 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47054 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47056 * sysdeps/powerpc/powerpc32/dl-machine.c
47057 (__elf_machine_runtime_setup) [PROF]: Don't reference
47060 2012-05-18 Andreas Jaeger <aj@suse.de>
47062 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47063 function only available for GCCs before 3.4 since GCC 3.4
47064 introduced a builtin.
47066 (llrintf): Likewise.
47067 (llrint): Likewise.
47074 (nearbyint): Likewise.
47075 (nearbyintf): Likewise.
47079 (floorf): Likewise.
47081 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47083 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47084 on both fields and cast pointer to __syscall_ulong_t.
47086 * bits/types.h (__fsword_t): New type.
47087 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47088 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47089 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47090 (__FSWORD_T_TYPE): Likewise.
47091 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47092 (__FSWORD_T_TYPE): Likewise.
47093 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47094 (__FSWORD_T_TYPE): Likewise.
47095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47096 (__FSWORD_T_TYPE): Likewise.
47097 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47098 __SWORD_TYPE with __fsword_t.
47099 (statfs64): Likewise.
47101 2012-05-17 David S. Miller <davem@davemloft.net>
47103 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47105 2012-05-17 Andreas Jaeger <aj@suse.de>
47107 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47110 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47112 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47114 2012-05-17 Andreas Jaeger <aj@suse.de>
47116 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47119 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47121 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47123 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47125 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47126 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47128 2012-05-17 Andreas Jaeger <aj@suse.de>
47129 Carlos O'Donell <carlos_odonell@mentor.com>
47132 * sysdeps/x86_64/multiarch/init-arch.h
47133 (bit_YMM_Usable): Rename to...
47134 (bit_AVX_Usable): ... this.
47135 (bit_FMA4_Usable): New macro.
47136 (bit_XMM_state): New macro.
47137 (bit_YMM_state): New macro.
47138 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47139 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47140 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47141 (CPUID_OSXSAVE): New macro.
47142 (CPUID_AVX): New macro.
47143 (CPUID_FMA4): New macro.
47144 (index_YMM_Usable): Rename to...
47145 (index_AVX_Usable): ... this.
47146 (HAS_AVX): Use HAS_ARCH_FEATURE.
47147 (HAS_FMA4): Likewise.
47148 (HAS_YMM_USABLE): Remove.
47149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47150 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47152 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47153 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47154 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47155 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47156 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47158 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47160 * math/libm-test.c: Support platforms without multiple rounding modes.
47161 * math/bug-nextafter.c: Support platforms without FP exceptions.
47162 * math/bug-nexttoward.c: Likewise.
47163 * math/test-fenv.c: Likewise.
47164 * math/test-misc.c: Likewise.
47165 * stdlib/bug-getcontext.c: Likewise.
47167 2012-05-17 Andreas Jaeger <aj@suse.de>
47169 * manual/examples/search.c (critter_cmp): Change signature to
47171 * manual/string.texi (Collation Functions): Likewise.
47173 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47175 * bits/types.h: Fold copyright years.
47176 * bits/typesizes.h: Likewise.
47177 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47180 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47181 * time/time.h: Likewise.
47183 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47186 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47187 in instead of returning them. Return void.
47188 (__libc_mallinfo): Accumulate over all arenas.
47189 (__malloc_stats): Adjust for change in int_mallinfo interface.
47191 2012-05-16 Roland McGrath <roland@hack.frob.com>
47194 * configure.in (NM): Add AC_CHECK_TOOL for it.
47195 (libc_extra_cflags): New substituted variable.
47196 Check for -fstack-protector being used implicitly.
47197 * configure: Regenerated.
47198 * config.make.in (config-extra-cflags): New variable,
47199 gets @libc_extra_cflags@.
47200 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47203 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47204 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47205 * configure: Regenerated.
47206 * config.make.in (CPPUNDEFS): New substituted variable.
47207 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47208 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47209 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47211 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47213 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47214 (mq_attr): Use __syscall_slong_t.
47216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47218 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47219 Check __x86_64__ instead of __WORDSIZE.
47220 (_STAT_VER_LINUX): Likewise.
47221 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47222 __syscall_ulong_t and __syscall_slong_t.
47223 (stat64): Likewise.
47225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47227 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47229 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47231 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47233 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47235 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47238 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47239 include <bits/wordsize.h>. Check __x86_64__ instead of
47241 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47243 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47246 include <bits/wordsize.h>. Check __x86_64__ instead of
47248 (user_regs_struct): Use "__extension__ unsigned long long"
47249 instead of "unsigned long" if __x86_64__ is defined.
47250 (user): Likewise. Pad after pointer field if __ILP32__ is
47253 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47255 * configure.in (makeinfo): Require version 4.5 or later. Allow
47257 * configure: Regenerated.
47258 * manual/install.texi (texinfo): Increase version requirement to
47260 * INSTALL: Regenerated.
47262 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47266 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47268 * sysdeps/x86_64/x32/ffs.c: New file.
47270 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47272 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47273 defined. Use __syscall_ulong_t.
47274 (shminfo): Use __syscall_ulong_t.
47275 (shm_info): Likewise.
47277 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47280 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47282 (msgqnum_t): Use __syscall_ulong_t.
47283 (msglen_t): Likewise.
47284 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47287 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47290 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47292 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47293 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47295 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47298 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47299 include <bits/wordsize.h>. Check __x86_64__ instead of
47302 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47303 "unsigned long long int" if __x86_64__ is defined.
47304 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47306 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47307 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47308 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47310 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47312 (GET_PC): Cast to uintptr_t first.
47313 (GET_FRAME): Likewise.
47314 (GET_STACK): Likewise.
47316 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47317 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47318 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47320 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47322 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47323 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47324 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47325 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47326 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47329 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47331 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47336 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47337 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47338 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47339 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47340 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47341 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47342 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47346 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47348 * Makerules (+depfiles): Also collect depfiles from .oS in
47350 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47351 .oS, $(libnldbl-routines)).
47353 * Makerules (native-compile-mkdep-flags): Define.
47354 * sunrpc/Makefile (extra-objs): Add $(addprefix
47355 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47356 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47357 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47358 calling $(make-target-directory).
47360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47362 * bits/types.h (__snseconds_t): Removed.
47363 * time/time.h (struct timespec): Replace __snseconds_t with
47365 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47366 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47369 (__SNSECONDS_T_TYPE): Likewise.
47370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47371 (__SNSECONDS_T_TYPE): Likewise.
47372 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47373 (__SNSECONDS_T_TYPE): Likewise.
47375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47377 * sysdeps/mach/hurd/bits/typesizes.h
47378 (__SYSCALL_SLONG_TYPE): New macro.
47379 (__SYSCALL_ULONG_TYPE): Likewise.
47381 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47383 * bits/types.h (__syscall_slong_t): New type.
47384 (__syscall_ulong_t): Likewise.
47386 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47387 (__SYSCALL_ULONG_TYPE): Likewise.
47388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47389 (__SYSCALL_SLONG_TYPE): Likewise.
47390 (__SYSCALL_ULONG_TYPE): Likewise.
47391 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47392 (__SYSCALL_SLONG_TYPE): Likewise.
47393 (__SYSCALL_ULONG_TYPE): Likewise.
47394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47395 (__SYSCALL_SLONG_TYPE): Likewise.
47396 (__SYSCALL_ULONG_TYPE): Likewise.
47398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47400 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47401 Add sigaltstack-offsets.sym.
47402 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47403 <sigaltstack-offsets.h>.
47404 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47405 longjmp_msg pointer.
47406 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47407 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47409 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47411 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47413 * elf/stackguard-macros.h: Remove file.
47414 * sysdeps/generic/stackguard-macros.h: New file.
47415 * sysdeps/i386/stackguard-macros.h: Likewise.
47416 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47417 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47418 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47419 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47420 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47421 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47422 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47423 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47424 <elf/stackguard-macros.h>.
47427 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47428 __aligned__ in attribute.
47429 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47430 (gregset_t): Likewise.
47432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47434 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47435 * sysdeps/x86_64/64/Implies-after: Here. New file.
47436 * sysdeps/x86_64/x32/Implies-after: New file.
47438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47440 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47441 and access return value for _dl_profile_fixup. Use R10_LP to
47444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47446 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47450 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47451 * sysdeps/x86_64/x32/sysdep.h: New file.
47453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47455 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47456 * sysdeps/x86_64/setjmp.S: Likewise.
47458 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47460 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47462 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47463 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47464 remove unused global constant.
47466 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47468 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47469 include of <not-cancel.h>.
47471 2012-05-15 Roland McGrath <roland@hack.frob.com>
47473 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47475 2012-05-15 Jeff Law <law@redhat.com>
47476 Andreas Jaeger <aj@suse.de>
47479 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47481 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47482 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47483 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47484 code changing __hst_map_handle.map.
47486 2012-05-15 Roland McGrath <roland@hack.frob.com>
47488 * configure.in (sysnames): Look for Implies-before and Implies-after
47490 * configure: Regenerated.
47492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47494 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47495 8-byte data alignment with LP_SIZE alignment.
47497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47499 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47504 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47508 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47509 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47510 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47512 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47516 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47517 (stackinfo_sub_sp): Likewise.
47519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47521 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47536 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47540 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47541 into R11_LP and load __x86_64_shared_cache_size_half into
47544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47546 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47549 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47551 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47553 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47557 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47558 powerpc32/power7/fpu/s_logb.c via #include.
47559 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47560 powerpc32/power7/fpu/s_logbf.c via #include.
47561 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47562 powerpc32/power7/fpu/s_logbl.c via #include.
47564 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47566 * README.libm: Remove file.
47568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47570 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47571 count for x32. Use R*_LP and omit operand-size suffix.
47573 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47575 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47576 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47577 * sysdeps/x86_64/x32/shlib-versions: New file.
47579 2012-05-14 Roland McGrath <roland@hack.frob.com>
47581 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47582 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47583 Use _dl_fatal_printf instead.
47585 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47587 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47588 set if not set by the user. Do not allow for being unset.
47589 * sysdeps/unix/sysv/linux/configure: Regenerated.
47591 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47593 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47594 the `q' suffix from lea and replace .quad with ASM_ADDR.
47596 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47599 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47601 (PTR_DEMANGLE): Likewise.
47603 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47605 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47607 (ASM_ADDR): Likewise.
47608 (RAX_LP): Likewise.
47609 (RBP_LP): Likewise.
47610 (RBX_LP): Likewise.
47611 (RCX_LP): Likewise.
47612 (RDI_LP): Likewise.
47613 (RSI_LP): Likewise.
47614 (RSP_LP): Likewise.
47617 (R10_LP): Likewise.
47618 (R10_LP): Likewise.
47619 (R11_LP): Likewise.
47620 (R12_LP): Likewise.
47621 (R13_LP): Likewise.
47622 (R14_LP): Likewise.
47623 (R15_LP): Likewise.
47625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47627 * sysdeps/x86_64/x32/dl-machine.h: New file.
47629 2012-05-14 Andreas Jaeger <aj@suse.de>
47631 * manual/Makefile (subdir): Remove export of subdir.
47632 (all): Remove target.
47633 (.PHONY): Remove all from list.
47634 (mkinstalldirs): Remove.
47635 (.PHONY): Remove installdirs from list.
47636 ($(inst_infodir)/libc.info): Use make-target-directory.
47637 (installdirs): Remove.
47638 (subdir_%): Remove.
47639 (glibc-targets): Remove.
47642 ($(objpfx)stubs ../po/manual.pot): Remove.
47643 ($(objpfx)stamp%): Remove.
47644 (make-target-directory): Remove.
47645 (subdir_install): Remove.
47646 (routines): Remove.
47653 * manual/.gitignore: Remove, it's not needed anymore.
47654 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47656 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47658 (texis): Renamed to $(objpfx)texis.
47659 (texis-path): New, contains path to generated files.
47660 (chapters.%): Use texis-path for complete path, add extra argument
47662 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47663 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47664 (summary,texi, stamp-summary): Use complete path of
47665 files. Generate files in build dir.
47666 (dir-add.texi): Build in build dir.
47667 (libm-err.texi,stamp-libm-err): Likewise.
47668 (version.texi, stamp-version): Likewise.
47669 (.%c.texi): Likewise.
47670 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47671 (mostlyclean): Remove target.
47672 (realclean): Remove target.
47673 (generated): Add new variable with contents from mostlyclean and
47674 realclean, remove entries duplicated in common-mostlyclean, add
47675 stamp-libm-err and stamp-version.
47676 (generated-dirs): Add libc directory.
47677 ($(inst_infodir)/libc.info): Install files from build dir.
47679 * manual/install.texi (Configuring and compiling): Adjust since
47680 the info files are not part of the tar ball anymore.
47682 2012-05-14 Andreas Jaeger <aj@suse.de>
47684 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47687 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47690 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47691 to 2.2.0 where earlier.
47692 * sysdeps/unix/sysv/linux/configure: Regenerated.
47693 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47694 Remove conditional code.
47695 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47696 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47697 Remove conditional code.
47698 [!__NR_lchown]: Likewise.
47699 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47700 [__NR_lchown]: Likewise.
47701 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47702 comment referencing __ASSUME_LCHOWN_SYSCALL.
47703 * sysdeps/unix/sysv/linux/i386/sigaction.c
47704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47706 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47707 Remove conditional code.
47708 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47709 (__protocol_available): Remove #if 0 code.
47710 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47712 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47713 * sysdeps/unix/sysv/linux/kernel-features.h
47714 (__ASSUME_GETCWD_SYSCALL): Don't define.
47715 (__ASSUME_REALTIME_SIGNALS): Likewise.
47716 (__ASSUME_PREAD_SYSCALL): Likewise.
47717 (__ASSUME_PWRITE_SYSCALL): Likewise.
47718 (__ASSUME_POLL_SYSCALL): Likewise.
47719 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47720 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47722 (__ASSUME_SIOCGIFNAME): Don't define.
47723 (__ASSUME_MSG_NOSIGNAL): Likewise.
47724 (__ASSUME_SENDFILE): Define unconditionally.
47725 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47726 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47728 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47729 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47730 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47731 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47732 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47733 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47734 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47739 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47745 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47751 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47752 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47757 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47759 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47760 Remove conditional code.
47761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47762 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47763 Remove conditional code.
47764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47765 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47766 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47767 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47768 Remove conditional code.
47769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47770 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47771 Remove conditional code.
47772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47773 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47774 Remove conditional code.
47775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47776 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47777 Remove conditional code.
47778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47779 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47780 Remove conditional code.
47781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47782 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47783 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47784 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47785 * sysdeps/unix/sysv/linux/sigaction.c
47786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47788 * sysdeps/unix/sysv/linux/sigpending.c
47789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47791 * sysdeps/unix/sysv/linux/sigprocmask.c
47792 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47793 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47794 * sysdeps/unix/sysv/linux/sigsuspend.c
47795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47797 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47798 (__libc_missing_rt_sigs): Remove.
47799 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47800 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47801 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47802 Remove conditional code.
47803 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47804 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47807 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47808 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47809 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47811 2012-05-14 Andreas Jaeger <aj@suse.de>
47813 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47814 it's not used in glibc.
47815 (__coshm1): Likewise.
47816 (__acosh1p): Likewise.
47819 * manual/string.texi (Copying and Concatenation): Add missing
47820 variable in concat example.
47821 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47826 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47827 __builtin_clzl with __builtin_clzll.
47829 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47832 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47835 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47837 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47838 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47839 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47840 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47842 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47844 * NEWS: Update ia64 info.
47846 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47848 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47851 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47853 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47854 * sysdeps/unix/syscalls.list (dup3): Likewise.
47855 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47856 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47858 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47860 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47861 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47863 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47865 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47867 (TLS_IE): Use mov/add instead of movq/addq to load thread
47869 (TLS_GD_PREFIX): New.
47872 2012-05-11 David S. Miller <davem@davemloft.net>
47874 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47875 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47876 (_FPU_SETCW): Likewise.
47878 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47880 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47881 is 32-byte aligned.
47883 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47886 * iconvdata/gb18030.c: Update tables.
47887 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47888 characters specially.
47889 (BODY for TO_LOOP): Add encoding of missing ranges.
47891 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47894 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47895 * sysdeps/mach/hurd/dup3.c: Likewise.
47896 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47897 * sysdeps/powerpc/memmove.c:: Likewise.
47899 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47902 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47904 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47906 * elf/elf.h (R_X86_64_RELATIVE64): New.
47907 (R_X86_64_NUM): Updated.
47908 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47909 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47910 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47911 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47912 tst-quad1pie tst-quad2pie
47913 (modules-names): Add tst-quadmod1 tst-quadmod2.
47914 ($(objpfx)tst-quad1): New dependency.
47915 ($(objpfx)tst-quad2): Likewise.
47916 ($(objpfx)tst-quad1pie): Likewise.
47917 ($(objpfx)tst-quad2pie): Likewise.
47918 * sysdeps/x86_64/tst-quad1.c: New file.
47919 * sysdeps/x86_64/tst-quad1pie.c: New file.
47920 * sysdeps/x86_64/tst-quad2.c: Likewise.
47921 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47922 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47923 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47924 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47925 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47927 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47929 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47930 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47931 * streams/stropts.h (t_scalar_t): Define type.
47933 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47934 (_PATH_PRESERVE): Set to "/var/lib".
47935 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47937 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47940 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47941 if __dir_mkfile succeeded.
47943 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47944 checking for _hurd_dtablesize. Unlock it right after having
47945 finished _hurd_dtable allocation.
47947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47949 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47950 * sysdeps/mach/hurd/configure: Regenerated.
47951 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47952 special-casing to...
47953 * sysdeps/gnu/configure.in: ... this new file.
47954 * sysdeps/unix/sysv/linux/configure: Regenerated.
47955 * sysdeps/gnu/configure: New generated file.
47957 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47958 for Linux: use nsec instead of usec, as well as:
47959 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47960 members of type struct timespec.
47961 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47963 (struct stat64): Likewise.
47964 (_STATBUF_ST_NSEC): New macro.
47965 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47967 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47968 __strtoul_internal rather than strtoul.
47970 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47972 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47977 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47978 which preserves existing values.
47979 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47981 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47983 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47984 TIMEOUT values. Return EINVAL for NFDS values either negative or
47985 greater than FD_SETSIZE.
47987 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47989 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47990 allocated, call __vm_protect to finish enabling the existing space, and
47991 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47992 allocate the remainder.
47994 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47996 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47997 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48001 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48002 sysdeps/mach/hurd/readlink.c.
48004 * posix/tst-sysconf.c (posix_options): Only use
48005 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48006 _POSIX_SYNCHRONIZED_IO when they are defined
48007 * sysdeps/mach/hurd/bits/posix_opt.h:
48008 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48009 (_XOPEN_REALTIME): Undefine macro.
48010 (_XOPEN_REALTIME_THREADS): Undefine macro.
48011 (_XOPEN_SHM): Undefine macro.
48012 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48014 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48016 (_POSIX_ASYNC_IO): Undefine macro.
48017 (_POSIX_PRIORITIZED_IO): Undefine macro.
48018 (_POSIX_SPIN_LOCKS): Define macro to -1.
48020 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48021 SA_NODEFER, SA_RESETHAND.
48022 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48023 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48026 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48028 * elf/Makefile (pldd-modules): Define unconditionally.
48030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48032 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48034 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48036 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48037 Return ENOENT when name is empty.
48038 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48040 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48042 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48044 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48046 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48048 Fix mlock in all cases except non-readable pages.
48049 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48050 instead of VM_PROT_ALL as parameter to __vm_wire function.
48052 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48053 (__mkdir): When path is `/', just fail with EEXIST.
48054 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48056 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48058 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48059 <sys/uio.h> (for writev).
48060 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48061 and <sys/param.h> (for MIN).
48063 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48065 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48066 REQUESTED_TIME. Properly set the remaining time and return EINTR
48069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48071 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48072 Depend on against $(link-rpcuserlibs).
48074 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48076 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48077 (__libc_stack_end): Do not use attribute_relro.
48078 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48079 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48080 to libthread-provided value.
48081 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48084 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48087 * bits/libc-lock.h (__libc_once_get): New macro.
48088 * sysdeps/mach/bits/libc-lock.h: Likewise.
48089 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48090 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48091 instead of using implementation details.
48093 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48094 * libio/freopen.c: Likewise.
48095 * libio/freopen64.c: Likewise.
48096 * misc/syslog.c: Likewise.
48097 * nscd/connections.c: Likewise.
48098 * nscd/netgroupcache.c: Likewise.
48099 * sysdeps/posix/getcwd.c: Likewise.
48101 2012-05-10 Roland McGrath <roland@hack.frob.com>
48103 * math/w_ilogbf.c: Add #include <limits.h>.
48105 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48107 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48108 path instead of returning without unlocking.
48110 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48111 immediate-write ioctls.
48112 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48114 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48116 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48117 __builtin_frame_address instead of making assumptions about the
48118 location of the return address relative to DATA. Force early load of
48119 the return address.
48120 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48121 __builtin_frame_address.
48124 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48125 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48126 implement dup3 and do some further code clean-ups.
48127 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48128 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48132 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48134 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48135 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48136 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48137 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48138 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48141 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48142 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48143 when handler == SIG_ERR, not when handler != SIG_ERR.
48145 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48147 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48148 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48151 accept4 for GNU Hurd.
48152 * include/sys/socket.h (__libc_accept4): New prototype.
48153 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48154 to implement __libc_accept4.
48155 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48157 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48159 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48160 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48161 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48162 signal-defines.sym.
48164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48166 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48168 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48170 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48171 assertion on O_CLOEXEC flag.
48172 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48173 * hurd/intern-fd.c: Likewise.
48174 * hurd/port2fd.c: Likewise.
48176 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48179 * bits/in.h (IPV6_PKTINFO): Define new macro.
48180 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48182 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48189 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48190 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48192 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48193 * math/libm-test.inc (logb_test) : Additional logb tests.
48195 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48196 Andreas Jaeger <aj@suse.de>
48198 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48199 * configure: Regenerated.
48200 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48201 * config.make.in (link-obsolete-rpc): New substituted variable.
48202 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48203 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48204 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48205 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48206 so that libc.a contains the symbols.
48207 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48208 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48209 * sunrpc/auth_none.c: Likewise.
48210 * sunrpc/auth_unix.c: Likewise.
48211 * sunrpc/authdes_prot.c: Likewise.
48212 * sunrpc/authuxprot.c: Likewise.
48213 * sunrpc/clnt_gen.c: Likewise.
48214 * sunrpc/clnt_perr.c: Likewise.
48215 * sunrpc/clnt_raw.c: Likewise.
48216 * sunrpc/clnt_simp.c: Likewise.
48217 * sunrpc/clnt_tcp.c: Likewise.
48218 * sunrpc/clnt_udp.c: Likewise.
48219 * sunrpc/clnt_unix.c: Likewise.
48220 * sunrpc/des_crypt.c: Likewise.
48221 * sunrpc/des_soft.c: Likewise.
48222 * sunrpc/get_myaddr.c: Likewise.
48223 * sunrpc/key_call.c: Likewise.
48224 * sunrpc/key_prot.c: Likewise.
48225 * sunrpc/netname.c: Likewise.
48226 * sunrpc/pm_getmaps.c: Likewise.
48227 * sunrpc/pm_getport.c: Likewise.
48228 * sunrpc/pmap_clnt.c: Likewise.
48229 * sunrpc/pmap_prot.c: Likewise.
48230 * sunrpc/pmap_prot2.c: Likewise.
48231 * sunrpc/pmap_rmt.c: Likewise.
48232 * sunrpc/publickey.c: Likewise.
48233 * sunrpc/rpc_cmsg.c: Likewise.
48234 * sunrpc/rpc_common.c: Likewise.
48235 * sunrpc/rpc_dtable.c: Likewise.
48236 * sunrpc/rpc_prot.c: Likewise.
48237 * sunrpc/rpc_thread.c: Likewise.
48238 * sunrpc/rtime.c: Likewise.
48239 * sunrpc/svc.c: Likewise.
48240 * sunrpc/svc_auth.c: Likewise.
48241 * sunrpc/svc_raw.c: Likewise.
48242 * sunrpc/svc_run.c: Likewise.
48243 * sunrpc/svc_tcp.c: Likewise.
48244 * sunrpc/svc_udp.c: Likewise.
48245 * sunrpc/svc_unix.c: Likewise.
48246 * sunrpc/svcauth_des.c: Likewise.
48247 * sunrpc/xcrypt.c: Likewise.
48248 * sunrpc/xdr.c: Likewise.
48249 * sunrpc/xdr_array.c: Likewise.
48250 * sunrpc/xdr_float.c: Likewise.
48251 * sunrpc/xdr_intXX_t.c: Likewise.
48252 * sunrpc/xdr_mem.c: Likewise.
48253 * sunrpc/xdr_rec.c: Likewise.
48254 * sunrpc/xdr_ref.c: Likewise.
48255 * sunrpc/xdr_sizeof.c: Likewise.
48256 * sunrpc/xdr_stdio.c: Likewise.
48258 2012-05-10 Roland McGrath <roland@hack.frob.com>
48260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48261 change. Update copyright years.
48263 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48265 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48267 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48268 Joseph Myers <joseph@codesourcery.com>
48269 Paul Pluzhnikov <ppluzhnikov@google.com>
48272 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48274 [cross-compiling] (extra-libs): Likewise.
48275 [cross-compiling] (extra-libs-others): Likewise.
48276 [cross-compiling] (librpcsvc-routines): Likewise.
48277 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48278 [cross-compiling] (omit-deps): Likewise.
48279 (sunrpc-CPPFLAGS): New variable.
48280 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48281 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48282 (cross-rpcgen-objs): New variable.
48283 (extra-objs): Append $(cross-rpcgen-objs).
48284 ($(cross-rpcgen-objs)): New rule.
48285 ($(objpfx)cross-rpcgen): Likewise.
48286 (rpcgen-cmd): Define to use $(built-program-file). Expand
48288 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48289 ($(objpfx)x%.stmp): Likewise.
48290 * sunrpc/proto.h [IS_IN_build] (_): Define.
48291 [IS_IN_build] (_libc_intl_domainname): Likewise.
48293 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48296 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48297 and R_X86_64_TPOFF64.
48299 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48301 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48302 sysdeps/unix/sysv/syscalls.list.
48305 * sysdeps/unix/sysv/syscalls.list: Remove file.
48307 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48310 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48311 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48312 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48313 (__LC_IDENTIFICATION): Make these macros useful in #if
48314 expressions, as required by C99.
48316 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48318 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48319 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48322 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48324 * stdlib/longlong.h: Updated from GCC.
48326 2012-05-09 Andreas Jaeger <aj@suse.de>
48328 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48329 default is first entry.
48330 (run_mode): Set type.
48331 (main): Remove informal message about syslog.
48332 (options): Fix typo.
48335 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48338 (llrintf): Likewise.
48339 (llrint): Likewise.
48342 (nearbyint): Likewise.
48343 (nearbyintf): Likewise.
48345 2012-05-09 Andreas Jaeger <aj@suse.de>
48346 Pedro Alves <palves@redhat.com>
48348 * nscd/nscd.c (run_mode): Use enum.
48349 (main): Cleanup coding style issue.
48351 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48352 Andreas Jaeger <aj@suse.de>
48354 * nscd/nscd.c (go_background): Replaced with...
48355 (run_mode): ... this.
48356 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48357 (options): Add -F --foreground.
48358 (main): Implement it.
48359 (parse_opt): Parse it.
48361 2012-05-09 Andreas Jaeger <aj@suse.de>
48364 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48365 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48366 -Wconversion warning.
48367 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48370 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48372 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48374 (LC_ALL): Use macro-int-constant.
48375 (LC_COLLATE): Likewise.
48376 (LC_CTYPE): Likewise.
48377 (LC_MESSAGES): Likewise.
48378 (LC_MONETARY): Likewise.
48379 (LC_NUMERIC): Likewise.
48380 (LC_TIME): Likewise.
48381 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48382 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48384 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48386 [C99-based standards] (float_t): Expect type.
48387 [C99-based standards] (double_t): Expect type.
48388 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48390 [C99-based standards] (HUGE_VALL): Likewise.
48391 [C99-based standards] (INFINITY): Likewise.
48392 [C99-based standards] (NAN): Likewise.
48393 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48394 [C99-based standards] (FP_NAN): Likewise.
48395 [C99-based standards] (FP_NORMAL): Likewise.
48396 [C99-based standards] (FP_SUBNORMAL): Likewise.
48397 [C99-based standards] (FP_ZERO): Likewise.
48398 [C99-based standards] (FP_FAST_FMA): Use
48399 optional-macro-int-constant. Specify type. Require == 1.
48400 [C99-based standards] (FP_FAST_FMAF): Likewise.
48401 [C99-based standards] (FP_FAST_FMAL): Likewise.
48402 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48403 [C99-based standards] (FP_ILOGBNAN): Likewise.
48404 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48406 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48407 [C99-based standards] (math_errhandling): Specify type.
48408 [ISO99 || ISO11] (signgam): Do not allow.
48409 [non-C99-based standards] (copysignf): Do not allow.
48410 [non-C99-based standards] (exp2f): Likewise.
48411 [non-C99-based standards] (log2f): Likewise.
48412 [non-C99-based standards] (modff): Allow.
48413 [non-C99-based standards] (erff): Do not allow.
48414 [non-C99-based standards] (erfcf): Likewise.
48415 [non-C99-based standards] (gammaf): Likewise.
48416 [non-C99-based standards] (hypotf): Likewise.
48417 [non-C99-based standards] (j0f): Likewise.
48418 [non-C99-based standards] (j1f): Likewise.
48419 [non-C99-based standards] (jnf): Likewise.
48420 [non-C99-based standards] (lgammaf): Likewise.
48421 [non-C99-based standards] (tgammaf): Likewise.
48422 [non-C99-based standards] (y0f): Likewise.
48423 [non-C99-based standards] (y1f): Likewise.
48424 [non-C99-based standards] (ynf): Likewise.
48425 [non-C99-based standards] (isnanf): Likewise.
48426 [non-C99-based standards] (acoshf): Likewise.
48427 [non-C99-based standards] (asinhf): Likewise.
48428 [non-C99-based standards] (atanhf): Likewise.
48429 [non-C99-based standards] (cbrtf): Likewise.
48430 [non-C99-based standards] (expm1f): Likewise.
48431 [non-C99-based standards] (ilogbf): Likewise.
48432 [non-C99-based standards] (log1pf): Likewise.
48433 [non-C99-based standards] (logbf): Likewise.
48434 [non-C99-based standards] (nextafterf): Likewise.
48435 [non-C99-based standards] (remainderf): Likewise.
48436 [non-C99-based standards] (rintf): Likewise.
48437 [non-C99-based standards] (scalbf): Likewise.
48438 [non-C99-based standards] (copysignl): Likewise.
48439 [non-C99-based standards] (exp2l): Likewise.
48440 [non-C99-based standards] (log2l): Likewise.
48441 [non-C99-based standards] (modfl): Allow.
48442 [non-C99-based standards] (erfl): Do not allow.
48443 [non-C99-based standards] (erfcl): Likewise.
48444 [non-C99-based standards] (gammal): Likewise.
48445 [non-C99-based standards] (hypotl): Likewise.
48446 [non-C99-based standards] (j0l): Likewise.
48447 [non-C99-based standards] (j1l): Likewise.
48448 [non-C99-based standards] (jnl): Likewise.
48449 [non-C99-based standards] (lgammal): Likewise.
48450 [non-C99-based standards] (tgammal): Likewise.
48451 [non-C99-based standards] (y0l): Likewise.
48452 [non-C99-based standards] (y1l): Likewise.
48453 [non-C99-based standards] (ynl): Likewise.
48454 [non-C99-based standards] (isnanl): Likewise.
48455 [non-C99-based standards] (acoshl): Likewise.
48456 [non-C99-based standards] (asinhl): Likewise.
48457 [non-C99-based standards] (atanhl): Likewise.
48458 [non-C99-based standards] (cbrtl): Likewise.
48459 [non-C99-based standards] (expm1l): Likewise.
48460 [non-C99-based standards] (ilogbl): Likewise.
48461 [non-C99-based standards] (log1pl): Likewise.
48462 [non-C99-based standards] (logbl): Likewise.
48463 [non-C99-based standards] (nextafterl): Likewise.
48464 [non-C99-based standards] (remainderl): Likewise.
48465 [non-C99-based standards] (rintl): Likewise.
48466 [non-C99-based standards] (scalbl): Likewise.
48467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48468 [non-C99-based standards] (FP_*): Do not allow.
48469 [C99-based standards] (FP_*): Change to
48470 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48471 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48473 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48474 (SIG_ERR): Likewise.
48475 [X/Open-based standards] (SIG_HOLD): Likewise.
48476 (SIG_IGN): Likewise.
48477 (SIGABRT): Use macro-int-constant. Specify type. Require
48479 (SIGFPE): Likewise.
48480 (SIGILL): Likewise.
48481 (SIGINT): Likewise.
48482 (SIGSEGV): Likewise.
48483 (SIGTER): Likewise.
48484 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48485 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48486 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48487 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48488 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48489 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48490 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48491 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48492 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48493 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48494 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48495 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48496 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48497 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48498 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48499 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48500 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48501 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48502 [X/Open-based standards] (SIGTRAP): Likewise.
48503 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48504 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48505 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48506 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48507 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48510 2012-05-08 Ian Wienand <ianw@vmware.com>
48513 * time/tzset.c (__tzset_parse_tz): Update default rules for
48514 daylight time changes in the Energy Policy Act of 2005.
48516 2012-05-09 Andreas Jaeger <aj@suse.de>
48519 * elf/ldconfig.c (parse_conf): Change string to make clear that
48520 ldconfig only issued a warning if ld.so.conf does not exist.
48522 2012-05-08 David S. Miller <davem@davemloft.net>
48524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48525 movxtod instead of popping the value on the stack.
48527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48529 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48531 * config.h.in: Add HAVE_ARM_PCS_VFP.
48533 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48536 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48537 checking but the checks are disabled for any reason.
48539 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48541 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48542 and ELF64_R_TYPE with ELFW(R_TYPE).
48544 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48546 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48547 (ulimit): Likewise.
48549 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48550 (settimeofday): Likewise.
48552 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48554 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48555 a struct th_u2 inside the union, and move tu_block/tu_code into
48556 a new th_u3 union of tu_block/tu_code inside of that. Move
48557 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48558 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48559 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48560 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48561 (th_stuff): Change to th_u1.tu_stuff.
48563 (th_msg): Change to th_u1.th_u2.tu_data.
48565 2012-05-07 David S. Miller <davem@davemloft.net>
48567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48570 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48571 (SETUP_PIC_REG): Use it.
48572 (SETUP_PIC_REG_LEAF): Use it.
48574 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48578 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48580 (EXPL_FINITE): Likewise.
48581 (FLDLOG): Likewise.
48582 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48583 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48585 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48587 (EXPL_FINITE): Likewise.
48588 (FLDLOG): Likewise.
48589 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48590 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48592 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48593 test of -max_value argument for long double.
48594 * sysdeps/i386/fpu/libm-test-ulps: Update.
48595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48597 2012-05-06 David S. Miller <davem@davemloft.net>
48599 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48600 quad soft-float symbols whose references which are compiler
48602 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48604 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48608 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48610 (EXPL_FINITE): Likewise.
48611 (FLDLOG): Likewise.
48614 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48615 Adjust comments for base varying.
48616 (__expl_finite): Change alias to EXPL_FINITE.
48617 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48619 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48620 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48622 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48623 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48625 (EXPL_FINITE): Likewise.
48626 (FLDLOG): Likewise.
48629 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48630 Adjust comments for base varying.
48631 (__expl_finite): Change alias to EXPL_FINITE.
48632 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48637 * math/libm-test.inc (check_float_internal): Correct ulp
48638 calculation for subnormal expected results.
48640 2012-05-06 Andreas Jaeger <aj@suse.de>
48642 * Makeconfig (+math-flags): New, set to -frounding-math.
48643 (+cflags): Add +math-flags so that all of glibc gets compiled with
48646 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48648 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48650 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48656 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48657 (__ieee754_expl): Allow for and saturate large arguments.
48658 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48659 (u_threshold): Likewise.
48660 (__exp): Call __ieee754_exp before checking for overflow and
48662 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48663 (u_threshold): Likewise.
48664 (__expf): Call __ieee754_expf before checking for overflow and
48666 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48667 (u_threshold): Likewise.
48668 (__expl): Call __ieee754_expl before checking for overflow and
48670 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48671 (__ieee754_expl): Allow for and saturate large arguments.
48672 * math/libm-test.inc (exp_test): Add another test. Do not allow
48673 missing overflow exception on overflow.
48674 (expm1_test): Do not allow missing overflow exception on overflow.
48676 * sysdeps/i386/fpu/e_expl.c: Move to ...
48677 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48678 rather than using inline asm.
48679 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48680 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48681 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48683 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48686 (signal): Likewise.
48690 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48692 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48693 sysdeps/unix/common/syscalls.list.
48694 (fchmod): Likewise.
48695 (fchown): Likewise.
48696 (ftruncate): Likewise.
48697 (getrusage): Likewise.
48698 (gettimeofday): Likewise.
48699 (setpgid): Likewise.
48700 (setregid): Likewise.
48701 (setreuid): Likewise.
48702 (sigaction): Likewise.
48703 (truncate): Likewise.
48704 (vhangup): Likewise.
48705 * sysdeps/unix/common/syscalls.list: Remove file.
48706 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48707 * sysdeps/unix/sysv/linux/Implies: Likewise.
48709 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48711 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48713 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48717 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48720 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48723 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48726 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48729 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48732 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48735 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48739 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48743 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48746 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48750 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48754 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48756 * sysdeps/unix/common/bits/dirent.h: Remove file.
48757 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48759 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48760 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48761 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48762 * sysdeps/unix/bsd/isatty.c: Likewise.
48763 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48764 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48765 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48767 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48771 long double comparison inaccuracies.
48772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48775 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48777 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48780 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48784 nonzero digits before rounding a hex value.
48785 * stdlib/tst-strtod.c (tests): Add another test.
48787 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48789 * sysdeps/s390/fpu/libm-test-ulps: Update.
48791 2012-05-03 Andreas Jaeger <aj@suse.de>
48793 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48794 does not get optimized out.
48795 (malloc_opt_barrier): New.
48797 2012-05-03 Andreas Jaeger <aj@suse.de>
48798 Roland McGrath <roland@hack.frob.com>
48800 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48801 intermediate file deletion.
48802 (generated): Add .symlist files.
48804 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48807 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48808 Redirect under this condition.
48809 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48810 [__USE_GNU] (__dprintf_chk): Not under this condition.
48811 [__USE_GNU] (__vdprintf_chk): Likewise.
48812 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48813 under this condition.
48814 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48815 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48816 [__USE_XOPEN2K8] (vdprintf): Likewise.
48817 [__USE_GNU] (__dprintf_chk): Not under this condition.
48818 [__USE_GNU] (__vdprintf_chk): Likewise.
48819 [__USE_GNU] (dprintf): Likewise.
48820 [__USE_GNU] (vdprintf): Likewise.
48822 2012-05-03 Roland McGrath <roland@hack.frob.com>
48824 * elf/Makefile (common-generated): Set this instead of generated for
48825 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48826 $(all-built-dso)-derived lists.
48828 2012-05-03 Andreas Jaeger <aj@suse.de>
48830 * sysdeps/i386/fpu/libm-test-ulps: Update.
48833 * FAQ.in: Likewise.
48834 * scripts/gen-FAQ.pl: Likewise.
48835 * manual/install.texi (Installation): Point to online location of
48837 * Makefile (files-for-dist): Remove FAQ.
48840 2012-05-02 Allan McRae <allan@archlinux.org>
48842 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48843 (LDFLAGS-reldepmod5.so): Likewise.
48844 (LDFLAGS-reldep6mod1.so): Likewise.
48845 (LDFLAGS-reldep6mod4.so): Likewise.
48846 (LDFLAGS-reldep8mod3.so): Likewise.
48847 (LDFLAGS-unload4mod1.so): Likewise.
48848 (LDFLAGS-unload4mod2.so): Likewise.
48849 (LDFLAGS-tst-initorder): Likewise.
48850 (LDFLAGS-tst-initordera2.so): Likewise.
48851 (LDFLAGS-tst-initordera3.so): Likewise.
48852 (LDFLAGS-tst-initordera4.so): Likewise.
48853 (LDFLAGS-tst-initorderb2.so): Likewise.
48854 (LDFLAGS-noload): Likewise.
48855 (LDFLAGS-next): Likewise.
48856 (LDFLAGS-order2mod1.so): Likewise.
48857 (LDFLAGS-order2mod2.so): Likewise.
48858 (LDFLAGS-tst-initorder2): Likewise.
48859 (LDFLAGS-tst-initorder2a.so): Likewise.
48860 (LDFLAGS-tst-initorder2b.so): Likewise.
48861 (LDFLAGS-tst-initorder2c.so): Likewise.
48862 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48864 2012-05-02 David S. Miller <davem@davemloft.net>
48866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48868 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48871 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48873 2012-05-02 Andreas Jaeger <aj@suse.de>
48875 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48876 since we manipulate rounding mode.
48877 (CPPFLAGS-test-idouble.c): Likewise.
48878 (CPPFLAGS-test-ifloat.c): Likewise.
48879 (CFLAGS-test-ldouble.c): Likewise.
48880 (CFLAGS-test-double.c): Likewise.
48881 (CFLAGS-test-float.c): Likewise.
48882 (CFLAGS-test-misc.c): Likewise.
48883 (CFLAGS-test-test-fenv.c): Likewise.
48885 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48889 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48890 comparisons to determine direction to adjust input.
48892 2012-05-01 Roland McGrath <roland@hack.frob.com>
48894 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48895 output to the target.
48897 * scripts/localplt.awk: New file.
48898 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48899 (check-localplt-CFLAGS): Variable removed.
48900 ($(all-built-dso:=.jmprel)): New static pattern rule.
48901 (generated): Add those targets.
48902 (localplt-built-dso): New variable.
48903 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48905 * elf/check-localplt.c: File removed.
48907 * scripts/check-execstack.awk: New file.
48908 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48909 (check-execstack-CFLAGS): Variable removed.
48910 ($(objpfx)check-execstack.h): Target removed.
48911 ($(objpfx)execstack-default): New target.
48912 (generated): Add that instead of check-execstack.h.
48913 ($(all-built-dso:=.phdr)): New static pattern rule.
48914 (generated): Add those targets.
48915 * elf/check-execstack.c: File removed.
48917 * scripts/check-textrel.awk: New file.
48918 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48919 (check-textrel-CFLAGS): Variable removed.
48920 (all-built-dso): Use := to define.o
48921 ($(all-built-dso:=.dyn)): New static pattern rule.
48922 (generated): Add those targets.
48923 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48924 * config.make.in (READELF): New substituted variable.
48925 * elf/check-textrel.c: File removed.
48927 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48929 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48931 * conform/data/ctype.h-data [C99-based standards] (isblank):
48933 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48934 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48935 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48936 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48937 Specify type. Require positive value.
48938 (EILSEQ): Likewise.
48939 (ERANGE): Likewise.
48940 [ISO || POSIX] (EILSEQ): Do not expect.
48941 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48942 Specify type. Require positive value.
48943 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48944 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48945 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48946 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48947 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48948 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48949 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48950 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48951 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48952 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48953 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48954 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48955 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48956 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48957 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48958 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48959 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48960 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48961 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48962 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48963 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48964 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48965 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48966 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48967 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48968 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48969 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48970 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48971 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48972 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48973 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48974 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48975 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48976 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48977 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48978 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48979 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48980 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48981 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48982 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48983 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48984 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48985 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48986 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48987 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48988 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48989 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48990 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48991 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48992 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48993 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48994 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48995 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48996 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48997 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48998 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48999 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49000 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49001 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49002 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49003 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49004 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49005 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49006 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49007 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49008 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49009 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49010 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49011 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49012 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49013 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49014 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49015 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49016 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49017 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49018 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49019 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49021 (FLT_ROUNDS): Expect as macro, not constant.
49022 (FLT_MANT_DIG): Use macro-int-constant.
49023 (DBL_MANT_DIG): Likewise.
49024 (LDBL_MANT_DIG): Likewise.
49025 (FLT_DIG): Likewise.
49026 (DBL_DIG): Likewise.
49027 (LDBL_DIG): Likewise.
49028 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49029 (DBL_MIN_EXP): Likewise.
49030 (LDBL_MIN_EXP): Likewise.
49031 (FLT_MAX_EXP): Use macro-int-constant.
49032 (DBL_MAX_EXP): Likewise.
49033 (LDBL_MAX_EXP): Likewise.
49034 (FLT_MAX_10_EXP): Likewise.
49035 (DBL_MAX_10_EXP): Likewise.
49036 (LDBL_MAX_10_EXP): Likewise.
49037 (FLT_MAX): Use macro-constant.
49038 (DBL_MAX): Likewise.
49039 (LDBL_MAX): Likewise.
49040 (FLT_EPSILON): Use macro-constant. Give upper bound.
49041 (DBL_EPSILON): Likewise.
49042 (LDBL_EPSILON): Likewise.
49043 (FLT_MIN): Likewise.
49044 (DBL_MIN): Likewise.
49045 (LDBL_MIN): Likewise.
49046 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49047 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49048 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49049 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49050 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49051 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49052 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49053 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49054 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49055 [ISO11] (FLT_TRUE_MIN): Likewise.
49056 [ISO11] (LDBL_TRUE_MIN): Likewise.
49057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49058 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49059 (SCHAR_MIN): Use macro-int-constant. Specify type.
49060 (SCHAR_MAX): Likewise.
49061 (UCHAR_MAX): Likewise.
49062 (CHAR_MIN): Likewise.
49063 (CHAR_MAX): Likewise.
49064 (MB_LEN_MAX): Use macro-int-constant.
49065 (SHRT_MIN): Use macro-int-constant. Specify type.
49066 (SHRT_MAX): Likewise.
49067 (USHRT_MAX): Likewise.
49068 (INT_MAX): Likewise.
49069 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49071 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49073 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49075 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49076 bound negative. Suffix upper bound with "L".
49077 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49079 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49081 [C99-based standards] (LLONG_MAX): Likewise.
49082 [C99-based standards] (ULLONG_MAX): Likewise.
49083 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49085 [ISO11] (max_align_t): Require type.
49086 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49088 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49089 from $CFLAGS, without defining away __attribute__ calls.
49090 (checknamespace): Use $CFLAGS_namespace.
49092 * conform/conformtest.pl (@keywords): Only include C99 keywords
49093 for standards based on C99 or C11.
49095 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49097 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49100 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49101 usability of symbols in #if.
49103 * conform/conformtest.pl: If macro or constant types start
49104 "promoted:", expect the symbol to be of the following type
49105 promoted by the integer promotions.
49107 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49108 in one place. Also handle "macro-constant".
49110 * conform/conformtest.pl: Only accept expected macro values with
49111 "==". Parse all "macro" lines in one place.
49112 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49114 * conform/conformtest.pl: Handle braced types on "constant" lines
49115 instead of handling "typed-constant".
49116 * conform/data/signal.h-data: Use "constant" instead of
49119 * conform/conformtest.pl: Handle "optional-" at start of lines in
49120 one place rather than duplicating several cases. Handle each
49121 format of "macro" line with initial "optional-".
49123 * conform/conformtest.pl: Only accept expected constant or
49124 optional-constant values with "==". Parse all "constant" lines in
49125 one place. Parse all "optional-constant" lines in one place.
49126 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49127 * conform/data/fmtmsg.h-data: Likewise.
49128 * conform/data/netinet/in.h-data: Likewise.
49129 * conform/data/tar.h-data: Likewise.
49130 * conform/data/limits.h-data: Use "==" form on "constant" and
49131 "optional-constant" lines.
49133 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49134 Use -std=c99 for XOPEN2K.
49135 (@knownproblems): Remove.
49136 (newtoken): Don't check %isknown.
49138 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49139 Do not expect macro.
49140 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49141 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49142 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49143 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49144 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49145 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49146 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49147 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49148 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49149 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49150 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49151 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49152 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49153 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49154 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49155 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49156 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49157 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49158 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49159 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49160 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49161 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49162 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49163 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49164 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49165 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49166 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49167 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49168 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49169 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49170 [XPG3] (acosh): Likewise.
49171 [XPG3] (asinh): Likewise.
49172 [XPG3] (atanh): Likewise.
49173 [XPG3] (cbrt): Likewise.
49174 [XPG3] (expm1): Likewise.
49175 [XPG3] (ilogb): Likewise.
49176 [XPG3] (log1p): Likewise.
49177 [XPG3] (logb): Likewise.
49178 [XPG3] (nextafter): Likewise.
49179 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49180 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49181 [XPG3] (remainder): Likewise.
49182 [XPG3] (rint): Likewise.
49183 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49184 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49185 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49186 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49187 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49188 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49189 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49190 [UNIX98 || XOPEN2K] (scalb): Expect.
49191 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49192 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49193 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49194 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49195 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49196 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49197 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49198 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49199 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49200 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49201 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49202 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49203 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49204 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49205 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49206 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49207 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49208 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49209 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49210 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49211 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49212 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49213 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49214 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49215 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49216 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49217 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49218 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49219 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49220 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49221 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49222 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49223 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49224 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49225 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49226 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49227 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49228 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49229 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49230 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49231 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49232 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49233 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49234 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49235 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49236 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49237 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49238 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49239 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49240 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49241 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49242 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49243 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49244 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49245 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49246 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49247 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49248 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49249 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49250 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49251 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49252 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49253 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49254 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49255 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49256 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49257 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49258 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49259 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49260 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49261 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49262 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49263 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49264 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49265 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49266 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49267 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49268 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49269 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49270 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49271 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49272 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49273 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49274 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49275 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49276 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49277 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49278 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49279 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49280 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49281 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49282 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49283 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49284 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49285 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49286 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49287 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49288 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49289 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49290 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49291 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49292 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49293 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49294 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49295 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49296 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49297 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49298 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49299 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49300 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49301 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49302 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49303 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49304 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49305 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49306 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49307 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49308 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49309 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49310 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49311 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49312 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49313 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49314 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49315 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49316 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49317 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49318 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49319 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49320 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49321 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49322 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49323 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49324 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49325 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49326 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49327 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49329 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49330 _XOPEN_SOURCE_EXTENDED for XPG4.
49332 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49334 * Makeconfig (localtime): Remove variable.
49335 (inst_localtime-file): Likewise.
49337 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49358 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49362 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49363 comparisons to determine direction to adjust input.
49364 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49365 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49366 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49368 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49372 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49373 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49375 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49377 * math/libm-test.inc (nexttoward_test): Add more tests.
49379 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49383 in version GLIBC_2.1, not GLIBC_2.0.
49384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49387 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49390 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49393 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49394 * math/libm-test.inc (acos_test): Add more tests.
49395 (asin_test): Likewise.
49396 * sysdeps/i386/fpu/libm-test-ulps: Update.
49397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49400 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49402 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49403 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49404 * math/libm-test.inc (acos_test_tonearest): New function.
49405 (acos_test_towardzero): Likewise.
49406 (acos_test_downward): Likewise.
49407 (acos_test_upward): Likewise.
49408 (asin_test_tonearest): Likewise.
49409 (asin_test_towardzero): Likewise.
49410 (asin_test_downward): Likewise.
49411 (asin_test_upward): Likewise.
49412 (main): Call the new functions.
49413 * sysdeps/i386/fpu/libm-test-ulps: Update.
49414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49418 * math/e_exp10.c: Include <float.h>.
49419 (__ieee754_exp10): Handle underflow here rather than multiplying
49420 large negative argument by M_LN10.
49421 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49423 * math/e_exp10l.c: Include <float.h>.
49424 (__ieee754_exp10l): Handle underflow here rather than multiplying
49425 large negative argument by M_LN10l.
49426 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49427 spurious overflow exception on underflow.
49429 2012-04-29 Marek Polacek <polacek@redhat.com>
49431 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49432 (__fortify_function): New macro.
49433 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49434 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49435 __extern_always_inline.
49436 * libio/bits/stdio2.h: Likewise.
49437 * libio/bits/stdio.h: Likewise.
49438 * string/string.h: Likewise.
49439 * string/bits/string3.h: Likewise.
49440 * include/stdio.h: Likewise.
49441 * stdlib/bits/stdlib.h: Likewise.
49442 * stdlib/stdlib.h: Likewise.
49443 * rt/bits/mqueue2.h: Likewise.
49444 * rt/mqueue.h: Likewise.
49445 * posix/bits/unistd.h: Likewise.
49446 * posix/unistd.h: Likewise.
49447 * io/bits/poll2.h: Likewise.
49448 * io/bits/fcntl2.h: Likewise.
49449 * io/fcntl.h: Likewise.
49450 * io/sys/poll.h: Likewise.
49451 * misc/bits/syslog.h: Likewise.
49452 * misc/bits/syslog-ldbl.h: Likewise.
49453 * misc/sys/syslog.h: Likewise.
49454 * socket/bits/socket2.h: Likewise.
49455 * socket/sys/socket.h: Likewise.
49456 * debug/tst-chk1.c: Likewise.
49457 * wcsmbs/bits/wchar2.h: Likewise.
49458 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49459 * wcsmbs/wchar.h: Likewise.
49461 2012-04-29 Andreas Jaeger <aj@suse.de>
49463 * Makerules (tests): Remove enable-check-abi protection.
49464 (check-abi-warn): Remove.
49465 (check-abi-%): Remove check-abi-warn usage.
49467 * configure.in: Remove check-abi configure option.
49468 * configure: Regenerated.
49469 * config.make.in (enable-check-abi): Remove.
49471 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49474 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49475 double functions to double *_finite functions.
49478 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49479 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49481 * stdio-common/Makefile (tests): Add tst-sprintf3.
49482 * stdio-common/tst-sprintf3.c: New file.
49484 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49485 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49487 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49489 * conform/conformtest.pl: Remove duplicate typed-constant
49492 2012-04-28 David S. Miller <davem@davemloft.net>
49494 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49495 (check-abi-%): Remove AWK script prerequisite and explicit
49497 (check-abi): Rewrite to just diff the symlist with the abilist.
49498 (config-tls, config-abi-config): Delete, no longer used.
49499 (update-abi-%): Remove AWK script and explicit abilist directory.
49500 (update-abi): Rewrite to simply compare and conditionally copy the
49501 symlist and the sysdep abilist file. Remove update-abi-config
49503 * abilist/ld.abilist: Remove.
49504 * abilist/libBrokenLocale.abilist: Remove.
49505 * abilist/libanl.abilist: Remove.
49506 * abilist/libcrypt.abilist: Remove.
49507 * abilist/libdl.abilist: Remove.
49508 * abilist/librt.abilist: Remove.
49509 * abilist/libthread_db.abilist: Remove.
49510 * abilist/libutil.abilist: Remove.
49511 * scripts/extract-abilist.awk: Remove.
49512 * scripts/merge-abilist.awk: Remove.
49513 * sysdeps/generic/libcidn.abilist: New file.
49514 * sysdeps/generic/libnss_compat.abilist: New file.
49515 * sysdeps/generic/libnss_db.abilist: New file.
49516 * sysdeps/generic/libnss_dns.abilist: New file.
49517 * sysdeps/generic/libnss_files.abilist: New file.
49518 * sysdeps/generic/libnss_hesiod.abilist: New file.
49519 * sysdeps/generic/libnss_nis.abilist: New file.
49520 * sysdeps/generic/libnss_nisplus.abilist: New file.
49521 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49522 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49523 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49525 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49526 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49527 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49528 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49529 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49530 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49531 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49532 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49533 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49535 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49536 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49537 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49538 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49540 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49541 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49542 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49543 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49544 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49545 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49547 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49548 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49549 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49551 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49654 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49655 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49656 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49658 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49659 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49660 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49661 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49662 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49663 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49664 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49665 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49666 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49667 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49719 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49721 * conform/conformtest.pl: Fix typo in handling typed-constant from
49724 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49726 * README: Cut down references to pre-2.6 Linux kernels and
49727 Linuxthreads. Update lists of configurations in libc and ports
49728 and sort alphabetically. Say "or newer" with Linux kernel version
49731 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49733 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49736 * math/libm-test.inc (logb_test_downward): New test to expose
49737 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49740 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49743 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49745 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49746 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49748 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49750 * sysdeps/unix/i386/brk.S: Remove file.
49751 * sysdeps/unix/i386/dl-brk.S: Likewise.
49752 * sysdeps/unix/i386/pipe.S: Likewise.
49753 * sysdeps/unix/i386/sigreturn.S: Likewise.
49754 * sysdeps/unix/i386/syscall.S: Likewise.
49755 * sysdeps/unix/i386/vfork.S: Likewise.
49756 * sysdeps/unix/i386/wait.S: Likewise.
49758 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49759 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49761 * configure.in (arm*-none*): Do not allow without
49762 --enable-hacker-mode.
49763 (netbsd*): Remove case setting base_os.
49764 (386bsd*): Likewise.
49765 (freebsd*): Likewise.
49768 (sunos*): Likewise.
49769 (ultrix*): Likewise.
49770 (newsos*): Likewise.
49771 (dynix*): Likewise.
49777 (minix*): Likewise.
49778 (irix4*): Likewise.
49779 (irix6*): Likewise.
49780 (solaris[2-9]*): Likewise.
49782 * configure: Regenerated.
49784 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49787 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49788 overflow or cancellation in calculating denominator.
49789 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49791 down expression to avoid unexpected rounding in newer GCCs.
49792 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49794 2012-04-26 David S. Miller <davem@davemloft.net>
49796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49797 long-double compat symbols.
49798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49812 2012-04-25 David S. Miller <davem@davemloft.net>
49814 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49815 HWCAP_* values only after the memory barriers have been defined.
49816 (atomic_full_barrier): Define.
49817 (atomic_read_barrier): Define.
49818 (atomic_write_barrier): Define.
49820 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49822 * shlib-versions: Add libgcc_s version information.
49823 * sysdeps/generic/libgcc_s.h: Remove.
49824 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49826 * sysdeps/gnu/unwind-resume.c: Likewise.
49827 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49829 2012-04-25 David S. Miller <davem@davemloft.net>
49831 * sysdeps/unix/sparc/brk.S: Delete.
49832 * sysdeps/unix/sparc/dl-brk.S: Delete.
49833 * sysdeps/unix/sparc/pipe.S: Delete.
49834 * sysdeps/unix/sparc/sysdep.S: Delete.
49835 * sysdeps/unix/sparc/sysdep.h: Delete.
49836 * sysdeps/unix/sparc/vfork.S: Delete.
49837 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49838 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49839 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49840 (ret_ERRVAL, r0, r1, MOVE): Define.
49841 (JUMPTARGET): Remove.
49842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49843 sysdeps/unix/sparc/sysdep.h
49844 (ENTRY, END): Remove.
49845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49847 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49849 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49850 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49853 * timezone/README: Update upstream location and email address for
49855 * timezone/zdump.c: Update from tzcode 2012b.
49856 * timezone/zic.c: Likewise.
49858 * configure.in (libc_cv_as_needed): Remove test.
49859 * configure: Regenerated.
49860 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49861 conditional definition.
49862 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49863 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49864 * config.make.in (have-as-needed): Remove variable.
49866 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49867 Paul Pluzhnikov <ppluzhnikov@google.com>
49869 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49872 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49874 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49875 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49876 * sysdeps/sh/strlen.S: Likewise.
49878 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49880 * sysdeps/unix/fork.S: Remove file.
49881 * sysdeps/unix/i386/fork.S: Likewise.
49882 * sysdeps/unix/sparc/fork.S: Likewise.
49884 * sysdeps/unix/system.c: Remove file.
49885 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49887 * sysdeps/unix/getegid.S: Remove file.
49888 * sysdeps/unix/geteuid.S: Likewise.
49890 2012-04-24 Roland McGrath <roland@hack.frob.com>
49892 * scripts/check-localplt.awk: New file.
49893 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49895 * scripts/data/localplt-generic.data: Add a comment.
49897 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49898 NODE when __dir_mkfile failed.
49899 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49900 Reported by Ludovic Courtès <ludo@gnu.org>.
49902 2012-04-24 Andreas Jaeger <aj@suse.de>
49904 * Makerules (common-clean): Also remove gen-as-const-headers
49907 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49909 * Makerules (native-compile): Do not change working directory for
49910 build. Use $(OUTPUT_OPTION) in command.
49911 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49913 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49916 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49917 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49918 * math/libm-test.inc (floor_test): Add more tests.
49919 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49923 * sysdeps/unix/getdents.c: Remove file.
49924 * sysdeps/unix/sysv/getdents.c: Likewise.
49925 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49927 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49928 sysdeps/unix/mman/syscalls.list.
49930 (mprotect): Likewise.
49932 (munmap): Likewise.
49933 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49934 * sysdeps/unix/mman/syscalls.list: Remove.
49935 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49937 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49938 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49939 * configure: Regenerated.
49940 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49941 $(libgcc_s_suffix).
49942 * config.make.in (libgcc_s_suffix): Remove variable.
49944 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49946 * sysdeps/unix/sysv/gethostname.c: Move to ...
49947 * sysdeps/posix/gethostname.c: ... here.
49949 * sysdeps/unix/execve.S: Remove file.
49951 * sysdeps/unix/_exit.S: Remove file.
49953 2012-04-23 Andreas Jaeger <aj@suse.de>
49956 * manual/Makefile: Remove make dist support, there's no
49957 need for a stand-alone documentation tar ball.
49958 (TEXI2DVI): Define always, it's not in Makeconfig.
49961 (edition): Removed.
49962 (glibc-doc-$(edition).tar): Removed
49966 (ETAGS): Remove, it's in Makeconfig.
49967 (move-if-change): Remove, it's in Makeconfig.
49969 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49972 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49973 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49974 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49975 (strtod_l, strtof_l, strtold_l): Remove __wur.
49976 It is not necessarily an error to ignore strtol's return value.
49977 One can reliably look at the stored endptr to decide whether
49978 the number had valid syntax.
49980 2012-04-21 Andreas Jaeger <aj@suse.de>
49983 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49985 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49987 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49988 * sysdeps/unix/sysv/Versions: Remove file.
49990 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49995 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49999 version from __vm86.
50001 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50003 * sysdeps/unix/common/lxstat.c: Remove file.
50004 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50006 * sysdeps/unix/sysv/Makefile: Remove file.
50008 * sysdeps/unix/sysv/direct.h: Remove file.
50010 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50011 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50012 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50013 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50014 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50015 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50016 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50018 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50020 * sysdeps/unix/xmknod.c: Remove file.
50021 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50023 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50025 * sysdeps/unix/sysv/i386/time.S: Remove file.
50027 * sysdeps/unix/fxstat.c: Remove file.
50028 * sysdeps/unix/xstat.c: Likewise.
50029 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50031 * sysdeps/unix/sysv/sigaction.c: Remove file.
50033 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50034 (sysdep_headers): Remove variable.
50035 [termio.h not in sysdep_headers] (generated): Likewise.
50036 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50037 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50038 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50039 * sysdeps/unix/sysv/tcflow.c: Likewise.
50040 * sysdeps/unix/sysv/tcflush.c: Likewise.
50041 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50042 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50043 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50044 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50045 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50047 * sysdeps/unix/siglist.c: Remove file.
50049 * sysdeps/unix/getppid.S: Remove file.
50051 * sysdeps/unix/mkdir.c: Remove file.
50052 * sysdeps/unix/rmdir.c: Likewise.
50054 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50056 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50058 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50059 errlist-compat value.
50061 2012-04-18 David S. Miller <davem@davemloft.net>
50063 * sysdeps/generic/memcopy.h (reg_char): Delete.
50064 * debug/strcat_chk.c: Use char, not reg_char.
50065 * debug/strcpy_chk.c: Likewise.
50066 * debug/strncat_chk.c: Likewise.
50067 * debug/strncpy_chk.c: Likewise.
50068 * string/memchr.c: Likewise.
50069 * string/memrchr.c: Likewise.
50070 * string/rawmemchr.c: Likewise.
50071 * string/strcat.c: Likewise.
50072 * string/strchr.c: Likewise.
50073 * string/strchrnul.c: Likewise.
50074 * string/strcmp.c: Likewise.
50075 * string/strcpy.c: Likewise.
50076 * string/strncat.c: Likewise.
50077 * string/strncmp.c: Likewise.
50078 * string/strncpy.c: Likewise.
50080 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50082 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50083 __builtin_memcopy is called when src and dest ranges are known to not
50086 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50088 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50089 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50090 fwd_align_merge macro call.
50091 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50092 bwd_align_merge macro call.
50093 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50095 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50098 bwd_align_merge macros.
50099 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50100 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50101 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50103 2012-04-18 David S. Miller <davem@davemloft.net>
50105 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50107 2012-04-18 Andreas Jaeger <aj@suse.de>
50110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50111 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50112 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50114 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50115 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50116 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50118 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50119 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50120 Adjust for changed ldbl-128 files.
50122 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50123 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50124 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50126 2012-04-17 David S. Miller <davem@davemloft.net>
50128 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50130 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50132 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50133 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50134 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50135 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50136 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50137 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50139 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50142 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50143 * math/libm-test.inc: Add ilogb errno and exception tests.
50144 * math/w_ilogb.c: New file: ilogb wrapper.
50145 * math/w_ilogbf.c: New file: ilogbf wrapper.
50146 * math/w_ilogbl.c: New file: ilogbl wrapper.
50147 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50148 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50149 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50150 exception being thrown with 0.0 as argument.
50151 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50152 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50153 exception being thrown with 0.0 as argument.
50154 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50155 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50156 exception being thrown with 0.0 as argument.
50157 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50158 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50159 exception being thrown with 0.0 as argument.
50160 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50161 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50162 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50163 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50164 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50165 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50166 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50167 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50168 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50170 2012-04-17 Petr Baudis <pasky@ucw.cz>
50172 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50175 2012-04-16 Marek Polacek <polacek@redhat.com>
50177 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50179 2012-04-16 Marek Polacek <polacek@redhat.com>
50181 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50182 operands of fdivp instruction.
50184 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50186 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50187 * elf/tst-auditmod3b.c: Likewise.
50188 * elf/tst-auditmod4b.c: Likewise.
50189 * elf/tst-auditmod5b.c: Likewise.
50190 * elf/tst-auditmod6b.c: Likewise.
50191 * elf/tst-auditmod6c.c: Likewise.
50192 * elf/tst-auditmod7b.c: Likewise.
50193 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50194 * sysdeps/x86_64/preconfigure.in: Likewise.
50195 * sysdeps/x86_64/preconfigure: Regenerated.
50197 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50199 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50202 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50205 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50207 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50210 * locale/iso-639.def: Fix gl language name. Spotted by
50213 2012-04-12 Roland McGrath <roland@hack.frob.com>
50216 * libio/libio.h (__io_write_fn): Update comment.
50218 2012-04-12 Petr Baudis <pasky@ucw.cz>
50221 * stdio.texi (Hook Functions): The user provided writer function
50222 is not allowed to return -1.
50224 2012-04-11 David S. Miller <davem@davemloft.net>
50226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50228 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50230 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50231 Add a leading slash to rtkaio.
50233 2012-04-11 Jim Meyering <meyering@redhat.com>
50236 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50237 It is not necessarily an error to ignore fwrite's return
50238 value. One can reliably use ferror to test for errors after
50241 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50243 * bits/types.h (__snseconds_t): New type.
50244 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50246 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50248 (__SNSECONDS_T_TYPE): Likewise.
50249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50250 (__SNSECONDS_T_TYPE): Likewise.
50251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50252 (__SNSECONDS_T_TYPE): Likewise.
50254 2012-04-10 Andreas Jaeger <aj@suse.de>
50257 * manual/time.texi (Processor Time): Return type of times is
50258 elapsed real time since an arbitrary point in the past.
50259 (CPU Time): Move CLK_TCK from here...
50260 (Processor Time): ...to here. Correct description.
50261 * manual/conf.texi (Constants for Sysconf): Correct description of
50264 2012-04-10 David S. Miller <davem@davemloft.net>
50267 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50268 where the is a gap between DT_REL(A) and DT_JMPREL.
50270 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50272 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50273 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50274 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50276 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50278 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50279 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50280 (dl_main): Handle --inhibit-cache.
50281 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50283 * elf/dl-load.c (_dl_map_object): Use it.
50284 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50286 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50289 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50290 (__ieee754_powl): Saturate large exponents rather than testing for
50291 overflow of y*log2(x).
50292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50293 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50297 * math/s_ctan.c: Include <float.h>.
50298 (__ctan): Avoid internal overflow or cancellation in calculating
50300 * math/s_ctanf.c: Likewise.
50301 * math/s_ctanl.c: Likewise.
50302 * math/s_ctanh.c: Likewise.
50303 * math/s_ctanhf.c: Likewise.
50304 * math/s_ctanhl.c: Likewise.
50305 * math/libm-test.inc (ctan_test): Add more tests.
50306 (ctanh_test): Likewise.
50307 * sysdeps/i386/fpu/libm-test-ulps: Update.
50308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50310 2012-04-09 Andreas Jaeger <aj@suse.de>
50313 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50314 is an optional BSD extension.
50317 * manual/stdio.texi (Opening Streams): Document additional fopen
50320 2012-04-09 Roland McGrath <roland@hack.frob.com>
50322 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50323 %eax without telling the compiler.
50325 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50328 * manual/install.texi: Use sourceware.org.
50330 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50333 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50334 (__ieee754_pow): Generate overflow and underflow using huge*huge
50335 and tiny*tiny rather than just returning constant infinity or zero
50336 for large exponents.
50337 * math/libm-test.inc (pow_test): Require overflow exceptions for
50338 applicable cases of large exponents.
50341 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50342 (__ieee754_pow): Use iterative multiplication algorithm only for
50343 integer exponents with absolute value below 1024. Check for odd
50344 integer exponents when using algorithm for real exponents.
50345 * math/libm-test.inc (pow_test): Add more tests.
50346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50348 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50351 * math/libm-test.inc (exp_test): Do not allow overflow exception
50354 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50357 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50358 instead of __kernel_standard_f.
50360 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50362 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50363 * sysdeps/x86_64/memset_chk.S: Likewise.
50365 2012-04-08 Andreas Jaeger <aj@suse.de>
50368 * manual/startup.texi (Environment Access): Describe return value
50369 for putenv and setenv.
50372 * manual/filesys.texi (Directory Entries): Add description for
50376 * manual/filesys.texi (Directory Entries): Clarify that it's file
50377 system not operating system in the description of DT_UNKNOWN.
50380 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50382 2012-04-08 Stephen Compall <s11@member.fsf.org>
50385 * manual/llio.texi (Opening and Closing Files): Add cross
50386 reference to explain mode argument.
50388 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50390 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50391 * sysdeps/x86_64/memset_chk.S: Likewise.
50393 2012-04-07 David S. Miller <davem@davemloft.net>
50395 * elf/elf.h (R_SPARC_WDISP10): Define.
50396 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50398 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50399 R_SPARC_SIZE64 and R_SPARC_H34.
50401 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50403 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50404 conditions and remove no longer applicable assertion.
50406 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50408 * bits/byteswap.h: Include <features.h>.
50409 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50410 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50412 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50414 * bits/byteswap.h (__bswap_16): Removed.
50415 Include <bits/byteswap-16.h> to get __bswap_16.
50416 * sysdeps/i386/bits/byteswap.h: Likewise.
50417 * sysdeps/s390/bits/byteswap.h: Likewise.
50418 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50419 * bits/byteswap-16.h: New file.
50420 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50421 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50422 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50423 * string/Makefile (headers): Add bits/byteswap-16.h.
50425 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50428 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50430 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50431 * nss/tst-nss-static.c: New.
50433 2012-04-06 Robert Millan <rmh@gnu.org>
50436 * manual/llio.texi (File Position Primitive): lseek
50437 refers to WHENCE when it really means OFFSET.
50439 2012-04-06 Andreas Jaeger <aj@suse.de>
50441 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50442 strncmp declarations.
50444 * abilist/libc.abilist: Add __poll and __ppoll.
50446 2012-04-05 David S. Miller <davem@davemloft.net>
50448 * scripts/check-local-headers.sh: Accept a host triplet in the
50449 path matched by the exclude regexp.
50451 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50453 * sysdeps/powerpc/powerpc32/dl-machine.h
50454 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50455 * sysdeps/s390/s390-32/dl-machine.h
50456 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50457 * sysdeps/sparc/sparc32/dl-machine.h
50458 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50459 * sysdeps/sparc/sparc64/dl-machine.h
50460 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50462 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50464 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50465 undefined symbol errors.
50467 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50470 2012-04-05 Michael Matz <matz@suse.de>
50473 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50475 2012-04-05 Andreas Jaeger <aj@suse.de>
50478 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50481 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50483 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50484 which ROUND is no valid rounding mode.
50486 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50488 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50490 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50492 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50494 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50495 an exception using FPU order intentionally.
50497 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50499 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50500 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50501 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50502 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50504 2012-04-05 Simon Josefsson <simon@josefsson.org>
50507 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50508 EINVAL when BUFLEN is too smal.
50510 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50513 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50514 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50516 2012-04-03 Andreas Jaeger <aj@suse.de>
50519 * manual/setjmp.texi (System V contexts): Fix sentence.
50522 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50523 New macro for this case.
50524 [!__GNUC__] (__bswap_64): New inline function for this case.
50525 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50526 * bits/byteswap.h: Likewise.
50527 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50528 ull, guard with __GLIBC_HAVE_LONG_LONG.
50530 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50531 __GLIBC_HAVE_LONG_LONG.
50533 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50534 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50536 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50539 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50540 inptr and inend, rather than using last_ch.
50542 2012-04-02 David S. Miller <davem@davemloft.net>
50544 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50545 * stdio-common/printf-parse.h (read_int): Change return type to
50546 'int', return -1 on INT_MAX overflow.
50547 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50548 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50549 overflows INT_MAX. Check for overflow of in-format-string precision
50550 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50551 SIZE_MAX not INT_MAX for integer overflow test.
50552 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50553 skip the construct in the format string but do not record anything.
50554 * stdio-common/bug22.c: Adjust to test both width/prevision
50555 INT_MAX overflow as well as total length INT_MAX overflow. Check
50556 explicitly for proper errno values.
50558 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50560 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50562 * string/test-strcmp.c [! WIDE]: Likewise.
50563 * time/tst-mktime2.c: Likewise for INT_MAX.
50564 * string/test-string.h: #include <sys/param.h> for MIN.
50566 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50567 * sysdeps/i386/init-first.c (init): Likewise.
50568 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50569 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50570 * sysdeps/sh/init-first.c (init): Likewise.
50572 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50574 * po/ru.po: Update from translation team.
50575 * po/vi.po: Likewise.
50577 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50579 * resolv/nss_dns/dns-host.c: Merge copyright years.
50581 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50584 Optimize memcpy with prefetch if
50585 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50586 src, dst pointers have unequal 16 byte alignments.
50588 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50591 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50592 from a CNAME entry and return the minimum ttl for the query.
50593 (gaih_getanswer_slice): Likewise.
50595 2012-03-30 Jeff Law <law@redhat.com>
50597 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50599 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50600 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50602 * resolv/nss_dns/dns-host.c: Update copyright year.
50604 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50606 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50607 requests to save a system call. Fix check that all bytes are sent.
50609 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50610 comments for sendmmsg.
50612 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50615 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50616 with only 1 character between 0x0041 and 0x01b0.
50617 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50618 * wcsmbs/tst-mbsnrtowcs.c: New file.
50620 2012-03-29 David S. Miller <davem@davemloft.net>
50622 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50623 small copies by hand.
50625 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50628 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50629 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50632 2012-03-28 David S. Miller <davem@davemloft.net>
50634 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50635 that branches into memcpy.
50636 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50639 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50642 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50643 implementation too.
50644 * sysdeps/sparc/mempcpy.S: New file.
50646 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50647 the IFUNC routine in the libc case.
50648 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50650 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50651 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50652 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50653 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50654 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50655 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50656 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50657 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50659 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50660 loop to 256 bytes instead of 64 bytes and fix test signedness.
50662 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50663 * sysdeps/sparc/sparc32/Makefile: rather than here...
50664 * sysdeps/sparc/sparc64/Makefile: and here.
50666 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50668 * malloc/mallocbug.c: Avoid warnings about unused variables.
50670 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50673 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50674 in the right place. Discard and retry query if response is
50675 larger than input buffer size.
50677 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50682 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50683 x for large integer exponent.
50684 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50685 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50686 sign of result as needed afterwards.
50687 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50688 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50689 result for underflowing pow the same as for overflow.
50690 (__kernel_standard_l): Handle powl overflow and underflow here
50691 rather than calling __kernel_standard.
50692 * math/libm-test.inc (pow_test): Add more tests.
50707 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50708 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50709 (__kernel_standard_l): New function.
50710 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50712 * math/w_acosl.c (__acosl): Likewise.
50713 * math/w_asinl.c (__asinl): Likewise.
50714 * math/w_atan2l.c (__atan2l): Likewise.
50715 * math/w_atanhl.c (__atanhl): Likewise.
50716 * math/w_coshl.c (__coshl): Likewise.
50717 * math/w_exp10l.c (__exp10l): Likewise.
50718 * math/w_exp2l.c (__exp2l): Likewise.
50719 * math/w_fmodl.c (__fmodl): Likewise.
50720 * math/w_hypotl.c (__hypotl): Likewise.
50721 * math/w_j0l.c (__j0l, __y0l): Likewise.
50722 * math/w_j1l.c (__j1l, __y1l): Likewise.
50723 * math/w_jnl.c (__jnl, __ynl): Likewise.
50724 * math/w_lgammal.c (__lgammal): Likewise.
50725 * math/w_log10l.c (__log10l): Likewise.
50726 * math/w_log2l.c (__log2l): Likewise.
50727 * math/w_logl.c (__logl): Likewise.
50728 * math/w_powl.c (__powl): Likewise.
50729 * math/w_remainderl.c (__remainderl): Likewise.
50730 * math/w_scalbl.c (sysv_scalbl): Likewise.
50731 * math/w_sinhl.c (__sinhl): Likewise.
50732 * math/w_sqrtl.c (__sqrtl): Likewise.
50733 * math/w_tgammal.c (__tgammal): Likewise.
50734 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50735 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50736 * math/libm-test.inc (acos_test): Add more tests.
50737 (acosh_test): Likewise.
50738 (asin_test): Likewise.
50739 (atanh_test): Likewise.
50740 (exp_test): Likewise.
50741 (exp10_test): Likewise.
50742 (exp2_test): Likewise.
50743 (expm1_test): Likewise.
50744 (lgamma_test): Likewise.
50745 (log_test): Likewise.
50746 (log10_test): Likewise.
50747 (log1p_test): Likewise.
50748 (log2_test): Likewise.
50749 (pow_test): Do not allow some spurious overflow exceptions.
50750 (sqrt_test): Add more tests.
50751 (tgamma_test): Likewise.
50752 (y0_test): Likewise.
50753 (y1_test): Likewise.
50754 (yn_test): Likewise.
50756 2012-03-27 Anton Blanchard <anton@samba.org>
50758 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50760 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50761 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50764 2012-03-27 David S. Miller <davem@davemloft.net>
50766 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50768 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50769 have-as-vis3 check.
50771 2012-03-27 Andreas Jaeger <aj@suse.de>
50773 * sysdeps/x86_64/elf/configure.in: Moved to ...
50774 * sysdeps/x86_64/configure.in: ... here.
50775 * sysdeps/x86_64/elf/start.S: Moved to ...
50776 * sysdeps/x86_64/start.S: ... here.
50777 * sysdeps/x86_64/elf/configure: Delete.
50779 * sysdeps/x86_64/configure.in: Merge contents from
50780 sysdeps/i386/configure.in (without i686 check).
50782 * sysdeps/i386/elf/Versions: Merge into ...
50783 * sysdeps/i386/Versions: ... this.
50784 * sysdeps/i386/elf/Versions: Delete file.
50785 * sysdeps/i386/elf/start.S: Moved to ...
50786 * sysdeps/i386/start.S: ...here.
50787 * sysdeps/i386/elf/configure.in: Merge into...
50788 * sysdeps/i386/configure.in: ...here.
50789 * sysdeps/i386/elf/configure.in: Delete file.
50790 * sysdeps/i386/elf/configure: Delete file.
50792 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50793 * debug/backtracesyms.c: ... here.
50794 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50795 * debug/backtracesymsfd.c: ... here.
50796 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50797 * sysdeps/generic/ifunc-sel.h: ... here.
50799 * sysdeps/unix/i386/start.c: Delete file.
50800 * sysdeps/unix/sparc/start.c: Delete file.
50801 * sysdeps/unix/start.c: Delete file.
50803 * sysdeps/sh/elf/configure.in: Moved to ...
50804 * sysdeps/sh/configure.in: ... here.
50805 * sysdeps/sh/elf/start.S: Moved to ...
50806 * sysdeps/sh/start.S: ... here.
50807 * sysdeps/sh/elf/configure: Delete file.
50809 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50810 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50811 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50812 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50813 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50814 * sysdeps/powerpc/powerpc64/start.S: here.
50815 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50816 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50817 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50818 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50819 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50821 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50822 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50823 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50824 * sysdeps/powerpc/powerpc32/start.S: ... here.
50825 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50826 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50827 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50829 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50830 * sysdeps/powerpc/ifunc-sel.h: ... here.
50831 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50832 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50834 * sysdeps/sparc/elf/configure.in: Moved to ...
50835 * sysdeps/sparc/configure.in: ... here.
50836 * sysdeps/sparc/elf/configure: Delete file.
50837 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50838 * sysdeps/sparc/sparc32/start.S: ... here.
50839 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50840 * sysdeps/sparc/sparc64/start.S: ... here.
50841 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50842 * sysdeps/sparc/sparc32/Makefile: ... this.
50843 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50844 * sysdeps/sparc/sparc64/Makefile: ... this.
50846 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50847 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50848 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50849 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50850 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50851 * sysdeps/s390/s390-32/setjmp.S: ... here.
50852 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50853 * sysdeps/s390/s390-32/configure.in: ... here.
50854 * sysdeps/s390/s390-32/elf/configure: Delete file.
50855 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50856 * sysdeps/s390/s390-32/start.S: ... here.
50858 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50859 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50860 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50861 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50862 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50863 * sysdeps/s390/s390-64/setjmp.S: ... here.
50864 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50865 * sysdeps/s390/s390-64/configure.in: ... here
50866 * sysdeps/s390/s390-64/elf/configure: Delete file.
50867 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50868 * sysdeps/s390/s390-64/start.S: ... here.
50869 * sysdeps/s390/s390-64/elf/configure: Delete.
50871 * configure.in: Remove support for elf directories in sysdeps.
50873 * configure: Regenerated.
50874 * sysdeps/i386/configure: Regenerated.
50875 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50876 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50877 * sysdeps/s390/s390-32/configure: Regenerated.
50878 * sysdeps/s390/s390-64/configure: Regenerated.
50879 * sysdeps/sh/configure: Regenerated.
50880 * sysdeps/sparc/configure: Regenerated.
50881 * sysdeps/x86_64/configure: Regenerated.
50883 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50888 denormal result into account.
50890 2012-03-25 Roland McGrath <roland@hack.frob.com>
50892 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50893 Reported by Allan McRae <allan@archlinux.org>.
50895 2012-03-23 Jeff Law <law@redhat.com>
50897 * nss/getnssent.c (__nss_getent): Fix typo.
50899 2012-03-23 David S. Miller <davem@davemloft.net>
50901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50903 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50905 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50906 to pad to uint64_t for each field.
50907 (dl_tls_index): Replace unsigned long with uint64_t.
50909 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50910 Paul Pluzhnikov <ppluzhnikov@google.com>
50913 * grp/Makefile (otherlibs): Don't set it.
50914 * inet/Makefile (otherlibs): Likewise.
50915 * login/Makefile (otherlibs): Likewise.
50916 * nscd/Makefile (otherlibs): Likewise.
50917 * posix/Makefile (otherlibs): Likewise.
50918 * pwd/Makefile (otherlibs): Likewise.
50919 * rt/Makefile (otherlibs): Likewise.
50920 * sunrpc/Makefile (otherlibs): Likewise.
50921 * nss/Makefile (otherlibs): Likewise.
50922 Add libnss_files to routines and static-only-routines.
50923 ($(objpfx)getent): Remove rule.
50924 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50925 static-only-routines.
50927 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50930 * math/s_cexp.c: Include <float.h>.
50931 (__cexp): Handle exp result overflowing not necessarily
50932 overflowing both real and imaginary parts of result.
50933 * math/s_cexpf.c: Likewise.
50934 * math/s_cexpl.c: Likewise.
50935 * math/libm-test.inc (cexp_test): Add more tests.
50936 * sysdeps/i386/fpu/libm-test-ulps: Update.
50937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50939 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50941 * include/link.h (ELFW): New macro.
50942 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50943 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50945 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50947 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50950 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50952 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50954 (struct La_x32_retval): Likewise.
50956 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50958 * sysdeps/x86_64/preconfigure.in: New file.
50959 * sysdeps/x86_64/preconfigure: New generated file.
50961 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50964 * math/e_exp2l.c: Include <float.h>.
50965 (__ieee754_exp2l): Handle overflow and underflow cases
50966 separately. Only pass fractional part of argument to
50968 * math/libm-test.inc (exp2_test): Add more tests.
50970 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50971 negating x to take absolute value.
50972 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50977 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50978 computing low part if x was negated.
50979 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50981 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50983 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50984 la_x32_gnu_pltexit.
50985 (pltexit): Cast int_retval to ptrdiff_t.
50986 * elf/tst-auditmod3b.c: Likewise.
50987 * elf/tst-auditmod4b.c: Likewise.
50988 * elf/tst-auditmod5b.c: Likewise.
50989 * elf/tst-auditmod6b.c: Likewise.
50990 * elf/tst-auditmod6c.c: Likewise.
50991 * elf/tst-auditmod7b.c: Likewise.
50993 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50994 and x32_gnu_pltexit.
50996 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50997 __ELF_NATIVE_CLASS.
50998 (La_x32_regs): New macro.
50999 (La_x32_retval): Likewise.
51000 (la_x32_gnu_pltenter): New function prototype.
51001 (la_x32_gnu_pltexit): Likewise.
51003 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51005 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51010 * configure.in (libc_cv_cc_nofma): Check for option to disable
51011 generation of FMA instructions.
51012 * configure: Regenerate.
51013 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51014 * sysdeps/ieee754/dbl-64/Makefile: New file.
51015 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51016 Remove brandred-fma4.
51017 (CFLAGS-brandred-fma4.c): Remove.
51018 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51019 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51021 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51024 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51026 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51027 LLONG_MAX != LONG_MAX.
51028 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51029 (_fitoa_word): Likewise.
51030 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51031 LLONG_MAX != LONG_MAX.
51032 * stdio-common/_itowa.h: Include <_itoa.h>.
51033 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51034 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51035 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51036 only if not defined.
51037 (_ITOA_WORD_TYPE): Likewise.
51038 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51039 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51041 2012-03-21 David S. Miller <davem@davemloft.net>
51043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51045 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51047 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51048 of x86_64 when setting libc_cv_slibdir, libdir and
51050 * sysdeps/unix/sysv/linux/configure: Regenerated.
51052 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51054 * manual/lang.texi (Old Varargs): Remove section.
51055 (How Variadic): Update menu.
51056 (va_start): Do not mention varargs.h.
51058 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51059 Joseph Myers <joseph@codesourcery.com>
51061 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51063 * configure: Regenerated.
51065 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51067 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51068 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51071 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51074 * Makefile (files-for-dist): Remove NOTES.
51075 (NOTES): Remove rule.
51076 * README: Don't refer to NOTES.
51077 * manual/creature.texi: Don't include macros.texi.
51078 * manual/intro.texi (creature.texi): Remove comment referring to
51081 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51082 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51083 * configure: Regenerated.
51084 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51085 LIBC_TRY_CC_OPTION.
51086 (libc_cv_as_i686): Likewise.
51087 (libc_cv_cc_avx): Likewise.
51088 (libc_cv_cc_sse2avx): Likewise.
51089 (libc_cv_cc_fma4): Likewise.
51090 (libc_cv_cc_novzeroupper): Likewise.
51091 * sysdeps/i386/configure: Regenerated.
51094 * sysdeps/i386/fpu/s_cexp.S: Remove.
51095 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51096 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51097 * math/libm-test.inc (cexp_test): Add more tests.
51098 * sysdeps/i386/fpu/libm-test-ulps: Update.
51099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51101 2012-03-21 Allan McRae <allan@archlinux.org>
51103 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51105 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51108 * math/w_exp2.c: Do not include <float.h>.
51109 (o_threshold, u_threshold): Remove.
51110 (__exp2): Calculate result before checking finiteness and calling
51112 * math/w_exp2f.c: Likewise.
51113 * math/w_exp2l.c: Likewise.
51114 * math/libm-test.inc (exp2_test): Require overflow exception for
51118 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51119 range of signed 64-bit integers before using fistpll. Remove
51120 checks for whether integers fit in mantissa bits.
51121 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51122 the range of signed 32-bit integers before using fistpl. Remove
51123 checks for whether integers fit in mantissa bits.
51124 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51125 (__ieee754_powl): Test for y outside the range of signed 64-bit
51126 integers before using fistpll. Reduce 64-bit values to 63-bit
51128 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51129 divide-by-zero is raised for zero to large negative powers.
51130 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51131 (__ieee754_powl): Test for y outside the range of signed 64-bit
51132 integers before using fistpll. Reduce 64-bit values to 63-bit
51134 * math/libm-test.inc (pow_test): Add more tests.
51136 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51138 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51139 <stdio-common/_itoa.h>.
51140 * debug/segfault.c: Likewise.
51141 * elf/dl-cache.c: Likewise.
51142 * elf/dl-minimal.c: Likewise.
51143 * elf/dl-misc.c: Likewise.
51144 * elf/dl-sysdep.c: Likewise.
51145 * elf/dl-version.c: Likewise.
51146 * elf/rtld.c: Likewise.
51147 * hurd/hurdsock.c: Likewise.
51148 * hurd/lookup-retry.c: Likewise.
51149 * malloc/malloc.c: Likewise.
51150 * malloc/mtrace.c: Likewise.
51151 * nscd/nscd_getgr_r.c: Likewise.
51152 * nscd/nscd_getpw_r.c: Likewise.
51153 * nscd/nscd_getserv_r.c: Likewise.
51154 * posix/getopt_init.c: Likewise.
51155 * posix/wordexp.c: Likewise.
51156 * stdio-common/_itoa.c: Likewise.
51157 * stdio-common/printf_fphex.c: Likewise.
51158 * stdio-common/vfprintf.c: Likewise.
51159 * string/_strerror.c: Likewise.
51160 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51161 * sysdeps/i386/i686/hp-timing.h: Likewise.
51162 * sysdeps/mach/_strerror.c: Likewise.
51163 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51164 * sysdeps/mach/hurd/sethostid.c: Likewise.
51165 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51166 * sysdeps/mach/xpg-strerror.c: Likewise.
51167 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51168 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51169 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51170 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51171 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51172 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51173 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51174 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51175 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51176 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51177 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51178 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51179 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51180 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51181 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51182 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51183 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51184 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51185 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51186 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51187 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51189 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51191 * stdio-common/_itoa.h: Moved to ...
51192 * sysdeps/generic/_itoa.h: Here.
51194 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51196 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51197 instead of "_itoa.h" and "_itowa.h".
51198 * stdio-common/vfprintf.: Likewise.
51200 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51202 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51204 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51205 (__signbit): Likwise.
51206 (llrintf): Likwise.
51209 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51211 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51214 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51216 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51217 OVERFLOW_EXCEPTION_OK.
51218 * math/libm-test.inc ("Philosophy"): Update comment about
51220 (OVERFLOW_EXCEPTION): Define.
51221 (OVERFLOW_EXCEPTION_OK): Likewise.
51222 (INVALID_EXCEPTION_OK): Renumber.
51223 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51224 (IGNORE_ZERO_INF_SIGN): Likewise.
51225 (test_exceptions): Handle FE_OVERFLOW.
51226 (exp10_test): Expect overflow exceptions.
51227 (exp2_test): Likewise.
51228 (expm1_test): Likewise.
51229 (nextafter_test): Likewise.
51230 (pow_test): Likewise.
51231 (scalbn_test): Likewise.
51232 (scalbln_test): Likewise.
51234 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51236 * sysdeps/x86_64/bits/atomic.h
51237 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51239 (atomic_exchange_acq): Likewise.
51240 (__arch_exchange_and_add_body): Likewise.
51241 (__arch_add_body): Likewise.
51242 (atomic_add_negative): Likewise.
51243 (atomic_add_zero): Likewise.
51245 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51247 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51248 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51250 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51252 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51253 Check __x86_64__ instead of __WORDSIZE.
51255 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51257 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51259 2012-03-19 David S. Miller <davem@davemloft.net>
51261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51263 * sysdeps/sparc/fpu/fenv_private.h: New file.
51264 * sysdeps/sparc/fpu/math_private.h: Use it.
51265 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51267 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51268 (libc_feholdexcept_setroundl): Remove.
51269 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51271 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51272 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51274 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51276 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51277 int64_t instead of long int.
51278 (INSERT_WORDS64): Likwise.
51280 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51282 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51283 _Unwind_GetCFA return to _Unwind_Ptr first.
51285 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51288 * math/s_clog.c: Include <float.h>.
51289 (__clog): Scale large or subnormal inputs.
51290 * math/s_clogf.c: Likewise.
51291 * math/s_clogl.c: Likewise.
51292 * math/s_clog10.c: Include <float.h>.
51293 (M_LOG10_2): Define.
51294 (__clog10): Scale large or subnormal inputs.
51295 * math/s_clog10f.c: Likewise.
51296 * math/s_clog10l.c: Likewise.
51297 * math/libm-test.inc (clog_test): Add more tests.
51298 (clog10_test): Likewise.
51299 * sysdeps/i386/fpu/libm-test-ulps: Update.
51300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51303 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51305 * math/libm-test.inc (atan2_test): Add another test.
51307 * Makerules (common-objdir-compile): Remove.
51308 * sysdeps/unix/Makefile (config-generated): Do not add
51309 $(unix-generated) to variable.
51310 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51311 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51313 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51315 [generic bits/local_lim.h] (before-compile): Do not append to
51317 [generic bits/local_lim.h] (common-generated): Likewise.
51318 [generic sys/param.h] (before-compile): Do not append to variable.
51319 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51320 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51321 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51322 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51324 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51325 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51326 [generic sys/param.h] ($(addprefix
51327 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51328 [generic sys/param.h] (common-generated): Do not append to
51330 [generic sys/param.h] (sysdep_headers): Likewise.
51331 [generic bits/errno.h] (before-compile): Do not append to
51333 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51335 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51336 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51337 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51338 [generic bits/errno.h] (common-generated): Do not append to
51340 [generic bits/ioctls.h] (before-compile): Do not append to
51342 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51344 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51345 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51346 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51348 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51349 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51350 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51351 [generic bits/ioctls.h] (common-generated): Do not append to
51353 [generic sys/syscall.h] (syscall.h): Remove variable.
51354 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51356 [generic sys/syscall.h] (before-compile): Do not append to
51358 [generic sys/syscall.h] (common-generated): Likewise.
51359 * sysdeps/unix/errnos-tmpl.c: Remove file.
51360 * sysdeps/unix/errnos.awk: Likewise.
51361 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51362 * sysdeps/unix/ioctls.awk: Likewise.
51363 * sysdeps/unix/mk-local_lim.c: Likewise.
51364 * sysdeps/unix/snarf-ioctls: Likewise.
51366 2012-03-19 Richard Henderson <rth@twiddle.net>
51368 * sysdeps/i386/fpu/fenv_private.h: New file.
51369 * sysdeps/i386/fpu/math_private.h: Use it.
51370 (math_opt_barrier, math_force_eval): Remove.
51371 (libc_feholdexcept_setround_53bit): Remove.
51372 (libc_feupdateenv_53bit): Remove.
51373 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51374 (math_opt_barrier, math_force_eval): Remove.
51375 (libc_feholdexcept): Remove.
51376 (libc_feholdexcept_setround): Remove.
51377 (libc_fetestexcept, libc_fesetenv): Remove.
51378 (libc_feupdateenv_test): Remove.
51379 (libc_feupdateenv, libc_feholdsetround): Remove.
51380 (libc_feresetround): Remove.
51382 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51383 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51385 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51386 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51387 (libc_feupdateenv_testl): New.
51388 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51389 (libc_feupdateenv_testf): New.
51390 (libc_feupdateenv): Use libc_feupdateenv_test.
51391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51392 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51394 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51395 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51396 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51397 (libc_feresetround_noex): New.
51398 (libc_feresetround_noexf): New.
51399 (libc_feresetround_noexl): New.
51400 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51401 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51402 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51403 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51408 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51409 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51410 SET_RESTORE_ROUND_NOEX.
51411 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51412 SET_RESTORE_ROUND_NOEXF.
51413 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51414 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51415 (libc_feholdsetroundf): New.
51416 (libc_feresetround, libc_feresetroundf): New.
51418 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51419 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51420 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51422 * sysdeps/generic/math_private.h: Include <fenv.h>.
51423 (default_libc_feholdexcept): New.
51424 (default_libc_feholdexcept_setround): New.
51425 (default_libc_fesetenv, default_libc_feupdateenv): New.
51426 (libc_feholdexcept): Only define if undefined.
51427 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51428 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51429 (libc_feholdexcept_setroundl): Likewise.
51430 (libc_feholdexcept_setround_53bit): Likewise.
51431 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51432 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51433 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51434 (libc_feupdateenv_53bit): Likewise.
51435 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51436 (libc_feholdexcept): Convert from macro to inline function.
51437 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51438 (libc_fesetenv, libc_feupdateenv): Likewise.
51440 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51441 not previously defined.
51442 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51443 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51444 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51445 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51446 * sysdeps/ieee754/flt-32/math_private.h: New file.
51447 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51448 math_private.h below SET_FLOAT_WORD.
51449 (__isnan, __isinf_ns, __finite): Remove.
51450 (__isnanf, __isinf_nsf, __finitef): Remove.
51452 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51456 2012-03-17 David S. Miller <davem@davemloft.net>
51459 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51462 2012-03-16 David S. Miller <davem@davemloft.net>
51464 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51468 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51470 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51471 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51472 sysdep_routines when subdir is sysvipc.
51473 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51474 __getshmlba helper.
51476 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51478 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51480 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51485 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51486 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51487 (__lround): Renamed to ...
51488 (__llround): This. Replace long int with long long int.
51489 Define lround functions as aliases of llround functions.
51490 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51492 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51494 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51495 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51496 adresses to uintptr_t. Replace "long int" and "unsigned long
51497 int" with "greg_t" on va_arg.
51499 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51501 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51502 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51504 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51505 Move e_machine check before EI_CLASS check. Handle x32
51506 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51507 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51508 SKIP_EM_IA_64 and include
51509 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51511 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51512 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51513 (add_system_dir): New macro.
51515 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51516 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51518 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51529 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51531 * math/w_j0f.c (j0f): Likewise.
51533 * math/w_j0l.c (__j0l): Likewise.
51535 * math/w_j1.c (j1): Likewise.
51537 * math/w_j1f.c (j1f): Likewise.
51539 * math/w_j1l.c (__j1l): Likewise.
51541 * math/w_jn.c (jn): Likewise.
51543 * math/w_jnf.c (jnf): Likewise.
51545 * math/w_jnl.c (__jnl): Likewise.
51547 * math/libm-test.inc (j0_test): Add more tests.
51548 (j1_test): Likewise.
51549 (jn_test): Likewise. Add trailing semicolon to existing test.
51550 (y0_test): Likewise.
51551 (y1_test): Likewise.
51552 * sysdeps/i386/fpu/libm-test-ulps: Update.
51553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51557 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51558 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51559 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51560 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51561 (__tanl): Set errno for infinite argument.
51562 * sysdeps/i386/fpu/mptan.c: Remove.
51563 * sysdeps/i386/fpu/s_tan.S: Likewise.
51564 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51565 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51566 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51567 * math/libm-test.inc (tan_test): Add more tests and enable more
51568 tests for double and long double.
51569 * sysdeps/i386/fpu/libm-test-ulps: Update.
51570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51572 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51574 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51575 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51577 2012-03-16 Roland McGrath <roland@hack.frob.com>
51579 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51580 * configure.in: Use it for both main tree and add-ons.
51581 * configure: Regenerated.
51583 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51585 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51587 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51589 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51593 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51594 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51595 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51596 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51597 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51599 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51600 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51601 != 0 for prec == 2.
51602 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51603 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51604 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51605 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51606 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51607 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51608 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51609 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51610 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51611 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51612 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51613 * math/libm-test.inc (cos_test): Add more tests and enable more
51614 tests for long double.
51615 (sin_test): Likewise.
51616 (sincos_test): Likewise.
51617 * sysdeps/i386/fpu/libm-test-ulps: Update.
51618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51620 2012-03-16 David S. Miller <davem@davemloft.net>
51622 * sysdeps/sparc/fpu/math_private.h: New file.
51624 2012-03-15 David S. Miller <davem@davemloft.net>
51626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51640 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51641 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51643 * sysdeps/sparc/sparc-ifunc.h: New file.
51644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51671 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51687 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51689 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51691 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51695 2012-03-15 Andreas Jaeger <aj@suse.de>
51698 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51699 ieee754/flt-32 implementation for sin, cos and sincos.
51700 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51701 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51702 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51703 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51704 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51705 ieee754/flt-32 implementation for tan.
51707 * math/libm-test.inc (cos_test): Enable some large input tests for
51709 (sin_test): Likewise.
51710 (sincos_test): Likewise.
51711 (tan_test): Add tests for large input.
51713 * sysdeps/i386/fpu/libm-test-ulps: Update.
51715 2012-03-15 Andreas Jaeger <aj@suse.de>
51718 * math/libm-test.inc (cos_test): Add more test cases.
51719 (sin_test): Likewise.
51720 (sincos_test): Likewise.
51722 2012-03-15 Andreas Jaeger <aj@suse.de>
51725 * math/libm-test.inc (cos_test): Add a test case for large input
51727 (sin_test): Likewise.
51728 (sincos_test): Likewise.
51730 2012-03-15 Andreas Jaeger <aj@suse.de>
51731 Joseph Myers <joseph@codesourcery.com>
51734 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51735 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51736 * sysdeps/i386/fpu/branred.c: Likewise.
51737 * sysdeps/i386/fpu/dosincos.c: Likewise.
51738 * sysdeps/i386/fpu/mpa.c: Likewise.
51739 * sysdeps/i386/fpu/s_cos.S: Likewise.
51740 * sysdeps/i386/fpu/s_sin.S: Likewise.
51741 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51742 * sysdeps/i386/fpu/sincos32.c: Likewise.
51744 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51746 (libc_feupdateenv_53bit): Define.
51747 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51749 (libc_feupdateenv_53bit): Define.
51751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51752 53 bit (without extend i386 double precision).
51754 * math/libm-test.inc (sincos_test): Add tests for large input.
51758 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51760 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51764 2012-03-15 David S. Miller <davem@davemloft.net>
51766 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51767 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51768 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51769 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51794 fmin/fmax sysdep routines.
51795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51797 2012-03-14 David S. Miller <davem@davemloft.net>
51799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51822 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51871 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51876 * sysdeps/sparc/configure.in: New file.
51877 * sysdeps/sparc/configure: Generate.
51878 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51879 * configure: Regenerate.
51880 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51881 * config.make.in (have-as-vis3): New.
51882 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51883 available use -Av9d instead of -Av9a.
51884 * sysdeps/sparc/sparc64/Makefile: Likewise.
51885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51894 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51900 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51901 fzeros/fnegs to load 0x80000000 into a float register instead of
51903 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51905 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51909 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51910 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51911 ($(inst_includedir)/bits/syscall.h): Remove rule.
51912 ($(objpfx)bits/syscall.d): Include instead of
51913 $(objpfx)syscall-list.d.
51914 (generated): Change syscall-list.h and syscall-list.d to
51915 bits/syscall.h and bits/syscall.d.
51917 2012-03-14 Roland McGrath <roland@hack.frob.com>
51920 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51922 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51925 * math/s_csqrt.c: Include <float.h>.
51926 (__csqrt): Scale large or subnormal inputs.
51927 * math/s_csqrtf.c: Likewise.
51928 * math/s_csqrtl.c: Likewise.
51929 * math/libm-test.inc (csqrt_test): Add more tests.
51930 * sysdeps/i386/fpu/libm-test-ulps: Update.
51931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51934 * math/libm-test.inc (hypot_test): Add more tests.
51936 2012-03-13 David S. Miller <davem@davemloft.net>
51939 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51940 double-precision for the calculation instead of scaling.
51942 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51944 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51945 manipulate bits before adding and subtracting TWO52[sx].
51946 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51949 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51951 2012-03-13 David S. Miller <davem@davemloft.net>
51953 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51954 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51956 rtld-global-offsets.h
51957 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51959 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51962 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51964 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51965 'err' in the ifdef scope in which it is actually used.
51967 * nss/nss_db/db-init.c: Include string.h
51969 2012-03-12 David S. Miller <davem@davemloft.net>
51971 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51972 masking out of the most significant byte of random value used.
51973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51974 Fix coding style in previous change.
51976 * sysdeps/unix/sysv/linux/kernel-features.h
51977 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51978 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51980 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51983 2012-03-11 David S. Miller <davem@davemloft.net>
51985 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51986 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51987 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51988 for 'resultvar' otherwise things get truncated on 64-bit.
51990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51991 Fix masking out of the most significant byte of random value used.
51993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51995 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51999 2012-03-09 David S. Miller <davem@davemloft.net>
52001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52002 variables with appropriate CPP guards.
52003 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52004 from the frame pointer, not the stack pointer. Correct layout
52005 comments. Fix test on resulting framesize and the management of
52006 the outregs buffer for pltexit. Preserve floating point return
52007 values across _dl_call_pltexit call.
52008 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52009 framesize and the management of the outregs buffer for pltexit.
52010 Preserve floating point return values across _dl_call_pltexit
52012 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52013 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52014 (la_sparc64_gnu_pltexit): New functions.
52015 (print_exit): Fix format string for return register value.
52017 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52019 * sunrpc/Makefile (others): Add rpcgen.
52020 ($(objpfx)rpcgen): Remove special build rule and dependency on
52022 * sunrpc/rpcgen.c: New file.
52024 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52027 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52028 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52029 * sysdeps/i386/crti.S: Likewise.
52030 * sysdeps/i386/crtn.S: Likewise.
52031 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52032 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52033 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52034 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52035 * sysdeps/sh/crti.S: Likewise.
52036 * sysdeps/sh/crtn.S: Likewise.
52037 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52040 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52042 * locale/programs/locfile-kw.gperf: Likewise.
52043 * locale/programs/charmap-kw.h: Regenerated.
52044 * locale/programs/locfile-kw.h: Likewise.
52047 * intl/plural.y: Replace FSF snail mail address with URL.
52048 * intl/plural.c: Regenerated.
52050 2012-03-09 Richard Henderson <rth@twiddle.net>
52052 * include/math_private.h: Remove file.
52053 * math/math_private.h: Move file ...
52054 * sysdeps/generic/math_private.h: ... here.
52056 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52057 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52058 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52060 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52061 and <math_private.h>.
52062 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52063 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52064 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52065 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52066 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52067 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52068 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52070 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52071 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52073 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52074 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52076 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52080 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52083 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52084 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52086 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52087 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52088 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52089 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52091 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52092 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52093 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52094 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52095 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52096 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52097 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52098 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52099 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52100 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52102 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52103 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52104 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52105 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52106 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52107 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52108 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52109 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52110 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52111 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52112 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52113 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52114 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52115 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52116 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52117 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52118 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52119 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52120 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52121 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52123 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52124 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52125 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52126 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52127 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52128 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52129 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52132 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52133 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52134 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52136 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52139 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52141 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52142 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52143 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52144 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52145 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52146 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52148 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52149 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52150 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52151 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52152 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52153 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52154 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52155 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52156 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52157 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52158 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52159 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52160 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52162 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52163 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52164 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52165 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52166 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52167 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52168 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52169 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52170 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52171 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52172 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52173 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52175 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52176 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52177 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52178 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52179 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52180 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52181 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52182 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52183 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52184 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52185 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52186 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52187 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52188 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52189 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52190 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52191 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52192 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52193 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52194 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52195 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52196 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52197 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52199 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52200 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52201 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52203 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52204 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52205 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52206 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52207 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52208 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52209 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52210 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52211 * sysdeps/ieee754/k_standard.c: Likewise.
52212 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52213 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52214 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52215 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52216 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52217 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52218 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52219 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52220 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52222 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52224 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52225 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52226 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52227 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52228 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52229 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52230 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52231 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52232 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52233 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52234 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52235 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52236 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52237 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52238 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52239 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52240 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52242 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52243 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52244 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52245 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52246 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52247 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52248 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52249 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52250 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52251 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52252 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52253 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52254 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52255 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52256 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52257 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52258 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52260 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52263 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52264 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52265 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52268 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52269 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52270 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52271 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52272 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52273 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52274 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52275 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52276 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52278 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52279 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52280 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52281 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52284 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52285 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52286 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52289 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52291 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52292 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52293 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52294 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52295 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52296 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52297 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52298 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52299 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52300 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52303 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52304 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52305 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52306 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52307 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52308 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52309 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52310 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52311 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52313 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52314 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52316 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52319 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52320 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52321 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52322 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52323 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52324 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52325 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52326 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52327 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52328 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52329 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52330 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52331 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52332 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52333 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52334 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52335 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52336 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52337 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52338 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52339 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52340 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52341 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52342 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52343 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52344 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52345 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52346 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52347 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52348 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52349 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52350 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52351 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52352 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52353 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52354 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52355 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52356 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52357 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52358 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52359 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52360 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52361 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52362 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52366 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52367 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52368 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52369 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52371 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52372 * sysdeps/ieee754/s_lib_version.c: Likewise.
52373 * sysdeps/ieee754/s_matherr.c: Likewise.
52374 * sysdeps/ieee754/s_signgam.c: Likewise.
52375 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52376 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52377 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52378 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52379 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52380 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52381 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52382 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52383 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52384 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52385 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52386 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52387 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52388 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52389 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52390 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52391 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52392 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52393 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52397 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52399 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52400 * sunrpc/rpc_main.c: Likewise.
52401 * sunrpc/rpc_svcout.c: Likewise.
52403 2012-03-09 David S. Miller <davem@davemloft.net>
52405 * include/math_private.h: New file.
52407 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52409 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52410 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52411 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52412 from <bits/socket_type.h>.
52413 (enum __socket_type): Don't define here.
52414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52416 bits/socket_type.h.
52419 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52420 checking __USE_GNU.
52422 * Makerules ($(inst_includedir)/%.h): New rule.
52423 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52424 (install-others): Remove variable setting.
52425 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52427 2012-03-08 Richard Henderson <rth@twiddle.net>
52429 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52430 from macro to inline function; merge with the
52431 !__LIBC_INTERNAL_MATH_INLINES version.
52432 (__ieee754_sqrtf): Likewise.
52434 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52435 to inline function.
52436 (__rintf, __floor, __floorf): Likewise.
52438 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52439 macro to inline function.
52440 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52442 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52443 not <math/math_private.h>.
52445 2012-03-08 David S. Miller <davem@davemloft.net>
52447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52449 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52451 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52453 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52455 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52456 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52458 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52460 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52461 be defined individually, they must be defined as a block. Define
52462 S for printing a string instead of hidint the different by using a
52463 macro for adding the 'l'.
52464 * stdio-common/tst-fphex-wide.c: Adjust.
52466 2012-03-07 Marek Polacek <polacek@redhat.com>
52468 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52470 2012-03-08 Marek Polacek <polacek@redhat.com>
52473 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52474 * stdio-common/tst-fphex.c: Define a few macros to make the
52475 test reusable. Use them.
52476 * stdio-common/tst-fphex-wide.c: New file.
52478 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52481 * manual/macros.texi (gnusystems): New macro.
52482 (nongnusystems): Likewise.
52483 (gnulinuxhurdsystems): Likewise.
52484 (gnuhurdsystems): Likewise..
52485 (gnulinuxsystems): Likewise.
52486 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52487 variants of the GNU system, not "GNU system".
52488 * manual/conf.texi: Likewise.
52489 * manual/errno.texi: Likewise. Update example of errno macro
52491 * manual/filesys.texi: Likewise.
52492 (getumask): Document as specific to GNU/Hurd.
52493 * manual/install.texi: Likewise. Reword some references to
52495 * manual/intro.texi: Likewise.
52496 * manual/io.texi: Likewise.
52497 (File Name Portability): Detail which constraints are inapplicable
52498 to all GNU systems and which are only inapplicable to GNU/Hurd.
52499 * manual/job.texi: Likewise.
52500 * manual/llio.texi: Likewise.
52501 (O_NOCTTY): Document as present on GNU/Linux.
52502 * manual/maint.texi: Likewise.
52503 * manual/memory.texi: Likewise.
52504 * manual/pattern.texi: Likewise.
52505 * manual/pipe.texi: Likewise.
52506 * manual/process.texi: Likewise.
52507 * manual/resource.texi: Likewise.
52508 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52510 * manual/setjmp.texi: Likewise.
52511 * manual/signal.texi: Likewise.
52512 * manual/startup.texi: Likewise.
52513 * manual/stdio.texi: Likewise.
52514 * manual/terminal.texi: Likewise.
52515 (ONLCR): Document as POSIX.
52516 (OXTABS): Document availability on GNU/Linux as XTABS.
52517 (ONOEOT): Document availability separately from other bits.
52518 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52519 * manual/time.texi: Likewise.
52520 * manual/users.texi: Likewise.
52521 * INSTALL: Regenerated.
52522 * sysdeps/gnu/errlist.c: Regenerated.
52524 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52525 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52526 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52528 * configure: Regenerated.
52530 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52532 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52533 default includes instead of AC_HEADER_CHECK.
52534 * sysdeps/i386/configure: Regenerated.
52537 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52538 * math/s_cacoshf.c (__cacoshf): Likewise.
52539 * math/s_cacoshl.c (__cacoshl): Likewise.
52540 * math/s_casinh.c (__casinh): Set signs of result from argument.
52541 * math/s_casinhf.c (__casinhf): Likewise.
52542 * math/s_casinhl.c (__casinhl): Likewise.
52543 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52544 (casinh_test): Add more tests.
52545 * sysdeps/i386/fpu/libm-test-ulps: Update.
52546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52548 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52550 * po/zh_TW.po: Update from translation team.
52552 * login/Makefile (distribute): Remove variable.
52553 * catgets/Makefile: Likewise.
52554 * mach/Makefile: Likewise.
52555 * malloc/Makefile: Likewise.
52556 * misc/Makefile: Likewise.
52557 * iconv/Makefile: Likewise.
52558 * nscd/Makefile: Likewise.
52559 * hurd/Makefile: Likewise.
52560 * manual/Makefile: Likewise.
52561 * locale/Makefile: Likewise.
52562 * intl/Makefile: Likewise.
52563 * conform/Makefile: Likewise.
52564 * nss/Makefile: Likewise.
52565 * time/Makefile: Likewise.
52566 * soft-fp/Makefile: Likewise.
52567 * dirent/Makefile: Likewise.
52568 * gmon/Makefile: Likewise.
52569 * po/Makefile: Likewise.
52570 * rt/Makefile: Likewise.
52571 * socket/Makefile: Likewise.
52572 * math/Makefile: Likewise.
52573 * signal/Makefile: Likewise.
52574 * debug/Makefile: Likewise.
52575 * elf/Makefile: Likewise.
52576 * timezone/Makefile: Likewise.
52577 * stdlib/Makefile: Likewise.
52578 * iconvdata/Makefile: Likewise.
52579 * sunrpc/Makefile: Likewise.
52580 * io/Makefile: Likewise.
52581 * argp/Makefile: Likewise.
52582 * inet/Makefile: Likewise.
52583 * hesiod/Makefile: Likewise.
52584 * grp/Makefile: Likewise.
52585 * csu/Makefile: Likewise.
52586 * wctype/Makefile: Likewise.
52587 * crypt/Makefile: Likewise.
52588 * libio/Makefile: Likewise.
52589 * string/Makefile: Likewise.
52590 * nis/Makefile: Likewise.
52591 * resolv/Makefile: Likewise.
52592 * stdio-common/Makefile: Likewise.
52593 * wcsmbs/Makefile: Likewise.
52594 * dlfcn/Makefile: Likewise.
52595 * posix/Makefile: Likewise.
52598 * timezone/Makefile: Don't install timezone files, just the programs
52601 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52603 * nss/databases.def: Add missing gshadow entry.
52605 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52607 2012-03-06 Marek Polacek <polacek@redhat.com>
52610 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52611 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52612 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52613 * stdio-common/tst-long-dbl-fphex.c: New file.
52615 2012-03-06 David S. Miller <davem@davemloft.net>
52617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52618 (set_obp_int): New function.
52619 (get_obp_int): New function.
52620 (__get_clockfreq_via_dev_openprom): Likewise.
52621 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52622 Avoid unused variable warnings on 'val' and use builtin_expect.
52623 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52625 (INLINE_CLONE_SYSCALL): Likewise.
52627 2012-03-05 David S. Miller <davem@davemloft.net>
52629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52631 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52636 only for |x| >= 40.
52637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52639 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52642 Replace gettimeofday with __vdso_gettimeofday.
52644 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52645 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52646 __vdso_clock_gettime and __vdso_getcpu.
52648 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52649 time with __vdso_time.
52651 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52653 * manual/lang.texi (size_t): Note types to which size_t may be
52654 equivalent with the GNU C Library, but do not describe when
52655 differences between them are significant.
52657 2012-03-05 Andreas Jaeger <aj@suse.de>
52659 * sysdeps/i386/fpu/libm-test-ulps: Update.
52661 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52664 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52665 (__ieee754_pow): Save and restore rounding mode and use
52666 round-to-nearest for main computations.
52667 * math/libm-test.inc (pow_test_tonearest): New function.
52668 (pow_test_towardzero): Likewise.
52669 (pow_test_downward): Likewise.
52670 (pow_test_upward): Likewise.
52671 (main): Call the new functions.
52672 * sysdeps/i386/fpu/libm-test-ulps: Update.
52673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52676 * math/libm-test.inc (cosh_test_tonearest): New function.
52677 (cosh_test_towardzero): Likewise.
52678 (cosh_test_downward): Likewise.
52679 (cosh_test_upward): Likewise.
52680 (sinh_test_tonearest): Likewise.
52681 (sinh_test_towardzero): Likewise.
52682 (sinh_test_downward): Likewise.
52683 (sinh_test_upward): Likewise.
52684 (main): Call the new functions.
52685 * sysdeps/i386/fpu/libm-test-ulps: Update.
52686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52688 2012-03-05 Tom de Vries <tom@codesourcery.com>
52690 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52691 default stack guard is set in last bytes.
52692 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52694 2012-03-05 Kees Cook <keescook@chromium.org>
52696 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52699 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52700 possibly allocate from heap instead of stack.
52701 * stdio-common/bug-vfprintf-nargs.c: New file.
52702 * stdio-common/Makefile (tests): Add nargs overflow test.
52704 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52708 2012-03-03 Marek Polacek <polacek@redhat.com>
52710 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52711 * math/math_private.h: Likewise.
52712 * stdlib/tst-strtod.c: Likewise.
52713 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52714 * sysdeps/x86_64/bits/atomic.h: Likewise.
52716 2012-03-02 David S. Miller <davem@davemloft.net>
52718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52722 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52723 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52724 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52725 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52727 2012-03-02 Roland McGrath <roland@hack.frob.com>
52730 * manual/examples/README: New file, says the example source files
52731 can be used under GPL>=2.
52732 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52733 line containing just "*/".
52734 * manual/examples/add.c: Add copyright header (GPL>=2).
52735 * manual/examples/argp-ex1.c: Likewise.
52736 * manual/examples/argp-ex2.c: Likewise.
52737 * manual/examples/argp-ex3.c: Likewise.
52738 * manual/examples/argp-ex4.c: Likewise.
52739 * manual/examples/atexit.c: Likewise.
52740 * manual/examples/db.c: Likewise.
52741 * manual/examples/dir.c: Likewise.
52742 * manual/examples/dir2.c: Likewise.
52743 * manual/examples/execinfo.c: Likewise.
52744 * manual/examples/filecli.c: Likewise.
52745 * manual/examples/filesrv.c: Likewise.
52746 * manual/examples/fmtmsgexpl.c: Likewise.
52747 * manual/examples/genpass.c: Likewise.
52748 * manual/examples/inetcli.c: Likewise.
52749 * manual/examples/inetsrv.c: Likewise.
52750 * manual/examples/isockad.c: Likewise.
52751 * manual/examples/longopt.c: Likewise.
52752 * manual/examples/memopen.c: Likewise.
52753 * manual/examples/memstrm.c: Likewise.
52754 * manual/examples/mkfsock.c: Likewise.
52755 * manual/examples/mkisock.c: Likewise.
52756 * manual/examples/mygetpass.c: Likewise.
52757 * manual/examples/pipe.c: Likewise.
52758 * manual/examples/popen.c: Likewise.
52759 * manual/examples/rprintf.c: Likewise.
52760 * manual/examples/search.c: Likewise.
52761 * manual/examples/select.c: Likewise.
52762 * manual/examples/setjmp.c: Likewise.
52763 * manual/examples/sigh1.c: Likewise.
52764 * manual/examples/sigusr.c: Likewise.
52765 * manual/examples/stpcpy.c: Likewise.
52766 * manual/examples/strdupa.c: Likewise.
52767 * manual/examples/strftim.c: Likewise.
52768 * manual/examples/strncat.c: Likewise.
52769 * manual/examples/subopt.c: Likewise.
52770 * manual/examples/swapcontext.c: Likewise.
52771 * manual/examples/termios.c: Likewise.
52772 * manual/examples/testopt.c: Likewise.
52773 * manual/examples/testpass.c: Likewise.
52774 * manual/examples/timeval_subtract.c: Likewise.
52777 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52779 * manual/timeval_subtract.c.texi: ... here, new file.
52781 2012-03-02 David S. Miller <davem@davemloft.net>
52783 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52785 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52788 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52789 (__sin): Save and restore rounding mode and use round-to-nearest
52790 for all computations.
52791 (__cos): Save and restore rounding mode and use round-to-nearest
52792 for all computations.
52793 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52795 (tan): Save and restore rounding mode and use round-to-nearest for
52797 * math/libm-test.inc (cos_test_tonearest): New function.
52798 (cos_test_towardzero): Likewise.
52799 (cos_test_downward): Likewise.
52800 (cos_test_upward): Likewise.
52801 (sin_test_tonearest): Likewise.
52802 (sin_test_towardzero): Likewise.
52803 (sin_test_downward): Likewise.
52804 (sin_test_upward): Likewise.
52805 (tan_test_tonearest): Likewise.
52806 (tan_test_towardzero): Likewise.
52807 (tan_test_downward): Likewise.
52808 (tan_test_upward): Likewise.
52809 (main): Call the new functions.
52810 * sysdeps/i386/fpu/libm-test-ulps: Update.
52811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52814 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52815 small n, then large n, before computing and testing k+n.
52816 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52821 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52822 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52823 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52824 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52825 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52826 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52827 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52828 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52829 * math/libm-test.inc (scalbn_test): Add more tests.
52830 (scalbln_test): Likewise.
52832 * manual/filesys.texi (mode_t): Describe constraints on size and
52833 signedness, not exact equivalence to a particular type.
52835 (ino64_t): Likewise.
52837 (nlink_t): Likewise.
52838 (blkcnt_t): Likewise.
52839 (blkcnt64_t): Likewise.
52840 * manual/llio.texi (off_t): Likewise.
52843 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52844 (__ieee754_exp): Save and restore rounding mode and use
52845 round-to-nearest for all computations.
52846 * math/libm-test.inc (exp_test_tonearest): New function.
52847 (exp_test_towardzero): Likewise.
52848 (exp_test_downward): Likewise.
52849 (exp_test_upward): Likewise.
52850 (main): Call the new functions.
52851 * sysdeps/i386/fpu/libm-test-ulps: Update.
52852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52854 2012-03-01 Chris Demetriou <cgd@google.com>
52856 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52857 have predictable order.
52859 2012-03-01 David S. Miller <davem@davemloft.net>
52861 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52863 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52864 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52865 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52866 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52868 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52869 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52870 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52872 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52873 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52874 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52875 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52876 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52881 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52882 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52884 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52885 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52886 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52887 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52888 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52891 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52893 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52894 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52897 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52898 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52900 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52901 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52902 * sysdeps/sparc/elf/configure: Regenerated.
52904 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52906 * configure.in (AS, LD): Require binutils 2.20 or later.
52907 * configure: Regenerated.
52908 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52909 as required minimum version.
52910 * INSTALL: Regenerated.
52914 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52915 before squaring exponent.
52916 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52917 bottom long double and 27 bits of top long double before squaring
52919 * math/libm-test.inc (erfc_test): Add more tests.
52920 * sysdeps/i386/fpu/libm-test-ulps: Update.
52921 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52924 2012-03-01 Kai Tietz <ktietz@redhat.com>
52926 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52927 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52928 containing bit-fields.
52929 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52930 * soft-fp/single.h (_FP_UNION_S): Likewise.
52931 * soft-fp/double.h (_FP_UNION_D): Likewise.
52933 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52936 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52937 not include ../strcmp.S.
52938 [USE_AS_STRNCASECMP_L]: Likewise.
52939 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52940 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52941 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52942 (__strncasecmp_l_ia32): Define as alias to
52943 __strncasecmp_l_nonascii.
52946 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52947 * sysdeps/i386/fpu/libm-test-ulps: Update.
52948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52950 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52953 2012-02-29 Jeff Law <law@redhat.com>
52955 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52956 out of bounds read.
52958 2012-02-29 Marek Polacek <polacek@redhat.com>
52961 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52962 * elf/Makefile: Add rules to run tst-unused-dep.out.
52964 2012-02-28 David S. Miller <davem@davemloft.net>
52966 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52967 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52969 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52970 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52971 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52973 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52975 * math/libm-test.inc (llround_test): Move one test from
52976 lround_test. Use TEST_f_L in moved test.
52977 (lround_test): Move misplaced test to llround_test. Add testcase
52980 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52982 * sysdeps/x86_64/fpu/e_expf.S: New file.
52983 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52985 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52988 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52989 of remain_len that may cause incomplete multi-byte character and
52991 * posix/bug-regex33.c: New file.
52992 * posix/Makefile (tests): Add bug-regex33.
52994 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52996 * manual/macros.texi: New file.
52997 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52998 * manual/libc.texinfo: Include macros.texi.
52999 * manual/creatute.texi: Likewise.
53000 * manual/install.texi: Likewise.
53001 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53002 @glibcadj{} in references to the GNU C Library.
53003 * manual/charset.texi: Likewise.
53004 * manual/conf.texi: Likewise.
53005 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53006 when not using those macros.
53007 * manual/creature.texi: Likewise.
53008 * manual/crypt.texi: Likewise.
53009 * manual/errno.texi: Likewise.
53010 * manual/filesys.texi: Likewise.
53011 * manual/header.texi: Likewise.
53012 * manual/install.texi: Likewise.
53013 * manual/intro.texi: Likewise.
53014 * manual/io.texi: Likewise.
53015 * manual/job.texi: Likewise.
53016 * manual/lang.texi: Likewise.
53017 * manual/libc.texiinfo: Likewise.
53018 * manual/llio.texi: Likewise.
53019 * manual/locale.texi: Likewise.
53020 * manual/maint.texi: Likewise.
53021 * manual/math.texi: Likewise.
53022 * manual/memory.texi: Likewise.
53023 * manual/message.texi: Likewise.
53024 * manual/nss.texi: Likewise.
53025 * manual/pattern.texi: Likewise.
53026 * manual/process.texi: Likewise.
53027 * manual/resource.texi: Likewise.
53028 * manual/search.texi: Likewise.
53029 * manual/setjmp.texi: Likewise.
53030 * manual/signal.texi: Likewise.
53031 * manual/socket.texi: Likewise.
53032 * manual/startup.texi: Likewise.
53033 * manual/stdio.texi: Likewise.
53034 * manual/string.texi: Likewise.
53035 * manual/sysinfo.texi: Likewise.
53036 * manual/syslog.texi: Likewise.
53037 * manual/terminal.texi: Likewise.
53038 * manual/time.texi: Likewise.
53039 * manual/users.texi: Likewise.
53040 * INSTALL: Regenerated.
53041 * NOTES: Regenerated.
53042 * sysdeps/gnu/errlist.c: Regenerated.
53044 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53046 * include/dirent.h: Include <dirstream.h> before
53049 2012-02-28 David S. Miller <davem@davemloft.net>
53051 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53052 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53053 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53054 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53056 2012-02-27 David S. Miller <davem@davemloft.net>
53058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53060 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53061 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53064 frame pointer instead of stack pointer relative arg slot.
53065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53066 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53067 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53069 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53072 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53074 2012-02-27 David S. Miller <davem@davemloft.net>
53076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53082 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53083 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53085 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53087 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53088 later. Allow versions 5-9.
53089 * configure: Regenerated.
53090 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53091 required minimum version and 4.6 as recommended version. Do not
53092 mention bugs in GCC 2.7 and 2.8.
53093 * INSTALL: Regenerated.
53095 2012-02-27 David S. Miller <davem@davemloft.net>
53097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53101 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53102 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53103 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53104 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53106 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53107 manipulate bits before adding and subtracting TWO112[sx].
53108 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53110 2012-02-27 Roland McGrath <roland@hack.frob.com>
53113 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53114 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53115 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53116 being in POSIX, because they are in 1003.1-2008.
53118 * rt/tst-aio.c: Include <fcntl.h>.
53119 * rt/tst-aio7.c: Likewise.
53120 * rt/tst-aio64.c: Likewise.
53122 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53124 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53126 * manual/install.texi (--with-headers): Describe headers as
53127 interface headers, not private headers.
53128 (Specific advice for GNU/Linux systems): Describe use of headers
53129 from "make headers_install", not private headers from older
53131 * INSTALL: Regenerated.
53132 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53134 * sysdeps/unix/sysv/linux/configure: Regenerated.
53136 * manual/llio.texi (fclean): Remove documentation.
53138 * manual/Makefile (libc-texi-generated): New variable. Include
53140 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53141 $(libc-texi-generated), not duplicated list of files.
53142 (version.texi, stamp-version): New rules.
53143 (realclean): Remove $(libc-texi-generated), not individual files
53144 from that list. Do not remove dir-add.texinfo.
53145 * manual/libc.texinfo: Comment out uses of edition numbers and
53146 references to printed manual. Remove last-updated dates.
53147 (EDITION): Comment out.
53149 (VERSION, UPDATED): Remove.
53150 (version.texi): Include.
53152 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53154 * sysdeps/posix/spawni.c: Include <signal.h>.
53155 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53156 * sysdeps/pthread/aio_fsync.c: Likewise.
53158 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53160 * conform/Makefile (tests): Run only when not cross-compiling and
53161 when fast-check is not defined.
53163 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53164 * conform/data/limits.h-data: Fixes for POSIX2008.
53165 * conform/run-conformtest.sh: Run all tests.
53166 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53168 * include/bits/dlfcn.h: Likewise.
53169 * include/langinfo.h: Likewise.
53170 * include/monetary.h: Likewise.
53171 * include/sys/poll.h: Likewise.
53173 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53175 * posix/spawn.h: Define __need_sigset_t.
53176 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53177 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53178 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53179 to get sigevent_t only.
53180 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53181 only for __USE_GNU.
53182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53183 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53184 process_vm_writev only for __USE_GNU.
53185 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53187 * conform/Makefile: For now ignore errors from run-conformtest.
53188 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53189 POSIX to avoid namespace pollution. Don't prepend headers.
53190 * conform/data/aio.h-data: Fixes for POSIX testing.
53191 * conform/data/fcntl.h-data: Likewise.
53192 * conform/data/glob.h-data: Likewise.
53193 * conform/data/grp.h-data: Likewise.
53194 * conform/data/pthread.h-data: Likewise.
53195 * conform/data/pwd.h-data: Likewise.
53196 * conform/data/signal.h-data: Likewise.
53197 * conform/data/spawn.h-data: Likewise.
53198 * conform/data/stdio.h-data: Likewise.
53199 * conform/data/stdlib.h-data: Likewise.
53200 * conform/data/stropts.h-data: Likewise.
53201 * conform/data/sys/mman.h-data: Likewise.
53202 * conform/data/sys/stat.h-data: Likewise.
53203 * conform/data/sys/types.h-data: Likewise.
53204 * conform/data/sys/wait.h-data: Likewise.
53205 * conform/data/time.h-data: Likewise.
53206 * conform/data/unistd.h-data: Likewise.
53207 * conform/data/utime.h-data: Likewise.
53209 * io/sys/stat.h: fchmod was always in POSIX.
53210 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53211 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53212 * rt/aio.h: Define __need_timespec before including <time.h>.
53213 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53214 struct. Add forward declaration of pthread_attr_t and use it in
53216 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53218 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53219 always remove CLK_TCK definition.
53221 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53223 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53225 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53227 * conform/run-conformtest.sh: New file.
53228 * conform/Makefile: Run run-conformtest for tests.
53229 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53232 * conform/data/uchar.h-data: New file.
53233 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53234 * conform/data/arpa/inet.h-data: Likewise.
53235 * conform/data/assert.h-data: Likewise.
53236 * conform/data/complex.h-data: Likewise.
53237 * conform/data/cpio.h-data: Likewise.
53238 * conform/data/ctype.h-data: Likewise.
53239 * conform/data/dirent.h-data: Likewise.
53240 * conform/data/dlfcn.h-data: Likewise.
53241 * conform/data/errno.h-data: Likewise.
53242 * conform/data/fcntl.h-data: Likewise.
53243 * conform/data/float.h-data: Likewise.
53244 * conform/data/fmtmsg.h-data: Likewise.
53245 * conform/data/fnmatch.h-data: Likewise.
53246 * conform/data/ftw.h-data: Likewise.
53247 * conform/data/glob.h-data: Likewise.
53248 * conform/data/grp.h-data: Likewise.
53249 * conform/data/iconv.h-data: Likewise.
53250 * conform/data/inttypes.h-data: Likewise.
53251 * conform/data/langinfo.h-data: Likewise.
53252 * conform/data/libgen.h-data: Likewise.
53253 * conform/data/limits.h-data: Likewise.
53254 * conform/data/locale.h-data: Likewise.
53255 * conform/data/math.h-data: Likewise.
53256 * conform/data/monetary.h-data: Likewise.
53257 * conform/data/mqueue.h-data: Likewise.
53258 * conform/data/ndbm.h-data: Likewise.
53259 * conform/data/net/if.h-data: Likewise.
53260 * conform/data/netdb.h-data: Likewise.
53261 * conform/data/netinet/in.h-data: Likewise.
53262 * conform/data/nl_types.h-data: Likewise.
53263 * conform/data/poll.h-data: Likewise.
53264 * conform/data/pthread.h-data: Likewise.
53265 * conform/data/pwd.h-data: Likewise.
53266 * conform/data/regex.h-data: Likewise.
53267 * conform/data/sched.h-data: Likewise.
53268 * conform/data/search.h-data: Likewise.
53269 * conform/data/semaphore.h-data: Likewise.
53270 * conform/data/setjmp.h-data: Likewise.
53271 * conform/data/signal.h-data: Likewise.
53272 * conform/data/spawn.h-data: Likewise.
53273 * conform/data/stdarg.h-data: Likewise.
53274 * conform/data/stdio.h-data: Likewise.
53275 * conform/data/stdlib.h-data: Likewise.
53276 * conform/data/string.h-data: Likewise.
53277 * conform/data/strings.h-data: Likewise.
53278 * conform/data/stropts.h-data: Likewise.
53279 * conform/data/sys/ipc.h-data: Likewise.
53280 * conform/data/sys/mman.h-data: Likewise.
53281 * conform/data/sys/msg.h-data: Likewise.
53282 * conform/data/sys/resource.h-data: Likewise.
53283 * conform/data/sys/select.h-data: Likewise.
53284 * conform/data/sys/sem.h-data: Likewise.
53285 * conform/data/sys/shm.h-data: Likewise.
53286 * conform/data/sys/socket.h-data: Likewise.
53287 * conform/data/sys/stat.h-data: Likewise.
53288 * conform/data/sys/statvfs.h-data: Likewise.
53289 * conform/data/sys/time.h-data: Likewise.
53290 * conform/data/sys/timeb.h-data: Likewise.
53291 * conform/data/sys/times.h-data: Likewise.
53292 * conform/data/sys/types.h-data: Likewise.
53293 * conform/data/sys/uio.h-data: Likewise.
53294 * conform/data/sys/un.h-data: Likewise.
53295 * conform/data/sys/utsname.h-data: Likewise.
53296 * conform/data/sys/wait.h-data: Likewise.
53297 * conform/data/syslog.h-data: Likewise.
53298 * conform/data/tar.h-data: Likewise.
53299 * conform/data/termios.h-data: Likewise.
53300 * conform/data/utime.h-data: Likewise.
53301 * conform/data/utmpx.h-data: Likewise.
53302 * conform/data/varargs.h-data: Likewise.
53303 * conform/data/wchar.h-data: Likewise.
53304 * conform/data/wctype.h-data: Likewise.
53305 * conform/data/wordexp.h-data: Likewise.
53307 * include/stropts.h: New file.
53308 * include/uchar.h: New file.
53309 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53310 * include/assert.h: Likewise.
53311 * include/ctype.h: Likewise.
53312 * include/dirent.h: Likewise.
53313 * include/dlfcn.h: Likewise.
53314 * include/fcntl.h: Likewise.
53315 * include/fnmatch.h: Likewise.
53316 * include/glob.h: Likewise.
53317 * include/grp.h: Likewise.
53318 * include/libio.h: Likewise.
53319 * include/locale.h: Likewise.
53320 * include/math.h: Likewise.
53321 * include/net/if.h: Likewise.
53322 * include/netdb.h: Likewise.
53323 * include/netinet/in.h: Likewise.
53324 * include/pthread.h: Likewise.
53325 * include/pwd.h: Likewise.
53326 * include/regex.h: Likewise.
53327 * include/sched.h: Likewise.
53328 * include/search.h: Likewise.
53329 * include/setjmp.h: Likewise.
53330 * include/signal.h: Likewise.
53331 * include/stdio.h: Likewise.
53332 * include/stdlib.h: Likewise.
53333 * include/string.h: Likewise.
53334 * include/sys/cdefs.h: Likewise.
53335 * include/sys/mman.h: Likewise.
53336 * include/sys/msg.h: Likewise.
53337 * include/sys/resource.h: Likewise.
53338 * include/sys/select.h: Likewise.
53339 * include/sys/socket.h: Likewise.
53340 * include/sys/stat.h: Likewise.
53341 * include/sys/statvfs.h: Likewise.
53342 * include/sys/time.h: Likewise.
53343 * include/sys/times.h: Likewise.
53344 * include/sys/uio.h: Likewise.
53345 * include/sys/utsname.h: Likewise.
53346 * include/sys/wait.h: Likewise.
53347 * include/termios.h: Likewise.
53348 * include/time.h: Likewise.
53349 * include/ulimit.h: Likewise.
53350 * include/unistd.h: Likewise.
53351 * include/utime.h: Likewise.
53352 * include/wchar.h: Likewise.
53353 * include/wctype.h: Likewise.
53354 * include/wordexp.h: Likewise.
53356 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53358 * time/time.h: TIME_UTC must be a macro.
53359 Make timespec_get available for ISO C11 only as well.
53361 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53363 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53364 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53366 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53368 * configure.in: Use -o not -a in test for unsupported multi-arch.
53370 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53372 * manual/texinfo.tex: Update to version 2012-01-19.16.
53374 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53376 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53378 2012-02-24 Roland McGrath <roland@hack.frob.com>
53381 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53382 * manual/fdl-1.3.texi: New file.
53383 * manual/fdl-1.1.texi: File removed.
53386 * manual/libc.texinfo (FDL_VERSION): New @set.
53387 Use it for mention of FDL in cover text.
53388 (Documentation License): Use it in @include file name.
53390 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53391 Roland McGrath <roland@hack.frob.com>
53394 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53395 (not LONG_LONG_MAX and LONG_LONG_MIN.
53396 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53397 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53399 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53401 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53405 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53406 manipulate bits before adding and subtracting TWO23[sx].
53407 * math/libm-test.inc (nearbyint_test): Add more tests.
53409 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53412 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53413 bits before adding and subtracting TWO23[sx].
53414 * math/libm-test.inc (rint_test): Add more tests.
53415 (rint_test_tonearest): Likewise.
53416 (rint_test_towardzero): Likewise.
53417 (rint_test_downward): Likewise.
53418 (rint_test_upward: Likewise.
53420 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53423 * include/stdc-predef.h: New file. Extracted from features.h.
53424 * include/features.h: Include stdc-predef.h.
53425 * Makefile (headers): Add stdc-predef.h.
53426 * CONFORMANCE (Compiler limitations): Update.
53428 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53430 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53432 2012-02-21 David S. Miller <davem@davemloft.net>
53434 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53435 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53437 2012-02-20 David S. Miller <davem@davemloft.net>
53439 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53440 using a normal save/restore sequence, rather than allocating a
53441 dummy stack frame just to store a frame pointer and restore.
53442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53444 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53446 * manual/install.texi: Fix stray word in line-wrapped comment.
53448 2012-02-20 David S. Miller <davem@davemloft.net>
53450 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53451 both binutils and gcc support GOTDATA.
53453 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53454 "rd %pc" in the PIC register setup sequences.
53456 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53457 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53458 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53459 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53460 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53463 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53464 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53465 (SYSCALL_ERROR_HANDLER): Likewise.
53466 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53467 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53469 (SYSCALL_ERROR_HANDLER): Likewise.
53471 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53472 (HAVE_GCC_GOTDATA): New.
53473 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53474 relocation support in both binutils and gcc.
53475 * sysdeps/sparc/elf/configure: Regenerate.
53477 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53478 * sysdeps/sparc/sparc32/elf/configure: Delete.
53479 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53480 * sysdeps/sparc/sparc64/elf/configure: Delete.
53481 * sysdeps/sparc/elf/configure.in: New file.
53482 * sysdeps/sparc/elf/configure: Generate.
53484 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53485 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53486 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53487 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53488 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53490 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53492 * manual/install.texi: Do not mention specific glibc version
53494 * manual/libc.texinfo (VERSION, UPDATED): Update.
53495 (@copying): Use @copyright{} and range of years.
53497 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53500 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53501 [crti.S not in sysdirs] (generated): Do not append.
53502 [crti.S not in sysdirs] (omit-deps): Likewise.
53503 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53504 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53505 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53506 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53507 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53509 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53510 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53511 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53512 * csu/defs.awk: Remove file.
53513 * sysdeps/generic/initfini.c: Likewise.
53514 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53516 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53519 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53521 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53522 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53523 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53525 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53526 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53528 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53529 (__EPOLL_PACKED): Define to empty if not defined by
53531 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53535 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53537 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53538 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53539 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53540 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53542 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53546 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53548 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53551 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53555 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53557 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53558 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53560 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53562 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53563 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53565 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53567 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53570 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53572 * math/w_acos.c: Use non-signaling floating-point comparisons.
53573 * math/w_acosf.c: Likewise.
53574 * math/w_acosh.c: Likewise.
53575 * math/w_acoshf.c: Likewise.
53576 * math/w_acoshl.c: Likewise.
53577 * math/w_acosl.c: Likewise.
53578 * math/w_asin.c: Likewise.
53579 * math/w_asinf.c: Likewise.
53580 * math/w_asinl.c: Likewise.
53581 * math/w_atanh.c: Likewise.
53582 * math/w_atanhf.c: Likewise.
53583 * math/w_atanhl.c: Likewise.
53584 * math/w_exp2.c: Likewise.
53585 * math/w_exp2f.c: Likewise.
53586 * math/w_exp2l.c: Likewise.
53587 * math/w_j0.c: Likewise.
53588 * math/w_j0f.c: Likewise.
53589 * math/w_j0l.c: Likewise.
53590 * math/w_j1.c: Likewise.
53591 * math/w_j1f.c: Likewise.
53592 * math/w_j1l.c: Likewise.
53593 * math/w_jn.c: Likewise.
53594 * math/w_jnf.c: Likewise.
53595 * math/w_log.c: Likewise.
53596 * math/w_log10.c: Likewise.
53597 * math/w_log10f.c: Likewise.
53598 * math/w_log10l.c: Likewise.
53599 * math/w_log2.c: Likewise.
53600 * math/w_log2f.c: Likewise.
53601 * math/w_log2l.c: Likewise.
53602 * math/w_logf.c: Likewise.
53603 * math/w_logl.c: Likewise.
53604 * math/w_sqrt.c: Likewise.
53605 * math/w_sqrtf.c: Likewise.
53606 * math/w_sqrtl.c: Likewise.
53607 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53608 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53610 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53611 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53613 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53616 * manual/string.texi (strnlen): Use correct parameter name in
53617 equivalent expression.
53619 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53622 * manual/users.texi (seteuid): Consistently use neweuid for
53625 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53628 * manual/nss.texi (Services in the NSS configuration): Correct
53629 list of services in example configuration file.
53631 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53634 * manual/arith.texi: Remove statements about negative zero
53635 behaving identically to zero.
53637 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53640 * manual/install.texi: Do not document upgrading from libc5.
53642 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53645 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53647 2012-02-18 David S. Miller <davem@davemloft.net>
53649 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53650 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53651 %o7 across the call.
53652 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53655 SETUP_PIC_REG_LEAF.
53656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53657 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53658 * sysdeps/sparc/crtn.S: Likewise.
53660 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53662 * aout/Makefile: Remove.
53664 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53667 * manual/examples/argp-ex1.c (main): Format definition in GNU
53669 * manual/examples/argp-ex2.c (main): Likewise.
53670 * manual/examples/argp-ex3.c (main): Likewise.
53671 * manual/examples/argp-ex4.c (main): Likewise.
53672 * manual/examples/longopt.c (main): Use new-style prototype
53674 * manual/examples/strncat.c (main): Specify return type and use
53675 (void) for arguments.
53676 * manual/examples/subopt.c (main): Use char **argv argument.
53678 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53681 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53684 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53687 * manual/string.texi (strchr): Change when strchrnul is
53690 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53693 * manual/locale.texi (setlocale): Document LOCPATH.
53695 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53698 * manual/process.texi (execle): Move @dots{} before last argument.
53700 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53703 * manual/charset.texi (Generic Charset Conversion): Fix typo
53704 (LC_TYPE -> LC_CTYPE).
53706 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53709 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53710 (scalbnf): Likewise.
53711 (scalbnl): Likewise.
53712 (scalbln): Likewise.
53713 (scalblnf): Likewise.
53714 (scalblnl): Likewise.
53715 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53716 (vwarnx): Likewise.
53719 * manual/filesys.texi (telldir): Use braces around return type.
53720 * manual/llio.texi (mmap): Add space after comma.
53721 (mmap64): Likewise.
53722 * manual/math.texi (jn): Use @var{} on parameter names.
53728 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53730 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53732 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53733 (sched_get_priority_max): Likewise.
53734 * manual/signal.texi (sigvec): Add space after comma.
53735 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53737 (if_indextoname): Likewise.
53738 (if_freenameindex): Likewise.
53739 (sendto): Use ',' instead of '.' in prototype.
53740 * manual/startup.texi (syscall): Use @dots{} instead of literal
53742 * manual/stdio.texi (__fpending): Separate initial words of
53743 paragraph from @deftypefun line.
53744 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53746 (vsyslog): Use @var{} on parameter names.
53747 * manual/terminal.texi (stty): Use @var{} on parameter names.
53748 * manual/users.texi (getutmp): Use @var{} on parameter names.
53749 (getutmpx): Likewise.
53751 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53754 * manual/stdio.texi (fopen): Fix typos in description of
53757 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53760 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53761 get clock_id definition.
53763 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53766 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53767 (madvise): Cast every argument to void on its own.
53769 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53772 * manual/startup.texi (Exit Status): Fix typo.
53774 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53777 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53778 * manual/examples/argp-ex2.c: Likewise.
53779 * manual/examples/argp-ex3.c: Likewise.
53781 2012-02-16 Richard Henderson <rth@redhat.com>
53783 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53784 * sysdeps/s390/s390-32/initfini.c: Remove.
53785 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53786 * sysdeps/s390/s390-64/initfini.c: Remove.
53788 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53790 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53791 compiler output for sysdeps/generic/initfini.c.
53792 * sysdeps/sh/elf/initfini.c: Remove file.
53794 2012-02-16 David S. Miller <davem@davemloft.net>
53797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53799 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53800 * sysdeps/sparc/crti.S: New file.
53801 * sysdeps/sparc/crtn.S: New file.
53802 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53803 * sysdeps/sparc/sparc64/Makefile: Likewise.
53805 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53808 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53810 2012-02-15 Roland McGrath <roland@hack.frob.com>
53813 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53815 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53816 (write, read, close): Likewise.
53817 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53819 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53821 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53822 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53823 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53824 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53826 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53830 2012-02-14 Marek Polacek <polacek@redhat.com>
53832 * sysdeps/x86_64/crti.S: New file.
53833 * sysdeps/x86_64/crtn.S: New file.
53834 * sysdeps/x86_64/elf/initfini.c: Remove file.
53836 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53838 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53839 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53840 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53841 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53843 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53847 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53849 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53850 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53851 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53852 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53854 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53858 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53860 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53861 __feraiseexcept instead of feraiseexcept.
53863 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53864 nanosleep invocations.
53865 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53866 strings, and add error checking for a nanosleep invocations.
53868 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53870 Replace FSF snail mail address with URLs, as per GNU coding standards.
53871 Most of the snail mail addresses were wrong anyway, and omitting
53872 them makes the source code easier to maintain. Almost all of the
53873 changes are to license notices and to locale LC_IDENTIFICATION
53874 addresses, except for this one:
53875 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53876 not its snail mail address.
53878 2012-02-09 Richard Henderson <rth@twiddle.net>
53880 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53881 of kernel-features.h.
53883 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53885 2012-02-08 Marek Polacek <polacek@redhat.com>
53887 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53888 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53889 * sysdeps/gnu/_G_config.h: Likewise.
53890 * sysdeps/generic/_G_config.h: Likewise.
53892 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53894 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53898 * sysdeps/powerpc/powerpc32/crti.S: New file.
53899 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53900 * sysdeps/powerpc/powerpc64/crti.S: New file.
53901 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53903 * Makeconfig (have-initfini): Don't set.
53904 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53905 * configure.in (nopic_initfini): Don't substitute.
53906 * config.h.in (HAVE_INITFINI): Don't #undef.
53907 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53908 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53910 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53912 Support crti.S and crtn.S provided directly by architectures.
53913 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53914 [crti.S in sysdirs] (omit-deps): Likewise.
53915 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53916 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53917 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53918 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53919 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53920 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53921 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53922 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53923 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53924 compiler output for sysdeps/generic/initfini.c.
53925 * sysdeps/i386/elf/Makefile: Remove file.
53926 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53928 2012-02-07 Marek Polacek <polacek@redhat.com>
53930 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53931 * sysdeps/gnu/_G_config.h: Likewise.
53932 * sysdeps/mach/hurd/_G_config.h: Likewise.
53934 2012-02-07 Marek Polacek <polacek@redhat.com>
53936 * math/Makefile (tests): Add tst-CMPLX2.
53937 * math/tst-CMPLX2.c: New file.
53939 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53941 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53943 * math/libm-test.inc (jn_test): Add missing L suffix.
53945 2012-02-06 Marek Polacek <polacek@redhat.com>
53947 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53948 * sysdeps/i386/fpu/e_powf.S: Likewise.
53949 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53950 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53951 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53952 * sysdeps/i386/fpu/e_pow.S: Likewise.
53953 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53954 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53955 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53956 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53957 * sysdeps/i386/fpu/e_log2.S: Likewise.
53958 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53959 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53960 * sysdeps/i386/fpu/e_powl.S: Likewise.
53961 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53962 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53963 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53964 * sysdeps/i386/fpu/e_logl.S: Likewise.
53965 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53966 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53967 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53968 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53969 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53970 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53971 * sysdeps/i386/fpu/e_log.S: Likewise.
53972 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53973 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53974 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53975 * sysdeps/i386/fpu/e_logf.S: Likewise.
53976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53977 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53978 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53979 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53980 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53981 * sysdeps/i386/fpu/e_log10.S: Likewise.
53982 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53983 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53984 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53985 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53986 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53987 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53988 * sysdeps/i386/asm-syntax.h: Likewise.
53989 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53990 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53991 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53992 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53993 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53994 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53995 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53996 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53997 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53998 * sysdeps/powerpc/sysdep.h: Likewise.
53999 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54000 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54002 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54005 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54007 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54009 * sysdeps/i386/sysdep.h: Include <features.h>.
54010 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54013 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54015 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54017 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54020 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54022 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54023 (SETUP_PIC_REG): Use GET_PC_THUNK.
54024 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54027 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54029 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54030 for non-PIC compilation.
54031 (SETUP_PIC_REG): Add .p2align directive.
54032 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54033 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54034 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54035 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54037 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54038 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54040 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54041 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54042 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54043 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54044 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54045 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54046 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54047 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54048 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54049 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54050 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54051 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54052 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54054 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54055 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54056 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54058 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54059 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54060 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54061 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54062 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54063 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54064 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54065 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54066 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54067 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54068 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54069 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54070 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54071 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54072 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54074 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54076 * math/tst-CMPLX.c: Include <stdio.h>.
54078 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54080 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54082 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54083 * sysdeps/sparc/bits/mathdef.h: Likewise.
54085 2012-01-31 Marek Polacek <polacek@redhat.com>
54087 * libio/libio.h: Don't define _PARAMS.
54088 * locale/programs/config.h: Don't define PARAMS.
54089 * stdlib/strtol_l.c: Likewise.
54090 (__strtol_l): Remove PARAMS from the prototype.
54092 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54094 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54095 names. Just use the correct names. Remove unnecessary wrapper
54097 * malloc/arena.c: Likewise.
54098 * malloc/hooks.c: Likewise.
54100 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54101 ARENA_TEST says not to. Simplify test for creation of a new arena.
54102 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54104 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54106 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54108 (update_get_addr): New function.
54109 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54110 GET_ADDR_MODULE parameter.
54112 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54114 * crypt/cert.c: Remove __STDC__ conditionals.
54115 * crypt/crypt-entry.c: Likewise.
54116 * crypt/crypt_util.c: Likewise.
54117 * libio/filedoalloc.c: Likewise.
54118 * libio/fileops.c: Likewise.
54119 * libio/genops.c: Likewise.
54120 * libio/iofclose.c: Likewise.
54121 * libio/iofdopen.c: Likewise.
54122 * libio/iofopen.c: Likewise.
54123 * libio/iofopen64.c: Likewise.
54124 * libio/iogetdelim.c: Likewise.
54125 * libio/iopopen.c: Likewise.
54126 * libio/obprintf.c: Likewise.
54127 * libio/oldfileops.c: Likewise.
54128 * libio/oldiofclose.c: Likewise.
54129 * libio/oldiofdopen.c: Likewise.
54130 * libio/oldiofopen.c: Likewise.
54131 * libio/oldiopopen.c: Likewise.
54132 * libio/wfiledoalloc.c: Likewise.
54133 * libio/wgenops.c: Likewise.
54134 * locale/programs/xmalloc.c: Likewise.
54135 * misc/syslog.c: Likewise.
54136 * stdio-common/xbug.c: Likewise.
54137 * string/memchr.c: Likewise.
54138 * string/memcmp.c: Likewise.
54139 * string/memrchr.c: Likewise.
54140 * string/rawmemchr.c: Likewise.
54141 * sysdeps/posix/getcwd.c: Likewise.
54142 * time/strftime_l.c: Likewise.
54144 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54146 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54147 * config.make.in (config-cflags-sse2avx): Define.
54148 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54151 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54153 * scripts/config.guess: Update from upstream config git repository.
54154 * scripts/config.sub: Likewise.
54156 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54158 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54160 (R_TILEPRO_*, R_TILEGX_*): New macros.
54162 * scripts/firstversions.awk: Fix bug in version range handling.
54164 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54166 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54168 * include/sys/epoll.h: New file.
54169 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54172 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54174 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54175 Avoid unnecessary __WORDSIZE == 64 test.
54176 (fmaxf): Use VEX format if possible.
54181 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54182 * math/math_private.h: Remove libc_fegetround* and
54184 * sysdeps/i386/configure.in: Check for -msse2avx.
54185 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54186 also if SSE2AVX is defined.
54187 Remove libc_fegetround* and libc_fesetround*.
54188 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54189 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54190 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54192 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54193 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54194 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54195 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54196 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54198 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54200 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54202 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54204 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54206 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54209 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54211 * Makeconfig (libm): Define.
54212 * elf/Makefile: Add rules to build and run tst-relsort1.
54213 * elf/tst-relsort1.c: New file.
54214 * elf/tst-relsort1mod1.c: New file.
54215 * elf/tst-relsort1mod2.c: New file.
54217 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54219 * math/s_ldexp.c: Remove __STDC__ conditionals.
54220 * math/s_ldexpf.c: Likewise.
54221 * math/s_ldexpl.c: Likewise.
54222 * math/s_nextafter.c: Likewise.
54223 * math/s_nexttowardf.c: Likewise.
54224 * math/s_significand.c: Likewise.
54225 * math/s_significandf.c: Likewise.
54226 * math/s_significandl.c: Likewise.
54227 * math/w_jnl.c: Likewise.
54228 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54229 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54230 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54231 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54232 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54233 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54234 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54235 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54237 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54238 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54240 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54241 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54242 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54243 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54244 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54245 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54247 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54248 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54249 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54250 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54251 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54252 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54253 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54254 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54255 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54256 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54257 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54258 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54259 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54260 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54261 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54262 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54263 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54264 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54265 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54266 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54267 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54268 * sysdeps/ieee754/k_standard.c: Likewise.
54269 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54270 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54271 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54273 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54274 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54275 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54276 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54277 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54278 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54281 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54282 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54283 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54284 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54285 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54286 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54287 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54288 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54291 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54292 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54293 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54294 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54298 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54299 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54300 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54301 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54302 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54304 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54305 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54306 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54307 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54308 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54309 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54311 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54312 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54313 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54314 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54315 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54316 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54317 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54318 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54319 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54321 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54322 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54323 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54324 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54325 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54326 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54327 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54329 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54330 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54331 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54333 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54334 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54335 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54336 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54337 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54338 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54339 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54340 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54341 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54342 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54343 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54344 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54346 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54347 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54348 * sysdeps/ieee754/s_matherr.c: Likewise.
54349 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54350 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54351 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54354 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54356 * crypt/md5.h: Remove __STDC__ conditionals.
54357 * libio/libioP.h: Likewise.
54358 * locale/programs/config.h: Likewise.
54359 * sysdeps/generic/sysdep.h: Likewise.
54360 * sysdeps/i386/asm-syntax.h: Likewise.
54361 * sysdeps/s390/asm-syntax.h: Likewise.
54362 * sysdeps/unix/sysdep.h: Likewise.
54363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54366 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54368 * libio/libio.h: Remove __STDC__ conditionals.
54369 * malloc/obstack.h: Likewise.
54370 * math/complex.h: Likewise.
54371 * math/math.h: Likewise.
54372 * sysdeps/generic/_G_config.h: Likewise.
54373 * sysdeps/gnu/_G_config.h: Likewise.
54374 * sysdeps/mach/hurd/_G_config.h: Likewise.
54375 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54376 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54377 * sysdeps/sparc/bits/mathdef.h: Likewise.
54379 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54382 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54383 Clean up HAS_* macros.
54384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54385 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54390 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54391 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54392 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54395 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54397 * elf/tst-unique3.cc (gets): Remove declaration.
54398 * elf/tst-unique3lib.cc (gets): Likewise.
54399 * elf/tst-unique3lib2.cc (gets): Likewise.
54400 * elf/tst-unique4.cc (gets): Likewise.
54402 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54404 * include/stdio.h: Add C++ protection. Add gets declarations and
54406 * debug/tst-chk1.c: Don't declare gets here.
54407 * stdio-common/tst-gets.c: Likewise.
54409 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54411 * posix/glob: Remove directory.
54413 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54415 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54417 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54419 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54420 of the non-standard EPFNOSUPPORT.
54422 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54424 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54425 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54426 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54428 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54430 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54432 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54434 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54436 * nscd/grpcache.c (cache_addgr): Likewise.
54437 * nscd/hstcache.c (cache_addhst): Likewise.
54438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54439 * nscd/pwdcache.c (cache_addpw): Likewise.
54440 * nscd/servicescache.c (cache_addserv): Likewise.
54442 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54444 * malloc/malloc.c: Various cleanups.
54445 * malloc/hooks.c: Likewise.
54447 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54448 * stdlib/bug-fmtmsg1.c: New file.
54450 * stdlib/fmtmsg.c (init): Add missing unlock.
54451 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54453 2012-01-12 Marek Polacek <polacek@redhat.com>
54455 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54458 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54460 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54461 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54462 macro to ensure uniqueness of label name.
54463 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54464 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54466 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54468 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54470 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54471 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54472 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54473 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54475 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54477 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54479 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54480 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54481 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54483 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54485 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54486 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54487 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54490 * math/bits/math-finite.h: Add ldexp support.
54492 2012-01-10 Marek Polacek <polacek@redhat.com>
54494 * locale/programs/localedef.h (show_archive_content): Add noreturn
54497 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54499 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54501 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54503 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54505 * io/Makefile (headers): Add bits/poll2.h.
54507 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54510 typo #include statement.
54512 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54514 * include/sys/cdefs.h: Define __attribute_alloc_size.
54515 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54516 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54517 * elf/pldd.c: Likewise.
54518 * iconv/iconv_charmap.c: Likewise.
54519 * iconv/iconvconfig.c: Likewise.
54520 * iconv/strtab.c: Likewise.
54521 * locale/programs/locale.c: Likewise.
54522 * locale/programs/localedef.h: Likewise.
54523 * locale/programs/simple-hash.c: Likewise.
54524 * nscd/nscd.h: Likewise.
54525 * nss/makedb.c: Likewise.
54526 * sysdeps/generic/ldconfig.h: Likewise.
54527 * locale/programs/localedef.c: Remove xmalloc prototype.
54528 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54530 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54535 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54537 * math/Makefile (tests): Add tst-CMPLX.
54538 * math/tst-CMPLX.c: New file.
54540 * math/complex.h (CMPLXL): Fix typo.
54542 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54543 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54545 * debug/tst-chk1.c: Add poll and ppoll tests.
54546 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54547 * include/sys/poll.h: Add hidden proto for ppoll.
54548 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54549 * sysdeps/mach/hurd/ppoll.c: Likewise.
54550 * io/ppoll.c: Likewise.
54551 * debug/poll_chk.c: New file.
54552 * debug/ppoll_chk.c: New file.
54553 * include/bits/poll2.h: New file.
54554 * io/bits/poll2.h: New file.
54557 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54559 * configure.in: static is always set to yes. Remove.
54560 * config.make.in: Don't set build-static.
54561 * Makeconfig: Remove use of build-static.
54562 * dlfcn/Makefile: Likewise.
54563 * elf/Makefile: Likewise.
54564 * math/Makefile: Likewise.
54565 * misc/Makefile: Likewise.
54566 * nptl/Makefile: Likewise.
54567 * sysdeps/mach/hurd/Makefile: Likewise.
54569 * configure.in: PWD_P is not used anymore.
54570 * config.make.in: Remove PWD_P entry.
54572 * configure.in: Remove last remnants of RANLIB.
54573 No need to check for signed size_t anymore.
54574 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54576 Remove __builtin_expect test because we require at least gcc 3.4.
54577 * aclocal.m4: Likewise.
54579 * wcsmbs/mbrtoc16.c: Implement using towc function.
54580 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54581 * wcsmbs/wcsmbsload.c: Likewise.
54582 * iconv/gconv_simple.c: Likewise.
54583 * iconv/gconv_int.h: Likewise.
54584 * iconv/gconv_builtin.h: Likewise.
54585 * iconv/iconv_prog.c: Remove CHAR16 handling.
54587 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54589 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54591 * configure.in: Remove --with-elf and --enable-bounded options.
54592 Dont set base_machine for ia64. More non-ELF conditions removed.
54593 Remove testing and setting of leading underscore information.
54594 * config.make.in (build-bounded): Set to no.
54595 * config.h.in: Remove NO_UNDERSCORES entry.
54596 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54598 * csu/start.c: Remove !NO_UNDERSCORE code.
54599 * locale/localeinfo.h: Likewise.
54600 * sysdeps/generic/machine-gmon.h: Likewise.
54601 * sysdeps/generic/sysdep.h: Likewise.
54602 * sysdeps/i386/sysdep.h: Likewise.
54603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54604 * sysdeps/mach/sysdep.h: Likewise.
54605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54607 * sysdeps/sh/sysdep.h: Likewise.
54608 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54609 * sysdeps/unix/i386/sysdep.S: Likewise.
54610 * sysdeps/unix/sparc/start.c: Likewise.
54611 * sysdeps/unix/sparc/sysdep.S: Likewise.
54612 * sysdeps/unix/sparc/sysdep.h: Likewise.
54613 * sysdeps/unix/start.c: Likewise.
54614 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54615 * sysdeps/x86_64/sysdep.h: Likewise.
54617 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54620 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54622 * argp/argp-fmtstream.h: Use const instead __const.
54623 * argp/argp.h: Likewise.
54624 * assert/assert.h: Likewise.
54625 * bits/fenv.h: Likewise.
54626 * bits/sched.h: Likewise.
54627 * bits/sigset.h: Likewise.
54628 * bits/sigthread.h: Likewise.
54629 * catgets/nl_types.h: Likewise.
54630 * conform/data/pthread.h-data: Likewise.
54631 * crypt/crypt-private.h: Likewise.
54632 * crypt/crypt.h: Likewise.
54633 * crypt/crypt_util.c: Likewise.
54634 * ctype/ctype.h: Likewise.
54635 * debug/execinfo.h: Likewise.
54636 * debug/mbsnrtowcs_chk.c: Likewise.
54637 * debug/mbsrtowcs_chk.c: Likewise.
54638 * debug/wcsnrtombs_chk.c: Likewise.
54639 * debug/wcsrtombs_chk.c: Likewise.
54640 * debug/wcstombs_chk.c: Likewise.
54641 * dirent/dirent.h: Likewise.
54642 * dlfcn/dlfcn.h: Likewise.
54643 * elf/neededtest4.c: Likewise.
54644 * grp/grp.h: Likewise.
54645 * gshadow/gshadow.h: Likewise.
54646 * iconv/gconv.h: Likewise.
54647 * iconv/gconv_int.h: Likewise.
54648 * iconv/gconv_simple.c: Likewise.
54649 * iconv/iconv.h: Likewise.
54650 * iconv/loop.c: Likewise.
54651 * iconv/skeleton.c: Likewise.
54652 * include/aio.h: Likewise.
54653 * include/aliases.h: Likewise.
54654 * include/argz.h: Likewise.
54655 * include/arpa/inet.h: Likewise.
54656 * include/assert.h: Likewise.
54657 * include/dirent.h: Likewise.
54658 * include/dlfcn.h: Likewise.
54659 * include/execinfo.h: Likewise.
54660 * include/fcntl.h: Likewise.
54661 * include/fenv.h: Likewise.
54662 * include/glob.h: Likewise.
54663 * include/grp.h: Likewise.
54664 * include/libintl.h: Likewise.
54665 * include/mntent.h: Likewise.
54666 * include/netdb.h: Likewise.
54667 * include/pwd.h: Likewise.
54668 * include/rpc/netdb.h: Likewise.
54669 * include/sched.h: Likewise.
54670 * include/search.h: Likewise.
54671 * include/shadow.h: Likewise.
54672 * include/signal.h: Likewise.
54673 * include/stdio.h: Likewise.
54674 * include/stdlib.h: Likewise.
54675 * include/string.h: Likewise.
54676 * include/sys/socket.h: Likewise.
54677 * include/sys/stat.h: Likewise.
54678 * include/sys/statfs.h: Likewise.
54679 * include/sys/statvfs.h: Likewise.
54680 * include/sys/syslog.h: Likewise.
54681 * include/sys/time.h: Likewise.
54682 * include/sys/uio.h: Likewise.
54683 * include/time.h: Likewise.
54684 * include/unistd.h: Likewise.
54685 * include/utmp.h: Likewise.
54686 * include/wchar.h: Likewise.
54687 * include/wctype.h: Likewise.
54688 * inet/aliases.h: Likewise.
54689 * inet/arpa/inet.h: Likewise.
54690 * inet/netinet/ether.h: Likewise.
54691 * inet/netinet/in.h: Likewise.
54692 * intl/libintl.h: Likewise.
54693 * io/bits/fcntl2.h: Likewise.
54694 * io/fcntl.h: Likewise.
54695 * io/ftw.h: Likewise.
54696 * io/sys/poll.h: Likewise.
54697 * io/sys/stat.h: Likewise.
54698 * io/sys/statfs.h: Likewise.
54699 * io/sys/statvfs.h: Likewise.
54700 * io/utime.h: Likewise.
54701 * libio/bits/stdio.h: Likewise.
54702 * libio/bits/stdio2.h: Likewise.
54703 * libio/libio.h: Likewise.
54704 * libio/libioP.h: Likewise.
54705 * libio/stdio.h: Likewise.
54706 * locale/lc-ctype.c: Likewise.
54707 * locale/locale.h: Likewise.
54708 * login/utmp.h: Likewise.
54709 * malloc/arena.c: Likewise.
54710 * malloc/malloc.c: Likewise.
54711 * malloc/malloc.h: Likewise.
54712 * malloc/mcheck.c: Likewise.
54713 * malloc/mtrace.c: Likewise.
54714 * math/bits/mathcalls.h: Likewise.
54715 * math/fenv.h: Likewise.
54716 * math/math_private.h: Likewise.
54717 * misc/bits/error.h: Likewise.
54718 * misc/bits/syslog.h: Likewise.
54719 * misc/err.h: Likewise.
54720 * misc/error.h: Likewise.
54721 * misc/fstab.h: Likewise.
54722 * misc/mntent.h: Likewise.
54723 * misc/regexp.h: Likewise.
54724 * misc/search.h: Likewise.
54725 * misc/sgtty.h: Likewise.
54726 * misc/sys/mman.h: Likewise.
54727 * misc/sys/syslog.h: Likewise.
54728 * misc/sys/uio.h: Likewise.
54729 * misc/sys/xattr.h: Likewise.
54730 * misc/ttyent.h: Likewise.
54731 * nis/rpcsvc/ypclnt.h: Likewise.
54732 * nss/nss.h: Likewise.
54733 * posix/bits/unistd.h: Likewise.
54734 * posix/fnmatch.h: Likewise.
54735 * posix/glob.h: Likewise.
54736 * posix/sched.h: Likewise.
54737 * posix/spawn.h: Likewise.
54738 * posix/sys/wait.h: Likewise.
54739 * posix/unistd.h: Likewise.
54740 * posix/wordexp.h: Likewise.
54741 * pwd/pwd.h: Likewise.
54742 * resolv/netdb.h: Likewise.
54743 * resource/sys/resource.h: Likewise.
54744 * rt/aio.h: Likewise.
54745 * rt/bits/mqueue2.h: Likewise.
54746 * rt/mqueue.h: Likewise.
54747 * shadow/shadow.h: Likewise.
54748 * signal/signal.h: Likewise.
54749 * socket/send.c: Likewise.
54750 * socket/sendto.c: Likewise.
54751 * socket/sys/socket.h: Likewise.
54752 * stdio-common/printf.h: Likewise.
54753 * stdlib/bits/stdlib.h: Likewise.
54754 * stdlib/fmtmsg.h: Likewise.
54755 * stdlib/monetary.h: Likewise.
54756 * stdlib/stdlib.h: Likewise.
54757 * stdlib/ucontext.h: Likewise.
54758 * streams/stropts.h: Likewise.
54759 * string/argz.h: Likewise.
54760 * string/bits/string2.h: Likewise.
54761 * string/string.h: Likewise.
54762 * string/strings.h: Likewise.
54763 * sunrpc/rpc/auth.h: Likewise.
54764 * sunrpc/rpc/auth_des.h: Likewise.
54765 * sunrpc/rpc/clnt.h: Likewise.
54766 * sunrpc/rpc/netdb.h: Likewise.
54767 * sunrpc/rpc/pmap_clnt.h: Likewise.
54768 * sunrpc/rpc/xdr.h: Likewise.
54769 * sysdeps/generic/inttypes.h: Likewise.
54770 * sysdeps/generic/net/if.h: Likewise.
54771 * sysdeps/generic/sys/swap.h: Likewise.
54772 * sysdeps/gnu/net/if.h: Likewise.
54773 * sysdeps/gnu/utmpx.h: Likewise.
54774 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54775 * sysdeps/i386/i486/bits/string.h: Likewise.
54776 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54777 * sysdeps/s390/bits/string.h: Likewise.
54778 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54779 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54780 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54781 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54782 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54783 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54784 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54785 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54786 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54787 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54788 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54789 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54790 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54791 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54792 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54793 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54794 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54796 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54797 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54799 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54800 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54801 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54802 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54803 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54804 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54805 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54806 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54807 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54808 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54809 * sysvipc/sys/ipc.h: Likewise.
54810 * sysvipc/sys/msg.h: Likewise.
54811 * sysvipc/sys/sem.h: Likewise.
54812 * sysvipc/sys/shm.h: Likewise.
54813 * termios/termios.h: Likewise.
54814 * time/sys/time.h: Likewise.
54815 * time/time.h: Likewise.
54816 * wcsmbs/bits/wchar2.h: Likewise.
54817 * wcsmbs/uchar.h: Likewise.
54818 * wcsmbs/wchar.h: Likewise.
54819 * wctype/wctype.h: Likewise.
54822 * Makeconfig: Remove all but ELF support including AIX support.
54823 * Makerules: Likewise.
54824 * config.h.in: Likewise.
54825 * config.make.in: Likewise.
54826 * configure: Likewise.
54827 * configure.in: Likewise.
54828 * csu/Makefile: Likewise.
54829 * csu/version.c: Likewise.
54830 * debug/Makefile: Likewise.
54831 * dlfcn/Makefile: Likewise.
54832 * elf/Makefile: Likewise.
54833 * extra-lib.mk: Likewise.
54834 * iconv/Makefile: Likewise.
54835 * include/libc-symbols.h: Likewise.
54836 * include/shlib-compat.h: Likewise.
54837 * resolv/Makefile: Likewise.
54838 * resolv/res_libc.c: Likewise.
54839 * rt/Makefile: Likewise.
54840 * sysdeps/i386/asm-syntax.h: Likewise.
54841 * sysdeps/i386/sysdep.h: Likewise.
54842 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54843 * sysdeps/mach/sysdep.h: Likewise.
54844 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54845 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54846 * sysdeps/s390/asm-syntax.h: Likewise.
54847 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54849 * sysdeps/sh/sysdep.h: Likewise.
54850 * sysdeps/unix/sparc/sysdep.h: Likewise.
54851 * sysdeps/wordsize-32/divdi3.c: Likewise.
54852 * sysdeps/x86_64/sysdep.h: Likewise.
54854 * argp/Versions: Remove _argp_unlock_xxx.
54857 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54858 * abilist/libBrokenLocale.abilist: Likewise.
54859 * abilist/libanl.abilist: Likewise.
54860 * abilist/libc.abilist: Likewise.
54861 * abilist/libcrypt.abilist: Likewise.
54862 * abilist/libdl.abilist: Likewise.
54863 * abilist/libm.abilist: Likewise.
54864 * abilist/libnsl.abilist: Likewise.
54865 * abilist/libpthread.abilist: Likewise.
54866 * abilist/libresolv.abilist: Likewise.
54867 * abilist/librt.abilist: Likewise.
54868 * abilist/libthread_db.abilist: Likewise.
54869 * abilist/libutil.abilist: Likewise.
54870 * abilist/libnss_db.abilist: New file.
54872 * scripts/abilist.awk: Add support for indirect functions.
54874 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54876 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54878 * shlib-versions: Remove entries for ports architectures.
54880 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54882 * elf/stackguard-macros.h: Remove support for IA-64.
54883 * elf/tst-auditmod1.c: Likewise.
54884 * sysdeps/generic/ldsodefs.h: Likewise.
54886 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54887 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54891 * configure.in: Remove --enable-omitfp support.
54893 * config.make.in: Likewise.
54894 * Makeconfig: Likewise.
54895 * manual/install.texi: Likewise.
54897 In case anyone cares, the IA-64 architecture could move to ports.
54898 * sysdeps/ia64/*: Removed.
54899 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54900 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54903 * configure.in: Remove entries for unsupported architectures.
54906 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54907 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54909 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54910 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54911 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54912 fall back to using wcrtomb.
54913 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54914 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54916 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54917 * wcsmbs/tst-c16c32-1.c: New file.
54919 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54922 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54924 * elf/tst-unique3.cc: Add explicit declaration of gets.
54925 * elf/tst-unique3lib.cc: Likewise.
54926 * elf/tst-unique3lib2.cc: Likewise.
54927 * elf/tst-unique4.cc: Likewise.
54929 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54931 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54934 * assert/assert.h (static_assert): Don't define for C++.
54935 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54936 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54938 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54940 * iconv/loop.c (single loop): Fix assertion in storing of
54943 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54945 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54947 * posix/getconf.c: Update copyright year.
54948 * nss/getent.c: Likewise.
54949 * nss/makedb.c: Likewise.
54950 * iconv/iconvconfig.c: Likewise.
54951 * iconv/iconv_prog.c: Likewise.
54952 * elf/ldconfig.c: Likewise.
54953 * elf/pldd.c: Likewise.
54954 * elf/sotruss.ksh: Likewise.
54955 * catgets/gencat.c: Likewise.
54956 * csu/version.c: Likewise.
54957 * elf/ldd.bash.in: Likewise.
54958 * elf/sprof.c (print_version): Likewise.
54959 * locale/programs/locale.c: Likewise.
54960 * locale/programs/localedef.c: Likewise.
54961 * login/programs/pt_chown.c: Likewise.
54962 * nscd/nscd.c (print_version): Likewise.
54963 * debug/xtrace.sh: Likewise.
54964 * malloc/memusage.sh: Likewise.
54965 * malloc/mtrace.pl: Likewise.
54966 * debug/catchsegv.sh: Likewise.
54968 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54970 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54973 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54976 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54977 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54979 * iconv/gconv_int.h: Likewise.
54980 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54981 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54982 from libc for GLIBC_2.16.
54983 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54984 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54985 * wcsmbs/uchar.h: Really define mbstate_t.
54986 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54987 * wcsmbs/c16rtomb.c: New file.
54988 * wcsmbs/mbrtoc16.c: New file.
54989 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54990 for C/POSIX locale.
54991 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54992 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54994 * wcsmbs/wchar.h: Add missing __restrict.
54996 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54999 * time/Makefile (routines): Add timespec_get.
55000 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55001 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55002 timespec for ISO C11.
55003 * time/timespec_get.c: New file.
55004 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55005 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55008 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55009 * stdlib/stdlib.h: Declare aligned_alloc.
55010 * Versions.def: Add GLIBC_2.16 for libc.
55011 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55014 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55017 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55021 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55024 * assert/assert.h (static_assert): Define.
55026 * version.h: Update for 2.16 development version.
55029 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55032 * version.h (RELEASE): Bump for 2.15 release.
55033 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55035 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55036 Patch by Marek Polacek <mpolacek@redhat.com>.
55038 * bits/byteswap.h: Protect long long constants with __extension__.
55039 * sysdeps/i386/bits/byteswap.h: Likewise.
55040 * sysdeps/ia64/bits/byteswap.h: Likewise.
55041 * sysdeps/s390/bits/byteswap.h: Likewise.
55042 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55044 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55047 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55048 destination buffer.
55049 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55051 2011-12-23 Marek Polacek <polacek@redhat.com>
55053 * elf/dl-addr.c (determine_info): Add inline keyword.
55054 * elf/tst-auditmod4b.c (check_avx): Likewise.
55055 * elf/tst-auditmod6b.c (check_avx): Likewise.
55056 * elf/tst-auditmod6c.c (check_avx): Likewise.
55057 * elf/tst-auditmod7b.c (check_avx): Likewise.
55059 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55064 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55067 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55068 processing for last bytes.
55070 2011-08-06 Bruno Haible <bruno@clisp.org>
55073 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55074 U+0385, not to U+1FEE.
55077 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55078 entry for U+00A5 U+0301.
55080 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55083 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55084 buffer for the output is too small.
55086 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55090 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55091 SSE flags if possible.
55093 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55096 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55097 processing for last bytes.
55099 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55101 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55102 (syscall-list-default-options, syscall-list-default-condition)
55103 (syscall-list-includes): Define.
55104 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55105 list of ABIs and options and #if conditions for each ABI. Do not
55106 handle common syscalls between ABIs specially.
55107 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55109 (syscall-list-variants, syscall-list-32bit-options)
55110 (syscall-list-32bit-condition, syscall-list-64bit-options)
55111 (syscall-list-64bit-condition): Define.
55112 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55113 (syscall-list-variants, syscall-list-32bit-options)
55114 (syscall-list-32bit-condition, syscall-list-64bit-options)
55115 (syscall-list-64bit-condition): Define.
55116 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55118 (syscall-list-variants, syscall-list-32bit-options)
55119 (syscall-list-32bit-condition, syscall-list-64bit-options)
55120 (syscall-list-64bit-condition): Define.
55121 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55123 (syscall-list-variants, syscall-list-32bit-options)
55124 (syscall-list-32bit-condition, syscall-list-64bit-options)
55125 (syscall-list-64bit-condition): Define.
55127 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55129 * locale/iso-639.def: Add brx entry.
55132 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55133 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55135 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55136 __feraiseexcept_renamed.
55138 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55141 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55142 EPOLLET with unsigned values.
55143 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55144 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55146 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55147 to large cancellation.
55148 * math/s_cacoshf.c: Likewise.
55149 * math/s_cacoshl.c: Likewise.
55151 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55155 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55156 * math/s_cacoshf.c: Likewise.
55157 * math/s_cacoshl.c: Likewise.
55159 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55162 * iconv/gconv.h: Define __GCONV_SWAP.
55163 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55164 * iconvdata/utf-16.c: Likewise.
55165 * iconvdata/utf-32.c: Likewise.
55167 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55170 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55171 numerator after shifting it by one limb.
55173 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55176 under [__USE_EXTERN_INLINES].
55178 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55181 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55183 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55185 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55186 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55188 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55189 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55190 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55191 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55192 for strncasecmp/strncasecmp_l compilation.
55193 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55194 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55196 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55199 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55202 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55205 * time/tzfile.c (__tzfile_read): Check values from file header.
55207 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55209 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55210 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55211 * powerpc/powerpc32/dl-start.S: Likewise.
55212 * powerpc/powerpc32/elf/start.S: Likewise.
55213 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55214 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55215 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55216 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55217 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55218 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55219 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55220 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55221 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55222 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55223 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55224 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55225 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55226 * powerpc/powerpc32/memset.S: Likewise.
55227 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55228 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55229 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55230 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55231 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55232 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55233 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55234 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55235 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55236 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55237 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55238 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55239 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55241 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55243 * math/libm-test.inc: Added more nearbyint tests.
55244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55245 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55247 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55249 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55251 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55254 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55256 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55257 Add wcscpy-ssse3 wcscpy-c.
55258 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55259 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55260 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55261 * sysdeps/x86_64/wcschr.S: New file.
55262 * sysdeps/x86_64/wcsrchr.S: New file.
55263 * string/test-strcmp.c: Remove checking of wcscmp function for
55265 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55266 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55267 wcsrchr-sse2 wcsrchr-c.
55268 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55269 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55270 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55271 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55272 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55273 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55274 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55275 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55276 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55277 * wcsmbc/wcschr.c (WCSCHR): New macro.
55279 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55281 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55282 * wcsmbs/test-wcsrchr.c: New file.
55283 * string/test-strrchr.c: Add wcsrchr support.
55285 * wcsmbs/test-wcscpy.c: New file.
55286 * string/test-strcpy.c: Add wcscpy support.
55289 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55294 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55297 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55299 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55301 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55302 Minor optimizations.
55304 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55305 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55306 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55308 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55310 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55311 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55312 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55313 for gcc to avoid warnings.
55314 * inet/Makefile (tests): Add tst-checks.
55315 * inet/tst-checks.c: New file.
55317 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55320 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55323 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55324 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55326 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55328 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55330 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55333 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55335 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55337 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55338 conditional on GCC version.
55339 (__arch_compare_and_exchange_val_8_acq)
55340 (__arch_compare_and_exchange_val_16_acq)
55341 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55342 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55343 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55345 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55347 * sysdeps/sh/backtrace.c: New file.
55349 2011-12-02 Andreas Schwab <schwab@redhat.com>
55351 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55354 2011-12-01 Andreas Schwab <schwab@redhat.com>
55356 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55357 falling back to utime.
55359 2011-11-30 Andreas Schwab <schwab@redhat.com>
55361 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55362 expectations for float.
55364 2011-11-29 Andreas Schwab <schwab@redhat.com>
55366 * locale/weight.h (findidx): Add parameter len.
55367 * locale/weightwc.h (findidx): Likewise.
55368 * posix/fnmatch_loop.c (FCT): Adjust caller.
55369 * posix/regcomp.c (build_equiv_class): Likewise.
55370 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55371 * posix/regexec.c (check_node_accept_bytes): Likewise.
55372 * string/strcoll_l.c (STRCOLL): Likewise.
55373 * string/strxfrm_l.c (STRXFRM): Likewise.
55375 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55377 * Makefile.in: Remove CVSOPT handling.
55378 * configure.in: Remove use of AC_REVISION.
55379 * iconvdata/Makefile (distribute): No need to filter out CVS.
55380 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55383 2011-11-16 Andreas Schwab <schwab@redhat.com>
55385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55386 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55387 [USE_AS_STRNCASECMP_L]: Likewise.
55388 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55389 NO_TLS_DIRECT_SEG_REFS.
55390 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55391 Fix argument offsets for non-PIC.
55392 [USE_AS_STRNCASECMP_L]: Likewise.
55393 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55394 NO_TLS_DIRECT_SEG_REFS.
55396 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55398 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55400 * locale/loadlocale.c (_nl_load_locale): Likewise.
55402 2011-11-15 Andreas Schwab <schwab@redhat.com>
55404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55405 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55407 (SYSCALL_GETTIME): Set errno on error.
55409 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55410 count references to noai6ai_cached.
55412 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55414 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55416 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55417 FD_CLOEXEC for /proc/self/maps.
55419 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55420 FD_CLOEXEC for /proc/meminfo.
55422 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55425 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55426 FD_CLOEXEC for given file.
55428 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55430 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55431 FD_CLOEXEC for /etc/hosts.
55432 (_gethtent): Likewise.
55434 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55436 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55437 cancellation and set FD_CLOEXEC for /etc/netgroup.
55439 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55440 reading /etc/publickey.
55442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55443 allow cancellation when reading /etc/group.
55445 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55447 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55449 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55450 when using data file.
55452 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55454 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55455 (write_nis_obj): Use "c" and "e" in fopen.
55457 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55459 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55461 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55463 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55465 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55468 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55470 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55472 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55474 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55475 file parsing and set FD_CLOEXEC.
55477 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55479 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55481 2011-11-14 Andreas Schwab <schwab@redhat.com>
55483 * malloc/arena.c (arena_get2): Don't call reused_arena when
55484 _int_new_arena failed.
55486 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55488 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55489 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55490 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55491 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55492 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55494 to compile strcasecmp and strncasecmp.
55495 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55496 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55500 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55502 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55503 locale-defines.sym to gen-as-const-headers.
55504 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55505 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55507 to compile strcasecmp and strncasecmp.
55508 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55509 strcasecmp_l and strncasecmp_l.
55510 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55511 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55512 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55513 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55514 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55515 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55516 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55517 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55518 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55519 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55520 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55522 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55524 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55525 result of SYSDEP_GETTIME_CPU to retval.
55526 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55527 parameter list to macro. Remove trailing semicolon. Adjust users.
55529 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55532 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55534 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55536 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55537 from unused variable.
55539 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55541 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55544 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55547 * sunrpc/rpc_prot.c (rejected): Fix case value.
55549 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55550 unsigned long long int to avoid warnings in shift.
55552 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55554 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55557 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55558 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55559 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55561 * nis/nis_table.c (nis_list): Use variable of correct type for
55562 result of __follow_path call.
55564 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55566 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55567 of math functions ceil, trunc, floor, round, and sqrt, when
55568 avaliable on the platform.
55569 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55572 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55573 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55575 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55577 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55578 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55580 2011-11-11 Roland McGrath <roland@hack.frob.com>
55582 * include/unistd.h: Fix __readlink return type.
55583 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55585 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55587 * stdlib/ucontext.h: Undo last change for makecontext.
55589 2011-11-11 Andreas Schwab <schwab@redhat.com>
55591 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55593 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55594 * setjmp/setjmp.h: Mark functions as non-leaf.
55595 * setjmp/bits/setjmp2.h: Likewise.
55596 * stdlib/ucontext.h: Likewise.
55598 2011-11-10 Andreas Schwab <schwab@redhat.com>
55600 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55601 (reused_arena): Don't check arena limit.
55602 (arena_get2): Atomically check arena limit.
55604 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55606 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55607 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55612 2011-11-07 Andreas Schwab <schwab@redhat.com>
55614 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55615 handler when locking.
55617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55618 Fix size of allocated buffer.
55620 2011-11-04 Andreas Schwab <schwab@redhat.com>
55623 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55624 declarations for long double functions.
55625 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55627 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55629 2011-11-03 Andreas Schwab <schwab@redhat.com>
55631 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55634 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55637 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55639 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55641 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55643 * include/alloca.h (stackinfo_alloca_round): Define.
55644 (extend_alloca): Use it.
55645 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55646 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55649 * scripts/check-local-headers.sh: Ignore libaudit.h.
55651 * nscd/Makefile (extra-objs): Make recursively expanded.
55653 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55655 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55656 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55658 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55659 * posix/tst-rfc3484-2.c: Likewise.
55660 * posix/tst-rfc3484-3.c: Likewise.
55662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55664 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55666 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55667 process_vm_writev from libc using GLIBC_2.15 version.
55669 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55671 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55673 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55676 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55679 * nss/getent.c (initgroups_keys): Show error message in case no group
55682 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55683 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55684 __bump_nl_timestamp.
55685 * nscd/connections (nscd_init): When host database is served open
55686 netlink socket and request notification about configuration changes.
55687 (main_loop_poll): Track netlink file descriptor and bump timestamp
55688 in case data becomes available.
55689 (main_loop_epoll): Likewise.
55690 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55691 (database_pers_head): Add extra_data fileds.
55692 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55693 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55694 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55697 in6ai data, call __free_in6ai.
55698 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55699 Add -DHAVE_NETLINK.
55700 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55701 interface information. Reuse previous data if netlink timestamp
55703 (__bump_nl_timestamp): New function.
55704 (__free_in6ai): New function.
55706 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55708 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55709 close_not_cancel_no_status here.
55710 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55712 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55715 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55718 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55719 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55720 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55722 2011-07-03 Andreas Jaeger <aj@suse.de>
55725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55726 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55727 * math/libm-test.inc (sin_test): Add test case.
55729 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55732 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55733 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55735 * elf/chroot_canon.c (chroot_canon): Cleanups.
55737 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55740 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55741 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55743 * string/test-strchr.c: Make usable for strchrnul testing.
55744 * string/test-strchrnul.c: New file.
55745 * string/Makefile (strop-tests): Add strchrnul.
55747 * po/it.po: Update from translation team.
55748 * po/es.po: Likewise.
55750 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55752 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55753 the three constants needed as parameters. Drop the others.
55754 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55755 __m128i_strloadu_tolower.
55756 Create and initialize variable zero and use it in all the places
55757 where _mm_setzero_si128 was used.
55759 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55760 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55761 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55762 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55764 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55765 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55766 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55767 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55768 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55769 __mpranred, __mptan.
55770 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55771 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55772 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55773 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55774 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55775 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55778 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55780 2011-10-28 Andreas Schwab <schwab@redhat.com>
55782 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55783 redefine if SHARED.
55784 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55787 wide char related routines to wcsmbs subdir.
55789 2011-10-27 Andreas Schwab <schwab@redhat.com>
55792 * misc/sys/cdefs.h (__THROWNL): Define.
55793 * posix/unistd.h: Use __THREADNL instead of __THREAD
55794 for memory synchronization functions.
55796 2011-10-26 Roland McGrath <roland@hack.frob.com>
55799 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55801 * manual/stdio.texi (Obstack Streams): Node removed.
55803 2011-10-26 Andreas Schwab <schwab@redhat.com>
55805 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55807 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55809 * math/math_private.h (math_force_eval): Allow non-addressable
55811 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55813 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55815 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55816 file is not needed.
55818 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55820 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55821 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55822 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55823 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55825 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55827 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55828 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55829 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55830 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55831 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55832 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55833 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55834 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55835 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55836 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55837 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55838 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55839 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55840 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55841 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55842 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55843 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55844 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55845 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55847 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55848 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55851 place. Use VEX encoding when compiling for AVX.
55853 2011-10-25 Andreas Schwab <schwab@redhat.com>
55855 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55856 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55858 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55860 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55862 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55863 useless if() expression.
55864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55865 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55866 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55867 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55868 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55869 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55870 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55871 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55873 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55874 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55875 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55876 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55878 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55879 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55880 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55881 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55882 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55884 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55886 2011-10-25 Andreas Schwab <schwab@redhat.com>
55888 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55890 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55892 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55894 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55895 .text section. Avoid duplicate constants.
55896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55898 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55904 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55905 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55906 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55908 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55909 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55910 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55911 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55913 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55916 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55917 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55918 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55919 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55920 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55921 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55922 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55923 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55924 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55925 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55926 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55927 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55929 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55930 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55931 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55932 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55934 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55935 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55936 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55938 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55939 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55940 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55942 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55944 * sysdeps/x86_64/dla.h: Move to ...
55945 * sysdeps/x86_64/fpu/dla.h: ...here.
55946 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55947 situations. Use __builtin_fma only for gcc 4.6 and up.
55949 * config.make.in: Add have-mfma4 entry.
55950 * configure.in: Substitute libc_cv_cc_fma4.
55951 * math/Makefile (dbl-only-routines): Add sincostab.
55952 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55953 Use __sincostab not sincos.
55954 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55956 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55959 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55961 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55962 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55963 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55964 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55966 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55967 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55969 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55970 define aliases when function name is a macro.
55971 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55972 sysdeps/ieee754/dbl-64/sincos.tbl.
55973 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55974 fma4-enabled routines.
55975 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55976 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55977 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55978 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55979 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55980 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55981 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55982 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55984 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55985 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55986 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55987 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55988 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55989 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55990 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55991 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55992 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55993 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55994 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55995 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55996 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55998 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56000 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56002 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56003 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56004 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56006 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56013 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56017 2011-10-24 Andreas Schwab <schwab@redhat.com>
56019 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56021 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56023 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56025 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56027 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56029 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56030 Remove unused variable magic_bits.
56031 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56033 * string/strnlen.c: Define and use STRNLEN macro.
56034 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56035 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56037 * wcsmbs/wcslen.c: Define and use WCSLEN.
56038 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56039 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56040 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56041 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56042 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56043 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56044 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56046 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56049 strnlen-sse2-no-bsf.
56050 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56052 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56053 Add strnlen support.
56054 (USE_AS_STRNLEN): New macro.
56055 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56057 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56058 * sysdeps/x86_64/wcslen.S: New file.
56060 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56063 XMM-moves are used for copying on small sizes.
56065 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56067 * wcsmbs/Makefile (strop-tests): Add wcschr.
56068 * wcsmbs/test-wcschr.c: New file.
56069 * string/test-strchr.c: Update.
56070 Add wcschr support.
56073 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56075 * wcsmbs/Makefile (strop-tests): Add wcslen.
56076 * wcsmbs/test-wcslen.c: New file.
56077 * string/test-strlen.c: Update.
56078 Add wcslen support.
56081 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56083 * po/it.po: Update from translation team.
56085 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56087 * sysdeps/x86_64/wcscmp.S: Update.
56088 Fix wrong comparison semantics.
56089 wcscmp shall use signed comparison not unsigned.
56090 Don't use substraction to avoid overflow bug.
56091 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56092 * wcsmbc/wcscmp.c: Likewise.
56093 * string/test-strcmp.c: Likewise.
56094 Add new tests to check cases with negative values.
56096 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56098 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56099 * sysdeps/x86_64/dla.h: ...here. New file.
56100 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56105 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56110 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56113 __ynl_finite aliases.
56115 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56119 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56121 [DLA_FMA] (EMULV): Use DLA_FMA.
56122 [DLA_FMA] (MUL12): Use EMULV.
56123 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56124 that are not needed.
56125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56133 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56135 * math/s_nan.c: Undef __nan.
56136 * math/s_nanf.c: Undef __nanf.
56137 * math/s_nanl.c: Undef __nanl.
56138 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56141 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56143 * math/s_catan.c: Add branch predictions.
56144 * math/s_catanf.c: Likewise.
56145 * math/s_catanh.c: Likewise.
56146 * math/s_catanhf.c: Likewise.
56147 * math/s_catanhl.c: Likewise.
56148 * math/s_catanl.c: Likewise.
56149 * math/s_cexp.c: Likewise.
56150 * math/s_cexpf.c: Likewise.
56151 * math/s_cexpl.c: Likewise.
56152 * math/s_clog.c: Likewise.
56153 * math/s_clog10.c: Likewise.
56154 * math/s_clog10f.c: Likewise.
56155 * math/s_clog10l.c: Likewise.
56156 * math/s_clogf.c: Likewise.
56157 * math/s_clogl.c: Likewise.
56158 * math/s_csqrt.c: Likewise.
56159 * math/s_csqrtf.c: Likewise.
56160 * math/s_csqrtl.c: Likewise.
56161 * math/s_ctanf.c: Likewise.
56162 * math/s_ctanh.c: Likewise.
56163 * math/s_ctanhf.c: Likewise.
56164 * math/s_ctanhl.c: Likewise.
56165 * math/s_ctanl.c: Likewise.
56167 * math/math_private.h: Define __nan, __nanf, __nanl.
56168 * math/s_cacosh.c: Include <math_private.h>.
56169 * math/s_cacoshl.c: Likewise.
56170 * math/s_casinh.c: Likewise.
56171 * math/s_casinhf.c: Likewise.
56172 * math/s_casinhl.c: Likewise.
56173 * math/s_ccos.c: Rely entire on ccosh.
56174 * math/s_ccosf.c: Rely entire on ccoshf.
56175 * math/s_ccosl.c: Rely entirely on ccoshl.
56176 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56177 Remove tests for FE_INVALID.
56178 * math/s_ccoshf.c: Likewise.
56179 * math/s_ccoshl.c: Likewise.
56180 * math/s_csin.c: Likewise.
56181 * math/s_csinf.c: Likewise.
56182 * math/s_csinh.c Likewise.
56183 * math/s_csinhf.c: Likewise.
56184 * math/s_csinhl.c: Likewise.
56185 * math/s_csinl.c: Likewise.
56186 * math/s_ctan.c: Likewise.
56187 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56188 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56189 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56191 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56194 compilation problems.
56196 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56199 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56201 * sysdeps/i386/configure.in: Test for -mfma4 option.
56202 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56203 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56204 COMMON_CPUID_INDEX_80000001.
56205 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56206 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56207 use it if FMA3 is not supported.
56208 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56210 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56211 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56213 2011-10-20 Andreas Schwab <schwab@redhat.com>
56216 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56217 it would create a cycle with a link time dependency.
56219 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56221 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56223 * string/Makefile (strop-tests): Add rawmemchr.
56224 * string/test-rawmemchr.c: New file.
56226 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56228 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56229 when compiling str{,n}casecmp and when AVX is available. Hook up
56230 new optimized code in initializers.
56232 2011-10-19 Andreas Schwab <schwab@redhat.com>
56234 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56235 __feraiseexcept instead of feraiseexcept.
56237 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56239 * math/math_private.h: Define defaults for libc_fetestexcept and
56241 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56242 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56243 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56244 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56245 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56246 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56247 libc_fetestexcept and libc_feupdateenv.
56249 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56250 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56251 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56252 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56253 libc_feholdexcept_setround.
56255 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56256 Add s_nearbyint-c and s_nearbyintf-c.
56257 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56258 nearbyintf inlines.
56259 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56260 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56261 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56262 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56264 * math/math_private.h: Define defaults for libc_fegetround,
56265 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56266 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56267 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56269 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56270 standard functions.
56271 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56272 Remove comments and hacks for old compiler versions.
56273 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56274 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56275 libc_feholdexceptl.
56277 2011-10-18 Andreas Schwab <schwab@redhat.com>
56279 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56280 (__feraiseexcept_renamed): Add __NTH.
56281 (feraiseexcept): Add __NTH. Rename local variables to fix
56282 namespace violations.
56284 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56286 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56288 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56290 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56291 recently added interfaces.
56292 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56294 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56295 about macro parameter expansion.
56297 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56298 __NO_MATH_INLINES is defined. Cleanups.
56300 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56301 and __floorf is target has SSE4.1.
56302 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56303 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56304 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56305 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56307 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56309 (floorf): Likewise.
56311 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56313 2011-10-17 Andreas Schwab <schwab@redhat.com>
56315 * misc/sys/cdefs.h: Fix last change.
56317 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56320 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56322 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56324 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56325 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56326 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56327 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56328 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56329 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56331 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56332 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56333 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56334 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56335 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56336 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56337 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56338 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56339 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56340 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56341 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56342 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56343 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56344 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56345 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56347 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56348 ceil, ceilf, floor, floorf.
56350 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56351 Perform IRELATIVE relocations last.
56353 * elf/do-rel.h: Add another parameter nrelative, replacing the
56354 local variable with the same name. Change name of the function
56355 to end in Rel or Rela (uppercase).
56356 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56357 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56358 elf_dynamic_do_##reloc function.
56360 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56362 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56363 is sufficient, at least on modern CPUs.
56365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56367 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56368 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56370 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56372 * math/bits/math-finite.h: Add entries for exp.
56373 * math/e_expl.c: Add __*_finite alias.
56374 * sysdeps/i386/fpu/e_exp.S: Likewise.
56375 * sysdeps/i386/fpu/e_expf.S: Likewise.
56376 * sysdeps/i386/fpu/e_expl.c: Likewise.
56377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56378 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56379 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56381 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56382 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56383 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56385 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56386 is sufficient, at least on modern CPUs.
56388 * ctype/ctype-info.c (__ctype_init): Define.
56389 * include/ctype.h (__ctype_init): Declare.
56390 (__ctype_b_loc): The variable is always initialized.
56391 (__ctype_toupper_loc): Likewise.
56392 (__ctype_tolower_loc): Likewise.
56393 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56394 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56396 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56398 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56400 * configure.in: Also look in $cxxmachine/include for C++ system
56403 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56405 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56406 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56407 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56408 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56409 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56410 (USE_AS_WMEMCMP): New macro.
56412 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56413 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56414 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56415 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56417 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56418 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56420 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56421 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56422 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56423 (USE_AS_WMEMCMP): New macro.
56424 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56425 * sysdeps/string/test-memcmp.c: Update.
56426 Fix simple_wmemcmp.
56428 * wcsmbs/wmemcmp.c: Update.
56429 (WMEMCMP): New macro.
56432 2011-10-12 Andreas Jaeger <aj@suse.de>
56435 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56437 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56439 * libio/iofwide.c (do_length): Avoid warning.
56441 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56443 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56445 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56447 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56448 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56449 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56450 * sysdeps/i386/i686/fpu/e_log.S: New file.
56451 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56452 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56454 * ctype/ctype.h: Add support for inlined isXXX functions when
56455 compiling C++ code.
56457 2011-10-14 Andreas Schwab <schwab@redhat.com>
56459 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56461 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56463 2011-10-13 Roland McGrath <roland@hack.frob.com>
56466 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56468 2011-10-13 Andreas Schwab <schwab@redhat.com>
56470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56471 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56474 * sysdeps/x86_64/memrchr.S: Check for zero size.
56476 * string/stratcliff.c: Add memrchr tests.
56478 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56481 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56482 rawmemchr-sse2 rawmemchr-sse2-bsf.
56483 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56484 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56485 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56486 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56487 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56488 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56489 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56490 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56491 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56492 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56493 * string/memrchr.c (MEMRCHR): New macro.
56495 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56497 Add integration with gcc's -ffinite-math-only and optimize wrapper
56499 * Versions.def: Define GLIBC_2.15 version for libm.
56500 * math/Makefile (headers): Add bits/math-finite.h.
56501 * math/bits/math-finite.h: New file.
56502 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56503 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56504 * math/e_acoshl.c: Add __*_finite alias.
56505 * math/e_acosl.c: Likewise.
56506 * math/e_asinl.c: Likewise.
56507 * math/e_atan2l.c: Likewise.
56508 * math/e_atanhl.c: Likewise.
56509 * math/e_coshl.c: Likewise.
56510 * math/e_exp10.c: Likewise.
56511 * math/e_exp10f.c: Likewise.
56512 * math/e_exp10l.c: Likewise.
56513 * math/e_exp2l.c: Likewise.
56514 * math/e_fmodl.c: Likewise.
56515 * math/e_gammal_r.c: Likewise.
56516 * math/e_hypotl.c: Likewise.
56517 * math/e_j0l.c: Likewise.
56518 * math/e_j1l.c: Likewise.
56519 * math/e_jnl.c: Likewise.
56520 * math/e_lgammal_r.c: Likewise.
56521 * math/e_log10l.c: Likewise.
56522 * math/e_log2l.c: Likewise.
56523 * math/e_logl.c: Likewise.
56524 * math/e_powl.c: Likewise.
56525 * math/e_sinhl.c: Likewise.
56526 * math/e_sqrtl.c: Likewise.
56527 * math/e_scalb.c: Completely rewritten and optimized.
56528 * math/e_scalbf.c: Likewise.
56529 * math/e_scalbl.c: Likewise.
56530 * math/w_acos.c: Likewise.
56531 * math/w_acosf.c: Likewise.
56532 * math/w_acosl.c: Likewise.
56533 * math/w_acosh.c: Likewise.
56534 * math/w_acoshf.c: Likewise.
56535 * math/w_acoshl.c: Likewise.
56536 * math/w_asin.c: Likewise.
56537 * math/w_asinf.c: Likewise.
56538 * math/w_asinl.c: Likewise.
56539 * math/w_atan2.c: Likewise.
56540 * math/w_atan2f.c: Likewise.
56541 * math/w_atan2l.c: Likewise.
56542 * math/w_atanh.c: Likewise.
56543 * math/w_atanhf.c: Likewise.
56544 * math/w_atanhl.c: Likewise.
56545 * math/w_exp10.c: Likewise.
56546 * math/w_exp10f.c: Likewise.
56547 * math/w_exp10l.c: Likewise.
56548 * math/w_fmod.c: Likewise.
56549 * math/w_fmodf.c: Likewise.
56550 * math/w_fmodl.c: Likewise.
56551 * math/w_j0.c: Likewise.
56552 * math/w_j0f.c: Likewise.
56553 * math/w_j0l.c: Likewise.
56554 * math/w_j1.c: Likewise.
56555 * math/w_j1f.c: Likewise.
56556 * math/w_j1l.c: Likewise.
56557 * math/w_jn.c: Likewise.
56558 * math/w_jnf.c: Likewise.
56559 * math/w_log.c: Likewise.
56560 * math/w_logf.c: Likewise.
56561 * math/w_logl.c: Likewise.
56562 * math/w_log10.c: Likewise.
56563 * math/w_log10f.c: Likewise.
56564 * math/w_log10l.c: Likewise.
56565 * math/w_log2.c: Likewise.
56566 * math/w_log2f.c: Likewise.
56567 * math/w_log2l.c: Likewise.
56568 * math/w_pow.c: Likewise.
56569 * math/w_powf.c: Likewise.
56570 * math/w_powl.c: Likewise.
56571 * math/w_remainder.c: Likewise.
56572 * math/w_remainderf.c: Likewise.
56573 * math/w_remainderl.c: Likewise.
56574 * math/w_scalb.c: Likewise.
56575 * math/w_scalbf.c: Likewise.
56576 * math/w_scalbl.c: Likewise.
56577 * math/w_sqrt.c: Likewise.
56578 * math/w_sqrtf.c: Likewise.
56579 * math/w_sqrtl.c: Likewise.
56580 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56581 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56583 * math/math_private.h: Declare __kernel_standard_f.
56584 * math/w_cosh.c: Remove cruft and optimize a bit.
56585 * math/w_coshf.c: Likewise.
56586 * math/w_coshl.c: Likewise.
56587 * math/w_exp2.c: Likewise.
56588 * math/w_exp2f.c: Likewise.
56589 * math/w_exp2l.c: Likewise.
56590 * math/w_hypot.c: Likewise.
56591 * math/w_hypotf.c: Likewise.
56592 * math/w_hypotl.c: Likewise.
56593 * math/w_lgamma.c: Likewise.
56594 * math/w_lgamma_r.c: Likewise.
56595 * math/w_lgammaf.c: Likewise.
56596 * math/w_lgammaf_r.c: Likewise.
56597 * math/w_lgammal.c: Likewise.
56598 * math/w_lgammal_r.c: Likewise.
56599 * math/w_sinh.c: Likewise.
56600 * math/w_sinhf.c: Likewise.
56601 * math/w_sinhl.c: Likewise.
56602 * math/w_tgamma.c: Likewise.
56603 * math/w_tgammaf.c: Likewise.
56604 * math/w_tgammal.c: Likewise.
56605 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56607 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56608 Minor optimizations. Pretty printing. Remove cruft.
56609 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56610 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56612 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56613 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56614 * sysdeps/i386/fpu/e_asin.S: Likewise.
56615 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56616 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56617 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56618 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56619 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56620 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56622 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56623 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56624 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56625 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56626 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56627 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56628 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56629 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56630 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56631 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56632 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56633 * sysdeps/i386/fpu/e_log.S: Likewise.
56634 * sysdeps/i386/fpu/e_log10.S: Likewise.
56635 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56636 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56637 * sysdeps/i386/fpu/e_log2.S: Likewise.
56638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56640 * sysdeps/i386/fpu/e_logf.S: Likewise.
56641 * sysdeps/i386/fpu/e_logl.S: Likewise.
56642 * sysdeps/i386/fpu/e_pow.S: Likewise.
56643 * sysdeps/i386/fpu/e_powf.S: Likewise.
56644 * sysdeps/i386/fpu/e_powl.S: Likewise.
56645 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56646 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56647 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56648 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56649 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56650 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56651 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56652 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56653 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56654 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56655 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56657 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56658 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56659 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56660 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56661 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56663 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56664 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56665 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56667 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56668 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56669 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56671 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56675 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56676 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56677 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56678 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56679 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56680 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56681 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56682 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56683 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56685 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56686 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56688 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56689 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56690 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56691 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56692 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56693 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56694 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56695 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56696 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56697 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56698 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56699 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56700 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56701 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56702 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56703 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56704 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56705 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56708 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56709 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56710 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56711 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56712 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56713 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56714 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56715 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56718 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56719 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56720 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56721 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56723 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56724 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56725 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56728 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56730 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56731 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56732 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56733 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56734 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56735 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56736 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56737 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56738 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56739 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56741 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56742 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56743 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56745 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56746 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56747 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56749 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56750 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56751 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56752 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56753 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56754 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56755 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56756 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56757 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56758 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56759 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56761 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56762 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56763 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56764 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56765 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56766 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56767 (__isnanf): Likewise.
56768 (__isinf_ns): Likewise.
56769 (__isinf_nsf): Likewise.
56770 (__finite): Likewise.
56771 (__finitef): Likewise.
56772 (__ieee754_sqrt): Define as macro.
56773 (__ieee754_sqrtf): Define as macro.
56774 (__ieee754_sqrtl): Define as macro.
56775 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56777 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56778 __FINITE_MATH_ONLY__ consistent.
56779 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56781 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56783 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56786 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56788 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56790 * po/ja.po: Update from translation team.
56792 2011-10-08 Roland McGrath <roland@hack.frob.com>
56794 * locale/programs/locarchive.c (prepare_address_space): New function.
56795 (create_archive, enlarge_archive, open_archive): Use it.
56797 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56798 inside [SHARED], where it is used.
56800 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56802 * nss/getent.c (netgroup_keys): Remove unused variable.
56803 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56805 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56807 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56808 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56811 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56812 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56813 * math/Makefile (libm-calls): Add s_isinf_ns.
56814 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56815 * math/multc3.c: Likewise.
56816 * math/s_casin.c: Likewise.
56817 * math/s_casinf.c: Likewise.
56818 * math/s_casinl.c: Likewise.
56819 * math/s_ccos.c: Likewise.
56820 * math/s_ccosf.c: Likewise.
56821 * math/s_ccosl.c: Likewise.
56822 * math/s_ctan.c: Likewise.
56823 * math/s_ctanf.c: Likewise.
56824 * math/s_ctanh.c: Likewise.
56825 * math/s_ctanhf.c: Likewise.
56826 * math/s_ctanhl.c: Likewise.
56827 * math/s_ctanl.c: Likewise.
56828 * math/w_fmod.c: Likewise.
56829 * math/w_fmodf.c: Likewise.
56830 * math/w_fmodl.c: Likewise.
56831 * math/w_remainder.c: Likewise.
56832 * math/w_remainderf.c: Likewise.
56833 * math/w_remainderl.c: Likewise.
56834 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56835 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56836 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56838 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56839 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56840 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56841 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56843 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56845 * stdio-common/printf_fphex.c: Likewise.
56846 * stdio-common/printf_size.c: Likewise.
56848 * math/e_exp10.c: Include math_private.h using <...> not "...".
56849 * math/e_exp10f.c: Likewise.
56850 * math/e_exp10l.c: Likewise.
56851 * math/e_exp2l.c: Likewise.
56852 * math/e_j0l.c: Likewise.
56853 * math/e_j1l.c: Likewise.
56854 * math/e_jnl.c: Likewise.
56855 * math/e_lgammal_r.c: Likewise.
56856 * math/e_rem_pio2l.c: Likewise.
56857 * math/e_scalb.c: Likewise.
56858 * math/e_scalbf.c: Likewise.
56859 * math/e_scalbl.c: Likewise.
56860 * math/k_cosl.c: Likewise.
56861 * math/k_sinl.c: Likewise.
56862 * math/k_tanl.c: Likewise.
56863 * math/s_cacoshf.c: Likewise.
56864 * math/s_catan.c: Likewise.
56865 * math/s_catanf.c: Likewise.
56866 * math/s_catanh.c: Likewise.
56867 * math/s_catanhf.c: Likewise.
56868 * math/s_catanhl.c: Likewise.
56869 * math/s_catanl.c: Likewise.
56870 * math/s_ccosh.c: Likewise.
56871 * math/s_ccoshf.c: Likewise.
56872 * math/s_ccoshl.c: Likewise.
56873 * math/s_cexp.c: Likewise.
56874 * math/s_cexpf.c: Likewise.
56875 * math/s_cexpl.c: Likewise.
56876 * math/s_clog.c: Likewise.
56877 * math/s_clog10.c: Likewise.
56878 * math/s_clog10f.c: Likewise.
56879 * math/s_clog10l.c: Likewise.
56880 * math/s_clogf.c: Likewise.
56881 * math/s_clogl.c: Likewise.
56882 * math/s_csin.c: Likewise.
56883 * math/s_csinf.c: Likewise.
56884 * math/s_csinh.c: Likewise.
56885 * math/s_csinhf.c: Likewise.
56886 * math/s_csinhl.c: Likewise.
56887 * math/s_csinl.c: Likewise.
56888 * math/s_csqrt.c: Likewise.
56889 * math/s_csqrtf.c: Likewise.
56890 * math/s_csqrtl.c: Likewise.
56891 * math/s_ctan.c: Likewise.
56892 * math/s_ctanf.c: Likewise.
56893 * math/s_ctanh.c: Likewise.
56894 * math/s_ctanhf.c: Likewise.
56895 * math/s_ctanhl.c: Likewise.
56896 * math/s_ctanl.c: Likewise.
56897 * math/s_ldexp.c: Likewise.
56898 * math/s_ldexpf.c: Likewise.
56899 * math/s_ldexpl.c: Likewise.
56900 * math/s_significand.c: Likewise.
56901 * math/s_significandf.c: Likewise.
56902 * math/s_significandl.c: Likewise.
56903 * math/w_acos.c: Likewise.
56904 * math/w_acosf.c: Likewise.
56905 * math/w_acosh.c: Likewise.
56906 * math/w_acoshf.c: Likewise.
56907 * math/w_acoshl.c: Likewise.
56908 * math/w_acosl.c: Likewise.
56909 * math/w_asin.c: Likewise.
56910 * math/w_asinf.c: Likewise.
56911 * math/w_asinl.c: Likewise.
56912 * math/w_atan2.c: Likewise.
56913 * math/w_atan2f.c: Likewise.
56914 * math/w_atan2l.c: Likewise.
56915 * math/w_atanh.c: Likewise.
56916 * math/w_atanhf.c: Likewise.
56917 * math/w_atanhl.c: Likewise.
56918 * math/w_cosh.c: Likewise.
56919 * math/w_coshf.c: Likewise.
56920 * math/w_coshl.c: Likewise.
56921 * math/w_dremf.c: Likewise.
56922 * math/w_exp10.c: Likewise.
56923 * math/w_exp10f.c: Likewise.
56924 * math/w_exp10l.c: Likewise.
56925 * math/w_exp2.c: Likewise.
56926 * math/w_exp2f.c: Likewise.
56927 * math/w_fmod.c: Likewise.
56928 * math/w_fmodf.c: Likewise.
56929 * math/w_fmodl.c: Likewise.
56930 * math/w_hypot.c: Likewise.
56931 * math/w_hypotf.c: Likewise.
56932 * math/w_hypotl.c: Likewise.
56933 * math/w_j0.c: Likewise.
56934 * math/w_j0f.c: Likewise.
56935 * math/w_j0l.c: Likewise.
56936 * math/w_j1.c: Likewise.
56937 * math/w_j1f.c: Likewise.
56938 * math/w_j1l.c: Likewise.
56939 * math/w_jn.c: Likewise.
56940 * math/w_jnf.c: Likewise.
56941 * math/w_jnl.c: Likewise.
56942 * math/w_lgamma.c: Likewise.
56943 * math/w_lgamma_r.c: Likewise.
56944 * math/w_lgammaf.c: Likewise.
56945 * math/w_lgammaf_r.c: Likewise.
56946 * math/w_lgammal.c: Likewise.
56947 * math/w_lgammal_r.c: Likewise.
56948 * math/w_log.c: Likewise.
56949 * math/w_log10.c: Likewise.
56950 * math/w_log10f.c: Likewise.
56951 * math/w_log10l.c: Likewise.
56952 * math/w_log2.c: Likewise.
56953 * math/w_log2f.c: Likewise.
56954 * math/w_log2l.c: Likewise.
56955 * math/w_logf.c: Likewise.
56956 * math/w_logl.c: Likewise.
56957 * math/w_pow.c: Likewise.
56958 * math/w_powf.c: Likewise.
56959 * math/w_powl.c: Likewise.
56960 * math/w_remainder.c: Likewise.
56961 * math/w_remainderf.c: Likewise.
56962 * math/w_remainderl.c: Likewise.
56963 * math/w_scalb.c: Likewise.
56964 * math/w_scalbf.c: Likewise.
56965 * math/w_scalbl.c: Likewise.
56966 * math/w_sinh.c: Likewise.
56967 * math/w_sinhf.c: Likewise.
56968 * math/w_sinhl.c: Likewise.
56969 * math/w_sqrt.c: Likewise.
56970 * math/w_sqrtf.c: Likewise.
56971 * math/w_sqrtl.c: Likewise.
56972 * math/w_tgamma.c: Likewise.
56973 * math/w_tgammaf.c: Likewise.
56974 * math/w_tgammal.c: Likewise.
56976 * po/ja.po: Update from translation team.
56978 2011-09-29 Andreas Jaeger <aj@suse.de>
56981 * sunrpc/netname.c (netname2host): Fix logic.
56985 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56987 * math/w_remainder.c (__remainder): Likewise.
56988 * math/w_remainderf.c (__remainderf): Likewise.
56989 * math/libm-test.inc (remainder_test): Add test cases.
56991 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56993 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56996 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56998 * string/test-memcmp.c: Avoid unncessary #defines.
56999 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57001 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57003 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57004 Use new sse2 version for core i3 - i7 as it's faster
57005 than sse42 version.
57006 (bit_Prefer_PMINUB_for_stringop): New.
57007 * sysdeps/x86_64/rawmemchr.S: Update.
57008 Replace with faster SSE2 version.
57009 * sysdeps/x86_64/memrchr.S: New file.
57010 * sysdeps/x86_64/memchr.S: Update.
57011 Replace with faster SSE2 version.
57013 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57015 * elf/dl-load.c (lose): Add cast to avoid warning.
57017 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57019 * po/ca.po: Update from translation team.
57021 * inet/getnetgrent_r.c: Hook up nscd.
57022 * nscd/Makefile (routines): Add nscd_netgroup.
57023 (nscd-modules): Add netgroupcache.
57024 (CFLAGS-netgroupcache.c): Define.
57025 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57026 (cache_search): Add const to second parameter.
57027 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57029 (dbs): Add netgrdb entry.
57030 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57031 (verify_persistent_db): Handle netgrdb.
57032 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57033 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57035 (netgroup_response_header): Define.
57036 (innetgroup_response_header): Define.
57037 (datahead): Add netgroup_response_header and innetgroup_response_header
57039 * nscd/nscd.conf: Add entries for netgroup cache.
57040 * nscd/nscd.h (dbtype): Add netgrdb.
57041 (_PATH_NSCD_NETGROUP_DB): Define.
57042 (netgroup_iov_disabled): Declare.
57043 (xmalloc, xcalloc, xrealloc): Move declarations here.
57044 (cache_search): Adjust prototype.
57045 Add netgroup-related prototypes.
57046 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57047 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57048 (__nscd_innetgr): Declare.
57049 * nscd/selinux.c (perms): Use access_vector_t as element type and
57050 add netgroup-related initializers.
57051 * nscd/netgroupcache.c: New file.
57052 * nscd/nscd_netgroup.c: New file.
57053 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57054 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57055 For four parameters use innetgr.
57056 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57057 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57058 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57059 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57061 * nscd/connections.c (register_traced_file): Don't register file
57062 for disabled databases.
57064 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57066 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57068 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57069 from tree and freeing node.
57071 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57073 * nss/nsswitch.c (__nss_database_lookup): Handle
57074 nss_parse_service_list out of memory case.
57076 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57078 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57079 out of memory case.
57081 2011-10-04 Andreas Schwab <schwab@redhat.com>
57083 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57084 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57086 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57087 elf_machine_rela, elf_machine_lazy_rel.
57088 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57089 (ELF_DYNAMIC_DO_REL): Likewise.
57090 (ELF_DYNAMIC_DO_RELA): Likewise.
57091 (ELF_DYNAMIC_RELOCATE): Likewise.
57092 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57093 to ELF_DYNAMIC_DO_REL.
57094 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57095 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57096 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57098 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57099 skip_ifunc, don't call ifunc function if non-zero.
57100 (elf_machine_rela): Likewise.
57101 (elf_machine_lazy_rel): Likewise.
57102 (elf_machine_lazy_rela): Likewise.
57103 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57104 (elf_machine_lazy_rel): Likewise.
57105 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57107 (elf_machine_lazy_rel): Likewise.
57108 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57110 (elf_machine_lazy_rel): Likewise.
57111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57112 (elf_machine_lazy_rel): Likewise.
57113 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57114 (elf_machine_lazy_rel): Likewise.
57115 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57116 (elf_machine_lazy_rel): Likewise.
57117 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57118 (elf_machine_lazy_rel): Likewise.
57119 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57120 (elf_machine_lazy_rel): Likewise.
57121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57122 (elf_machine_lazy_rel): Likewise.
57124 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57126 * nss/nss_files/files-init.c (_nss_files_init): Use static
57127 initialization for all the *_traced_file variables.
57129 2011-09-28 Andreas Schwab <schwab@redhat.com>
57131 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57133 2011-09-27 Roland McGrath <roland@hack.frob.com>
57136 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57138 2011-09-27 Andreas Schwab <schwab@redhat.com>
57140 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57141 Reread the line before reparsing it.
57143 2011-09-26 Andreas Schwab <schwab@redhat.com>
57145 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57147 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57148 Maxim Kuvyrkov <maxim@codesourcery.com>
57149 Joseph Myers <joseph@codesourcery.com>
57151 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57152 if needed for __stack_chk_guard.
57154 2011-09-19 Roland McGrath <roland@hack.frob.com>
57156 * sysdeps/posix/spawni.c (script_execute): Always define it.
57157 It will be optimized away if unused.
57158 (maybe_script_execute): New function.
57159 (__spawni): Call it.
57161 * Makerules: Don't include tls.make.
57162 (config-tls): Always set to thread.
57163 * tls.make.c: File removed.
57165 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57167 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57168 * config.make.in (CPPFLAGS-config): New substituted variable.
57170 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57172 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57175 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57176 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57178 2011-09-15 Roland McGrath <roland@hack.frob.com>
57180 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57181 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57183 (CALL_FAIL): Likewise.
57184 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57185 (CALL_FAIL): Macro removed.
57186 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57188 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57191 for __FINITE_MATH_ONLY__ == 1.
57193 2011-09-15 Andreas Schwab <schwab@redhat.com>
57195 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57196 __ieee754_sqrt instead of sqrt.
57197 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57198 __ieee754_sqrtf instead of sqrtf.
57199 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57200 __floorf instead of floorf.
57201 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57202 __floorf, __truncf instead of floorf, truncf.
57204 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57206 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57208 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57209 __extern_always_inline.
57210 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57213 2011-09-14 Andreas Schwab <schwab@redhat.com>
57215 * elf/rtld.c (dl_main): Also relocate in dependency order when
57216 doing symbol dependency testing.
57218 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57221 Always define `refsym'.
57223 2011-09-13 Andreas Schwab <schwab@redhat.com>
57225 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57226 (__FD_ELT): Renamed from __FDELT.
57227 * misc/bits/select2.h (__FD_ELT): Likewise.
57228 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57229 __FD_MASK instead of __FDELT, __FDMASK.
57230 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57232 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57235 * elf/Makefile (gen-ldd): Fix pattern.
57237 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57238 (init_tls): Likewise.
57240 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57244 2011-09-12 Andreas Schwab <schwab@redhat.com>
57246 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57247 `struct cmsghdr *' instead of `void *'.
57248 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57251 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57253 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57255 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57256 ldd_rewrite_script.
57258 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57260 * configure.in: Remove --with-tls option.
57261 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57262 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57263 out in case it is missing.
57264 * sysdeps/ia64/elf/configure.in: Likewise.
57265 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57266 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57267 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57268 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57269 * sysdeps/sh/elf/configure.in: Likewise.
57270 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57271 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57272 * sysdeps/x86_64/elf/configure.in: Likewise.
57273 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57274 * sysdeps/mach/hurd/tls.h: Likewise.
57277 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57280 * configure.in: Fix use of AC_INIT.
57282 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57284 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57286 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57288 * malloc/hooks.c: Likewise.
57291 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57292 variables statically.
57293 (narenas): Initialize.
57294 (list_lock): Initialize.
57295 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57296 initializtion of main_arena and list_lock. Small cleanups.
57297 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57298 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57299 Add initializers to main_arena and mp_.
57300 (malloc_state): Remove pagesize member. Change all users to use
57303 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57304 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57305 is always initialized.
57307 * malloc/malloc.c: Removed unused configurations and dead code.
57308 * malloc/arena.c: Likewise.
57309 * malloc/hooks.c: Likewise.
57310 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57312 * include/tls.h: Removed. USE___THREAD must always be defined.
57313 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57314 * elf/dl-libc.c: Likewise.
57315 * elf/dl-tsd.c: Likewise.
57316 * include/errno.h: Likewise.
57317 * include/netdb.h: Likewise.
57318 * include/resolv.h: Likewise.
57319 * inet/herrno-loc.c: Likewise.
57320 * inet/herrno.c: Likewise.
57321 * malloc/arena.c: Likewise.
57322 * malloc/hooks.c: Likewise.
57323 * malloc/malloc.c: Likewise.
57324 * resolv/res-state.c: Likewise.
57325 * resolv/res_libc.c: Likewise.
57326 * sysdeps/i386/dl-machine.h: Likewise.
57327 * sysdeps/ia64/dl-machine.h: Likewise.
57328 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57329 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57330 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57331 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57332 * sysdeps/sh/dl-machine.h: Likewise.
57333 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57334 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57335 * sysdeps/unix/i386/sysdep.S: Likewise.
57336 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57337 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57342 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57343 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57344 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57347 * sysdeps/x86_64/dl-machine.h: Likewise.
57348 * tls.make.c: Likewise.
57350 * configure.in: Remove --with-__thread option. Make tests for
57351 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57352 tls_model attribute fail if no support is available. Remove
57354 * Makeconfig: Adjust for dropped configure option. All features are
57356 * Makerules: Likewise.
57357 * Versions.def: Likewise.
57358 * argp/argp-fmtstream.c: Likewise.
57359 * argp/argp-fmtstream.h: Likewise.
57360 * argp/argp-help.c: Likewise.
57361 * assert/assert.c: Likewise.
57362 * config.h.in: Likewise.
57363 * config.make.in: Likewise.
57364 * configure: Likewise.
57365 * configure.in: Likewise.
57366 * csu/Versions: Likewise.
57367 * csu/init.c: Likewise.
57368 * elf/tst-audit2.c: Likewise.
57369 * elf/tst-tls10.c: Likewise.
57370 * elf/tst-tls10.h: Likewise.
57371 * elf/tst-tls11.c: Likewise.
57372 * elf/tst-tls12.c: Likewise.
57373 * elf/tst-tls14.c: Likewise.
57374 * elf/tst-tlsmod11.c: Likewise.
57375 * elf/tst-tlsmod12.c: Likewise.
57376 * elf/tst-tlsmod13.c: Likewise.
57377 * elf/tst-tlsmod13a.c: Likewise.
57378 * elf/tst-tlsmod14a.c: Likewise.
57379 * elf/tst-tlsmod15b.c: Likewise.
57380 * elf/tst-tlsmod16a.c: Likewise.
57381 * elf/tst-tlsmod16b.c: Likewise.
57382 * elf/tst-tlsmod7.c: Likewise.
57383 * elf/tst-tlsmod8.c: Likewise.
57384 * elf/tst-tlsmod9.c: Likewise.
57385 * gmon/gmon.c: Likewise.
57386 * grp/fgetgrent_r.c: Likewise.
57387 * grp/putgrent.c: Likewise.
57388 * hurd/fopenport.c: Likewise.
57389 * include/libc-symbols.h: Likewise.
57390 * include/tls.h: Likewise.
57391 * intl/gettextP.h: Likewise.
57392 * intl/loadinfo.h: Likewise.
57393 * locale/global-locale.c: Likewise.
57394 * locale/localeinfo.h: Likewise.
57395 * mach/devstream.c: Likewise.
57396 * malloc/arena.c: Likewise.
57397 * malloc/set-freeres.c: Likewise.
57398 * misc/err.c: Likewise.
57399 * misc/getttyent.c: Likewise.
57400 * misc/mntent_r.c: Likewise.
57401 * posix/getopt.c: Likewise.
57402 * posix/wordexp.c: Likewise.
57403 * pwd/fgetpwent_r.c: Likewise.
57404 * resolv/Versions: Likewise.
57405 * resolv/res_hconf.c: Likewise.
57406 * shadow/fgetspent_r.c: Likewise.
57407 * shadow/putspent.c: Likewise.
57408 * stdio-common/printf_fphex.c: Likewise.
57409 * stdio-common/tmpfile.c: Likewise.
57410 * stdlib/abort.c: Likewise.
57411 * stdlib/fmtmsg.c: Likewise.
57412 * sunrpc/auth_unix.c: Likewise.
57413 * sunrpc/clnt_perr.c: Likewise.
57414 * sunrpc/clnt_tcp.c: Likewise.
57415 * sunrpc/clnt_udp.c: Likewise.
57416 * sunrpc/clnt_unix.c: Likewise.
57417 * sunrpc/openchild.c: Likewise.
57418 * sunrpc/svc_simple.c: Likewise.
57419 * sunrpc/svc_tcp.c: Likewise.
57420 * sunrpc/svc_udp.c: Likewise.
57421 * sunrpc/svc_unix.c: Likewise.
57422 * sunrpc/xdr.c: Likewise.
57423 * sunrpc/xdr_array.c: Likewise.
57424 * sunrpc/xdr_rec.c: Likewise.
57425 * sunrpc/xdr_ref.c: Likewise.
57426 * sunrpc/xdr_stdio.c: Likewise.
57428 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57430 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57432 2011-07-03 Andreas Jaeger <aj@suse.de>
57434 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57435 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57436 regenerate with gen-libm-tests.pl.
57438 2010-05-12 Petr Baudis <pasky@suse.cz>
57441 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57442 around j0() zero points by switching to j1().
57443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57448 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57450 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57452 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57455 Patch in part by Pavel Roskin <proski@gnu.org>.
57458 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57460 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57461 Free memory block if necessary.
57464 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57465 be NULL. Don't lock in this case.
57467 2011-09-09 Roland McGrath <roland@hack.frob.com>
57469 * elf/elf.h (ELFOSABI_GNU): New macro.
57470 (ELFOSABI_LINUX): Define to that.
57472 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57474 * string/strncat.c (strncat): Undef the symbol in case it has been
57475 defined in bits/string.h.
57477 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57479 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57481 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57484 2011-08-17 Andreas Jaeger <aj@suse.de>
57486 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57488 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57489 Ian Lance Taylor <iant@google.com>
57491 * math/libm-test.inc (lround_test): New testcase.
57492 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57494 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57496 * Makefile: Remove support for automatic cvs check-ins.
57497 * Makerules: Likewise.
57498 * config.make.in: Likewise.
57499 * configure.in: Likewise.
57500 * intl/Makefile: Likewise.
57501 * locale/Makefile: Likewise.
57502 * po/Makefile: Likewise.
57503 * posix/Makefile: Likewise.
57504 * sysdeps/gnu/Makefile: Likewise.
57505 * sysdeps/mach/hurd/Makefile: Likewise.
57506 * sysdeps/sparc/sparc32/Makefile: Likewise.
57509 * posix/Makefile (bug-regex32-ENV): Define.
57510 Patch by John Stanley <jpsinthemix@verizon.net>.
57512 * misc/Makefile (headers): Add bits/select2.h.
57513 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57514 * misc/bits/select2.h: New file.
57515 * include/bits/select2.h: New file.
57516 * debug/Makefile (routines): Add fdelt_chk.
57517 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57518 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57520 * debug/fdelt_chk.c: New file.
57522 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57523 * wcsmbs/test-wmemcmp.c: Likewise.
57524 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57525 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57527 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57529 * string/Makefile (strop-tests): Add memcmp.
57530 * string/test-wmemcmp.c: New file.
57531 * string/test-memcmp.c: Add wmemcmp support.
57533 2011-09-08 Roland McGrath <roland@hack.frob.com>
57536 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57539 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57540 garbage value in a __mach_port_mod_refs call in the cases of the
57541 task-self and thread-self ports.
57543 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57545 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57547 2011-09-08 Andreas Schwab <schwab@redhat.com>
57549 * elf/dl-load.c (lose): Check for non-null L.
57551 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57553 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57555 * elf/dl-libc.c (dlerror_run): Pass back error code from
57559 * elf/dl-load.c (lose): Free l_origin if it is valid.
57561 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57563 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57566 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57567 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57568 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57570 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57572 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57573 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57574 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57575 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57576 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57577 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57578 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57579 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57580 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57581 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57583 2011-08-15 Alan Modra <amodra@gmail.com>
57586 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57587 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57588 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57589 ppc_mcount to static-only-routines.
57590 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57592 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57593 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57595 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57597 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57598 for finite and infinity parameters.
57600 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57603 and add nop instructions for throughput optimization.
57604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57606 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57608 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57609 aligned copy for power7 with vector-scalar instructions.
57610 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57612 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57617 2011-09-07 Andreas Schwab <schwab@redhat.com>
57620 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57623 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57625 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57626 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57627 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57628 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57631 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57633 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57634 Forgot to demangle the pointer.
57636 * sysdeps/i386/sysdep.h: Define atom_text_section.
57637 * sysdeps/x86_64/sysdep.h: Likewise.
57638 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57639 section with atom_text_section.
57640 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57641 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57642 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57643 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57644 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57646 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57647 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57648 already be defined. Change to take two parameters and don't assign
57649 result to variable. Adjust all users.
57650 Define INTERNAL_GETTIME if not already defined.
57651 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57654 HAVE_CLOCK_GETTIME_VSYSCALL.
57655 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57658 gettimeofday vsyscall, just use time.
57660 2011-09-06 Andreas Schwab <schwab@redhat.com>
57662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57665 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57667 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57671 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57672 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57673 syscall if possible.
57675 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57677 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57678 e_ident. Don't pass to find_mapsXX.
57679 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57681 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57684 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57685 * sysdeps/x86_64/multiarch/strchr.S: Update.
57686 Check bit_slow_BSF bit.
57687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57688 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57691 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57694 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57696 (tryshell): Define.
57697 (__spawni): Change last parameter to be flag. Test
57698 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57699 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57700 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57701 * posix/spawni.c: Likewise.
57702 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57703 * posix/spawnp.c: Likewise. Change normal version to use
57704 SPAWN_XFLAGS_USE_PATH.
57705 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57706 SPAWN_XFLAGS_TRY_SHELL.
57709 * posix/glob.h: Remove gcc 1.x support.
57712 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57714 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57717 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57719 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57720 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57721 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57722 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57723 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57724 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57726 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57728 * sysdeps/x86_64/wcscmp.S: New file.
57730 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57731 wcscmp-c wcscmp-sse2
57732 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57733 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57734 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57735 * wcsmbs/wcscmp.c: Allow renaming.
57737 2011-09-05 David S. Miller <davem@davemloft.net>
57739 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57740 stack slot, rather than the struct return pointer slot.
57741 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57742 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57744 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57746 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57748 * po/ja.po: Update from translation team.
57751 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57752 kernel in 64-bit binaries.
57754 2011-09-01 David S. Miller <davem@davemloft.net>
57756 * elf/elf.h (HWCAP_SPARC_*): Move to..
57757 * sysdeps/sparc/sysdep.h: this new file and add new values.
57758 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57759 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57760 _DL_HWCAP_COUNT to 24.
57761 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57763 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57764 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57765 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57767 instead of magic constants.
57768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57770 2011-08-31 David S. Miller <davem@davemloft.net>
57772 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57774 Reimplement to do errno handling inline.
57775 (SYSCALL_ERROR_HANDLER): New macro.
57776 (__SYSCALL_STRING): Do not do errno handling in asm.
57777 (__CLONE_SYSCALL_STRING): Delete.
57778 (__INTERNAL_SYSCALL_STRING): Delete.
57779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57780 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57781 (PSEUDO): Reimplement to do errno handling inline.
57782 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57783 (SYSCALL_ERROR_HANDLER): New macro.
57784 (__SYSCALL_STRING): Do not do errno handling in asm.
57785 (__CLONE_SYSCALL_STRING): Delete.
57786 (__INTERNAL_SYSCALL_STRING): Delete.
57787 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57788 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57790 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57791 (inline_syscall*): Add 'err' argument.
57792 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57793 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57794 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57795 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57797 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57798 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57800 2011-08-30 Andreas Schwab <schwab@redhat.com>
57802 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57804 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57806 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57809 2011-08-24 David S. Miller <davem@davemloft.net>
57811 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57813 2011-08-24 Andreas Schwab <schwab@redhat.com>
57815 * elf/Makefile: Add rules to build and run unload8 test.
57816 * elf/unload8.c: New file.
57817 * elf/unload8mod1.c: New file.
57818 * elf/unload8mod1x.c: New file.
57819 * elf/unload8mod2.c: New file.
57820 * elf/unload8mod3.c: New file.
57822 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57825 2011-08-23 David S. Miller <davem@davemloft.net>
57827 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57828 subtract stack bias.
57829 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57830 %sp not %fp in calculations.
57831 (_JMPBUF_UNWINDS_ADJ): Likewise.
57833 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57834 (aio_suspend): Call it to force an exception region around the
57835 AIO_MISC_WAIT() invocation.
57837 2011-08-23 Andreas Schwab <schwab@redhat.com>
57839 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57842 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57844 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57846 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57847 and <dl-machine.h>.
57848 (Elf64_FuncDesc): Remove.
57850 2011-08-22 David S. Miller <davem@davemloft.net>
57852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57853 sigaltstack check, add missing cfi directives.
57854 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57855 missing cfi directives, and sigaltstack handling.
57857 2011-08-16 Andreas Schwab <schwab@redhat.com>
57860 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57861 object is seen twice.
57862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57864 * elf/Makefile (distribute): Add tst-initorder2.c.
57865 (tests): Add tst-initorder2.
57866 (modules-names): Add tst-initorder2a tst-initorder2b
57867 tst-initorder2c tst-initorder2d. Add rules to build them.
57868 ($(objpfx)tst-initorder2.out): New rule.
57869 * elf/tst-initorder2.c: New file.
57870 * elf/tst-initorder2.exp: New file.
57872 2011-08-22 Andreas Schwab <schwab@redhat.com>
57874 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57876 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57877 dependencies back to end of function.
57879 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57880 $(elfobjdir)/ld.so.
57882 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57885 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57886 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57887 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57888 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57889 of __vdso_gettimeofday.
57890 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57891 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57893 (_libc_vdso_platform_setup): Remove initialization of
57894 __vdso_gettimeofday and __vdso_time.
57896 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57898 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57899 and fgetc_unlocked.
57900 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57903 * elf/dl-open.c (add_to_global): Report additions to the global scope
57904 for LD_DEBUG=scopes.
57905 (dl_open_worker): Also print scope of newly loaded dependencies.
57906 (_dl_show_scope): Indicate if there is no scope.
57909 * stdio-common/Makefile (tests): Add bug24.
57910 * stdio-common/bug24.c: New file.
57912 2011-08-19 Andreas Jaeger <aj@suse.de>
57915 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57916 non-existant file when using close-on-exec mode.
57918 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57921 the very first instruction.
57923 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57924 the CFI state in the end.
57925 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57926 inclusion of dl-trampoline.h.
57927 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57929 2011-08-19 Andreas Schwab <schwab@redhat.com>
57931 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57932 expectations for long double.
57934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57935 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57937 2011-08-14 David S. Miller <davem@davemloft.net>
57939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57940 artificual limit depends upon the system page size.
57942 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57944 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57945 * resolv/Makefile: Define CFLAGS-libresolv.
57947 2011-08-17 Andreas Schwab <schwab@redhat.com>
57949 * nss/makedb.c (compute_tables): Make variables used in nested
57952 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57954 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57955 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57956 if buffer was too small.
57958 * elf/pldd.c (main): Attach to all threads in the process.
57959 Rewrite /proc handling to use *at functions.
57961 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57963 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57964 specifies first scope to show.
57965 (dl_open_worker): Update callers. Move printing scope of new
57966 object to before the relocation.
57967 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57968 * sysdeps/generic/ldsodefs.h: Update declaration.
57970 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57971 string for the scope number.
57973 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57975 * nscd/servicescache.c (cache_addserv): Make sure written is always
57978 2011-08-14 Roland McGrath <roland@hack.frob.com>
57980 * sysdeps/i386/i486/bits/atomic.h
57981 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57982 statement expression, so as to suppress "set but not used" warning.
57983 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57985 * string/strncat.c (STRNCAT): Use prototype definition.
57987 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57988 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57990 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57991 (localedef-modules): Add localedef.
57992 (locale-modules): Add locale.
57994 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57995 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57996 to avoid a warning.
57998 2011-08-14 David S. Miller <davem@davemloft.net>
58000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58001 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58003 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58005 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58006 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58007 * elf/rtld.c (dl_main): Set l_name of vDSO.
58008 Call _dl_show_scope when DL_DEBUG_SCOPES.
58009 (process_dl_debug): Recognize scopes flag and also set it for all.
58010 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58011 Declare _dl_show_scope.
58013 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58014 (do_dlopen): Pass caller_dlopen to dl_open.
58015 (__libc_dlopen_mode): Initialize caller_dlopen.
58017 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58018 of libc. Make tolower call locale-independent. Optimize a bit by
58019 using isdigit instead of isalnum.
58020 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58022 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58024 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58025 was a dependency or dynamically loaded.
58027 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58029 * intl/l10nflist.c: Allow architecture-specific pop function.
58030 * sysdeps/x86_64/l10nflist.c: New file.
58032 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58035 2011-08-10 Andreas Schwab <schwab@redhat.com>
58037 * include/dirent.h: Add libc_hidden_proto for scandirat and
58038 scandirat64. Don't declare __scandirat64.
58039 * dirent/scandirat.c: Add libc_hidden_def.
58040 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58041 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58043 2011-08-10 David S. Miller <davem@davemloft.net>
58045 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58047 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58048 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58049 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58051 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58053 * Versions.def [libc]: Add GLIBC_2.15.
58054 * dirent/Makefile (routines): Add scandirat and scandirat64.
58055 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58057 * dirent/dirent.h: Declare scandirat and scandirat64.
58058 * dirent/scandirat.c: New file.
58059 * dirent/scandirat64.c: New file.
58060 * sysdeps/wordsize-64/scandirat.c: New file.
58061 * sysdeps/wordsize-64/scandirat64.c: New file.
58062 * dirent/opendir.c: Define opendirat.
58063 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58065 * dirent/scandir64.c: Adjust for scandir.c change.
58066 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58067 __scandirat64, and __scandir_cancel_handler.
58068 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58069 additional parameter and use openat instead of open (outside of ld.so).
58070 Add new __opendir as wrapper around __opendirat.
58071 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58072 here without requiring old scandirat implementation.
58074 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58076 * dirent/scandir.c (cancel_handler): Renamed to
58077 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58078 defined. Adjust users.
58079 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58080 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58082 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58084 * string/test-string.h (IMPL): Use __STRING to expand name and then
58087 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58090 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58092 * string/Makefile: Update.
58093 (strop-tests): Append strncat.
58094 * string/test-wcscmp.c: New file.
58095 New comprehensive test for wcscmp.
58096 * string/test-strcmp.c: Update.
58097 (WIDE): New define.
58099 2011-07-22 Andreas Schwab <schwab@redhat.com>
58101 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58104 2011-07-26 Andreas Schwab <schwab@redhat.com>
58106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58107 encoding to ACE if AI_IDN.
58109 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58112 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58114 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58116 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58117 Fix overflow bug in strncat.
58118 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58120 * string/test-strncat.c: Update.
58121 Add new tests for checking overflow bugs.
58123 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58126 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58127 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58128 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58130 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58131 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58132 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58133 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58136 (USE_AS_STRCAT): Define.
58137 Add strcat and strncat support.
58138 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58140 2011-07-25 Andreas Schwab <schwab@redhat.com>
58142 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58143 __n bigger than INT_MAX+1.
58144 (__strncmp_g): Likewise.
58146 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58148 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58149 * libio/stido.h: Likewise.
58151 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58156 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58157 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58159 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58163 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58168 (_dl_x86_64_save_sse): Likewise.
58170 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58174 (_dl_x86_64_save_sse): Likewise.
58176 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58178 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58180 2011-07-21 Andreas Schwab <schwab@redhat.com>
58182 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58184 (_dl_x86_64_save_sse): Use correct AVX check.
58186 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58188 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58189 bug in strncpy/strncat.
58190 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58192 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58194 * string/tester.c (test_strcat): Add tests for different alignments
58195 of source and destination.
58196 (test_strncat): Likewise.
58198 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58201 * posix/glob.c (glob): Check passed in values before using them in
58202 expressions to avoid some overflows.
58203 (glob_in_dir): Likewise.
58206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58207 check for AVX enablement so that we don't crash with old kernels and
58209 * elf/tst-audit4.c: Add same checks here.
58210 * elf/tst-audit6.c: Likewise.
58212 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58214 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58216 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58218 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58220 * po/cs.po: Update from translation team.
58221 * po/bg.po: Likewise.
58223 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58225 * misc/sys/cdefs.h: Add support for const attribute.
58226 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58227 to gnu_dev_{major,minor,makedev} functions.
58229 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58231 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58233 2011-07-20 Andreas Schwab <schwab@redhat.com>
58235 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58238 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58240 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58241 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58242 register in order to avoid conflicts with the soft frame pointer
58243 being held in r11 when necessary.
58244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58245 (INTERNAL_VSYSCALL_NCS): Likewise.
58247 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58249 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58250 * elf/dl-fini.c (_dl_fini): Adjust caller.
58251 * elf/dl-close.c (_dl_close_worker): Likewise.
58252 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58254 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58256 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58257 "aux_cache->nlibs < 0".
58259 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58260 in the reload-count case.
58262 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58265 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58266 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58267 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58268 * sysdeps/x86_64/multiarch/strcat.S: New file.
58269 * sysdeps/x86_64/multiarch/strncat.S: New file.
58270 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58271 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58272 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58273 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58274 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58275 (USE_AS_STRCAT): Define.
58276 Add strcat and strncat support.
58277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58278 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58279 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58280 * string/strncat.c: Update.
58281 (USE_AS_STRNCAT): Define.
58282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58283 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58285 * sysdeps/x86_64/multiarch/init-arch.h
58286 (bit_Prefer_PMINUB_for_stringop): New.
58287 (index_Prefer_PMINUB_for_stringop): Likewise.
58288 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58289 bit_Prefer_PMINUB_for_stringop.
58291 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58293 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58295 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58296 of casting of buffer.
58297 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58298 buffer32 and buffer64.
58299 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58300 writes instead of casting of buffer.
58301 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58303 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58306 2011-07-19 Andreas Schwab <schwab@redhat.com>
58308 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58310 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58312 * nscd/nscd.c (termination_handler): Don't do anything for a database
58313 if it has not yet been initialized.
58315 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58317 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58319 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58321 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58323 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58325 * po/nl.po: Update from translation team.
58326 * po/sv.po: Likewise.
58328 2011-07-16 Roland McGrath <roland@hack.frob.com>
58330 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58331 now disallowed by GCC.
58333 * configure.in (use-default-link): Default to yes if a test -shared
58334 link meets our qualifications.
58335 * configure: Regenerated.
58337 * config.make.in (output-format): New variable.
58338 * configure.in: Check for ld --print-output-format support.
58339 * configure: Regenerated.
58340 * Makerules ($(common-objpfx)format.lds)
58341 [$(output-format) != unknown]: Just use $(output-format),
58342 instead of the linker-script munging.
58344 2011-07-14 Roland McGrath <roland@hack.frob.com>
58346 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58347 of $(common-objpfx)shlib.lds.
58348 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58350 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58351 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58353 * configure.in (-z relro check): Adjust test code to add a large
58354 writable data section after it.
58355 * configure: Regenerated.
58357 2011-07-11 Roland McGrath <roland@hack.frob.com>
58359 * configure.in (-z relro check): Fix test code to make the variable
58361 * configure: Regenerated.
58363 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58365 * nscd/nscd.h (struct traced_file): Define.
58366 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58367 elements. Add traced_files.
58368 (inotify_fd): Declare.
58369 (register_traced_file): Declare.
58370 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58371 (inotify_fd): Export.
58372 (resolv_conf_descr): Remove.
58373 (nscd_init): Move inotify descriptor creation to main.
58374 Don't register files for notification here.
58375 (register_traced_file): New function.
58376 (invalidate_cache): Don't use reset_res to determine whether to call
58377 res_init, go through the list of registered files.
58378 (main_loop_poll): The inotify descriptors are now stored in the
58379 structures for the traced files.
58380 (main_loop_epoll): Likewise
58381 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58382 to __nss_disable_nscd.
58383 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58384 for a database anymore. Check the records for all the registered
58386 * nss/Makefile (libnss_files-routines): Add files-init.
58387 (libnss_db-routines): Add db-init.
58388 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58389 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58390 * nss/nss_db/db-init.c: New file.
58391 * nss/nss_files/files-init.c: New file.
58392 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58393 __nss_lookup_function.
58394 (__nss_lookup_function): Call nss_load_library.
58395 (nss_load_all_libraries): New function.
58396 (__nss_disable_nscd): Take parameter with callback function for files
58397 to register. Set is_nscd. Load all the DSOs for the NSS modules
58398 used for the cached services.
58399 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58400 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58401 options for features to all the files in nscd.
58403 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58405 2011-07-10 Roland McGrath <roland@hack.frob.com>
58407 * csu/elf-init.c (__libc_csu_init): Comment typo.
58409 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58411 * po/pl.po: Update from translation team.
58412 * po/ja.po: Likewise.
58413 * po/ru.po: Likewise.
58414 * po/ko.po: Likewise.
58415 * po/fr.po: Likewise.
58417 2011-07-09 Roland McGrath <roland@hack.frob.com>
58419 * configure.in (.ctors/.dtors header and trailer check):
58420 Use an empirical test on a built program.
58421 * configure: Regenerated.
58423 * configure.in (-z relro check): Use an empirical test on a built DSO.
58424 Detect, but do not require, on ia64.
58425 * configure: Regenerated.
58427 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58428 Update tests that use readelf to use $READELF instead.
58429 * configure: Regenerated.
58431 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58433 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58434 if the result is not used.
58436 2011-07-05 Andreas Jaeger <aj@suse.de>
58439 * stdlib/tst-strtod.c: Add testcase.
58441 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58443 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58444 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58445 The latter has a higher limit. Take additional parameter to pass to
58447 (__pathconf): Pass file to __statfs_link_max.
58448 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58450 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58454 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58458 (__statfs_filesize_max): Likewise.
58459 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58461 2011-07-05 Andreas Jaeger <aj@suse.de>
58463 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58465 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58467 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58469 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58472 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58474 * Makefile (strop-tests): Add strncat.
58475 * string/test-strncat.c: New file.
58477 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58479 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58481 2011-06-21 Andreas Jaeger <aj@suse.de>
58483 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58484 Copy rule from iconvdata/Makefile.
58486 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58489 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58490 but no long options are defined, just return 'W'.
58492 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58495 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58497 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58499 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58501 (innetgr): Likewise.
58503 2011-07-05 Roland McGrath <roland@hack.frob.com>
58505 * config.make.in (install_root): Default to $(DESTDIR).
58507 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58509 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58511 2011-07-02 Roland McGrath <roland@hack.frob.com>
58513 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58515 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58516 containing directory rather than embedding absolute directory names.
58518 * scripts/check-local-headers.sh: Rewritten using awk.
58519 Match by word, not by line. Print error messages for matches.
58520 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58522 * Makerules [shlib-lds-flags empty]:
58523 ($(common-objpfx)libc_pic.opts): New target.
58524 ($(common-objpfx)libc_pic.os.clean): New target.
58525 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58527 * config.make.in (OBJCOPY): New variable.
58528 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58529 * configure: Regenerated.
58531 * config.make.in (use-default-link): New variable.
58532 * configure.in (use_default_link): Grok --with-default-link to set it.
58533 * configure: Regenerated.
58534 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58535 (shlib-lds, shlib-lds-flags): Define to empty.
58537 * Makerules (shlib-lds): New variable.
58538 (shlib-lds-flags): New variable.
58539 (build-shlib, build-moduile, build-module-asneeded): Use it.
58540 ($(common-objpfx)libc.so): Use $(shlib-lds).
58541 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58542 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58544 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58545 DT_FLAGS/DT_FLAGS_1 with zero flags.
58547 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58548 linker script munging.
58550 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58552 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58554 * crypt/sha512.c (sha512_process_block): Perform total addition using
58555 128-bit if possible.
58556 (__sha512_finish_ctx): Likewise.
58557 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58559 * crypt/sha256.c (SWAP64): Define.
58560 (sha256_process_block): Perform total addition using 64-bit if
58562 (__sha256_finish_ctx): Likewise.
58564 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58566 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58568 * nscd/hstcache.c (cache_addhst): Likewise.
58569 * nscd/grpcache.c (cache_addgr): Likewise.
58570 * nscd/aicache.c (addhstaiX): Likewise
58571 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58573 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58575 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58576 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58577 * nscd/hstcache.c (cache_addhst): Likewise.
58578 * nscd/grpcache.c (cache_addgr): Likewise.
58579 * nscd/aicache.c (addhstaiX): Likewise
58581 2011-07-01 Andreas Schwab <schwab@redhat.com>
58583 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58584 domain only when needed.
58586 2011-06-30 Andreas Schwab <schwab@redhat.com>
58588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58589 is always restored.
58591 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58593 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58594 are re-adding the entry.
58595 * nscd/servicescache.c (cache_addserv): Likewise.
58597 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58599 * sysdeps/generic/dl-irel.h: fix protection against multiple
58601 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58603 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58606 * malloc/memusage.sh: Fix quoting in message.
58607 * debug/xtrace.sh: Likewise.
58609 * configure.in: Remove support for --experimental-malloc option, make
58611 * config.make.in: Likewise.
58612 * malloc/Makefile: Likewise.
58614 2011-06-27 Andreas Schwab <schwab@redhat.com>
58616 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58617 two-byte characters.
58619 2011-06-27 Roland McGrath <roland@hack.frob.com>
58621 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58622 AC_CACHE_CHECK invocation.
58623 * configure: Regenerated.
58625 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58627 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58630 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58631 bit from old_res_options.
58633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58635 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58636 value type for setfct.
58638 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58640 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58641 __gettimeofday instead of gettimeofday.
58643 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58645 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58647 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58649 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58654 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58657 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58658 strcpy-sse2-unaligned strncpy-sse2-unaligned
58659 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58660 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58661 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58662 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58663 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58664 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58666 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58667 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58668 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58669 (STRCPY): Support SSE2 and SSSE3 versions.
58671 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58674 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58675 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58676 kernels which artificially limit size of requests.
58678 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58681 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58682 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58683 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58684 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58685 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58686 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58687 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58690 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58691 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58692 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58693 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58694 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58696 Enable unaligned load optimization for Intel Core i3, i5 and i7
58698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58700 (index_Fast_Unaligned_Load): Define.
58701 (HAS_FAST_UNALIGNED_LOAD): Define.
58703 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58705 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58707 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58711 until it is clear that the information is realy needed.
58712 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58714 2011-06-22 Andreas Schwab <schwab@redhat.com>
58716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58718 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58721 /sys/devices/system/cpu/online if it is usable.
58723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58724 reading the information from the /proc filesystem to once a second.
58726 2011-06-21 Andreas Jaeger <aj@suse.de>
58728 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58729 NULL after inclusion of kernel headers.
58731 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58733 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58734 calls to internal_setent.
58737 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58738 addresses using gethostbyname4_r ignore IPv4 addresses.
58740 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58741 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58743 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58745 2011-06-20 David S. Miller <davem@davemloft.net>
58747 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58749 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58751 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58752 (elf_irel): Use it.
58753 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58754 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58755 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58756 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58757 * sysdeps/x86_64/dl-irel.h: Likewise.
58759 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58760 * elf/dl-sym.c: Likewise.
58762 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58764 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58765 need to dereference resplen2.
58767 2011-06-14 Andreas Schwab <schwab@redhat.com>
58769 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58771 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58773 * Makeconfig: Define vardbdir and inst_vardbdir.
58774 * nss/Makefile: Add rules to install db-Makefile.
58776 * nss/nss_db/db-XXX.c: Cleanup.
58778 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58779 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58781 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58782 * nss/makedb.c: Implement -g option to specify that value strings
58783 are generated and should not be added to table iterated over for
58785 * nss/nss_db/db-initgroups.c: New file.
58787 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58790 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58791 (internal_getgrouplist): Adjust to name change.
58792 Update use_initgroups_entry if this is not the first call.
58793 * nss/databases.def: Add initgroups entry.
58795 * nss/makedb.c (compute_tables): Check result of multiple hash table
58796 sizes to minimize maximum chain length.
58798 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58800 * Versions.def: Add entry for libnss_db.
58801 * shlib-versions: Likewise.
58802 * nss/Makefile: Add rules to build libnss_db.
58803 * nss/Versions: Add libnss_db information. Organize libnss_files
58805 * nss/db-Makefile: Add gshadow support. Change rules for the new
58806 makedb progra. Some minor improvements to generate smaller files.
58807 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58809 * nss/makedb.c: ...here.
58810 Improve database format to be smaller and require less memory at
58812 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58814 * nss/nss_db/db-netgrp.c: Likewise.
58815 * nss/nss_db/db-open.c: Likewise.
58816 * nss/nss_files/flies-XXX.x: Adjust comments.
58817 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58818 * nss/nss_files/files-grp.c: Likewise.
58819 * nss/nss_files/files-hosts.c: Likewise.
58820 * nss/nss_files/files-network.c: Likewise.
58821 * nss/nss_files/files-proto.c: Likewise.
58822 * nss/nss_files/files-pwd.c: Likewise.
58823 * nss/nss_files/files-rpc.c: Likewise.
58824 * nss/nss_files/files-service.c: Likewise.
58825 * nss/nss_files/files-sgrp.c: Likewise.
58826 * nss/nss_files/files-spwd.c: Likewise.
58827 * nss/nss_db/db-alias.c: Removed.
58828 * nss/nss_db/dummy-db.h: Removed.
58830 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58832 * nss/makedb.c: Rewritten to not use database library.
58833 * nss/Makefile: Update to build new makedb program.
58835 2011-06-14 Andreas Jaeger <aj@suse.de>
58837 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58838 memset declaration.
58840 2011-06-10 Andreas Schwab <schwab@redhat.com>
58842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58845 2011-06-10 Roland McGrath <roland@hack.frob.com>
58847 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58848 * elf/Makefile ($(objpfx)ld.so): Likewise.
58850 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58851 Don't list ld.so twice in dependencies.
58853 * posix/bug-regex31.c: Include <stdlib.h>.
58855 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58857 * nis/nss_compat/compat-spwd.c
58858 (getspent_next_nss_netgr): Remove unused variable.
58859 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58861 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58862 nonmembers" output to use the right array.
58864 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58866 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58868 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58869 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58870 * catgets/gencat.c (read_input_file): Likewise.
58871 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58873 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58874 variable definition inside #if's controlling its use.
58876 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58878 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58880 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58882 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58885 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58887 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58888 * configure: Regenerated.
58890 * Makerules: Revert last change.
58891 * elf/Makefile: Likewise.
58893 2011-06-09 Roland McGrath <roland@hack.frob.com>
58895 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58896 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58897 (reloc-link): Likewise.
58899 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58901 * elf/Makefile: Add rules to build pldd.
58902 * elf/pldd.c: New file.
58903 * elf/pldd-xx.c: New file.
58905 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58907 * version.h: Update for 2.15 development version.
58909 2011-06-07 David S. Miller <davem@davemloft.net>
58911 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58914 elf_machine_lazy_rel): Likewise.
58915 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58917 elf_machine_lazy_rel): Likewise.
58918 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58919 dl_hwcap via passed in argument.
58920 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58923 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58925 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58927 2011-06-06 Roland McGrath <roland@hack.frob.com>
58930 * manual/fdl-1.1.texi: New file, verbatim from:
58931 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58932 * manual/lgpl-2.1.texi: New file, verbatim from:
58933 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58934 * manual/Makefile (licenses): New variable, list those new file names.
58936 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58938 * manual/fdl.texi: File removed.
58939 * manual/lesser.texi: File removed.
58940 * manual/libc.texinfo (Copying, Documentation License):
58941 Use new @include file names, put @appendix directive before @include.
58943 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58946 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58947 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58948 (mq_open): Add __NTH.
58950 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58953 Assume Intel Core i3/i5/i7 processor if AVX is available.
58955 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58957 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58960 2011-05-31 Andreas Schwab <schwab@redhat.com>
58962 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58963 memory. Use alloca_account. Fix memory leak when retrying.
58965 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58967 * version.h (RELEASE): Bump for 2.14 release.
58968 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58970 * config.make.in (RANLIB): Remove entry.
58972 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58974 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58975 (libc.pot): Work around missing support for .ksh extension in xgettext.
58978 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58979 if both request failed.
58980 (send_dg): In case of server errors clear resplen or *resplen2.
58983 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58984 when there are multiple maps.
58985 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58986 (_dl_fini): Remove test here.
58988 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58990 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58993 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58994 bit from old_res_options.
58995 (gaih_inet): Likewise.
58998 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59001 * resolv/res_init.c (res_setoptions): Make the code more compact.
59004 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59008 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59010 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59013 * malloc/malloc.h: Declare malloc hook variables as volatile.
59015 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59019 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59020 raise in the comment.
59021 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59023 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59025 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59028 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59029 grow the buffers more if it already has to be sufficient.
59030 (build_wcs_upper_buffer): Likewise.
59031 * posix/regexec.c (check_matching): Likewise.
59032 (clean_state_log_if_needed): Likewise.
59033 (extend_buffers): Don't enlarge buffers beyond size of the input
59035 Patches mostly by Emil Wojak <emil@wojak.eu>.
59036 * posix/bug-regex32.c: New file.
59037 * posix/Makefile (tests): Add bug-regex32.
59039 * locale/findlocale.c (_nl_find_locale): Return right away if
59040 _nl_explode_name failed.
59041 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59043 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59045 * debug/xtrace.sh: Unify messages.
59046 * malloc/memusage.sh: Likewise.
59049 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59050 time symbol from vDSO. Substitute with vsyscall if not available.
59051 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59054 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59055 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59056 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59057 Add sendmmsg and internal_sendmmsg.
59058 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59059 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59060 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59062 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59063 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59064 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59066 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59069 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59070 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59072 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59076 * iconvdata/Makefile (tests): Add bug-iconv9.
59077 * iconvdata/bug-iconv9.c: New file.
59079 2011-05-27 Andreas Schwab <schwab@redhat.com>
59082 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59084 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59086 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59087 (struct user_regs_struct): Change intcs field back to cs.
59089 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59091 * po/ja.po: Update from translation team.
59093 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59096 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59097 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59099 2011-05-20 Andreas Schwab <schwab@redhat.com>
59101 * stdlib/longlong.h: Update from GCC.
59103 2011-05-23 Andreas Schwab <schwab@redhat.com>
59105 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59107 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59108 Add parameter name.
59109 (__sysconf): Pass it down.
59111 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59114 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59116 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59117 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59118 add in in __libc_use_alloca calls. Adjust callers.
59119 (glob): Use malloc in some situations.
59121 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59122 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59125 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59127 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59128 and CLOCK_BOOTTIME_ALARM.
59131 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59134 * string/_strerror.c (__strerror_r): Print negative errors as signed
59138 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59139 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59140 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59142 * configure.in: Fix typo in redirection and correct removal of test
59143 files in two cases.
59146 * locale/setlocale.c (new_composite_name): Fix test to check for
59147 identical name of all categories.
59150 * libio/filedoalloc.c (local_isatty): New function.
59151 (_IO_file_doallocate): Use local_isatty.
59152 * stdio-common/perror.c (perror): In case a new stream is used
59153 forward the stream error.
59154 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59157 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59162 * include/alloca.h (extend_alloca_account): Define.
59165 * posix/regex.h: Fix comments with documentation of user-accessible
59166 fields after compilation and describe correct free'ing of pattern
59167 after re_compile_pattern.
59168 Patch by Reuben Thomas <rrt@sc3d.org>.
59170 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59172 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59173 and -mno-altivec to prevent the compiler from using Altivec and/or
59174 VSX instructions when the corresponding registers are not available.
59176 2011-05-19 Andreas Schwab <schwab@redhat.com>
59178 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59180 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59182 * libio/freopen.c (freopen): Use __dup2, not dup2.
59183 * libio/freopen64.c (freopen64): Likewise.
59185 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59188 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59189 * math/Makefile (tests): Add test-powl.
59190 (CFLAGS-test-powl.c): Define.
59191 * math/test-powl.c: New file.
59193 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59195 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59197 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59200 * iconvdata/gb18030.c: Update to GB18020-2005.
59202 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59204 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59205 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59206 Patch by Aharon Robbins <arnold@skeeve.com>.
59209 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59213 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59214 through underflows.
59217 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59218 point to strings before performing equality test for error_one_per_line
59222 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59226 (struct user_fpregs_struct): Avoid __uint*_t types.
59229 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59230 symbol info. Use it instead of calling _dl_addr locally.
59231 (lock_and_info): New function.
59232 (tr_freehook): Call lock_and_info and pass symbol info as additional
59233 parameter to tr_where.
59234 (tr_mallochook): Likewise.
59235 (tr_reallochook): Likewise.
59236 (tr_memalignhook): Likewise.
59238 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59239 used and couldn't be at all thread-safe.
59241 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59243 * libio/freopen.c (freopen): Don't close old file descriptor
59244 before the new one is opened. Instead dup the new file descriptor
59245 to the old one after the new stream is created.
59246 * libio/freopen64.c (freopen64): Likewise.
59247 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59248 * libio/fileops.c (_IO_new_file_close_it): Handle new
59249 _IO_FLAGS2_NOCLOSE flag.
59250 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59251 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59252 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59253 _IO_FLAGS2_NOCLOSE flag.
59254 * include/unistd.h: Add hidden_proto for dup3.
59255 Define __have_dup3.
59256 * io/dup3.c: Define hidden symbol.
59257 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59260 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59261 when an incomplete long option is used.
59262 * posix/tst-getopt_long1.c: New file.
59263 * posix/Makefile (tests): Add tst-getopt_long1.
59266 * scripts/config.guess: Update from autoconf-2.68.
59267 * scripts/config.sub: Likewise.
59270 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59272 (has_cpuclock): ...this. New function.
59273 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59274 macro here based on has_cpuclock code.
59277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59278 First byte (not low byte) is now always NUL.
59279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59282 Use non-cancelable interfaces.
59285 * locale/iso-639.def: Add entry for Sorani.
59288 * include/stdlib.h: Move include protection to the right place.
59289 Define abort_msg_s. Declare __abort_msg with it.
59290 * stdlib/abort.c (__abort_msg): Adjust type.
59291 * assert/assert.c (__assert_fail_base): New function. Majority
59292 of code from __assert_fail. Allocate memory for __abort_msg with
59294 (__assert_fail): Now call __assert_fail_base.
59295 * assert/assert-perr.c: Remove bulk of implementation. Use
59296 __assert_fail_base.
59297 * include/assert.hL Declare __assert_fail_base.
59298 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59300 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59302 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59306 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59307 until all modules are registered in the DTV.
59308 * elf/Makefile: Add rules to build and run tst-tls19.
59309 * elf/tst-tls19.c: New file.
59310 * elf/tst-tls19mod1.c: New file.
59311 * elf/tst-tls19mod2.c: New file.
59312 * elf/tst-tls19mod3.c: New file.
59313 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59316 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59320 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59321 two-byte sequence errors.
59322 * iconvdata/Makefile (tests): Add bug-iconv8.
59323 * iconvdata/bug-iconv8.c: New file.
59326 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59329 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59332 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59333 (dummy_getcfa): New function.
59334 (init): Get _Unwind_GetCFA address, use dummy if not found.
59335 (backtrace_helper): In recursion check, also check whether CFA changes.
59336 (__backtrace): Completely initialize arg.
59338 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59339 storing incomplete byte sequence in state object. Avoid testing for
59340 guaranteed too small input if we know there is enough data available.
59342 2011-05-11 Andreas Schwab <schwab@redhat.com>
59344 * Makeconfig (+link-pie): Indent.
59345 * Rules (binaries-pie): Define if $(have-fpie) and
59347 (binaries-shared): Also filter out $(binaries-pie).
59348 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59349 * nscd/Makefile (others-pie): Add nscd.
59350 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59351 ($(objpfx)nscd): Remove command override.
59352 * login/Makefile (others-pie): Add pt_chown.
59353 ($(objpfx)pt_chown): Remove command override.
59354 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59355 remove command overrides.
59357 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59359 * libio/tst_putwc.c: Fix error messages.
59362 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59363 currently writing and seek to current position when not.
59364 * libio/Makefile (tests): Add bug-fclose1.
59365 * libio/bug-fclose1.c: New file.
59367 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59370 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59371 don't set DF_1_NODELETE here.
59372 (do_lookup_x): When entering new entry test for copy relocation
59373 and if necessary set DF_1_NODELETE flag.
59374 * elf/tst-unique4.cc: New file.
59375 * elf/tst-unique4.h: New file.
59376 * elf/tst-unique4lib.cc: New file.
59377 * elf/Makefile: Add rules to build and run tst-unique4.
59378 Patch by Piotr Bury <pbury@goahead.com>.
59380 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59383 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59386 * misc/mntent_r.c (addmntent): Flush the stream after the output
59389 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59390 (is_trusted_path_normalize): Skip initial colon. Append slash
59391 to empty buffer. Duplicate is_trusted_path code but allow
59392 constructed patch to be prefix.
59393 (is_dst): Allow $ORIGIN followed by /.
59394 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59395 Correct testing of result of is_trusted_path_normalize
59396 (decompose_rpath): Fix warning.
59398 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59401 * grp/initgroups.c (internal_getgrouplist): When we found the service
59402 list through the initgroups entry in nsswitch.conf do not always
59403 continue on a successful lookup. Don't always use the
59404 __nss_group_database value if it is set.
59405 * nss/nsswitch.conf (initgroups): Change action for successful db
59406 lookup to continue for compatibility.
59408 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59411 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59413 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59415 * iconvdata/tst-tables.sh: Likewise.
59416 * iconvdata/cp770.c: New file.
59417 * iconvdata/cp771.c: New file.
59418 * iconvdata/cp772.c: New file.
59419 * iconvdata/cp773.c: New file.
59420 * iconvdata/cp774.c: New file.
59421 * iconvdata/testdata/CP770: New file.
59422 * iconvdata/testdata/CP770..UTF8: New file.
59423 * iconvdata/testdata/CP771: New file.
59424 * iconvdata/testdata/CP771..UTF8: New file.
59425 * iconvdata/testdata/CP772: New file.
59426 * iconvdata/testdata/CP772..UTF8: New file.
59427 * iconvdata/testdata/CP773: New file.
59428 * iconvdata/testdata/CP773..UTF8: New file.
59429 * iconvdata/testdata/CP774: New file.
59430 * iconvdata/testdata/CP774..UTF8: New file.
59432 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59434 * iconvdata/gen-8bit-gap.sh: Likewise.
59435 * iconvdata/gen-8bit.sh: Likewise.
59437 * locale/iso-639.def: Add ary entry.
59440 * locale/C-translit.h.in: Add U20A1 transliteration.
59443 * locale/iso-639.def: Add wae entry.
59444 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59447 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59451 * locale/C-translit.h.in: Add entry for U20B9.
59452 Patch by pravin.d.s@gmail.com.
59454 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59457 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59458 ENAMETOOLONG use generic getcwd.
59459 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59460 in rtld. Use *stat64.
59461 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59462 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59463 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59464 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59465 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59466 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59467 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59468 __fstatat64 macros.
59469 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59470 * dirent/rewinddir.c: Add libc_hidden_def.
59471 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59472 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59474 * include/dirent.h (__alloc_dir): Add flags parameter.
59475 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59476 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59478 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59479 from fdopendir if O_CLOEXEC is already set.
59481 2011-03-15 Alan Modra <amodra@gmail.com>
59483 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59484 l_tls_firstbyte_offset non-zero. Save padding offset in
59485 l_tls_firstbyte_offset for later use.
59486 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59487 freeing static tls block.
59489 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59491 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59492 where #ifdef was intended. The intent is to prevent ARG_MAX from
59493 being defined by the kernel headers.
59495 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59498 * resolv/resolv.h: Define RES_NOTLDQUERY.
59499 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59500 no-tld-query and set RES_NOTLDQUERY.
59501 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59502 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59503 modern BIND to search name as TLD unless forbidden.
59505 2011-05-07 Petr Baudis <pasky@suse.cz>
59506 Ulrich Drepper <drepper@gmail.com>
59509 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59510 (is_trusted_path): ...to here.
59511 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59512 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59513 using is_trusted_path_normalize() in setuid scripts.
59515 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59517 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59518 __BEGIN/__END_DECLS.
59520 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59522 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59523 NSS_STATUS_NOTFOUND if no record was found.
59525 2011-05-05 Andreas Schwab <schwab@redhat.com>
59527 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59528 (headers-not-in-tirpc): Remove rpc/netdb.h
59529 * resolv/netdb.h: Revert last change.
59531 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59533 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59534 circular dependency between libgcc.a and libc.a.
59536 2011-05-05 Andreas Schwab <schwab@redhat.com>
59538 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59539 * nis/Makefile: Don't install rpcsvc/*.
59540 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59541 instead of <rpc/types.h>.
59542 (MAXHOSTNAMELEN): Define.
59544 2011-05-03 Andreas Schwab <schwab@redhat.com>
59546 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59548 2011-04-28 Maciej Babinski <mbabinski@google.com>
59551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59552 gethostbyname4_r when IPv6 results are possible.
59554 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59557 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59558 _PC_PIPE_BUF handling.
59560 2011-04-30 Bruno Haible <bruno@clisp.org>
59563 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59564 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59566 * inet/getnameinfo.c (getnameinfo): Likewise.
59568 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59570 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59571 to groups setting in database lookup.
59572 * nss/nsswitch.conf: Add initgroups entry.
59574 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59577 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59579 Patch by Eric Blake <eblake@redhat.com>.
59581 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59583 * sunrpc/Makefile (need-export-routines): Add svc_run.
59584 (routines): Remove svc_run.
59585 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59586 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59587 * sunrpc/svc_run.c (svc_run): Likewise.
59588 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59590 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59593 problem in reallocation in last patch.
59595 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59597 * sunrpc/Makefile: Move inclusion of Rules.
59599 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59601 * nss/nss_files/files-initgroups.c: New file.
59602 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59603 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59604 _nss_files_initgroups_dyn.
59606 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59608 * elf/elf.h (R_ARM_IRELATIVE): Define.
59610 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59612 * po/ru.po: Update from translation team.
59614 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59616 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59619 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59622 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59623 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59628 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59630 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59632 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59634 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59636 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59639 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59641 * stdlib/bug-getcontext.c: New file.
59642 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59644 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59646 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59647 instructions into .machine "z9-109".
59648 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59649 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59651 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59653 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59654 between environment variables and auxiliary vector.
59656 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59658 * Makefile: Add rules to build linkobj/libc.so.
59659 * include/libc-symbols.h: Define libc_hidden_nolink.
59660 * include/rpc/auth.h: Mark functions which are to be hidden.
59661 * include/rpc/auth_des.h: Likewise.
59662 * include/rpc/auth_unix.h: Likewise.
59663 * include/rpc/clnt.h: Likewise.
59664 * include/rpc/des_crypt.h: Likewise.
59665 * include/rpc/key_prot.h: Likewise.
59666 * include/rpc/pmap_clnt.h: Likewise.
59667 * include/rpc/pmap_prot.h: Likewise.
59668 * include/rpc/pmap_rmt.h: Likewise.
59669 * include/rpc/rpc_msg.h: Likewise.
59670 * include/rpc/svc.h: Likewise.
59671 * include/rpc/svc_auth.h: Likewise.
59672 * include/rpc/xdr.h: Likewise.
59673 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59674 * nss/Makefile: Likewise.
59675 * sunrpc/Makefile: Don't install headers. Build library with normal
59676 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59677 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59678 for the compat linking library. Remove use of INTDEF/INTUSE.
59679 * sunrpc/auth_none.c: Likewise.
59680 * sunrpc/auth_unix.c: Likewise.
59681 * sunrpc/authdes_prot.c: Likewise.
59682 * sunrpc/authuxprot.c: Likewise.
59683 * sunrpc/clnt_gen.c: Likewise.
59684 * sunrpc/clnt_perr.c: Likewise.
59685 * sunrpc/clnt_raw.c: Likewise.
59686 * sunrpc/clnt_simp.c: Likewise.
59687 * sunrpc/clnt_tcp.c: Likewise.
59688 * sunrpc/clnt_udp.c: Likewise.
59689 * sunrpc/clnt_unix.c: Likewise.
59690 * sunrpc/des_crypt.c: Likewise.
59691 * sunrpc/des_soft.c: Likewise.
59692 * sunrpc/get_myaddr.c: Likewise.
59693 * sunrpc/key_call.c: Likewise.
59694 * sunrpc/key_prot.c: Likewise.
59695 * sunrpc/netname.c: Likewise.
59696 * sunrpc/pm_getmaps.c: Likewise.
59697 * sunrpc/pm_getport.c: Likewise.
59698 * sunrpc/pmap_clnt.c: Likewise.
59699 * sunrpc/pmap_prot.c: Likewise.
59700 * sunrpc/pmap_prot2.c: Likewise.
59701 * sunrpc/pmap_rmt.c: Likewise.
59702 * sunrpc/publickey.c: Likewise.
59703 * sunrpc/rpc_cmsg.c: Likewise.
59704 * sunrpc/rpc_common.c: Likewise.
59705 * sunrpc/rpc_dtable.c: Likewise.
59706 * sunrpc/rpc_prot.c: Likewise.
59707 * sunrpc/rpc_thread.c: Likewise.
59708 * sunrpc/rtime.c: Likewise.
59709 * sunrpc/svc.c: Likewise.
59710 * sunrpc/svc_auth.c: Likewise.
59711 * sunrpc/svc_authux.c: Likewise.
59712 * sunrpc/svc_raw.c: Likewise.
59713 * sunrpc/svc_run.c: Likewise.
59714 * sunrpc/svc_simple.c: Likewise.
59715 * sunrpc/svc_tcp.c: Likewise.
59716 * sunrpc/svc_udp.c: Likewise.
59717 * sunrpc/svc_unix.c: Likewise.
59718 * sunrpc/svcauth_des.c: Likewise.
59719 * sunrpc/xcrypt.c: Likewise.
59720 * sunrpc/xdr.c: Likewise.
59721 * sunrpc/xdr_array.c: Likewise.
59722 * sunrpc/xdr_float.c: Likewise.
59723 * sunrpc/xdr_intXX_t.c: Likewise.
59724 * sunrpc/xdr_mem.c: Likewise.
59725 * sunrpc/xdr_rec.c: Likewise.
59726 * sunrpc/xdr_ref.c: Likewise.
59727 * sunrpc/xdr_sizeof.c: Likewise.
59728 * sunrpc/xdr_stdio.c: Likewise.
59730 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59733 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59734 * sysdeps/ia64/dl-tls.h: Likewise.
59735 * sysdeps/powerpc/dl-tls.h: Likewise.
59736 * sysdeps/s390/dl-tls.h: Likewise.
59737 * sysdeps/sh/dl-tls.h: Likewise.
59738 * sysdeps/sparc/dl-tls.h: Likewise.
59739 * sysdeps/x86_64/dl-tls.h: Likewise.
59740 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59742 2011-03-14 Andreas Schwab <schwab@redhat.com>
59744 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59745 rpath element also skip the following colon.
59746 (expand_dynamic_string_token): Add is_path parameter and pass
59747 down to DL_DST_REQUIRED and _dl_dst_substitute.
59748 (decompose_rpath): Call expand_dynamic_string_token with
59749 non-zero is_path. Ignore empty rpaths.
59750 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59753 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59758 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59761 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59762 Patch by Filipe David Manana <fdmanana@apache.org>.
59764 2011-04-07 Andreas Schwab <schwab@redhat.com>
59766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59767 Maintain aligned stack.
59768 (CHECK_RSP): Remove unused macro.
59770 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59772 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59773 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59775 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59777 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59779 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59781 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59784 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59785 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59786 * sysdeps/x86_64/memmove.c: New file.
59787 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59788 (memcpy): Renamed to ...
59789 (__new_memcpy): This.
59790 (memcpy): Provide GLIBC_2_14 memcpy.
59791 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59792 (memcpy): Provide GLIBC_2_2_5 memcpy.
59794 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59797 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59799 2011-03-30 Andreas Schwab <schwab@redhat.com>
59801 * misc/syncfs.c: New file.
59802 * misc/Makefile (routines): Add syncfs.
59803 * posix/unistd.h: Declare syncfs.
59804 * sysdeps/unix/syscalls.list: Add syncfs.
59806 2011-04-01 Andreas Schwab <schwab@redhat.com>
59808 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59815 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59818 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59820 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59821 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59822 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59824 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59828 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59829 sync_file_range.c with -fexceptions.
59830 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59831 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59832 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59833 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59834 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59835 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59837 sync_file_range as cancellation point
59838 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59839 now a wrapper around __call_sync_file_range with cancellation handling.
59840 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59841 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59842 function name to __call_sync_file_range.
59843 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59844 Add call_sync_file_range.
59846 2011-04-01 Andreas Schwab <schwab@redhat.com>
59848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59851 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59853 * iconv/iconv.h: Fix typo in comment.
59854 * io/fcntl.h: Likewise.
59855 * libio/stdio.h: Likewise.
59856 * posix/spawn.h: Likewise.
59857 * posix/unistd.h: Likewise.
59858 * stdlib/stdlib.h: Likewise.
59859 * time/time.h: Likewise.
59860 * wcsmbs/wchar.h: Likewise.
59862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59863 open_by_handle): Add.
59864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59865 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59866 Augment a few comments.
59867 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59872 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59875 * io/fcntl.h (AT_EMPTY_PATH): Define.
59877 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59879 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59880 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59881 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59883 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59884 * Versions.def: Add GLIBC_2.14.
59885 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59888 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59890 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59892 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59894 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59897 * string/test-strncmp.c (do_page_test): New function.
59898 (check2): Likewise.
59899 (test_main): Call check2.
59900 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59902 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59905 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59906 Handle cache information in CPU leaf 4.
59907 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59909 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59912 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59913 character representation.
59914 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59916 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59918 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59919 END(__isnan) to END(__isnanf) to match function entry point/label
59920 EALIGN(__isnanf,...).
59922 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59924 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59926 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59929 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59930 copy from the symbol referenced in the relocation to initialize the
59932 Patch by Piotr Bury <pbury@goahead.com>.
59933 * elf/Makefile: Add rules to build and tst-unique3.
59934 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59935 * elf/tst-unique3.cc: New file.
59936 * elf/tst-unique3.h: New file.
59937 * elf/tst-unique3lib.cc: New file.
59938 * elf/tst-unique3lib2.cc: New file.
59940 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59942 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59944 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59945 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59948 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59950 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59951 to-be-loaded object along a path to loader is ld.so.
59953 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59954 Ulrich Drepper <drepper@gmail.com>
59956 * sysdeps/x86_64/memset.S: After aligning destination, code
59957 branches to different locations depending on the value of
59958 misalignment, when multiarch is enabled. Fix this.
59960 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59962 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59963 Set _x86_64_preferred_memory_instruction for AMD processsors.
59964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59965 Set bit_Prefer_SSE_for_memop for AMD processors.
59967 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59969 * libio/fmemopen.c (fmemopen): Optimize a bit.
59971 2011-03-03 Andreas Schwab <schwab@redhat.com>
59973 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59975 2011-03-03 Roland McGrath <roland@redhat.com>
59977 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59979 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59981 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59982 __bzero_ultra1 instead of __memset_ultra1.
59984 2011-02-23 Andreas Schwab <schwab@redhat.com>
59985 Ulrich Drepper <drepper@gmail.com>
59988 * include/link.h (struct link_map): Add l_orig_initfini.
59989 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59990 returning unsuccessfully.
59991 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59992 close of a file loaded at startup, restore the original l_initfini
59994 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59995 list, store the pointer.
59996 * elf/Makefile ($(objpfx)noload-mem): New rule.
59997 (noload-ENV): Define.
59998 (tests): Add $(objpfx)noload-mem.
59999 * elf/noload.c: Include <memcheck.h>.
60000 (main): Call mtrace. Close all opened handles.
60002 2011-02-17 Andreas Schwab <schwab@redhat.com>
60005 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60006 dependencies are missing.
60008 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60010 Fix __if_freereq crash: Unlike the generic version which uses free,
60012 * sysdeps/mach/hurd/ifreq.h: New file.
60014 2011-01-27 Petr Baudis <pasky@suse.cz>
60015 Ulrich Drepper <drepper@gmail.com>
60018 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60019 to extend_alloca().
60020 * stdio-common/bug23.c: New file.
60021 * stdio-common/Makefile (tests): Add bug23.
60023 2010-09-28 Andreas Schwab <schwab@redhat.com>
60024 Ulrich Drepper <drepper@gmail.com>
60027 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60028 before performing relro protection. At old place add assertion
60029 to make sure nothing changed.
60031 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60032 Glauber de Oliveira Costa <glommer@gmail.com>
60034 * elf/elf.h: Add new ARM TLS relocs.
60036 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60039 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60041 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60043 * sysdeps/wordsize-64/tst-writev.c: New file.
60045 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60047 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60048 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60049 insns in _dl_start to prevent a TOC reference before relocs are
60052 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60055 * Makeconfig: Remove RANLIB definition.
60056 * Makerules: Don't use RANLIB.
60057 * aclocal.m4: Remove ranlib test.
60058 * configure.in: No need to check for ranlib.
60059 * elf/rtld-Rules: Don't use RANLIB.
60061 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60063 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60065 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60066 inclusion protection macro.
60068 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60069 SIGRTMIN and SIGRTMAX and print information in that case only when
60070 SIGRTMIN is defined.
60072 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60074 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60075 arginfo fn returning -1.
60077 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60078 and thousands string is zero terminated.
60080 2011-02-03 Andreas Schwab <schwab@redhat.com>
60082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60083 sysdeps/unix/sysv/linux/bits/socket.h.
60085 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60087 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60088 (__CPU_COUNT): Remove old macros.
60089 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60090 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60091 (__CPU_ALLOC, __CPU_FREE): Add macros.
60092 (__sched_cpualloc, __sched_cpufree): Add declarations.
60094 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60096 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60097 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60098 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60099 (readdhstai): Return value of addhstaiX call.
60100 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60101 (addgrbyX): Return value returned by cache_addgr.
60102 (readdgrbyname): Return value returned by addgrbyX.
60103 (readdgrbygid): Likewise.
60104 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60105 (addpwbyX): Return value returned by cache_addpw.
60106 (readdpwbyname): Return value returned by addhstbyX.
60107 (readdpwbyuid): Likewise.
60108 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60109 (addservbyX): Return value returned by cache_addserv.
60110 (readdservbyname): Return value returned by addservbyX:
60111 (readdservbyport): Likewise.
60112 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60113 (addhstbyX): Return value returned by cache_addhst.
60114 (readdhstbyname): Return value returned by addhstbyX.
60115 (readdhstbyaddr): Likewise.
60116 (readdhstbynamev6): Likewise.
60117 (readdhstbyaddrv6): Likewise.
60118 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60119 (readdinitgroups): Return value returned by addinitgroupsX.
60120 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60121 (prune_cache): Keep track of timeout value of re-added entries.
60122 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60123 * nscd/nscd.h: Adjust prototypes of readd* functions.
60125 2011-02-04 Roland McGrath <roland@redhat.com>
60127 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60128 (nis_stats): Likewise.
60129 * nis/nis_modify.c (nis_modify): Likewise.
60130 * nis/nis_remove.c (nis_remove): Likewise.
60131 * nis/nis_add.c (nis_add): Likewise.
60133 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60135 * posix/fnmatch_loop.c: Add some consts.
60137 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60139 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60142 * config.make.in (config-cflags-novzeroupper): Define.
60143 * configure.in: Substitute libc_cv_cc_novzeroupper.
60144 * elf/Makefile (AVX-CFLAGS): Define.
60145 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60146 (CFLAGS-tst-auditmod4a.c): Likewise.
60147 (CFLAGS-tst-auditmod4b.c): Likewise.
60148 (CFLAGS-tst-auditmod6b.c): Likewise.
60149 (CFLAGS-tst-auditmod6c.c): Likewise.
60150 (CFLAGS-tst-auditmod7b.c): Likewise.
60151 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60153 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60155 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60156 function to the callback.
60157 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60159 2011-02-02 Andreas Schwab <schwab@redhat.com>
60161 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60164 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60167 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60169 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60171 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60174 * elf/Makefile: Add rules to build and run new test.
60175 * elf/tst-initorder.c: New file.
60176 * elf/tst-initorder.exp: New file.
60177 * elf/tst-initordera1.c: New file.
60178 * elf/tst-initordera2.c: New file.
60179 * elf/tst-initordera3.c: New file.
60180 * elf/tst-initordera4.c: New file.
60181 * elf/tst-initorderb1.c: New file.
60182 * elf/tst-initorderb2.c: New file.
60183 * elf/tst-order-a1.c: New file.
60184 * elf/tst-order-a2.c: New file.
60185 * elf/tst-order-a3.c: New file.
60186 * elf/tst-order-a4.c: New file.
60187 * elf/tst-order-b1.c: New file.
60188 * elf/tst-order-b2.c: New file.
60189 * elf/tst-order-main.c: New file.
60190 New test case by George Gensure <werkt0@gmail.com>.
60192 2010-10-01 Andreas Schwab <schwab@redhat.com>
60194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60195 decoding ACE if AI_CANONIDN.
60197 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60199 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60201 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60203 * version.h (RELEASE): Bump for 2.13 release.
60204 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60206 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60208 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60210 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60215 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60217 * posix/getconf.c: Update copyright year.
60218 * catgets/gencat.c: Likewise.
60219 * csu/version.c: Likewise.
60220 * debug/catchsegv.sh: Likewise.
60221 * debug/xtrace.sh: Likewise.
60222 * elf/ldconfig.c: Likewise.
60223 * elf/ldd.bash.in: Likewise.
60224 * elf/sprof.c (print_version): Likewise.
60225 * iconv/iconv_prog.c: Likewise.
60226 * iconv/iconvconfig.c: Likewise.
60227 * locale/programs/locale.c: Likewise.
60228 * locale/programs/localedef.c: Likewise.
60229 * malloc/memusage.sh: Likewise.
60230 * malloc/mtrace.pl: Likewise.
60231 * nscd/nscd.c (print_version): Likewise.
60232 * nss/getent.c: Likewise.
60234 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60235 PF_CAIF, and PF_ALG.
60236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60238 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60240 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60241 (modules-names): Use them.
60242 (ifunc-test-modules, ifunc-pie-tests): Define.
60243 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60244 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60245 (test-extras): Likewise.
60246 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60247 $(compile-command.c).
60248 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60249 (all-built-dso): Define.
60250 (check-textrel.out, check-execstack.out): Depend on it.
60252 * configure.in: Don't override --enable-multi-arch.
60254 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60257 * nscd/hstcache.c (tryagain): Define.
60258 (cache_addhst): Return tryagain not notfound for temporary errors.
60259 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60262 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60265 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60266 to make the syscall.
60267 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60270 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60271 and fall back to matching as normal character if the string ends before
60272 the matching ']' is found. This is what POSIX requires.
60273 * posix/testfnm.c: Adjust test result.
60274 * posix/globtest.sh: Adjust test result. Add new test.
60275 * posix/tst-fnmatch.input: Likewise.
60276 * posix/tst-fnmatch2.c: Add new test.
60278 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60280 * elf/Makefile (check-execstack): Revert last change. Depend on
60282 (check-execstack.h): New target.
60283 (generated): Add check-execstack.h.
60284 * elf/check-execstack.c: Include "check-execstack.h".
60285 (main): Revert last change.
60286 (handle_file): Return zero if GNU_STACK is absent and
60287 DEFAULT_STACK_PERMS doesn't include PF_X.
60289 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60291 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60292 in child fails because the descriptor is already closed.
60293 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60294 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60295 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60298 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60302 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60303 temporary buffer used to handle multi lookups locally.
60304 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60306 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60308 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60311 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60313 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60314 alignment for SSE2.
60316 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60319 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60320 characters. When rounding increased number of integer digits recompute
60322 * stdio-common/tst-grouping.c: New file.
60323 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60325 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60327 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60328 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60330 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60332 * bits/select.h: Likewise.
60334 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60336 * po/ja.po: Update from translation team.
60338 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60341 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60342 implementation just like for lxstat, fxstatat, et al.
60344 2010-12-27 Jim Meyering <meyering@redhat.com>
60347 * posix/regexec.c (build_trtable): Return failure indication upon
60348 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60350 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60353 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60354 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60355 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60356 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60359 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60362 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60363 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60365 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60367 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60368 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60369 script has SORT_BY_INIT_PRIORITY.
60370 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60371 NO_CTORS_DTORS_SECTIONS is defined.
60372 * elf/soinit.c: Likewise.
60373 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60374 NO_CTORS_DTORS_SECTIONS is defined.
60375 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60376 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60377 * sysdeps/sh/init-first.c: Likewise.
60378 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60380 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60382 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60383 always use the slow path.
60385 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60387 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60388 similar rule which adds the sysdep directories to the header search in
60389 order to pick up the correct platform stackinfo.h.
60390 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60391 perform test if it is, otherwise return successfully without testing.
60392 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60393 DEFAULT_STACK_PERMS define in stackinfo.h.
60394 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60395 defined in stackinfo.h.
60396 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60397 DEFAULT_STACK_PERMS defined in stackinfo.h.
60398 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60399 * sysdeps/ia64/stackinfo.h: Likewise.
60400 * sysdeps/s390/stackinfo.h: Likewise.
60401 * sysdeps/sh/stackinfo.h: Likewise.
60402 * sysdeps/sparc/stackinfo.h: Likewise.
60403 * sysdeps/x86_64/stackinfo.h: Likewise.
60404 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60405 PF_X for powerpc64. Retain PF_X for powerpc32.
60407 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60409 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60411 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60412 GETDENTS_64BIT_ALIGNED.
60414 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60416 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60418 2010-12-10 Andreas Schwab <schwab@redhat.com>
60420 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60423 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60424 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60426 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60427 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60429 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60432 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60435 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60437 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60439 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60441 * po/it.po: Update from translation team.
60443 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60448 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60450 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60452 2010-11-24 Andreas Schwab <schwab@redhat.com>
60454 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60456 (gaih_getanswer_slice): Likewise.
60458 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60462 2010-05-31 Petr Baudis <pasky@suse.cz>
60465 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60466 silently even in the chroot mode.
60468 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60470 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60471 last patch a bit. Pretty printing
60473 2010-05-31 Petr Baudis <pasky@suse.cz>
60476 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60477 initialization of skip_initgroups_dyn.
60479 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60481 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60482 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60484 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60486 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60488 2010-11-11 Andreas Schwab <schwab@redhat.com>
60490 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60491 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60492 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60493 ($(objpfx)tst-fnmatch-mem): New rule.
60494 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60495 * posix/tst-fnmatch.c (main): Call mtrace.
60497 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60500 Support Intel processor model 6 and model 0x2c.
60502 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60504 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60507 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60510 * string/test-strncasecmp.c (check_result): New function.
60511 (do_one_test): Use it.
60512 (check1): New function.
60513 (test_main): Use it.
60514 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60515 Support strcasecmp and strncasecmp.
60517 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60520 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60523 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60525 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60529 * sysdeps/x86_64/multiarch/bzero.S: New file.
60530 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60531 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60532 * sysdeps/x86_64/multiarch/memset.S: New file.
60533 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60535 Set bit_Prefer_SSE_for_memop for Intel processors.
60536 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60538 (index_Prefer_SSE_for_memop): Define.
60539 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60541 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60543 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60544 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60546 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60549 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60550 (__x86_64_raw_data_cache_size_half): Likewise.
60551 (__x86_64_raw_shared_cache_size): Likewise.
60552 (__x86_64_raw_shared_cache_size_half): Likewise.
60554 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60555 (__x86_64_raw_data_cache_size_half): Likewise.
60556 (__x86_64_raw_shared_cache_size): Likewise.
60557 (__x86_64_raw_shared_cache_size_half): Likewise.
60558 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60559 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60560 and __x86_64_raw_shared_cache_size_half. Round
60561 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60562 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60563 to multiple of 256 bytes.
60565 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60569 of inacessible symlinks. Verify result of symlink before returning it.
60570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60571 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60573 2010-10-28 Erich Ritz <erichritz@gmail.com>
60575 * math/math.h (isinf): Fix typo in comment.
60577 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60579 * po/da.po: Update from translation team.
60581 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60583 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60584 is added to the list.
60586 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60587 Ulrich Drepper <drepper@gmail.com>
60589 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60590 the global list here. Move code to...
60591 (_dl_add_to_namespace_list): ...here. New function.
60592 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60593 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60594 * elf/dl-load.c (lose): Don't remove the element from the list.
60595 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60596 (_dl_map_object): Likewise.
60598 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60601 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60602 into all bytes of SSE register.
60603 Patch by Richard Li <richardpku@gmail.com>.
60605 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60608 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60611 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60613 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60614 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60616 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60621 2010-10-22 Andreas Schwab <schwab@redhat.com>
60623 * include/dlfcn.h (__RTLD_SECURE): Define.
60624 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60625 mode & __RTLD_SECURE instead.
60626 (open_path): Rename preloaded parameter to secure.
60627 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60628 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60629 * elf/dl-deps.c (openaux): Likewise.
60630 * elf/rtld.c (struct map_args): Remove is_preloaded.
60631 (map_doit): Don't use it.
60632 (dl_main): Likewise.
60633 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60634 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60636 2010-09-09 Andreas Schwab <schwab@redhat.com>
60638 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60639 (sysd-rules-targets): Remove duplicates.
60640 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60641 rtld-%.$o dependency.
60643 2010-10-18 Andreas Schwab <schwab@redhat.com>
60645 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60646 _dl_map_object do it.
60648 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60650 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60651 fast fma builtins, define the macros in the C99 standard.
60652 (FP_FAST_FMAF): Likewise.
60653 (FP_FAST_FMAL): Likewise.
60654 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60656 * bits/mathdef.h: Update copyright year.
60657 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60659 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60661 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60662 builtins, define the macros in the C99 standard.
60663 (FP_FAST_FMAF): Likewise.
60664 (FP_FAST_FMAL): Likewise.
60665 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60667 (FP_FAST_FMAF): Likewise.
60669 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60672 * math/libm-test.inc (fma_test): Some new testcases.
60673 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60674 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60675 y and infinite z. Do multiplication by C already in long double.
60676 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60678 y and infinite z. Do bitwise or of inexact bit into u.d.
60679 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60680 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60681 * sysdeps/i386/fpu/s_fma.S: Removed.
60682 * sysdeps/i386/fpu/s_fmal.S: Removed.
60684 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60687 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60689 computation is not scheduled after fetestexcept. Fix value
60690 of minimum denormal long double.
60692 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60695 * math/libm-test.inc (fma_test): Add some more tests.
60696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60699 2010-10-15 Andreas Schwab <schwab@redhat.com>
60701 * scripts/data/localplt-s390-linux-gnu.data: New file.
60702 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60704 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60707 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60708 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60710 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60712 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60714 if one of x and y is very large and the other is subnormal.
60715 * sysdeps/s390/fpu/s_fmaf.c: New file.
60716 * sysdeps/s390/fpu/s_fma.c: New file.
60717 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60718 * sysdeps/powerpc/fpu/s_fma.S: New file.
60719 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60720 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60721 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60723 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60726 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60728 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60729 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60730 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60731 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60732 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60733 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60734 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60736 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60739 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60740 * posix/bug-regex31.input: Add test case.
60742 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60744 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60745 * posix/bug-regex31.input: New file.
60748 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60749 (parse_sub_exp): Fix last change, use postorder.
60751 * posix/bug-regex31.c: New file.
60752 * posix/Makefile: Add rules to build and run bug-regex31.
60754 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60757 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60760 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60761 to have entries in sys_siglist.
60764 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60767 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60770 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60771 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60772 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60773 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60774 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60775 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60776 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60777 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60778 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60779 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60780 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60781 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60782 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60783 * math/ftestexcept.c (fetestexcept): Likewise.
60784 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60785 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60786 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60787 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60788 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60789 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60790 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60792 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60795 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60798 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60800 * string/bug-strstr1.c: New file.
60801 * string/Makefile: Add rules to build and run bug-strstr1.
60803 2010-10-05 Eric Blake <eblake@redhat.com>
60806 * string/str-two-way.h (two_way_long_needle): Always clear memory
60807 when skipping input due to the shift table.
60809 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60812 * malloc/mcheck.c: Handle large requests.
60815 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60816 for strncmp and strncasecmp.
60817 * string/stratcliff.c: Add tests for strcmp and strncmp.
60818 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60820 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60822 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60825 2010-09-30 Andreas Jaeger <aj@suse.de>
60827 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60828 (CGROUP_SUPER_MAGIC): Define.
60829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60830 Handle btrfs and cgroup file systems.
60831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60834 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60836 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60837 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60839 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60842 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60843 trying to locate the ELF header.
60845 2010-09-27 Andreas Schwab <schwab@redhat.com>
60848 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60849 Mask out sign-bit copies when constructing f_fsid.
60851 2010-09-24 Petr Baudis <pasky@suse.cz>
60853 * debug/stack_chk_fail_local.c: Add missing licence exception.
60854 * debug/warning-nop.c: Likewise.
60856 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60858 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60859 implementing getdents64 using getdents syscall, set d_type if
60860 __ASSUME_GETDENTS32_D_TYPE.
60862 2010-09-16 Andreas Schwab <schwab@redhat.com>
60864 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60865 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60867 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60870 * posix/unistd.h: Undo change of feature selection for ftruncate from
60873 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60875 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60878 2010-09-20 Andreas Schwab <schwab@redhat.com>
60880 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60884 2010-09-14 Andreas Schwab <schwab@redhat.com>
60886 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60887 variables after CHECK_SP call.
60888 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60890 2010-09-13 Andreas Schwab <schwab@redhat.com>
60891 Ulrich Drepper <drepper@redhat.com>
60893 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60894 re-relocationg ld.so.
60895 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60896 _dl_init_paths call.
60897 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60900 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60902 * resolv/res_init.c (__res_vinit): Count the default server we added.
60904 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60905 Ulrich Drepper <drepper@redhat.com>
60908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60909 (____longjmp_chk): Use %ebx for saving value across system call.
60912 2010-09-06 Andreas Schwab <schwab@redhat.com>
60914 * manual/Makefile: Don't mix pattern rules with normal rules.
60916 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60918 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60920 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60921 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60922 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60923 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60927 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60930 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60931 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60933 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60935 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60936 * sysdeps/x86_64/addmul_1.S: Likewise.
60937 * sysdeps/x86_64/lshift.S: Likewise.
60938 * sysdeps/x86_64/mul_1.S: Likewise.
60939 * sysdeps/x86_64/rshift.S: Likewise.
60940 * sysdeps/x86_64/sub_n.S: Likewise.
60941 * sysdeps/x86_64/submul_1.S: Likewise.
60943 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60945 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60946 Define __sched_param instead of SCHED_* and sched_param when
60947 <bits/sched.h> is included with __need_schedparam defined.
60948 * bits/sched.h [__need_schedparam]
60949 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60950 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60951 (__defined_schedparam): Define to 1.
60952 (__sched_param): New structure, identical to sched_param.
60953 (__need_schedparam): Undefine.
60955 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60958 (epoll_create1): Declare.
60960 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60962 2010-08-31 Andreas Schwab <schwab@redhat.com>
60965 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60966 shifting retval into place.
60968 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60970 * nis/rpcsvc/nis.h: Update copyright notice.
60971 * nis/rpcsvc/nis.x: Likewise.
60972 * nis/rpcsvc/nis_callback.h: Likewise.
60973 * nis/rpcsvc/nis_callback.x: Likewise.
60974 * nis/rpcsvc/nis_object.x: Likewise.
60975 * nis/rpcsvc/nis_tags.h: Likewise.
60976 * nis/rpcsvc/yp.h: Likewise.
60977 * nis/rpcsvc/yp.x: Likewise.
60978 * nis/rpcsvc/ypupd.h: Likewise.
60979 * nis/yp_xdr.c: Likewise.
60980 * nis/ypupdate_xdr.c: Likewise.
60982 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60983 mainly the body of pmap_getport. Add parameters to specify timeouts.
60984 (pmap_getport): Use __libc_rpc_getport.
60985 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60986 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60987 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60989 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60994 2010-08-27 Roland McGrath <roland@redhat.com>
60996 * sysdeps/i386/i686/multiarch/Makefile
60997 (CFLAGS-varshift.c): New variable.
60999 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61001 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61002 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61006 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61008 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61010 * sysdeps/x86_64/strlen.S: Unroll the loop.
61011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61012 strlen-sse2 strlen-sse2-bsf.
61013 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61014 __strlen_no_bsf if bit_Slow_BSF is set.
61015 (__strlen_sse42): Removed.
61016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61017 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61019 2010-08-25 Roland McGrath <roland@redhat.com>
61021 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61022 * sysdeps/x86_64/multiarch/varshift.c: New file.
61023 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61024 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61025 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61026 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61028 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61031 strlen-sse2 strlen-sse2-bsf.
61032 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61033 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61034 (__strlen_sse2): Removed.
61035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61036 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61038 bit_Slow_BSF for Atom.
61039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61040 (index_Slow_BSF): Define.
61041 (HAS_SLOW_BSF): Define.
61043 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61046 * resolv/res_init.c (__res_vinit): When no server address at all
61047 is given default to loopback.
61049 2010-08-24 Roland McGrath <roland@redhat.com>
61051 * configure.in: Remove config-name.h generation.
61052 * configure: Regenerated.
61053 * config-name.in: File removed.
61054 * scripts/config-uname.sh: New file.
61055 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61056 ($(objdir)config-name.h): New target.
61058 * sunrpc/rpc_parse.h: Avoid nested comment.
61060 2010-08-24 Richard Henderson <rth@redhat.com>
61061 Ulrich Drepper <drepper@redhat.com>
61062 H.J. Lu <hongjiu.lu@intel.com>
61064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61066 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61067 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61068 _mm_alignr_epi8 with _mm_loadu_si128.
61069 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61070 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61071 (__m128i_shift_right): Removed.
61072 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61073 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61074 * sysdeps/x86_64/multiarch/varshift.h: New file.
61075 * sysdeps/x86_64/multiarch/varshift.S: New file.
61077 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61079 * configure.in: Move assembler checks to before sysdep dir checking.
61081 2010-08-20 Petr Baudis <pasky@suse.cz>
61083 * LICENSES: Sync the sunrpc license.
61085 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61087 * sunrpc/auth_des.c: Update copyright notice once again.
61088 * sunrpc/auth_none.c: Likewise.
61089 * sunrpc/auth_unix.c: Likewise.
61090 * sunrpc/authdes_prot.c: Likewise.
61091 * sunrpc/authuxprot.c: Likewise.
61092 * sunrpc/bindrsvprt.c: Likewise.
61093 * sunrpc/clnt_gen.c: Likewise.
61094 * sunrpc/clnt_perr.c: Likewise.
61095 * sunrpc/clnt_raw.c: Likewise.
61096 * sunrpc/clnt_simp.c: Likewise.
61097 * sunrpc/clnt_tcp.c: Likewise.
61098 * sunrpc/clnt_udp.c: Likewise.
61099 * sunrpc/clnt_unix.c: Likewise.
61100 * sunrpc/des_crypt.c: Likewise.
61101 * sunrpc/des_soft.c: Likewise.
61102 * sunrpc/get_myaddr.c: Likewise.
61103 * sunrpc/getrpcport.c: Likewise.
61104 * sunrpc/key_call.c: Likewise.
61105 * sunrpc/key_prot.c: Likewise.
61106 * sunrpc/openchild.c: Likewise.
61107 * sunrpc/pm_getmaps.c: Likewise.
61108 * sunrpc/pm_getport.c: Likewise.
61109 * sunrpc/pmap_clnt.c: Likewise.
61110 * sunrpc/pmap_prot.c: Likewise.
61111 * sunrpc/pmap_prot2.c: Likewise.
61112 * sunrpc/pmap_rmt.c: Likewise.
61113 * sunrpc/rpc/auth.h: Likewise.
61114 * sunrpc/rpc/auth_unix.h: Likewise.
61115 * sunrpc/rpc/clnt.h: Likewise.
61116 * sunrpc/rpc/des_crypt.h: Likewise.
61117 * sunrpc/rpc/key_prot.h: Likewise.
61118 * sunrpc/rpc/netdb.h: Likewise.
61119 * sunrpc/rpc/pmap_clnt.h: Likewise.
61120 * sunrpc/rpc/pmap_prot.h: Likewise.
61121 * sunrpc/rpc/pmap_rmt.h: Likewise.
61122 * sunrpc/rpc/rpc.h: Likewise.
61123 * sunrpc/rpc/rpc_des.h: Likewise.
61124 * sunrpc/rpc/rpc_msg.h: Likewise.
61125 * sunrpc/rpc/svc.h: Likewise.
61126 * sunrpc/rpc/svc_auth.h: Likewise.
61127 * sunrpc/rpc/types.h: Likewise.
61128 * sunrpc/rpc/xdr.h: Likewise.
61129 * sunrpc/rpc_clntout.c: Likewise.
61130 * sunrpc/rpc_cmsg.c: Likewise.
61131 * sunrpc/rpc_common.c: Likewise.
61132 * sunrpc/rpc_cout.c: Likewise.
61133 * sunrpc/rpc_dtable.c: Likewise.
61134 * sunrpc/rpc_hout.c: Likewise.
61135 * sunrpc/rpc_main.c: Likewise.
61136 * sunrpc/rpc_parse.c: Likewise.
61137 * sunrpc/rpc_parse.h: Likewise.
61138 * sunrpc/rpc_prot.c: Likewise.
61139 * sunrpc/rpc_sample.c: Likewise.
61140 * sunrpc/rpc_scan.c: Likewise.
61141 * sunrpc/rpc_scan.h: Likewise.
61142 * sunrpc/rpc_svcout.c: Likewise.
61143 * sunrpc/rpc_tblout.c: Likewise.
61144 * sunrpc/rpc_util.c: Likewise.
61145 * sunrpc/rpc_util.h: Likewise.
61146 * sunrpc/rpcinfo.c: Likewise.
61147 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61148 * sunrpc/rpcsvc/key_prot.x: Likewise.
61149 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61150 * sunrpc/rpcsvc/mount.x: Likewise.
61151 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61152 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61153 * sunrpc/rpcsvc/rex.x: Likewise.
61154 * sunrpc/rpcsvc/rstat.x: Likewise.
61155 * sunrpc/rpcsvc/rusers.x: Likewise.
61156 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61157 * sunrpc/rpcsvc/spray.x: Likewise.
61158 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61159 * sunrpc/rtime.c: Likewise.
61160 * sunrpc/svc.c: Likewise.
61161 * sunrpc/svc_auth.c: Likewise.
61162 * sunrpc/svc_authux.c: Likewise.
61163 * sunrpc/svc_raw.c: Likewise.
61164 * sunrpc/svc_run.c: Likewise.
61165 * sunrpc/svc_simple.c: Likewise.
61166 * sunrpc/svc_tcp.c: Likewise.
61167 * sunrpc/svc_udp.c: Likewise.
61168 * sunrpc/svc_unix.c: Likewise.
61169 * sunrpc/svcauth_des.c: Likewise.
61170 * sunrpc/xcrypt.c: Likewise.
61171 * sunrpc/xdr.c: Likewise.
61172 * sunrpc/xdr_array.c: Likewise.
61173 * sunrpc/xdr_float.c: Likewise.
61174 * sunrpc/xdr_mem.c: Likewise.
61175 * sunrpc/xdr_rec.c: Likewise.
61176 * sunrpc/xdr_ref.c: Likewise.
61177 * sunrpc/xdr_sizeof.c: Likewise.
61178 * sunrpc/xdr_stdio.c: Likewise.
61180 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61183 2010-08-19 Andreas Schwab <schwab@redhat.com>
61185 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61187 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61189 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61191 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61192 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61193 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61194 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61195 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61196 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61198 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61199 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61200 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61201 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61202 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61204 2010-07-26 Anton Blanchard <anton@samba.org>
61206 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61207 * malloc/arena.c (heap_trim): Likewise.
61209 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61211 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61214 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61216 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61218 * sysdeps/i386/elf/Makefile: New file.
61220 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61222 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61223 from fanotify_init.
61224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61227 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61229 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61231 * sysdeps/multiarch/strcmp.S: Likewise.
61233 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61235 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61236 strncase_l-nonascii.
61237 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61238 Add strncase_l-ssse3.
61239 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61240 * sysdeps/x86_64/strcmp.S: Likewise.
61241 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61242 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61243 * sysdeps/x86_64/strncase.S: New file.
61244 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61245 * sysdeps/x86_64/strncase_l.S: New file.
61246 * string/Makefile (strop-tests): Add strncasecmp.
61247 * string/test-strncasecmp.c: New file.
61249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61252 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61255 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61257 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61259 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61261 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61262 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61265 2010-05-01 Alan Modra <amodra@gmail.com>
61267 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61268 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61269 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61270 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61271 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61272 tidying. Don't tail-call __sigjmp_save for static lib.
61273 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61275 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61276 (CALL_MCOUNT): Add eh info, and nop after bl.
61277 (TAIL_CALL_SYSCALL_ERROR): New macro.
61278 (PSEUDO_RET): Use it.
61279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61280 Correct save location of integer regs and cr.
61281 (_dl_profile_resolve): Correct cr save location. Delete nops
61282 after bl when SHARED. Reduce cfi size a little by better
61283 placement of cfi directives.
61284 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61285 make a stack frame. Instead use parm save area as a temp.
61286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61287 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61289 Don't make a stack frame for parent, use parm save area.
61290 Increase child stack frame to 112 bytes. Don't save unused reg,
61291 and adjust reg usage. Set up cfi on error recovery and
61292 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61294 (__makecontext): Add dummy nop after jump to exit.
61295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61296 Use correct parm save area and cr save, reduce stack frame.
61297 Correct cfi for possible PSEUDO_RET frame setup.
61298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61299 Branch to local label emitted by PSEUDO_RET rather than
61302 2010-08-12 Andreas Schwab <schwab@redhat.com>
61305 * locale/programs/locale.c (print_assignment): New function.
61306 (show_locale_vars): Use it.
61308 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61310 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61312 (struct statfs64): Likewise.
61313 (_STATFS_F_FLAGS): Define.
61314 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61316 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61317 (ST_VALID): Define locally.
61318 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61319 __statvfs_getflags, use the provided value.
61320 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61321 __ASSUME_STATFS_F_FLAGS.
61323 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61325 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61326 Add sys/fanotify.h.
61327 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61328 fanotify_mask for GLIBC_2.13.
61329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61330 fanotify_init and fanotify_mark.
61331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61332 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61334 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61336 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61337 prlimit64 for GLIBC_2.13.
61338 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61340 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61343 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61344 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61345 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61348 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61351 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61352 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61354 * nss/Makefile: Add rules to build and run tst-nss-test1.
61355 * shlib-versions: Add entry for libnss_test1.
61356 * nss/nss_test1.c: New file.
61357 * nss/tst-nss-test1.c: New file.
61359 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61360 (__nss_configure_lookup): Set appropriate entry in
61361 __nss_configure_lookup to true.
61362 * nss/nsswitch.h: Define enum with indeces of databases in
61363 databases and __nss_database_custom arrays. Declare
61364 __nss_database_custom.
61365 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61366 to avoid using nscd when custom rules are installed.
61367 * nss/getXXbyYY_r.c: Likewise.
61368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61370 * nss/nss_files/files-parse.c: Whitespace fixes.
61372 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61375 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61376 * posix/fnmatch_loop.c: Likewise.
61378 2010-07-17 Andi Kleen <ak@linux.intel.com>
61380 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61381 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61382 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61383 * Versions.def [GLIBC_2.13]: Add.
61385 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61387 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61388 Also fail if tpwd after pwuid call is NULL.
61390 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61392 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61393 when converting to ms.
61395 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61397 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61398 EOPNOTSUPP errors with ENOTTY.
61399 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61400 EOPNOTSUPP errors with ENOTTY.
61402 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61404 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61405 Add strcasecmp_l-ssse3.
61406 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61408 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61409 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61410 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61412 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61414 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61416 * string/Makefile (strop-tests): Add strcasecmp.
61417 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61418 strcasecmp_l-nonascii.
61419 (gen-as-const-headers): Add locale-defines.sym.
61420 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61421 * sysdeps/x86_64/strcasecmp.S: New file.
61422 * sysdeps/x86_64/strcasecmp_l.S: New file.
61423 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61424 * sysdeps/x86_64/locale-defines.sym: New file.
61425 * string/test-strcasecmp.c: New file.
61427 * string/test-strcasestr.c: Test both ends of the range of characters.
61428 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61430 2010-07-29 Roland McGrath <roland@redhat.com>
61433 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61435 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61437 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61440 2010-07-27 Andreas Schwab <schwab@redhat.com>
61442 * manual/memory.texi (Malloc Tunable Parameters): Document
61445 2010-07-26 Roland McGrath <roland@redhat.com>
61448 * configure.in (-fgnu89-inline check): Set and substitute
61449 gnu89_inline, not libc_cv_gnu89_inline.
61450 * configure: Regenerated.
61451 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61453 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61455 * string/test-strnlen.c: New file.
61456 * string/Makefile (strop-tests): Add strnlen.
61457 * string/tester.c (test_strnlen): Add a few more test cases.
61458 * string/tst-strlen.c: Better error reporting.
61460 * sysdeps/x86_64/strnlen.S: New file.
61462 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61464 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61465 lower-latency instructions.
61467 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61469 * string/test-strcasestr.c: New file.
61470 * string/test-strstr.c: New file.
61471 * string/Makefile (strop-tests): Add strstr and strcasestr.
61472 * string/str-two-way.h: Don't undefine MAX.
61473 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61475 2010-07-21 Andreas Schwab <schwab@redhat.com>
61477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61478 strcasestr-nonascii.
61479 (CFLAGS-strcasestr-nonascii.c): Define.
61480 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61482 Remove unused attribute.
61484 2010-07-20 Roland McGrath <roland@redhat.com>
61486 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61487 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61488 ld.so.cache was broken. With it, there is no way to disable dsocaps
61489 like LD_HWCAP_MASK can disable hwcaps.
61491 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61493 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61495 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61497 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61498 call in strcasestr.
61499 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61500 __strcasestr_sse42_nonascii.
61501 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61502 strcasestr-nonascii.c.
61503 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61505 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61508 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61510 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61512 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61517 2010-07-06 Andreas Schwab <schwab@redhat.com>
61520 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61523 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61526 _PC_PIPE_BUF using F_GETPIPE_SZ.
61528 2010-07-05 Roland McGrath <roland@redhat.com>
61530 * manual/arith.texi (Rounding Functions): Fix rint description
61531 implicit in round description.
61533 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61535 * elf/Makefile: Fix linking for a few tests to make recent linker
61538 2010-06-30 Andreas Schwab <schwab@redhat.com>
61540 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61541 $(common-objpfx)libc_nonshared.a.
61543 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61545 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61546 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61547 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61548 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61549 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61550 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61551 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61552 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61567 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61568 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61569 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61570 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61571 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61572 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61573 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61574 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61575 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61576 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61577 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61578 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61594 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61596 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61597 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61598 * string/memmove.c (memmove): Renamed to ...
61599 (MEMMOVE): ...this. Default to memmove.
61600 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61601 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61604 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61605 mempcpy-ssse3-back memmove-ssse3-back.
61606 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61608 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61609 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61610 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61611 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61612 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61613 * sysdeps/x86_64/multiarch/memmove.c: New file.
61614 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61615 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61616 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61617 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61618 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61621 (index_Fast_Copy_Backward): Define.
61622 (HAS_ARCH_FEATURE): Define.
61623 (HAS_FAST_REP_STRING): Define.
61624 (HAS_FAST_COPY_BACKWARD): Define.
61626 2010-06-21 Andreas Schwab <schwab@redhat.com>
61628 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61629 Restore proper fallback handling.
61631 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61634 * posix/group_member.c (__group_member): Correct checking loop.
61636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61637 OOM in getpwuid_r correctly. Return error number when the caller
61638 should return, otherwise -1.
61639 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61640 call returning > 0 value.
61641 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61643 2010-06-07 Andreas Schwab <schwab@redhat.com>
61645 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61646 libc_nonshared.a from targets in modules-names.
61648 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61650 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61653 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61655 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61656 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61657 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61660 2010-06-02 Andreas Schwab <schwab@redhat.com>
61662 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61664 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61666 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61673 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61675 2010-06-14 Roland McGrath <roland@redhat.com>
61677 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61679 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61681 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61682 __REDIRECT followed by __THROW.
61683 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61684 * posix/getopt.h (getopt): Likewise.
61686 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61688 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61689 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61690 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61692 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61693 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61695 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61699 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61703 Properly check family and model.
61705 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61709 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61711 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61713 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61715 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61718 2010-05-19 Andreas Schwab <schwab@redhat.com>
61720 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61723 2010-05-21 Andreas Schwab <schwab@redhat.com>
61725 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61726 and internal_recvmmsg.
61727 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61728 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61729 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61730 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61732 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61733 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61734 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61736 2010-05-20 Andreas Schwab <schwab@redhat.com>
61738 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61740 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61742 POWER7 optimizations.
61743 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61744 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61746 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61748 * version.h: Update for 2.13 development version.
61750 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61752 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61753 exceptions. Return 0.
61755 2010-05-07 Roland McGrath <roland@redhat.com>
61757 * elf/ldconfig.c (main): Add a const.
61759 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61761 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61762 (args_options): Add no-idn option.
61763 (ahosts_keys_int): Add idn_flags to ai_flags.
61764 (parse_option): Handle 'i' option to clear idn_flags.
61766 * malloc/malloc.c (_int_free): Possible race in the most recently
61767 added check. Only act on the data if no current modification
61770 See ChangeLog.17 for earlier changes.