1 2015-06-29 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
5 (__ieee754_j1): Force underflow exception for small results.
6 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8 (__ieee754_j1f): Force underflow exception for small results.
9 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13 (__ieee754_j1l): Force underflow exception for small results.
14 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15 * math/auto-libm-test-in: Add more tests of j1 and jn.
16 * math/auto-libm-test-out: Regenerated.
18 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
25 (MS_RMT_MASK): Include MS_LAZYTIME.
27 2015-06-26 Mel Gorman <mgorman@suse.de>
30 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
35 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
36 (DT_MIPS_NUM): Update.
37 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
40 2015-06-25 Joseph Myers <joseph@codesourcery.com>
44 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
45 round-to-nearest internally then recompute results that
46 underflowed to zero in the original rounding mode.
47 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
48 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
49 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
50 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
51 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
52 * sysdeps/i386/fpu/libm-test-ulps: Update.
53 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
57 * NEWS: Fixed description of link with vector math library.
59 2015-06-25 Andreas Schwab <schwab@suse.de>
62 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
63 * libio/test-fmemopen.c (do_test): Add test for it.
65 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
68 * Makeconfig (no-pie-ldflag): New.
69 (+link): Set to $(+link-pie) if default to PIE.
70 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
71 * config.make.in (build-pie-default): New.
72 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
74 * configure: Regenerated.
75 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
77 2015-06-24 Roland McGrath <roland@hack.frob.com>
79 * nptl/descr.h (struct pthread): Change type of field setxid_futex
82 * resolv/gai_misc.h (struct waitlist): Change type of field
83 counterp to 'volatile unsigned int *'.
84 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
86 * resolv/getaddrinfo_a.c (getaddrinfo_a):
87 Give local variable TOTAL type 'volatile unsigned int'.
88 (struct async_waitlist): Change type of field counter to 'unsigned int'.
89 * resolv/gai_suspend.c (gai_suspend):
90 Give local variable CNTR type 'unsigned int'.
92 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
93 counterp to 'volatile unsigned int *'.
94 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
95 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
96 (aio_suspend): Give local variable CNTR type 'unsigned int'.
97 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
98 Give local variable TOTAL type 'volatile unsigned int'.
99 (struct async_waitlist): Change type of field counter to 'unsigned int'.
101 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
104 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
105 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
106 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
107 comment for i386/x86-64.
108 (test-xfail-tst-tlsalign-extern-static): Removed.
110 2015-06-24 Joseph Myers <joseph@codesourcery.com>
112 * math/test-double.h: New file.
113 * math/test-float.h: Likewise.
114 * math/test-ldouble.h: Likewise.
115 * math/test-math-inline.h: Likewise.
116 * math/test-math-no-inline.h: Likewise.
117 * math/test-math-scalar.h: Likewise.
118 * math/test-math-vector.h: Likewise.
119 * math/test-vec-loop.h: Remove file. Contents moved into
121 * math/libm-test.inc (MATHCONST): Do not document macro.
122 * math/test-double.c: Include test-double.h, test-math-no-inline.h
123 and test-math-scalar.h.
124 (FUNC): Remove macro.
125 (FUNC_TEST): Likewise.
127 (MATHCONST): Likewise.
128 (PRINTF_EXPR): Likewise.
129 (PRINTF_XEXPR): Likewise.
130 (PRINTF_NEXPR): Likewise.
131 (TEST_DOUBLE): Likewise.
132 (TEST_MATHVEC): Likewise.
133 (__NO_MATH_INLINES): Likewise.
134 * math/test-float.c: Include test-float.h, test-math-no-inline.h
135 and test-math-scalar.h.
136 (FUNC): Remove macro.
137 (FUNC_TEST): Likewise.
139 (MATHCONST): Likewise.
140 (PRINTF_EXPR): Likewise.
141 (PRINTF_XEXPR): Likewise.
142 (PRINTF_NEXPR): Likewise.
143 (TEST_FLOAT): Likewise.
144 (TEST_MATHVEC): Likewise.
145 (__NO_MATH_INLINES): Likewise.
146 * math/test-idouble.c: Include test-double.h, test-math-inline.h
147 and test-math-scalar.h.
148 (FUNC): Remove macro.
149 (FUNC_TEST): Likewise.
151 (MATHCONST): Likewise.
152 (PRINTF_EXPR): Likewise.
153 (PRINTF_XEXPR): Likewise.
154 (PRINTF_NEXPR): Likewise.
155 (TEST_DOUBLE): Likewise.
156 (TEST_MATHVEC): Likewise.
157 (TEST_INLINE): Likewise.
158 (__NO_MATH_INLINES): Likewise.
159 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
161 (FUNC): Remove macro.
162 (FUNC_TEST): Likewise.
164 (MATHCONST): Likewise.
165 (PRINTF_EXPR): Likewise.
166 (PRINTF_XEXPR): Likewise.
167 (PRINTF_NEXPR): Likewise.
168 (TEST_FLOAT): Likewise.
169 (TEST_MATHVEC): Likewise.
170 (TEST_INLINE): Likewise.
171 (__NO_MATH_INLINES): Likewise.
172 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
173 and test-math-scalar.h.
174 (FUNC): Remove macro.
175 (FUNC_TEST): Likewise.
177 (MATHCONST): Likewise.
178 (PRINTF_EXPR): Likewise.
179 (PRINTF_XEXPR): Likewise.
180 (PRINTF_NEXPR): Likewise.
181 (TEST_LDOUBLE): Likewise.
182 (TEST_MATHVEC): Likewise.
183 (TEST_INLINE): Likewise.
184 (__NO_MATH_INLINES): Likewise.
185 * math/test-ldouble.c: Include test-ldouble.h,
186 test-math-no-inline.h and test-math-scalar.h.
187 (FUNC): Remove macro.
188 (FUNC_TEST): Likewise.
190 (MATHCONST): Likewise.
191 (PRINTF_EXPR): Likewise.
192 (PRINTF_XEXPR): Likewise.
193 (PRINTF_NEXPR): Likewise.
194 (TEST_LDOUBLE): Likewise.
195 (TEST_MATHVEC): Likewise.
196 (__NO_MATH_INLINES): Likewise.
197 * math/test-double-vlen2.h: Include test-double.h,
198 test-math-no-inline.h and test-math-vector.h.
199 (FLOAT): Remove macro.
201 (MATHCONST): Likewise.
202 (PRINTF_EXPR): Likewise.
203 (PRINTF_XEXPR): Likewise.
204 (PRINTF_NEXPR): Likewise.
205 (TEST_DOUBLE): Likewise.
206 (TEST_MATHVEC): Likewise.
207 (__NO_MATH_INLINES): Likewise.
210 (WRAPPER_NAME): Likewise.
211 (WRAPPER_DECL): Likewise.
212 (WRAPPER_DECL_ff): Likewise.
213 (WRAPPER_DECL_fFF): Likewise.
214 (VECTOR_WRAPPER): Likewise.
215 (VECTOR_WRAPPER_ff): Likewise.
216 (VECTOR_WRAPPER_fFF): Likewise.
217 (VEC_LEN): New macro.
218 * math/test-double-vlen4.h: Include test-double.h,
219 test-math-no-inline.h and test-math-vector.h.
220 (FLOAT): Remove macro.
222 (MATHCONST): Likewise.
223 (PRINTF_EXPR): Likewise.
224 (PRINTF_XEXPR): Likewise.
225 (PRINTF_NEXPR): Likewise.
226 (TEST_DOUBLE): Likewise.
227 (TEST_MATHVEC): Likewise.
228 (__NO_MATH_INLINES): Likewise.
231 (WRAPPER_NAME): Likewise.
232 (WRAPPER_DECL): Likewise.
233 (WRAPPER_DECL_ff): Likewise.
234 (WRAPPER_DECL_fFF): Likewise.
235 (VECTOR_WRAPPER): Likewise.
236 (VECTOR_WRAPPER_ff): Likewise.
237 (VECTOR_WRAPPER_fFF): Likewise.
238 (VEC_LEN): New macro.
239 * math/test-double-vlen8.h: Include test-double.h,
240 test-math-no-inline.h and test-math-vector.h.
241 (FLOAT): Remove macro.
243 (MATHCONST): Likewise.
244 (PRINTF_EXPR): Likewise.
245 (PRINTF_XEXPR): Likewise.
246 (PRINTF_NEXPR): Likewise.
247 (TEST_DOUBLE): Likewise.
248 (TEST_MATHVEC): Likewise.
249 (__NO_MATH_INLINES): Likewise.
252 (WRAPPER_NAME): Likewise.
253 (WRAPPER_DECL): Likewise.
254 (WRAPPER_DECL_ff): Likewise.
255 (WRAPPER_DECL_fFF): Likewise.
256 (VECTOR_WRAPPER): Likewise.
257 (VECTOR_WRAPPER_ff): Likewise.
258 (VECTOR_WRAPPER_fFF): Likewise.
259 (VEC_LEN): New macro.
260 * math/test-float-vlen4.h: Include test-float.h,
261 test-math-no-inline.h and test-math-vector.h.
262 (FLOAT): Remove macro.
264 (MATHCONST): Likewise.
265 (PRINTF_EXPR): Likewise.
266 (PRINTF_XEXPR): Likewise.
267 (PRINTF_NEXPR): Likewise.
268 (TEST_FLOAT): Likewise.
269 (TEST_MATHVEC): Likewise.
270 (__NO_MATH_INLINES): Likewise.
273 (WRAPPER_NAME): Likewise.
274 (WRAPPER_DECL): Likewise.
275 (WRAPPER_DECL_ff): Likewise.
276 (WRAPPER_DECL_fFF): Likewise.
277 (VECTOR_WRAPPER): Likewise.
278 (VECTOR_WRAPPER_ff): Likewise.
279 (VECTOR_WRAPPER_fFF): Likewise.
280 (VEC_LEN): New macro.
281 * math/test-float-vlen8.h: Include test-float.h,
282 test-math-no-inline.h and test-math-vector.h.
283 (FLOAT): Remove macro.
285 (MATHCONST): Likewise.
286 (PRINTF_EXPR): Likewise.
287 (PRINTF_XEXPR): Likewise.
288 (PRINTF_NEXPR): Likewise.
289 (TEST_FLOAT): Likewise.
290 (TEST_MATHVEC): Likewise.
291 (__NO_MATH_INLINES): Likewise.
294 (WRAPPER_NAME): Likewise.
295 (WRAPPER_DECL): Likewise.
296 (WRAPPER_DECL_ff): Likewise.
297 (WRAPPER_DECL_fFF): Likewise.
298 (VECTOR_WRAPPER): Likewise.
299 (VECTOR_WRAPPER_ff): Likewise.
300 (VECTOR_WRAPPER_fFF): Likewise.
301 (VEC_LEN): New macro.
302 * math/test-float-vlen16.h: Include test-float.h,
303 test-math-no-inline.h and test-math-vector.h.
304 (FLOAT): Remove macro.
306 (MATHCONST): Likewise.
307 (PRINTF_EXPR): Likewise.
308 (PRINTF_XEXPR): Likewise.
309 (PRINTF_NEXPR): Likewise.
310 (TEST_FLOAT): Likewise.
311 (TEST_MATHVEC): Likewise.
312 (__NO_MATH_INLINES): Likewise.
315 (WRAPPER_NAME): Likewise.
316 (WRAPPER_DECL): Likewise.
317 (WRAPPER_DECL_ff): Likewise.
318 (WRAPPER_DECL_fFF): Likewise.
319 (VECTOR_WRAPPER): Likewise.
320 (VECTOR_WRAPPER_ff): Likewise.
321 (VECTOR_WRAPPER_fFF): Likewise.
322 (VEC_LEN): New macro.
323 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
325 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
326 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
327 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
328 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
329 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
330 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
331 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
333 2015-06-24 Roland McGrath <roland@hack.frob.com>
335 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
336 (__getlogin_r): ... this.
338 2015-06-24 Joseph Myers <joseph@codesourcery.com>
341 * math/s_ccosh.c (__ccosh): Compare with least normal value
342 instead of comparing class with FP_SUBNORMAL.
343 * math/s_ccoshf.c (__ccoshf): Likewise.
344 * math/s_ccoshl.c (__ccoshl): Likewise.
345 * math/s_cexp.c (__cexp): Likewise.
346 * math/s_cexpf.c (__cexpf): Likewise.
347 * math/s_cexpl.c (__cexpl): Likewise.
348 * math/s_csin.c (__csin): Likewise.
349 * math/s_csinf.c (__csinf): Likewise.
350 * math/s_csinh.c (__csinh): Likewise.
351 * math/s_csinhf.c (__csinhf): Likewise.
352 * math/s_csinhl.c (__csinhl): Likewise.
353 * math/s_csinl.c (__csinl): Likewise.
354 * math/s_ctan.c (__ctan): Likewise.
355 * math/s_ctanf.c (__ctanf): Likewise.
356 * math/s_ctanh.c (__ctanh): Likewise.
357 * math/s_ctanhf.c (__ctanhf): Likewise.
358 * math/s_ctanhl.c (__ctanhl): Likewise.
359 * math/s_ctanl.c (__ctanl): Likewise.
360 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
361 csin, csinh, ctan and ctanh.
362 * math/auto-libm-test-out: Regenerated.
363 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
364 * sysdeps/i386/fpu/libm-test-ulps: Update.
365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
367 2015-06-24 Roland McGrath <roland@hack.frob.com>
369 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
370 return value is wrong, print the expected value too.
372 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
375 * elf/readlib.c (is_gdb_python_file): New.
376 (process_file): Don't issue errors on filenames with -gdb.py
379 2015-06-24 Joseph Myers <joseph@codesourcery.com>
381 * math/auto-libm-test-in: Add more tests of csin and csinh.
382 * math/auto-libm-test-out: Regenerated.
383 * math/libm-test.inc (csin_test_data): Remove tests moved to
385 (csinh_test_data): Likewise.
388 * math/s_csin.c (__csin): Negate before rather than after possibly
389 overflowing multiplication.
390 * math/s_csinf.c (__csinf): Likewise.
391 * math/s_csinh.c (__csinh): Likewise.
392 * math/s_csinhf.c (__csinhf): Likewise.
393 * math/s_csinhl.c (__csinhl): Likewise.
394 * math/s_csinl.c (__csinl): Likewise.
395 * math/auto-libm-test-in: Add some tests of csin and csinh.
396 * math/auto-libm-test-out: Regenerated.
397 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
398 (csinh_test_data): Likewise.
399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
402 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
403 underflow exception for small results.
405 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
407 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
408 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
409 variable and included header.
410 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
411 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
412 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
413 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
414 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
415 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
416 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
417 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
418 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
419 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
420 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
421 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
422 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
423 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
424 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
425 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
427 2015-06-23 Joseph Myers <joseph@codesourcery.com>
431 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
432 (__sin): Force underflow exception for arguments with small
434 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
435 (__kernel_sinf): Force underflow exception for arguments with
436 small absolute value.
437 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
438 (__kernel_sincosl): Force underflow exception for arguments with
439 small absolute value.
440 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
441 (__kernel_sinl): Force underflow exception for arguments with
442 small absolute value.
443 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
444 (__kernel_sincosl): Force underflow exception for arguments with
445 small absolute value.
446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
447 (__kernel_sinl): Force underflow exception for arguments with
448 small absolute value.
449 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
450 (__kernel_sinl): Force underflow exception for arguments with
451 small absolute value.
452 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
453 (__kernel_sinf): Force underflow exception for arguments with
454 small absolute value.
455 * math/auto-libm-test-in: Add more tests of sin and sincos.
456 * math/auto-libm-test-out: Regenerated.
460 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
461 (__kernel_standard_l): Use feholdexcept and fesetenv around
462 conversion to double instead of special-casing overflow and
464 * math/libm-test.inc (fmod_test_data): Add more tests.
465 (remainder_test_data): Likewise.
466 (sqrt_test_data): Likewise.
468 2015-06-23 Torvald Riegel <triegel@redhat.com>
471 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
472 atomic_read_barrier, atomic_write_barrier): Define.
473 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
474 atomic_read_barrier, atomic_write_barrier): Define.
476 2015-06-23 Joseph Myers <joseph@codesourcery.com>
478 * math/Makefile [$(PERL) != no]
479 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
480 dependency on libm-test.stmp below the inclusion of Rules.
482 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
484 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
485 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
487 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
488 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
489 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
490 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
491 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
492 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
494 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
495 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
496 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
497 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
498 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
499 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
500 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
501 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
502 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
503 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
504 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
505 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
507 2015-06-23 Joseph Myers <joseph@codesourcery.com>
510 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
511 intermediate but not final result might underflow.
512 * math/s_csqrtf.c (__csqrtf): Likewise.
513 * math/s_csqrtl.c (__csqrtl): Likewise.
514 * math/auto-libm-test-in: Add more tests of csqrt.
515 * math/auto-libm-test-out: Regenerated.
516 * sysdeps/i386/fpu/libm-test-ulps: Update.
519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
520 threshold on absolute value of exponent for which scaling is used.
521 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
522 * math/auto-libm-test-in: Add more tests of exp2.
523 * math/auto-libm-test-out: Regenerated.
525 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
528 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
529 when initializing interface list, based on the bug analysis
530 and the patch proposed by Eric Newton.
531 * resolv/tst-res_hconf_reorder.c: New test.
532 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
533 tst-res_hconf_reorder.
534 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
535 and $(shared-thread-library).
536 (tst-res_hconf_reorder-ENV): New variable.
538 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
541 2015-06-22 Joseph Myers <joseph@codesourcery.com>
544 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
545 (__expm1): Force underflow exception for arguments with small
547 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
548 (__expm1f): Force underflow exception for arguments with small
550 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
551 (__expm1): Force underflow exception for arguments with small
553 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
554 (__expm1f): Force underflow exception for arguments with small
556 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
557 Check for small arguments before calling __expm1.
558 * math/auto-libm-test-in: Do not mark underflow exceptions as
559 possibly missing for bug 16353.
560 * math/auto-libm-test-out: Regenerated.
562 2015-06-22 Andreas Schwab <schwab@suse.de>
565 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
568 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
570 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
572 * string/strcoll_l.c: Remove unused struct element idxnow.
574 2015-06-21 Joseph Myers <joseph@codesourcery.com>
577 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
578 underflow and return argument in case of subnormal argument.
579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
581 * math/auto-libm-test-in: Add more tests of expm1.
582 * math/auto-libm-test-out: Regenerated.
585 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
586 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
588 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
589 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
591 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
592 mark underflow exceptions as possibly missing for bug 16361.
593 * math/auto-libm-test-out: Regenerated.
595 2015-06-19 Joseph Myers <joseph@codesourcery.com>
597 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
598 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
600 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
601 (test-xfail-XOPEN2K8/utmpx.h/conform).
603 * conform/conformtest.pl ($xerrors): New variable.
604 (note_error): New function.
605 (compiletest): New argument $xfail. Use not_error.
607 (top level): Handle xfail- lines. Update calls to compiletest and
608 runtest. Handle xfail- and optional- in headers listed with
610 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
612 (O_SEARCH): Likewise.
613 * conform/data/stropts.h-data (ioctl): Likewise.
614 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
615 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
616 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
617 (msghdr.msg_controllen): Likewise.
618 (cmsghdr.cmsg_len): Likewise.
619 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
620 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
622 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
623 (test-xfail-XPG4/stropts.h/conform): Likewise.
624 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
625 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
626 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
627 (test-xfail-UNIX98/stropts.h/conform): Likewise.
628 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
629 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
630 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
631 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
632 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
633 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
634 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
635 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
636 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
637 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
638 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
639 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
640 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
641 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
642 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
644 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
646 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
647 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
648 definitions for proper unfolding of __MATHDECL_VEC.
650 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
652 * benchtests/bench-strcoll.c:
654 (main): Remove unused variable res.
656 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
658 * timezone/Makefile (%/UTC %/Universal):
659 Generate test-result files for UTC and Universal.
661 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
663 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
665 2015-06-18 Joseph Myers <joseph@codesourcery.com>
668 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
669 for arguments with small absolute value.
670 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
671 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
672 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
673 (__asinh): Force underflow exception for arguments with small
675 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
676 (__asinhf): Force underflow exception for arguments with small
678 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
679 (__asinhl): Force underflow exception for arguments with small
681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
682 (__asinhl): Force underflow exception for arguments with small
684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
685 (__asinhl): Force underflow exception for arguments with small
687 * math/auto-libm-test-in: Do not mark underflow exceptions as
688 possibly missing for bug 16350.
689 * math/auto-libm-test-out: Regenerated.
691 * include/bits/ipc.h: Remove file.
692 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
694 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
695 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
696 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
697 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
698 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
699 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
700 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
701 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
702 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
704 * math/auto-libm-test-in: Remove spurious underflow allowance for
706 * math/auto-libm-test-out: Regenerated.
709 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
710 unconditional definition.
711 (MCAST_BLOCK_SOURCE): Likewise.
712 (MCAST_UNBLOCK_SOURCE): Likewise.
713 (MCAST_LEAVE_GROUP): Likewise.
714 (MCAST_JOIN_SOURCE_GROUP): Likewise.
715 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
716 (MCAST_MSFILTER): Likewise.
717 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
719 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
720 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
721 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
722 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
723 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
725 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
727 * NEWS: Mention addition of x86_64 vector sincosf.
728 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
729 * math/test-float-vlen4.h: Likewise.
730 * math/test-float-vlen8.h: Likewise.
731 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
732 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
733 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
734 * sysdeps/x86_64/fpu/Versions: New versions added.
735 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
736 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
737 Added build of SSE, AVX2 and AVX512 IFUNC versions.
738 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
739 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
741 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
742 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
743 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
744 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
745 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
746 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
747 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
748 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
749 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
750 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
751 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
752 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
753 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
754 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
755 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
756 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
757 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
758 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
760 * NEWS: Mention addition of x86_64 vector sincos.
761 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
762 * math/math.h (__MATHDECL_VEC): New macro.
763 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
764 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
765 declaration under condition.
766 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
767 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
768 TEST_VEC_LOOP change.
769 * math/test-double-vlen4.h: Likewise.
770 * math/test-double-vlen8.h: Likewise.
771 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
772 * math/test-float-vlen4.h: Likewise.
773 * math/test-float-vlen8.h: Likewise.
774 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
775 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
776 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
777 * sysdeps/x86_64/fpu/Versions: New versions added.
778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
779 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
780 Added build of SSE, AVX2 and AVX512 IFUNC versions.
781 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
782 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
783 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
784 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
786 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
787 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
788 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
789 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
790 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
791 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
792 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
793 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
794 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
795 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
796 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
797 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
798 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
799 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
800 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
801 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
803 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
804 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
805 redirections for powf.
806 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
807 * sysdeps/x86_64/fpu/Versions: New versions added.
808 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
809 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
810 Added build of SSE, AVX2 and AVX512 IFUNC versions.
811 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
812 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
813 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
814 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
815 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
816 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
817 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
818 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
819 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
820 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
821 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
822 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
823 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
824 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
825 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
826 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
827 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
828 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
829 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
830 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
831 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
832 * math/test-float-vlen16.h: Fixed 2 argument macro.
833 * math/test-float-vlen4.h: Likewise.
834 * math/test-float-vlen8.h: Likewise.
835 * NEWS: Mention addition of x86_64 vector powf.
837 2015-06-17 Joseph Myers <joseph@codesourcery.com>
839 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
841 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
843 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
848 * resource/getpriority.c (getpriority): Rename to __getpriority
849 and define as weak alias of __getpriority.
850 * resource/setpriority.c (setpriority): Rename to __setpriority
851 and define as weak alias of __setpriority.
852 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
853 __getpriority and define as weak alias of __getpriority.
854 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
855 __setpriority and define as weak alias of __setpriority.
856 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
858 (setpriority): Use __setpriority as strong name.
859 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
860 __getpriority and define as weak alias of __getpriority.
861 * include/sys/resource.h (__getpriority): Declare. Use
863 (__setpriority): Likewise.
864 (getpriority): Don't use libc_hidden_proto.
865 (setpriority): Likewise.
866 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
867 getpriority. Call __setpriority instead of setpriority.
868 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
872 * misc/getttyent.c (getttynam): Rename to __getttynam and define
873 as weak alias of __getttynam. Use prototype function definition.
874 Call __setttyent, __getttyent and __endttyent instead of
875 setttyent, getttyent and endttyent.
876 (getttyent): Rename to __getttyent and define as weak alias of
877 __getttyent. Call __setttyent instead of setttyent. Call
878 __fgets_unlocked instead of fgets_unlocked.
879 (setttyent): Rename to __setttyent and define as weak alias of
881 (endttyent): Rename to __endttyent and define as weak alias of
883 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
884 (__setttyent): Likewise.
885 (__endttyent): Likewise.
886 (getttyent): Don't use libc_hidden_proto.
887 (setttyent): Likewise.
888 (endttyent): Likewise.
889 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
890 __endttyent instead of setttyent, getttyent and endttyent.
891 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
895 * socket/recv.c (__recv): Use libc_hidden_def.
896 * socket/socket.c (__socket): Likewise.
897 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
898 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
899 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
900 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
901 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
903 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
905 * include/sys/socket.h (__socket): Do not use attribute_hidden.
906 Use libc_hidden_proto.
908 * socket/Versions (libc): Export __recv and __socket at version
910 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
912 (init_mq_netlink): Call __socket instead of socket.
913 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
917 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
918 __mq_timedreceive and define as alias of __mq_timedreceive. Use
920 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
921 define as alias of __mq_timedsend. Use hidden_weak.
922 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
923 __mq_timedsend as strong name.
924 (mq_timedreceive): Use __mq_timedreceive as strong name.
925 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
926 (__mq_timedreceive): Likewise.
927 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
928 __mq_timedreceive instead of mq_timedreceive.
929 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
930 instead of mq_timedsend.
931 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
934 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
935 hidden_def and hidden_weak instead of libc_hidden_def and
937 (top level): Refer to hidden_def in comment.
938 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
939 macro. Use it instead of libc_hidden_def.
940 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
941 specify __GI_* name explicitly.
942 (mq_timedreceive): Likewise.
943 (mq_setattr): Likewise.
946 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
947 __pthread_barrier_init and define as weak alias of
948 __pthread_barrier_init.
949 * sysdeps/sparc/nptl/pthread_barrier_init.c
950 (pthread_barrier_init): Likewise.
951 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
952 __pthread_barrier_wait and define as weak alias of
953 __pthread_barrier_wait.
954 * sysdeps/sparc/nptl/pthread_barrier_wait.c
955 (pthread_barrier_wait): Likewise.
956 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
957 (pthread_barrier_wait): Likewise.
958 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
959 (pthread_barrier_wait): Likewise.
960 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
961 (pthread_barrier_wait): Likewise.
962 * nptl/Versions (libpthread): Export __pthread_barrier_init and
963 __pthread_barrier_wait at version GLIBC_PRIVATE.
964 * include/pthread.h (__pthread_barrier_init): Declare.
965 (__pthread_barrier_wait): Likewise.
966 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
967 Call __pthread_barrier_wait instead of pthread_barrier_wait.
968 (helper_thread): Likewise.
969 (init_mq_netlink): Call __pthread_barrier_init instead of
970 pthread_barrier_init.
973 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
974 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
975 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
976 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
978 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
982 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
983 strong alias of _IO_fflush. Use libc_hidden_def.
984 * libio/iofflush_u.c (fflush_unlocked): Rename to
985 __fflush_unlocked and define as weak alias of __fflush_unlocked.
986 Use libc_hidden_weak.
987 * include/stdio.h (__fflush_unlocked): Declare. Use
989 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
991 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
995 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
996 define as weak alias of __addseverity.
997 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
999 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1000 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1001 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1004 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1005 (__tfind): Likewise.
1006 (__tdelete): Likewise.
1007 (__twalk): Likewise.
1008 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1009 __twalk to GLIBC_PRIVATE.
1010 * include/search.h (__tsearch): Use libc_hidden_proto.
1011 (__tfind): Likewise.
1012 (__tdelete): Likewise.
1013 (__twalk): Likewise.
1014 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1015 Call __tdelete instead of tdelete.
1016 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1017 tfind. Call __tsearch instead of tsearch.
1018 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1019 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1021 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1024 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1025 (dprintf): Define as a weak alias of __dprintf, not a strong
1027 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1028 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1030 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1032 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1033 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1036 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1038 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1042 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1043 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1044 (in6addr_loopback): Rename to __in6addr_loopback and define as
1045 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1046 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1048 (__in6addr_any): Likewise.
1049 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1051 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1053 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1055 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1057 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1058 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1059 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1060 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1061 redirections for pow.
1062 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1063 * sysdeps/x86_64/fpu/Versions: New versions added.
1064 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1065 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1066 build of SSE, AVX2 and AVX512 IFUNC versions.
1067 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1068 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1069 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1070 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1071 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1072 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1073 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1074 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1075 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1076 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1077 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1078 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1079 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1080 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1081 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1082 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1083 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1084 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1085 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1086 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1087 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1088 * NEWS: Mention addition of x86_64 vector pow.
1090 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1091 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1092 redirections for expf.
1093 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1094 * sysdeps/x86_64/fpu/Versions: New versions added.
1095 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1096 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1097 build of SSE, AVX2 and AVX512 IFUNC versions.
1098 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1099 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1100 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1101 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1102 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1103 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1104 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1105 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1106 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1107 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1108 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1109 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1110 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1111 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1112 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1113 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1114 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1115 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1116 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1117 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1118 * NEWS: Mention addition of x86_64 vector expf.
1120 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1121 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1122 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1123 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1124 redirections for exp.
1125 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1126 * sysdeps/x86_64/fpu/Versions: New versions added.
1127 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1128 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1129 build of SSE, AVX2 and AVX512 IFUNC versions.
1130 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1131 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1132 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1133 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1134 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1135 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1136 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1137 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1138 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1139 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1140 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1141 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1142 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1143 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1144 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1145 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1146 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1147 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1148 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1149 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1150 * NEWS: Mention addition of x86_64 vector exp.
1152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1153 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1154 redirections for logf.
1155 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1156 * sysdeps/x86_64/fpu/Versions: New versions added.
1157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1158 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1159 build of SSE, AVX2 and AVX512 IFUNC versions.
1160 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1161 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1162 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1163 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1164 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1165 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1166 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1167 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1168 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1169 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1170 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1171 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1172 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1173 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1174 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1175 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1176 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1177 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1178 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1179 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1180 * NEWS: Mention addition of x86_64 vector logf.
1182 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1183 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1184 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1185 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1186 redirections for log.
1187 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1188 * sysdeps/x86_64/fpu/Versions: New versions added.
1189 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1190 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1191 build of SSE, AVX2 and AVX512 IFUNC versions.
1192 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1193 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1194 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1195 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1196 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1197 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1198 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1199 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1200 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1201 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1202 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1203 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1204 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1206 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1207 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1208 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1209 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1210 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1211 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1212 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1213 * NEWS: Mention addition of x86_64 vector log.
1215 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1217 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1218 cfi_adjust_cfa_offset argument.
1219 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1220 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1223 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1224 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1225 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1226 ordering using ldar.
1227 (_dl_tlsdesc_dynamic): Likewise.
1228 (_dl_tlsdesc_return_lazy): Likewise.
1229 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1230 relaxed atomics instead of volatile and synchronize with release store.
1231 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1233 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1235 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1237 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1238 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1239 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1240 * sysdeps/x86_64/fpu/Versions: New versions added.
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1242 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1243 build of SSE, AVX2 and AVX512 IFUNC versions.
1244 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1245 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1246 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1247 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1248 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1249 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1250 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1251 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1252 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1253 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1254 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1255 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1256 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1257 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1258 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1259 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1260 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1261 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1262 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1263 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1264 * NEWS: Mention addition of x86_64 vector sinf.
1266 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1268 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1269 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1270 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1272 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1273 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1275 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1278 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1279 strong alias of _IO_fputs. Use libc_hidden_def.
1280 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1281 and define as weak alias of __fputs_unlocked. Use
1283 * include/stdio.h (__fputs_unlocked): Declare. Use
1285 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1289 * resolv/netdb.h [__USE_POSIX]: Change condition to
1291 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1293 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1294 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1295 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1296 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1297 [XPG4 || UNIX98] (AI_ALL): Likewise.
1298 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1299 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1300 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1301 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1302 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1303 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1304 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1305 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1306 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1307 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1308 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1309 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1310 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1311 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1312 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1313 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1314 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1315 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1316 [XPG4 || UNIX98] (gai_strerror): Likewise.
1317 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1318 [XPG4 || UNIX98] (getnameinfo): Likewise.
1321 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1322 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1324 (getgrent): Likewise.
1325 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1327 [XPG3 || POSIX2008] (endgrent): Likewise.
1328 [XPG3] (setgrent): Likewise.
1329 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1331 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1334 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1335 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1336 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1337 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1338 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1339 * include/unistd.h (__getlogin_r): Declare. Use
1341 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1342 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1344 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1345 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1346 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1348 2015-06-12 Martin Sebor <msebor@redhat.com>
1351 * Makerules (check-install-supported): New target.
1352 (install): Add check-install-supported as a dependency.
1353 * manual/install.texi (Installing the C Library): Document
1354 that overriding prefix and exec_prefix is not supported.
1356 * INSTALL: Regenerate from the above.
1358 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1361 * posix/Versions (libc): Export __libc_pread at version
1363 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1365 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1370 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1371 (cvt_symbol): Use weak_alias instead of strong_alias.
1372 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1373 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1375 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1376 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1379 * inet/herrno.c (h_errno): Rename to __h_errno.
1380 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1381 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1382 to __h_errno instead of h_errno.
1383 * nptl/herrno.c (h_errno): Rename to __h_errno.
1384 (__h_errno_location): Refer to __h_errno not h_errno.
1385 * resolv/Versions (h_errno): Rename to __h_errno.
1386 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1388 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1390 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1392 * configure.ac: More strict check for AVX512 assembler support.
1393 * configure: Regenerated.
1395 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1396 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1397 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1398 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1399 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1400 * sysdeps/x86_64/fpu/Versions: New versions added.
1401 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1402 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1403 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1404 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1405 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1406 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1407 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1408 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1409 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1410 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1411 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1412 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1413 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1414 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1415 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1416 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1418 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1419 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1420 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1421 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1422 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1423 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1424 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1425 * NEWS: Mention addition of x86_64 vector sin.
1427 2015-06-11 Florian Weimer <fweimer@redhat.com>
1429 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1432 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1435 * nptl/pt-interp.c: New file.
1436 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1438 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1439 $(common-objpfx)runtime-linker.h.
1441 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1443 * Makeconfig (+interp): Remove unused variable.
1444 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1445 only. Depend on $(common-objpfx)runtime-linker.h instead of
1446 $(elf-objpfx)runtime-linker.h.
1447 ($(elf-objpfx)runtime-linker.h): Rename to
1448 $(common-objpfx)runtime-linker.h and move ...
1449 * Makerules [$(build-shared) = yes]: ... here.
1450 * elf/interp.c: Include <runtime-linker.h> instead of
1451 <elf/runtime-linker.h>.
1453 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1455 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1456 (__gettimeofday_syscall): Remove vsyscall fallback.
1457 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1458 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1459 Add syscall fallback function.
1460 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1461 if vDSO is not present.
1462 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1464 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1467 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1469 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1472 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1474 (wcscmp): Define as weak alias of WCSCMP.
1475 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1477 (USE_HIDDEN_DEF): Define.
1478 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1479 __wcscoll. Don't use libc_hidden_weak.
1480 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1482 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1483 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1485 (weak_alias): Undefine and redefine.
1486 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1487 __wcscmp and define as weak alias of __wcscmp.
1488 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1489 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1490 (__wcscoll): Likewise.
1491 (wcscmp): Don't use libc_hidden_proto.
1492 (wcscoll): Likewise.
1493 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1495 * posix/regexec.c (check_node_accept_bytes): Likewise.
1496 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1498 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1499 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1502 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1503 __fstatvfs and define as weak alias of __fstatvfs. Use
1505 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1506 and define as weak alias of __statvfs. Use libc_hidden_weak.
1507 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1508 Define as alias of __fstatvfs, not fstatvfs.
1509 (fstatvfs64): Likewise.
1510 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1511 Define as alias of __statvfs, not statvfs.
1512 (statvfs64): Likewise.
1513 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1516 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1519 (HAVE_GETCPU_VSYSCALL): Define.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1521 (HAVE_GETCPU_VSYSCALL): Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1523 * sysdeps/unix/sysv/linux/sched_getcpu.c
1524 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1525 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1526 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1529 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1533 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1534 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1538 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1540 * sysdeps/x86_64/fpu/Makefile: New file.
1541 * sysdeps/x86_64/fpu/Versions: New file.
1542 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1543 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1544 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1545 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1546 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1547 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1548 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1549 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1550 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1551 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1552 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1553 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1554 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1555 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1556 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1557 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1558 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1559 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1560 * sysdeps/x86_64/configure: Regenerated.
1561 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1562 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1563 * manual/install.texi (Configuring and compiling): Document
1565 * INSTALL: Regenerated.
1566 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1568 * math/Makefile: Added rules for vector tests.
1569 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1570 declaration under condition.
1571 * math/test-double-vlen2.h: New file.
1572 * math/test-double-vlen4.h: New file.
1573 * math/test-double-vlen8.h: New file.
1574 * math/test-vec-loop.h: Added initialization macro.
1575 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1576 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1577 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1579 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1582 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1583 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1584 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1585 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1587 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1588 * sysdeps/x86_64/fpu/Versions: New versions added.
1589 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1590 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1591 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1592 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1593 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1594 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1595 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1596 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1597 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1598 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1599 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1600 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1601 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1602 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1603 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1604 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1605 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1606 * NEWS: Mention addition of x86_64 vector cosf.
1608 * math/Makefile: Added CFLAGS for new tests.
1609 * math/test-float-vlen16.h: New file.
1610 * math/test-float-vlen4.h: New file.
1611 * math/test-float-vlen8.h: New file.
1612 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1613 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1614 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1615 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1616 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1617 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1618 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1619 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1620 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1621 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1622 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1624 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1626 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1627 * locale/programs/ld-ctype.c: Likewise.
1629 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1631 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1632 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1633 bit_ZMM16_31_state): New macro.
1634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1635 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1637 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1639 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1641 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1643 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1645 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1648 * libio/memstream.c (open_memstream): Rename to __open_memstream
1649 and define as weak alias of __open_memstream.
1650 * include/stdio.h (__open_memstream): Declare. Use
1652 (open_memstream): Don't use libc_hidden_proto.
1653 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1655 * posix/getopt.c (_getopt_internal_r): Likewise.
1656 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1658 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1659 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1660 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1663 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1667 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1668 [__USE_XOPEN2K8]. Remove redundant #endif.
1669 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1670 Remove redundant #if.
1671 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1673 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1674 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1677 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1678 (__iswlower): Likewise.
1679 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1680 (__iswlower): Likewise.
1681 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1682 instead of towlower.
1683 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1684 instead of iswlower. Call __towupper instead of towupper.
1685 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1686 instead of iswalnum.
1688 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1690 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1693 2015-06-05 Florian Weimer <fweimer@redhat.com>
1697 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1698 Check for overflow properly. Check for O_APPEND. Ignore large
1699 file system block sizes. Add comments about problems.
1700 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1701 * manual/filesys.texi (Storage Allocation): New node.
1703 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1705 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1706 cancellable syscalls.
1707 (SYS_ify): Add guard to no redefine it.
1708 (INLINE_SYSCALL): Likewise.
1709 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1710 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1711 SYSCALL_CANCEL instead.
1712 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1713 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1714 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1715 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1716 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1717 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1718 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1719 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1720 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1721 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1722 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1723 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1724 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1725 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1726 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1727 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1729 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1730 (__libc_pread64): Likewise.
1731 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1732 (__libc_preadv): Likewise.
1733 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1734 (__libc_readv64): Likewise.
1735 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1736 (__libc_pwrite): Likewise.
1737 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1738 (__libc_pwrite64): Likewise.
1739 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1740 (__libc_pwritev): Likewise.
1741 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1742 (__libc_pwritev64): Likewise.
1743 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1744 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1745 (sync_file_range): Likewise.
1746 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1748 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1750 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1751 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1752 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1753 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1754 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1755 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1756 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1757 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1761 (__libc_read64): Likewise.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1771 (__libc_pread64): Likewise.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1775 (__libc_pwrite64): Likewise.
1776 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1777 (sync_file_range): Likewise.
1778 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1779 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1780 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1781 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1782 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1783 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1784 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1785 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1786 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1787 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1788 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1789 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1790 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1791 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1792 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1793 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1794 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1795 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1796 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1798 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1800 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1801 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1803 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1804 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1805 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1806 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1808 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1809 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1810 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1811 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1814 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
1816 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1818 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1819 Use VDSO routines for gettimeofday, clock_gettime if
1821 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1822 Declare VDSO symbols.
1823 * sysdeps/unix/sysv/linux/arm/sysdep.h:
1824 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1825 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1826 * sysdeps/unix/sysv/linux/arm/Versions: Add
1827 __vdso_clock_gettime.
1829 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1831 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1832 be an inline implementation regardless of library is built within.
1833 (open_not_cancel_2): Likewise.
1834 (__read_nocancel): Likewise.
1835 (__write_nocancel): Likewise.
1836 (openat_not_cancel): Likewise.
1837 (openat_not_cancel_3): Likewise.
1838 (openat64_not_cancel): Likewise.
1839 (openat64_not_cancel_3): Likewise.
1840 (__close_nocancel): Likewise.
1841 (pause_not_cancel): Likewise.
1842 (nanosleep_not_cancel): Likewise.
1843 (sigsuspend_not_cancel): Likewise.
1845 2015-06-04 Torvald Riegel <triegel@redhat.com>
1848 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1850 (__pthread_rwlock_rdlock_slow): Likewise.
1851 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1853 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1855 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1856 * nptl/tst-rwlock16.c: New file.
1857 * nptl/Makefile (tests): Add new test.
1859 2015-06-04 Torvald Riegel <triegel@redhat.com>
1862 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1863 missing wake-up of readers.
1864 * nptl/tst-rwlock15.c: New file.
1865 * nptl/Makefile (tests): Add new test.
1867 2015-06-03 Roland McGrath <roland@hack.frob.com>
1869 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1870 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1871 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1872 and __nacl_supply_interface_rtld.
1873 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1874 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1875 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1876 Add __nacl_supply_interface_rtld.
1877 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1879 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1881 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1883 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1884 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1886 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
1888 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1889 __signbit* with standard C99 macros.
1890 * math/e_exp10l.c: Likewise.
1891 * math/e_exp2l.c: Likewise.
1892 * math/e_scalb.c: Likewise.
1893 * math/e_scalbf.c: Likewise.
1894 * math/e_scalbl.c: Likewise.
1895 * math/s_ldexp.c: Likewise.
1896 * math/s_ldexpf.c: Likewise.
1897 * math/s_ldexpl.c: Likewise.
1898 * math/w_atan2.c: Likewise.
1899 * math/w_atan2f.c: Likewise.
1900 * math/w_atan2l.c: Likewise.
1901 * math/w_cosh.c: Likewise.
1902 * math/w_coshf.c: Likewise.
1903 * math/w_coshl.c: Likewise.
1904 * math/w_exp10.c: Likewise.
1905 * math/w_exp10f.c: Likewise.
1906 * math/w_exp10l.c: Likewise.
1907 * math/w_exp2.c: Likewise.
1908 * math/w_exp2f.c: Likewise.
1909 * math/w_exp2l.c: Likewise.
1910 * math/w_fmod.c: Likewise.
1911 * math/w_fmodf.c: Likewise.
1912 * math/w_fmodl.c: Likewise.
1913 * math/w_hypot.c: Likewise.
1914 * math/w_hypotf.c: Likewise.
1915 * math/w_hypotl.c: Likewise.
1916 * math/w_jnl.c: Likewise.
1917 * math/w_lgamma.c: Likewise.
1918 * math/w_lgamma_r.c: Likewise.
1919 * math/w_lgammaf.c: Likewise.
1920 * math/w_lgammaf_r.c: Likewise.
1921 * math/w_lgammal.c: Likewise.
1922 * math/w_lgammal_r.c: Likewise.
1923 * math/w_pow.c: Likewise.
1924 * math/w_powf.c: Likewise.
1925 * math/w_powl.c: Likewise.
1926 * math/w_remainder.c: Likewise.
1927 * math/w_remainderf.c: Likewise.
1928 * math/w_remainderl.c: Likewise.
1929 * math/w_scalb.c: Likewise.
1930 * math/w_scalbf.c: Likewise.
1931 * math/w_scalbl.c: Likewise.
1932 * math/w_scalbln.c: Likewise.
1933 * math/w_scalblnf.c: Likewise.
1934 * math/w_scalblnl.c: Likewise.
1935 * math/w_sinh.c: Likewise.
1936 * math/w_sinhf.c: Likewise.
1937 * math/w_sinhl.c: Likewise.
1938 * math/w_tgamma.c: Likewise.
1939 * math/w_tgammaf.c: Likewise.
1940 * math/w_tgammal.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1949 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1950 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1951 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1972 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1973 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1974 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1975 * stdio-common/printf_fp.c: Likewise.
1976 * stdio-common/printf_fphex.c: Likewise.
1977 * stdio-common/printf_size.c: Likewise.
1979 2015-06-03 Joseph Myers <joseph@codesourcery.com>
1982 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1984 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1986 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1987 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1988 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1989 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1990 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1991 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1992 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1993 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1994 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1995 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1998 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1999 weak alias of __wmemchr. Use libc_hidden_weak.
2000 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2001 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2004 2015-06-02 Roland McGrath <roland@hack.frob.com>
2007 * elf/tst-tlsalign-extern.c: New file.
2008 * elf/tst-tlsalign-extern-static.c: New file.
2009 * elf/tst-tlsalign-vars.c: New file.
2010 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2011 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2012 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2013 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2014 (test-xfail-tst-tlsalign-extern-static): New variable.
2016 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2018 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2019 Use variable name _sc_err instead of err.
2020 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2022 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2023 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2024 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2025 (INLINE_SYSCALL): Likewise.
2027 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2028 * include/string.h (__strnlen): Use libc_hidden_proto.
2029 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2030 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2031 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2033 (libc_hidden_def): Undefine and redefine.
2034 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2035 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2037 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2039 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2042 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2043 weak alias of __towlower. Use libc_hidden_weak.
2044 (towupper): Rename to __towupper and define as weak alias of
2045 __towupper. Use libc_hidden_weak.
2046 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2047 (__towupper): Likewise.
2048 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2049 __towlower instead of towlower.
2051 2015-06-02 Roland McGrath <roland@hack.frob.com>
2053 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2054 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2056 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2058 * sysdeps/aarch64/libm-test-ulps: Update.
2060 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2062 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2064 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2065 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2066 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2067 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2068 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2069 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2070 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2072 2015-06-01 Martin Sebor <msebor@redhat.com>
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2076 (__setcontext): Use extended four-operand version of mtsf whenever
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2079 (__novec_swapcontext): Likewise.
2081 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2083 * benchtests/scripts/compare_bench.py: New file.
2084 * benchtests/scripts/import_bench.py (mean): New function.
2085 (split_list): Likewise.
2086 (do_for_all_timings): Likewise.
2087 (compress_timings): Likewise.
2089 * benchtests/scripts/import_bench.py: New file.
2090 * benchtests/scripts/validate_benchout.py: Import import_bench
2091 instead of jsonschema.
2092 (validate_bench): Remove function.
2093 (main): Use import_bench.
2095 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2097 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2098 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2100 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2104 2015-05-28 Roland McGrath <roland@hack.frob.com>
2106 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2107 set THREAD_SELF->tid to a magic value and futex-wake it.
2108 Pass its address to the thread_exit system call.
2109 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2111 * sysdeps/nacl/lowlevellock.h: New file.
2112 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2114 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2115 Add TIMEOUT to current time, don't subtract it.
2117 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2120 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2121 ($(objpfx)tst-audit2.out): Also depend on
2122 $(objpfx)tst-auditmod9b.so.
2123 * elf/tst-audit2.c: Include <dlfcn.h>.
2124 (calloc_called): New.
2125 (calloc): Allow to be called more than once.
2126 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2128 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2130 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2131 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2133 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2135 * stdlib/monetary.h: Fix comment.
2137 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2139 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2140 Avoid using variables in #defines that might cause shadowing.
2141 (INTERNAL_VSYSCALL_CALL): Likewise.
2143 2015-05-26 Roland McGrath <roland@hack.frob.com>
2145 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2147 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2148 * nptl/lll_timedlock_wait.c: ... to this new file.
2149 * nptl/Makefile (libpthread-routines): Add it.
2150 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2151 * nptl/lll_timedwait_tid.c: ... to this new file.
2152 * nptl/Makefile (libpthread-routines): Add it.
2153 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2154 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2155 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2156 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2157 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2158 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2159 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2160 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2161 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2162 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2164 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2166 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2167 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2168 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2169 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2170 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2171 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2172 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2174 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2175 * sysdeps/unix/sysv/linux/tile/sysdep.h
2176 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2177 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2178 using vDSO syscall macro.
2180 2015-05-26 Andriy Rysin <arysin@gmail.com>
2183 * uk_UA: Fix sorting order for Ukrainian locale
2185 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2187 * stdlib/monetary.h: Fix comment.
2189 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2192 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2193 st_mtim and st_ctim members.
2194 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2195 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2196 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2197 (struct stat64): Likewise.
2198 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2199 (struct stat64): Likewise.
2200 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2201 (struct stat64): Likewise.
2203 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2205 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2206 Define and include sysdep-vdso.h.
2207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2209 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2211 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2212 Define with VDSO_SYMBOL and use PTR_MANGLE.
2213 (__vdso_clock_gettime): Likewise.
2214 (__vdso_clock_getres): Likewise.
2215 (_libc_vdso_platform_setup): Likewise.
2216 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2218 (_libc_vdso_platform_setup): Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2221 (__vdso_clock_gettime): Likewise.
2222 (__vdso_clock_getres): Likewise.
2223 (__vdso_get_tbfreq): Likewise.
2224 (__vdso_getcpu): Likewise.
2225 (__vdso_time): Likewise.
2226 (__vdso_sigtramp_rt64): Likewise.
2227 (__vdso_signtramp32): Likewise.
2228 (__vdso_sigtramp_rt32): Likewise.
2229 (_libc_vdso_platform_setup): Likewise.
2230 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2232 (__vdso_clock_gettime): Likewise.
2233 (__vdso_clock_getres): Likewise.
2234 (_libc_vdso_platform_setup): Likewise.
2235 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2237 (__vdso_clock_gettime): Likewise.
2238 (_libc_vdso_platform_setup): Likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2241 (__vdso_getcpu): Likewise.
2242 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2243 Use VDSO_SYMBOL macro to define.
2244 (__vdso_clock_gettime): Likewise.
2245 (__vdso_clock_getres): Likewise.
2246 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2248 (__vdso_clock_gettime): Likewise.
2249 (__vdso_clock_getres): Likewise.
2250 (__vdso_get_tbfreq): Likewise.
2251 (__vdso_getcpu): Likewise.
2252 (__vdso_time): Likewise.
2253 (__vdso_sigtramp_rt64): Likewise.
2254 (__vdso_signtramp32): Likewise.
2255 (__vdso_sigtramp_rt32): Likewise.
2256 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2258 (__vdso_clock_gettime): Likewise.
2259 (__vdso_clock_getres): Likewise.
2260 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2262 (__vdso_clock_gettime): Likewise.
2263 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2267 (INTERNAL_VSYSCALL): Likewise.
2268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2270 (INTERNAL_VSYSCALL): Likewise.
2271 (INTERNAL_VSYSCALL_NCS): Likewise.
2272 (INTERNAL_VSYSCALL_CALL): New macro.
2273 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2276 (INTERNAL_VSYSCALL): Likewise.
2277 (INTERNAL_VSYSCALL_NCS): Likewise.
2278 (INTERNAL_VSYSCALL_CALL): New macro.
2279 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2281 (INLINE_VSYSCALL): Remove macro.
2282 (INTERNAL_VSYSCALL): Remove macro.
2283 (INTERNAL_VSYSCALL_NCS): Remove macro.
2284 (INTERNAL_VSYSCALL_CALL): New macro.
2285 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2286 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2287 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2288 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2289 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2291 (INLINE_VSYSCALL): Remove macro.
2292 (INTERNAL_VSYSCALL): Likewise.
2293 (INTERNAL_VSYSCALL_NCS): Likewise.
2294 (INTERNAL_VSYSCALL_CALL): New macro.
2295 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2296 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2297 PTR_DEMANGLE on vDSO pointer.
2298 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2299 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2301 (INTERNAL_SYSCALL): Likewise.
2302 (INTERNAL_VSYSCALL_NCS): Remove macro.
2303 (INTERNAL_VSYSCALL_CALL): New macro.
2304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2306 (INTERNAL_VSYSCALL): Likewise.
2307 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2308 sysdep-vdso.h instead of libc-vdso.h.
2309 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2311 (INLINE_VSYSCALL): Likewise.
2312 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2313 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2315 (INLINE_VSYSCALL): Likewise.
2316 (INTERNAL_VSYSCALL): Likewise.
2317 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2318 * sysdeps/unix/sysv/linux/timespec_get.c
2319 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2320 (timespec_get): Use ANSI prototype.
2321 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2322 and definition for Linux.
2324 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2326 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2327 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2329 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2332 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2333 for missing DT_PLTRELSZ.
2335 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2337 Remove obsolete aliases that broke 'locale -a'
2339 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2340 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2341 breaking some applications that use 'locale -a' output.
2342 Change the encoding of this file from Latin-1 to ASCII to avoid
2343 other potential problems with people grepping this file.
2345 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2347 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2348 -fasynchronous-unwind-tables.
2349 (CFLAGS-sendto.c): Likewise.
2350 (CFLAGS-sendmsg.c): Likewise.
2351 (CFLAGS-connect.c): Likewise.
2352 (CFLAGS-recvmsg.c): Likewise.
2353 (CFLAGS-recvfrom.c): Likewise.
2354 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2355 (SOCKETCALL): New macro: non-cancellable socketcall.
2356 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2357 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2358 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2359 * sysdeps/unix/sysv/linux/accept.c: New file.
2360 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2361 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2362 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2363 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2364 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2365 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2366 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2367 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2368 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2369 * sysdeps/unix/sysv/linux/send.c: Likewise.
2370 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2371 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2372 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2373 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2374 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2375 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2376 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2378 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2379 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2380 instead of __internal_xxx function.
2381 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2383 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2384 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2385 instead of __internal_xxx function.
2386 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2388 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2389 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2390 instead of __internal_xxx function.
2391 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2392 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2393 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2394 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2395 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2396 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2397 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2398 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2399 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2400 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2401 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2402 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2403 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2404 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2405 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2406 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2407 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2408 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2409 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2410 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2413 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2414 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2415 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2416 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2418 * sysdeps/unix/sysv/linux/send.S: Likewise.
2419 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2420 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2421 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2422 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2423 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2424 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2427 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2428 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2429 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2430 socketcall is implemented in GLIBC.
2432 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2434 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2435 (__fma): Ignore uninitialized warnings around packing.
2436 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2437 (__fmaf): Ignore uninitialized warnings around packing.
2438 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2439 (__fmal): Ignore uninitialized warnings around packing.
2441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2442 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2443 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2444 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2446 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2447 switch statement into default case.
2448 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2450 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2451 a conditional in forcing "inexact".
2452 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2455 2015-05-22 Roland McGrath <roland@hack.frob.com>
2457 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2458 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2459 for each INTERNAL_SYSCALL use.
2461 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2464 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2465 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2469 * string/basename.c (basename): Rename to __basename and define as
2470 weak alias of __basename. Use libc_hidden_weak.
2471 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2472 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2473 __basename instead of basename.
2474 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2476 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2478 2015-05-18 Florian Weimer <fweimer@redhat.com>
2480 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2481 (_IO_JUMPS_FILE_plus): New.
2482 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2483 _IO_CAST_FIELD_ACCESS.
2484 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2485 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2486 * libio/freopen.c (freopen): Likewise.
2487 * libio/freopen64.c (freopen64): Likewise.
2488 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2489 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2490 * libio/iofwide.c (_IO_fwide): Likewise.
2491 * libio/memstream.c (open_memstream): Likewise.
2492 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2493 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2494 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2496 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2498 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2499 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2502 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2505 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2508 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2511 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2512 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2514 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2515 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2516 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2518 2015-05-21 Florian Weimer <fweimer@redhat.com>
2520 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2521 Adjust jump table label generation macros.
2523 2015-05-21 Florian Weimer <fweimer@redhat.com>
2525 * stdio-common/vfprintf.c (vfprintf): Move local variables
2526 args_malloced, specs, specs_malloced, and the code after
2527 do_positional to the printf_positional function.
2528 (printf_positional): New function.
2530 2015-05-21 Florian Weimer <fweimer@redhat.com>
2532 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2534 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2535 STEP4_TABLE, process_arg): Move macro definitions
2536 out of the vfprintf function. (Cosmetic change only.)
2538 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2540 * benchtests/Makefile (stdio-common-bench): Define.
2541 (benchset): Add stdio-common-bench.
2542 * sprintf-inputs: New file.
2543 * sprintf-source.c: New file.
2545 2015-05-21 Andreas Schwab <schwab@suse.de>
2549 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2550 of struct __res_state.
2551 * resolv/res_send.c (__libc_res_nsend): Likewise.
2552 (get_nsaddr): New function.
2553 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2556 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2558 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2559 -D_POSIX_C_SOURCE=199506L.
2561 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2563 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2564 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2565 Do not mention otherwise.
2566 [POSIX] (_XOPEN_VERSION): Do not expect.
2567 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2568 [POSIX] (_POSIX2_C_BIND): Likewise.
2569 [POSIX] (_POSIX2_VERSION): Likewise.
2570 [POSIX] (_XOPEN_XPG2): Likewise.
2571 [POSIX] (_XOPEN_XPG3): Likewise.
2572 [POSIX] (_XOPEN_XPG4): Likewise.
2573 [POSIX] (_XOPEN_UNIX): Likewise.
2574 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2575 [POSIX] (_POSIX_BARRIERS): Likewise.
2576 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2577 [POSIX] (_POSIX_CPUTIME): Likewise.
2578 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2579 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2580 [POSIX] (_POSIX_SHELL): Likewise.
2581 [POSIX] (_POSIX_SPAWN): Likewise.
2582 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2583 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2584 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2585 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2586 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2587 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2588 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2589 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2590 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2591 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2592 [POSIX] (_POSIX2_PBS): Likewise.
2593 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2594 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2595 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2596 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2597 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2598 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2599 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2600 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2601 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2602 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2603 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2604 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2605 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2606 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2607 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2608 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2609 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2610 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2611 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2612 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2613 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2614 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2615 [POSIX] (_SC_2_C_BIND): Likewise.
2616 [POSIX] (_SC_2_C_VERSION): Likewise.
2617 [POSIX] (_SC_2_PBS): Likewise.
2618 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2619 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2620 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2621 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2622 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2623 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2624 [POSIX] (_SC_BARRIERS): Likewise.
2625 [POSIX] (_SC_BASE): Likewise.
2626 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2627 [POSIX] (_SC_DEVICE_IO): Likewise.
2628 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2629 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2630 [POSIX] (_SC_FD_MGMT): Likewise.
2631 [POSIX] (_SC_FIFO): Likewise.
2632 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2633 [POSIX] (_SC_FILE_LOCKING): Likewise.
2634 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2635 [POSIX] (_SC_IOV_MAX): Likewise.
2636 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2637 [POSIX] (_SC_NETWORKING): Likewise.
2638 [POSIX] (_SC_PAGE_SIZE): Likewise.
2639 [POSIX] (_SC_PASS_MAX): Likewise.
2640 [POSIX] (_SC_PIPE): Likewise.
2641 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2642 [POSIX] (_SC_REGEXP): Likewise.
2643 [POSIX] (_SC_SHELL): Likewise.
2644 [POSIX] (_SC_SIGNALS): Likewise.
2645 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2646 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2647 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2648 [POSIX] (_SC_USER_GROUPS): Likewise.
2649 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2650 [POSIX] (_SC_STREAMS): Likewise.
2651 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2652 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2653 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2654 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2655 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2656 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2657 [POSIX] (_PC_FILESIZEBITS): Likewise.
2658 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2659 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2660 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2661 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2662 [POSIX] (uid_t): Likewise.
2663 [POSIX] (gid_t): Likewise.
2664 [POSIX] (off_t): Likewise.
2665 [POSIX] (pid_t): Likewise.
2666 [POSIX] (cuserid): Allow.
2667 (_SC_2_CHAR_TERM): Require constant.
2668 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2669 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2672 2015-05-20 Roland McGrath <roland@hack.frob.com>
2674 * sysdeps/nacl/pthread-pids.h: New file.
2675 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2676 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2678 * nptl/pthread-pids.h: New file.
2679 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2680 * nptl/nptl-init.c: Include <pthread-pids.h>.
2681 (__pthread_initialize_minimal_internal):
2682 Call __pthread_initialize_pids instead of set_tid_address syscall.
2684 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2685 * sysdeps/posix/usleep.c: ... here.
2687 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2689 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2690 call_pselect6 object.
2691 [$(subdir) = io]: Remove call_sync_file_range object.
2692 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2693 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2694 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2695 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2697 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2699 * math/s_cproj.c: Add include "math_private.h".
2700 * math/s_cprojf.c: Likewise.
2701 * math/s_cprojl.c: Likewise.
2703 2015-05-19 Joseph Myers <joseph@codesourcery.com>
2706 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2707 high mantissa bit when testing whether P is a NaN.
2708 * math/libm-test.inc (remainder_test_data): Add more tests.
2709 (remquo_test_data): Likewise.
2712 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2713 below -32, return the argument, with underflow if subnormal.
2714 * math/auto-libm-test-in: Add more tests of atanh.
2715 * math/auto-libm-test-out: Regenerated.
2717 2015-05-19 Roland McGrath <roland@hack.frob.com>
2720 * nptl/tst-sem15.c: New file.
2721 * nptl/Makefile (tests): Add it.
2722 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2723 s/<</>>/ to fix typo in EOVERFLOW check.
2724 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2726 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2728 * manual/strings.texi (envz_remove): Fix typo in safety
2731 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2732 Steve Ellcey <sellcey@imgtec.com>
2734 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2735 in order to avoid strict alias warnings.
2736 (iruserok_af): Ditto for ra.
2738 2015-05-19 James Lemke <jwlemke@codesourcery.com>
2742 (magicbyte): Convert to a function and avoid returning 0x01.
2743 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2744 (mem2chunk_check): Fix unsigned comparisons to zero.
2745 Hoist defs of sz and magic.
2747 2015-05-19 Richard Henderson <rth@redhat.com>
2749 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2751 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2753 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2756 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2757 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2758 (reused_arena): Find a non-corrupt arena.
2759 (heap_trim): Pass arena to unlink.
2760 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2762 (top_check): Likewise.
2763 (free_check): Likewise.
2764 (realloc_check): Likewise.
2765 * malloc/malloc.c (malloc_printerr): Add arena argument.
2767 (munmap_chunk): Adjust.
2768 (ARENA_CORRUPTION_BIT): New macro.
2769 (arena_is_corrupt): Likewise.
2770 (set_arena_corrupt): Likewise.
2771 (sysmalloc): Use mmap if there are no usable arenas.
2772 (_int_malloc): Likewise.
2773 (__libc_malloc): Don't fail if arena_get returns NULL.
2774 (_mid_memalign): Likewise.
2775 (__libc_calloc): Likewise.
2776 (__libc_realloc): Adjust for additional argument to
2778 (_int_free): Likewise.
2779 (malloc_consolidate): Likewise.
2780 (_int_realloc): Likewise.
2781 (_int_memalign): Don't touch corrupt arenas.
2782 * malloc/tst-malloc-backtrace.c: New test case.
2784 * Makefile (summarize-tests): Fix return value on success.
2786 * manual/string.texi (Envz Functions): Add envz_remove.
2788 2015-05-18 Roland McGrath <roland@hack.frob.com>
2790 * sysdeps/posix/opendir.c: Include <stdbool.h>.
2791 (invalid_name): New function, broken out of ...
2792 (__opendirat): ... here. Call it.
2793 (need_isdir_precheck): New function, broken out of ...
2794 (__opendirat): ... here. Call it.
2795 Use __fxstatat64, not __xstatat64.
2796 (opendir_oflags): New function, broken out of ...
2797 (__opendirat): ... here. Call it.
2798 (opendir_tail): New function, broken out of ...
2799 (__opendirat): ... here. Call it.
2800 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2801 opendir_tail, rather than punting to __opendirat.
2802 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2804 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2806 * .gitignore: Ignore generated *.pyc.
2808 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
2810 * include/stdio.h: Define __need_wint_t.
2811 * test-skeleton.c: Avoid `for' loop initial declaration.
2812 * nptl/tst-initializers1.c: Use test-skeleton.c.
2814 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2817 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2819 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2822 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2823 (__ieee754_atanh): Force underflow exception for results with
2824 small absolute value.
2825 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2826 (__ieee754_atanhf): Force underflow exception for results with
2827 small absolute value.
2828 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2829 (__ieee754_atanh): Force underflow exception for results with
2830 small absolute value.
2831 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2832 (__ieee754_atanhf): Force underflow exception for results with
2833 small absolute value.
2834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2835 (__ieee754_atanhl): Force underflow exception for results with
2836 small absolute value.
2837 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2838 (__ieee754_atanhl): Force underflow exception for results with
2839 small absolute value.
2840 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2841 (__ieee754_atanhl): Force underflow exception for results with
2842 small absolute value.
2843 * math/auto-libm-test-in: Do not allow missing underflow
2844 exceptions from atanh.
2845 * math/auto-libm-test-out: Regenerated.
2848 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2849 2**-28 as threshold for returning x or +/- 1/x.
2850 * math/auto-libm-test-in: Add more tests of tan.
2851 * math/auto-libm-test-out: Regenerated.
2854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2855 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2856 * math/auto-libm-test-in: Add another test of lgamma.
2857 * math/auto-libm-test-out: Regenerated.
2859 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
2861 * stdio-common/printf_fp.c (___printf_fp): Use abs.
2862 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
2863 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2864 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2865 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
2866 (ADD2A): Use fabs. (SUB2A): Use fabs.
2867 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2870 (log1): Use fabs. (my_log2): Use fabs.
2871 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2872 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2874 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2876 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
2877 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
2878 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
2879 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
2880 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2881 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2883 2015-05-15 Joseph Myers <joseph@codesourcery.com>
2886 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2887 as threshold for returning 1 - x.
2888 * math/auto-libm-test-in: Add more tests of erfc.
2889 * math/auto-libm-test-out: Regenerated.
2891 2015-05-14 Joseph Myers <joseph@codesourcery.com>
2894 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2895 threshold for large arguments.
2896 * math/auto-libm-test-in: Add another test of atan.
2897 * math/auto-libm-test-out: Regenerated.
2900 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2901 (__log1p): Force underflow exception for results with small
2903 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2904 (__log1pf): Force underflow exception for results with small
2906 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2907 (__log1p): Force underflow exception for results with small
2909 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2910 (__log1pf): Force underflow exception for results with small
2912 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2913 (__log1pl): Force underflow exception for results with small
2915 * math/auto-libm-test-in: Do not allow missing underflow
2916 exceptions from log1p.
2917 * math/auto-libm-test-out: Regenerated.
2919 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
2920 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2923 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2925 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
2927 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2928 (libmvec): New variable.
2929 * configure.ac: Added option for mathvec build.
2930 * configure: Regenerated.
2931 * mathvec/Depend: New file.
2932 * mathvec/Makefile: New file.
2933 * shlib-versions: Added libmvec.
2934 * math/Makefile: Added rule for libm.so installation.
2936 * bits/math-vector.h: New file.
2937 * bits/libm-simd-decl-stubs.h: New header.
2938 * math/Makefile (headers): Added new header
2939 libm-simd-decl-stubs.h.
2940 * math/math.h (__MATHCALL_VEC): New macro.
2942 * math/gen-libm-have-vector-test.sh: Script generates series of macros
2943 for conditions in testing functions.
2944 * math/Makefile: Added call of libm-have-vector-test.sh.
2945 * math/libm-test.inc (HAVE_VECTOR): New macros.
2947 * math/libm-test.inc: START refactored.
2948 * math/test-double.c (TEST_MATHVEC): Add define.
2949 * math/test-float.c: Likewise.
2950 * math/test-idouble.c: Likewise.
2951 * math/test-ifloat.c: Likewise.
2952 * math/test-ildoubl.c: Likewise.
2953 * math/test-ldouble.c: Likewise.
2954 * sysdeps/generic/math-tests-arch.h
2955 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2958 * math/test-double.c (FUNC_TEST): New macro.
2959 * math/test-float.c: Likewise.
2960 * math/test-idouble.c: Likewise.
2961 * math/test-ifloat.c: Likewise.
2962 * math/test-ildoubl.c: Likewise.
2963 * math/test-ldouble.c: Likewise.
2964 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2966 2015-05-13 Roland McGrath <roland@hack.frob.com>
2968 * sysdeps/nacl/fdopendir.c: New file.
2970 * dirent/scandir-tail.c: New file.
2971 * dirent/scandir64-tail.c: New file.
2972 * dirent/Makefile (routines): Add them.
2973 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2974 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2975 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2976 [!SCANDIR] (SCANDIR_TAIL): New macro.
2977 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2978 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2979 (SCANDIRAT): Macro removed.
2980 (SCANDIR_TAIL): New macro.
2981 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2982 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2983 (SCANDIRAT): Just call __opendirat and __scandir_tail.
2984 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2985 (READDIR): Macro removed.
2986 (SCANDIR_TAIL): New macro.
2987 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2988 (SCANDIR_TAIL): New macro.
2990 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2991 * dirent/scandir-cancel.c: ... to this new file.
2992 * dirent/Makefile (routines): Add it.
2993 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2994 * sysdeps/unix/sysv/linux/i386/scandir64.c
2995 (SKIP_SCANDIR_CANCEL): Macro removed.
2996 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2998 * dirent/tst-scandir.c: New file.
2999 * dirent/tst-scandir64.c: New file.
3000 * dirent/Makefile (tests): Add them.
3002 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3005 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3007 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3009 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3012 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3014 * benchtests/bench-strcoll.c: New benchmark.
3015 * benchtests/Makefile: Generate locales and run benchmark.
3016 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3017 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3018 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3019 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3020 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3021 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3022 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3023 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3024 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3025 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3026 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3027 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3028 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3029 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3030 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3031 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3032 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3033 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3034 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3035 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3036 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3037 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3038 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3039 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3041 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3043 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3046 2015-05-12 Roland McGrath <roland@hack.frob.com>
3048 * posix/uname-values.h: New file.
3049 * posix/uname.c: Include that instead of <config-name.h>.
3050 * sysdeps/nacl/uname-values.h: New file.
3051 * sysdeps/arm/nacl/uname-values.h: New file.
3053 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3055 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3056 splitting into fields.
3058 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3060 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3061 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3062 * locale/localeinfo.h: Add enum collation_encoding_type.
3063 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3064 * programs/ld-collate.c (collate_output): Add encoding type info.
3065 * string/strcoll_l.c (STRDIFF): New function.
3066 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3067 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3069 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3072 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3073 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3074 <fpu_control.h> instead of <math/fpu_control.c>.
3075 * sysdeps/mips/mips32/fpu/Makefile: New file.
3077 2015-05-11 Andreas Schwab <schwab@suse.de>
3080 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3082 (_nss_compat_endgrent): Call nss_endgrent.
3083 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3085 (_nss_compat_endpwent): Call nss_endpwent.
3086 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3087 needent, call nss_setspent only if non-zero.
3088 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3089 (internal_endspent): Don't call nss_endspent.
3090 (_nss_compat_endspent): Call nss_endspent.
3091 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3092 Remove. All uses removed.
3093 (internal_setent): Remove parameter stayopen, add parameter
3094 stream. Use it instead of global variable.
3095 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3096 (internal_endent, internal_getent): Add parameter stream. Use it
3097 instead of global variable.
3098 (CONCAT(_nss_files_end,ENTNAME))
3099 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3100 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3101 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3103 (internal_setent, internal_endent): Add parameter stream. Use it
3104 instead of global variable.
3105 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3107 (get_next_alias): Add parameter stream.
3108 (_nss_files_getaliasent_r): Pass global stream.
3109 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3110 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3111 (_nss_files_gethostbyname4_r): Pass local stream to
3112 internal_setent, internal_getent and internal_endent. Remove
3115 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3117 * tst-strfmon1.c (tests): Update expected currency symbol.
3119 2015-05-08 Roland McGrath <roland@hack.frob.com>
3121 * sysdeps/nacl/gethostname.c: New file.
3123 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3125 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3127 * math/auto-libm-test-out: Regenerated.
3128 * sysdeps/i386/fpu/libm-test-ulps: Update.
3129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3131 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3134 * stdlib/tst-setcontext3.c: New file.
3135 * stdlib/tst-setcontext3.sh: New file.
3136 * stdlib/Makefile (tests): Add tst-setcontext3.
3137 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3138 to verify test program created output file.
3139 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3140 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3141 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3142 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3144 2015-05-06 Roland McGrath <roland@hack.frob.com>
3147 * elf/tst-tlsalign.c: New file.
3148 * elf/tst-tlsalign-static.c: New file.
3149 * elf/tst-tlsalign-lib.c: New file.
3150 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3151 (tests-static): Add tst-tlsalign-static.
3152 (modules-names): Add tst-tlsalign-lib.
3153 (test-xfail-tst-tlsalign): New variable.
3154 (test-xfail-tst-tlsalign-static): New variable.
3156 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3157 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3159 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3161 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3162 csqrt, erfc, sin and sincos.
3163 * math/auto-libm-test-out: Regenerated.
3164 * sysdeps/i386/fpu/libm-test-ulps: Update.
3165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3167 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3169 * sysdeps/aarch64/libm-test-ulps: Update.
3171 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3173 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3174 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3175 * math/auto-libm-test-out: Regenerated.
3176 * sysdeps/i386/fpu/libm-test-ulps: Update.
3177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3179 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3182 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3183 (wcsncpy): Likewise.
3185 2015-05-05 Florian Weimer <fweimer@redhat.com>
3187 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3188 Assume __ASSUME_FALLOCATE is always true.
3189 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3190 (__posix_fallocate64_l64): Likweise.
3191 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3192 (posix_fallocate): Likewise.
3193 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3194 (__posix_fallocate64_l64): Likewise.
3195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3196 [!__ASSUME_FALLOCATE]: Add comment.
3198 2015-05-05 Florian Weimer <fweimer@redhat.com>
3200 * sysdeps/unix/sysv/linux/i386/Makefile
3201 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3202 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3203 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3204 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3205 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3206 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3207 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3209 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3211 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3212 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3214 * math/auto-libm-test-out: Regenerated.
3215 * sysdeps/i386/fpu/libm-test-ulps: Update.
3216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3218 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3220 * math/auto-libm-test-in: Add more tests of tgamma.
3221 * math/auto-libm-test-out: Regenerated.
3222 * sysdeps/i386/fpu/libm-test-ulps: Update.
3223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3225 * math/auto-libm-test-in: Add more tests of tanh.
3226 * math/auto-libm-test-out: Regenerated.
3227 * sysdeps/i386/fpu/libm-test-ulps: Update.
3228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3230 * math/auto-libm-test-in: Add more tests of tan.
3231 * math/auto-libm-test-out: Regenerated.
3232 * sysdeps/i386/fpu/libm-test-ulps: Update.
3233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3235 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3236 * math/auto-libm-test-out: Regenerated.
3237 * sysdeps/i386/fpu/libm-test-ulps: Update.
3238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3240 * math/auto-libm-test-in: Add another test of pow.
3241 * math/auto-libm-test-out: Regenerated.
3242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3244 * math/auto-libm-test-in: Add more tests of lgamma.
3245 * math/auto-libm-test-out: Regenerated.
3246 * sysdeps/i386/fpu/libm-test-ulps: Update.
3247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3249 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3251 * math/auto-libm-test-out: Regenerated.
3252 * sysdeps/i386/fpu/libm-test-ulps: Update.
3253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3255 2015-05-01 Mark Wielaard <mjw@redhat.com>
3257 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3258 Elf64_Chdr structs and ELFCOMPRESS constants.
3260 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3262 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3264 * math/auto-libm-test-out: Regenerated.
3265 * sysdeps/i386/fpu/libm-test-ulps: Update.
3266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268 * math/auto-libm-test-in: Add more tests of erf and erfc.
3269 * math/auto-libm-test-out: Regenerated.
3270 * sysdeps/i386/fpu/libm-test-ulps: Update.
3271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3273 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3275 * config.h.in (HAVE_AARCH64_BE): Add.
3277 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3279 * math/auto-libm-test-in: Add more tests of csqrt.
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 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3285 * math/auto-libm-test-out: Regenerated.
3286 * sysdeps/i386/fpu/libm-test-ulps: Update.
3287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3289 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3291 2015-04-29 Roland McGrath <roland@hack.frob.com>
3293 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3294 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3296 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3297 (euidaccess, eaccess): Define as weak aliases.
3299 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3300 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3301 but __suseconds_t is often 'long int' so some sources assume that
3302 type is being used (e.g. they use %ld to print tv_usec).
3304 2015-04-29 Florian Weimer <fweimer@redhat.com>
3307 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3309 * nss/tst-nss-getpwent.c: New file.
3310 * nss/Makefile (tests): Add new test.
3312 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3316 exponents less than 48 as cases where high part of mantissa needs
3317 examining to determine whether argument is integral.
3318 * math/libm-test.inc (round_test_data): Add more tests.
3320 2015-04-28 Mark Wielaard <mjw@redhat.com>
3322 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3324 2015-04-27 David S. Miller <davem@davemloft.net>
3326 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3328 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3330 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3333 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3335 2015-04-27 Florian Weimer <fweimer@redhat.com>
3338 * time/tzset.c (parse_tzname): Return error on memory allocation
3340 * test-skeleton.c (struct temp_name_list): Change type of name
3341 member to non-const.
3342 (add_temp_file): Create a copy of the file name.
3343 (delete_temp_files): Deallocate memory.
3344 (create_temp_file): Add comment.
3346 2015-04-24 Florian Weimer <fweimer@redhat.com>
3348 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3349 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3351 2015-04-24 Roland McGrath <roland@hack.frob.com>
3353 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3354 * sysdeps/arm/configure: Regenerated.
3356 2015-04-24 Florian Weimer <fweimer@redhat.com>
3359 * time/tzfile.c (__tzfile_read): Check for large values of
3360 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3361 * time/tzset.c (__tzstring_len): New function, based on the old
3362 __tzstring function.
3363 (__tzstring): Call __tzstring_len.
3364 (parse_tzname): New helper function extracted from
3365 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3367 (parse_offset): New helper function extracted from
3368 __tzset_parse_tz. Replace switch with fallthrough with
3369 initialization before sscanf.
3370 (parse_rule): Likewise.
3371 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3372 new-style function definition.
3373 * timezone/Makefile (tests): Add tst-tzset.
3374 (tst-tzset.out): Dependencies on time zone files.
3375 (tst-tzset-ENV): Set TZDIR.
3376 (testdata/XT%): Copy crafted time zone files.
3377 * timezone/README: Mention crafted time zone files.
3378 * timezone/testdata/XT1, timezone/testdata/XT2,
3379 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3381 * timezone/tst-tzset.c: New test.
3383 2015-04-24 Florian Weimer <fweimer@redhat.com>
3385 * Makeconfig (+gccwarn): Remove -Winline.
3387 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3389 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3391 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3393 * NEWS: Mention sysconf() cache information support for s390.
3394 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3396 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3398 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3400 (__nearbyint): Likewise.
3401 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3402 (copysignl): Likewise.
3404 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3407 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3408 based on padding. (CVE-2015-1781)
3410 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3412 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3414 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3415 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3416 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3417 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3418 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3419 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3420 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3421 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3423 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3424 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3425 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3426 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3427 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3428 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3429 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3430 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3432 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3433 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3434 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3435 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3436 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3438 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3440 * stdlib/setenv.c (__add_to_environ):
3441 Dump core quickly if setenv (..., NULL, ...) is called.
3442 This time, do it the right way, and pacify GCC with a pragma.
3444 2015-04-17 Roland McGrath <roland@hack.frob.com>
3446 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3447 IMAP->l_prev cannot be null, and #if out the code for the contrary
3448 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3449 believe that NS (&_dl_ns[NSID]) could point outside the array.
3451 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3452 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3453 before using NSID as an index.
3455 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3458 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3459 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3460 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3462 2015-04-17 Roland McGrath <roland@hack.frob.com>
3464 Add preliminary port to Google Native Client on ARM.
3465 * abi-tags (.*-.*-nacl.*): New entry.
3466 * sysdeps/arm/nacl: New directory.
3467 * sysdeps/nacl: New directory.
3469 2015-04-16 David S. Miller <davem@davemloft.net>
3471 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3472 lowlevellock-futex.h
3474 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3476 * sysdeps/tile/configure.ac: New file.
3477 * sysdeps/tile/configure: Regenerated.
3479 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3481 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3482 conditionals for weak_alias and libc_hidden_weak.
3483 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3484 libc_hidden_weak and weak_alias.
3485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3486 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3487 and weak_alias for static one.
3489 2015-04-15 David S. Miller <davem@davemloft.net>
3491 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3493 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3496 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3497 Use signed comparision instead of substraction to avoid
3499 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3500 Take the sign of ret.
3501 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3502 Do not expect precise return values. Only the sign matters.
3503 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3504 * wcsmbs/test-wcsncmp.c: New File.
3505 * string/test-strncmp.c: Add wcsncmp support.
3507 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3510 * math/w_log1p.c: New file.
3511 * math/w_log1pf.c: Likewise.
3512 * math/w_log1pl.c: Likewise.
3513 * math/Makefile (libm-calls): Add w_log1p.
3514 * math/s_log1pl.c (log1pl): Remove weak_alias.
3515 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3516 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3517 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3518 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3519 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3520 [NO_LONG_DOUBLE] (log1pl): Likewise.
3521 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3522 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3523 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3524 (log1p): Remove long_double_symbol.
3525 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3526 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3527 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3528 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3529 remove weak_alias for corresponding log1p function.
3530 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3531 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3532 * sysdeps/ia64/fpu/w_log1p.c: New file.
3533 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3534 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3535 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3537 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3540 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3541 decimal exponent by 1.
3542 * stdlib/tst-strtod-round-data: Add more tests.
3543 * stdlib/tst-strtod-round.c (tests): Regenerated.
3545 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3547 * math/auto-libm-test-in: Add more tests of clog and clog10.
3548 * math/auto-libm-test-out: Regenerated.
3549 * sysdeps/i386/fpu/libm-test-ulps: Update.
3550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3552 2015-04-09 Roland McGrath <roland@hack.frob.com>
3554 * Makeconfig (module-cppflags): Exclude all .v.i files.
3555 (skip-module-cppflags): Variable removed.
3557 * configure.ac (libc_config_ok): Initialize before reading
3558 preconfigure scripts, not after.
3559 * configure: Regenerated.
3561 * test-skeleton.c (TIMEOUT): Move #define to top level.
3562 (main): Grok environment variable TEST_DIRECT. If set, print
3563 test expectation details into that file and then behave as if
3566 2015-04-09 Florian Weimer <fweimer@redhat.com>
3568 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3571 2015-04-08 David S. Miller <davem@davemloft.net>
3573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3575 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3577 * math/auto-libm-test-in: Add more tests of atanh.
3578 * math/auto-libm-test-out: Regenerated.
3579 * sysdeps/i386/fpu/libm-test-ulps: Update.
3580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3582 * math/auto-libm-test-in: Add more tests of atan.
3583 * math/auto-libm-test-out: Regenerated.
3584 * sysdeps/i386/fpu/libm-test-ulps: Update.
3585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3587 2015-04-08 Florian Weimer <fweimer@redhat.com>
3589 * elf/pldd.c (main): Rewrite to use struct
3590 scratch_buffer instead of extend_alloca.
3591 * elf/pldd-xx.c (find_maps): Likewise.
3592 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3594 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3595 scratch_buffer instead of extend_alloca.
3596 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3597 grp/compat-initgroups.c.
3598 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3599 Rewrite to use struct scratch_buffer instead of extend_alloca.
3600 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3601 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3603 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3605 * math/auto-libm-test-in: Add more tests of cbrt.
3606 * math/auto-libm-test-out: Regenerated.
3607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3609 * math/auto-libm-test-in: Add more tests of cabs.
3610 * math/auto-libm-test-out: Regenerated.
3611 * sysdeps/i386/fpu/libm-test-ulps: Update.
3612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3616 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3617 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3619 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3621 * math/auto-libm-test-out: Regenerated.
3622 * sysdeps/i386/fpu/libm-test-ulps: Update.
3623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3626 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3627 (atan): Set FE_TONEAREST mode for internal computations.
3628 * math/auto-libm-test-in: Add more tests of atan.
3629 * math/auto-libm-test-out: Regenerated.
3631 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3634 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3636 2015-04-07 Florian Weimer <fweimer@redhat.com>
3638 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3640 2015-04-07 Florian Weimer <fweimer@redhat.com>
3642 * include/scratch_buffer.h: New file.
3643 * malloc/scratch_buffer_grow.c: Likewise.
3644 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3645 * malloc/scratch_buffer_set_array_size.c: Likewise.
3646 * malloc/tst-scratch_buffer.c: Likewise.
3647 * malloc/Makefile (routines): Add scratch_buffer_grow.
3648 (tests): Add test case.
3649 * malloc/Versions (GLIBC_PRIVATE): Export
3650 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3651 __libc_scratch_buffer_set_array_size.
3653 2015-04-06 Richard Henderson <rth@redhat.com>
3655 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3656 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3658 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3659 unsigned int before printing.
3661 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3664 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3665 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3667 2015-04-02 Florian Weimer <fweimer@redhat.com>
3669 * include/libc-internal.h (libc_max_align_t): Define.
3671 2015-04-02 Andreas Schwab <schwab@suse.de>
3674 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3676 2015-04-02 Mel Gorman <mgorman@suse.de>
3679 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3680 as well as the main arena.
3682 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3685 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3686 sharing L2 cache to 2 for Silvermont/Knights Landing.
3688 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3691 * config.make.in (have-protected-data): New.
3692 * configure.ac: Check linker support for protected data symbol.
3693 * configure: Regenerated.
3694 * elf/Makefile (modules-names): Add tst-protected1moda and
3695 tst-protected1modb if $(have-protected-data) is yes.
3696 (tests): Add tst-protected1a and tst-protected1b if
3697 $(have-protected-data) is yes.
3698 ($(objpfx)tst-protected1a): New.
3699 ($(objpfx)tst-protected1b): Likewise.
3700 (tst-protected1modb.so-no-z-defs): Likewise.
3701 * elf/tst-protected1a.c: New file.
3702 * elf/tst-protected1b.c: Likewise.
3703 * elf/tst-protected1mod.h: Likewise.
3704 * elf/tst-protected1moda.c: Likewise.
3705 * elf/tst-protected1modb.c: Likewise.
3707 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3710 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3711 indicates it is called from do_lookup_x on relocation against
3712 protected data, skip the data definion in the executable from
3714 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3715 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3716 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3717 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3718 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3720 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3721 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3722 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3723 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3724 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3725 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3727 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3729 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3730 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3732 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3734 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3736 * sysdeps/x86_64/nptl/tls.h: Ditto.
3738 2015-03-27 Roland McGrath <roland@hack.frob.com>
3740 * dlfcn/tststatic.c (main): Converted to ...
3741 (do_test): ... this.
3742 (TEST_FUNCTION): New macro.
3743 Include test-skeleton.c.
3745 2015-03-26 Alan Modra <amodra@gmail.com>
3747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3748 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3749 zero for undefined weak.
3750 (elf_machine_plt_conflict): Similarly.
3752 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3754 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3756 * math/auto-libm-test-out: Regenerated.
3757 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3760 * math/auto-libm-test-in: Add another test of asin.
3761 * math/auto-libm-test-out: Regenerated.
3762 * sysdeps/i386/fpu/libm-test-ulps: Update.
3763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3765 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3767 (LLL_EBX_REG): Likewise.
3768 (LLL_ENTER_KERNEL): Likewise.
3770 * math/auto-libm-test-in: Add more tests of asin.
3771 * math/auto-libm-test-out: Regenerated.
3772 * sysdeps/i386/fpu/libm-test-ulps: Update.
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3776 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3777 libc_do_syscall_args): New structure.
3778 (INTERNAL_SYSCALL_MAIN_0): New macro.
3779 (INTERNAL_SYSCALL_MAIN_1): Likewise.
3780 (INTERNAL_SYSCALL_MAIN_2): Likewise.
3781 (INTERNAL_SYSCALL_MAIN_3): Likewise.
3782 (INTERNAL_SYSCALL_MAIN_4): Likewise.
3783 (INTERNAL_SYSCALL_MAIN_5): Likewise.
3784 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
3785 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3786 Replace conditional definitions by conditional definitions of ....
3787 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
3788 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3789 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3790 (libpthread-sysdep_routines): Add libc-do-syscall.
3791 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3793 to __NR_futex not 240.
3795 2015-03-25 Alan Modra <amodra@gmail.com>
3797 * NEWS: Advertise TLS optimization.
3798 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3799 (DT_PPC_NUM): Increment.
3800 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3801 (CHECK_STATIC_TLS): Use here.
3802 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3805 * sysdeps/powerpc/dl-tls.c: New file.
3806 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3807 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3808 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3809 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3814 2015-03-25 Alan Modra <amodra@gmail.com>
3816 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3817 for overlapping .opd entries" to "support...".
3818 * sysdeps/powerpc/powerpc64/configure: Regenerate
3820 2015-03-25 Joseph Myers <joseph@codesourcery.com>
3822 * math/auto-libm-test-in: Add more tests of acos.
3823 * math/auto-libm-test-out: Regenerated.
3824 * sysdeps/i386/fpu/libm-test-ulps: Update.
3825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827 * math/auto-libm-test-in: Add more tests of expm1.
3828 * math/auto-libm-test-out: Regenerated.
3829 * sysdeps/i386/fpu/libm-test-ulps: Update.
3830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832 2015-03-24 Joseph Myers <joseph@codesourcery.com>
3834 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3835 * math/auto-libm-test-out: Regenerated.
3836 * sysdeps/i386/fpu/libm-test-ulps: Update.
3837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3839 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842 * math/auto-libm-test-in: Add more tests of log2.
3843 * math/auto-libm-test-out: Regenerated.
3844 * sysdeps/i386/fpu/libm-test-ulps: Update.
3845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3847 2015-03-23 Roland McGrath <roland@hack.frob.com>
3849 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3850 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
3851 _IO_IS_APPENDING bit in READ_WRITE instead.
3853 2015-03-23 Florian Weimer <fweimer@redhat.com>
3855 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3856 (__determine_cpumask_size): Replace extend_alloca with a
3857 variable-length array. Do not treat res == 0 as an error.
3859 2015-03-23 Florian Weimer <fweimer@redhat.com>
3862 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3863 and integer overflow.
3864 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3865 (main): Add integer overflow tests.
3866 * manual/pattern.texi (Calling Wordexp): Document additional use
3869 2015-03-23 Alan Modra <amodra@gmail.com>
3871 * config.h.in: Remove HAVE_ASM_PPC_REL16.
3872 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3873 and false branch of conditional.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3877 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
3879 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3881 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3882 unused declaration of _hurd_intr_rpc_msg_in_trap.
3883 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3884 defined instead of whether it is non-zero.
3885 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3886 input constraint instead of both input and output constraint. Use ecx
3887 clobber instead of %ecx.
3888 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3889 mutex_unlock): Use a statement expression instead of an expression list.
3890 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3891 type to vm_size_t instead of vm_address_t.
3892 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3893 defined instead of whether it is non-zero.
3894 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3895 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3896 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3897 comparisons with mapaddr.
3898 * nscd/nscd-client.h: Include <time.h>.
3899 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3900 9th parameter to __vm_region instead of int.
3901 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3902 * scripts/check-local-headers.sh (exclude): Add device/,
3903 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3906 2015-03-19 Roland McGrath <roland@hack.frob.com>
3908 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3909 to account for alignment padding.
3910 * sysdeps/arm/memmove.S: Likewise.
3912 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
3914 * sysdeps/unix/sysv/linux/generic/README: New file.
3916 2015-03-18 Joseph Myers <joseph@codesourcery.com>
3919 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3920 (futex_abstimed_wait)
3921 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3922 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3923 of lll_futex_timed_wait.
3925 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
3928 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3930 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
3937 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3938 entries with Static TLS too. Skip entries past the end of the
3939 allocated DTV, from Alan Modra.
3940 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
3941 Static TLS DTV entry set up from...
3942 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3943 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3944 * nptl/allocatestack.c (init_one_static_tls): ... and here...
3945 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3947 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
3948 that the slot we find is associated with the given map before
3949 using its generation count.
3950 * nptl_db/db_info.c: Include ldsodefs.h.
3951 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3952 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3953 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3954 (link_map::l_tls_offset): New struct field.
3955 (dtv_t::counter): Likewise.
3956 (rtld_global): New struct.
3957 (_rtld_global): New rtld variable.
3958 (dl_tls_dtv_slotinfo_list): New rtld global field.
3959 (dtv_slotinfo_list): New struct.
3960 (dtv_slotinfo): Likewise.
3961 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3962 (td_lookup): Rename to...
3963 (td_mod_lookup): ... this. Use new mod parameter instead of
3965 * nptl_db/td_thr_tlsbase.c: Include link.h.
3966 (dtv_slotinfo_list, dtv_slotinfo): New functions.
3967 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
3968 addresses even if the DTV is out of date or missing them.
3969 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3970 index zero-length arrays.
3971 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3972 (td_lookup): Make it a macro implemented in terms of...
3973 (td_mod_lookup): ... this declaration.
3974 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3975 (DB_MAIN_VARIABLE): Likewise.
3977 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
3980 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3982 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
3984 * stdlib/setenv.c (__add_to_environ): Revert previous change.
3986 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
3989 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3990 (atomic_add, atomic_increment_and_test)
3991 (atomic_decrement_and_test): Fix 64-bit arithmetic.
3993 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
3995 * stdlib/setenv.c (__add_to_environ):
3996 Dump core quickly if setenv (..., NULL, ...) is called.
3998 2015-03-13 Roland McGrath <roland@hack.frob.com>
4000 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4001 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4002 all the necessary asm magic in one place.
4003 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4006 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4009 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4010 traced file mtime. Use consistent log message.
4011 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4012 (register_traced_file): Call install_watches. Always set mtime.
4013 (invalidate_cache): Iterate over all trace files. Call install_watches.
4014 (inotify_check_files): Don't inline. Handle watching parent
4015 directories and configuration file movement in and out.
4016 (handle_inotify_events): New function.
4017 (main_loop_poll): Call handle_inotify_events.
4018 (main_loop_epoll): Likewise.
4019 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4020 (struct traced_file): Use array of inotify fds. Add parent directory,
4022 (struct database_dyn): Remove unused file_mtime.
4023 (init_traced_file): New inline function.
4024 (define_traced_file): New macro.
4025 * nss/nss_db/db-init.c: Use define_traced_file.
4026 (_nss_db_init): Use init_traced_file.
4027 * nss/nss_files/files-init.c: Use define_traced_file.
4028 (_nss_files_init): Use init_traced_file.
4030 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4032 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4033 [_LIBC]: Do not include <stdlib.h>.
4034 [!_LIBC] (abort): Remove declaration.
4035 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4036 _FP_STATIC_ASSERT instead of conditionally calling abort.
4037 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4038 (_FP_EXTEND_CNAN): Likewise.
4039 (FP_TRUNC): Likewise.
4040 (__FP_CLZ): Likewise.
4041 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4043 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4045 * manual/string.texi (XPG basename): Fix prototype.
4047 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4050 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4051 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4052 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4053 (__setcontext): Likewise.
4054 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4055 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4056 Call rt_sigprocmask syscall one time to set new signal mask
4057 and retrieve the current signal mask instead of two calls.
4058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4059 (__swapcontext): Likewise.
4060 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4061 * stdlib/tst-setcontext2.c: New file.
4063 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4065 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4067 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4070 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4073 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4076 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4078 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4080 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4081 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4083 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4084 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4085 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4086 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4087 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4088 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4090 * nptl_db/td_symbol_list.c (td_lookup): Remove
4091 HAVE_ASM_GLOBAL_DOT_NAME code.
4092 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4093 HAVE_ASM_GLOBAL_DOT_NAME check.
4094 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4095 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4096 (DOT_LABEL): Remove define.
4097 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4098 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4099 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4100 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4101 (__TLS_GET_ADDR): Likewise.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4103 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4105 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4108 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4109 (_FPU_SETCW): Initialize cw from fpsr before storing.
4110 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4111 (fesetexceptflag): Rewrite using fpu_control.h.
4112 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4114 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4117 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4119 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4121 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4123 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4124 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4126 (_FP_FMA): Likewise.
4127 (_FP_DIV): Likewise.
4129 2015-03-10 Roland McGrath <roland@hack.frob.com>
4131 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4132 with 0 in that case.
4133 * Makefile (summarize-tests): New canned sequence, factored out of
4134 commands for targets tests and xtests. Display summary lines that
4135 don't start with PASS: or XFAIL: rather than ones that do start with
4136 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4137 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4138 do start with ERROR: or FAIL:.
4139 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4140 (except for [$(build-shared) = yes]).
4141 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4142 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4143 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4144 * nptl/Makefile: Revert 2015-03-04 changes.
4145 [$(CXX) empty] (tests-unsupported): New variable.
4146 * debug/Makefile: Likewise.
4148 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4149 gnulib file. Replace __attribute with __attribute__ throughout.
4151 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4153 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4155 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4158 * math/auto-libm-test-in: Add another test of pow.
4159 * math/auto-libm-test-out: Regenerated.
4161 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4164 $(config-cflags-nofma).
4166 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4168 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4169 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4170 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4171 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4172 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4173 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4174 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4175 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4176 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4177 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4178 Add comment on closing #endif.
4180 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4182 * posix/wordexp.c (CHAR_IN_SET): New macro.
4183 (parse_param): Use it.
4185 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4189 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4192 * posix/wordexp.c (parse_param): Fix buffer overflow.
4193 * posix/wordexp-test.c (test_case): Add test case.
4195 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4198 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4199 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4201 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4204 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4205 (do_bz18043): Delete.
4207 (testit): Refactor to have words at the edge of unreadable page.
4209 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4212 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4213 Cleanup read-only streams as well.
4214 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4216 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4218 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4221 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4223 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4225 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4226 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4227 * soft-fp/op-common.h (_FP_DECL): Likewise.
4229 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4231 * elf/ifuncdep2.c (global): Replace
4232 __attribute__((visibility("protected"))) with
4233 asm (".protected global").
4234 * elf/ifuncmod1.c (global): Likewise.
4235 * elf/ifuncmod5.c (global): Likewise.
4237 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4239 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4240 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4242 2015-03-06 Roland McGrath <roland@hack.frob.com>
4244 * manual/install.texi (Configuring and compiling):
4245 Document test-wrapper-env-only.
4246 * INSTALL: Regenerated.
4248 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4251 * posix/wordexp.c (parse_param): Fix buffer overflow.
4252 * posix/wordexp-test.c (do_bz18043): Add test case.
4254 2015-03-06 Vincent Bernat <vincent@bernat.im>
4256 * time/tst-strptime2.c (do_test): Ensure failing tests are
4258 * time/tst-strptime3.c (do_test): Likewise.
4260 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4262 Fix aio_error thread-safety.
4263 * sysdeps/pthread/aio_error.c: New file
4264 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4267 2015-03-06 Florian Weimer <fweimer@redhat.com>
4269 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4270 (group_number, vfprintf): Use it.
4271 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4272 (JUMP, REF): Use it.
4273 (WORK_BUFFER_SIZE): New enum constant.
4274 (process_arg, vfprintf): Use it.
4276 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4278 * manual/errno.texi (Error Messages): Complete example function
4279 by adding missing #define.
4280 (program_invocation_name): Add statement indicating GNU
4281 extension and reference which header file declares the variable.
4282 (program_invocation_short_name): Likewise.
4284 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4286 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4289 2015-03-05 Roland McGrath <roland@hack.frob.com>
4291 * Makeconfig (test-wrapper-env-only): New variable.
4292 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4293 then use that with $(test-wrapper-env-only) rather than using
4294 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4296 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4299 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4300 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4301 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4302 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4303 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4304 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4305 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4306 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4308 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4309 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4311 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4313 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4315 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4317 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4318 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4322 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4323 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4325 2015-03-04 Roland McGrath <roland@hack.frob.com>
4327 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4328 (ETH_ALEN): New macro.
4329 (struct ether_addr): Use it for length of ether_addr_octet.
4331 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4332 (setdb): Don't call __nss_configure_lookup for "rpc".
4333 (do_test): Don't call test_rpc.
4334 (output_rpcent, test_rpc): Functions moved ...
4335 * sunrpc/test-rpcent.c: ... to this new file.
4336 * sunrpc/Makefile (tests): Add it.
4338 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4340 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4341 * nptl/tst-signal6.c: Likewise.
4342 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4343 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4345 * configure.ac (libc_cv_cxx_link_ok): New check.
4346 Reset CXX to empty if it fails to link.
4347 * configure: Regenerated.
4348 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4349 bug-atexit3-lib only if $(CXX) is nonempty.
4350 * nptl/Makefile (tests): Likewise for tst-cancel24.
4351 (tests, tests-static): Likewise for tst-cancel24-static.
4352 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4353 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4354 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4355 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4357 2015-03-04 Andreas Schwab <schwab@suse.de>
4360 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4361 for non-GCC compilers.
4362 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4365 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4368 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4369 integer before bitwise and assembly operations.
4370 (feclearexcept): Likewise.
4371 * math/test-fenvinline.c: New file.
4372 * math/Makefile: Add test-fenvinline test.
4374 2015-03-03 Alan Modra <amodra@gmail.com>
4377 * scripts/localplt.awk: Strip off symbol version.
4378 * NEWS: Mention bug fix.
4380 2015-03-02 Roland McGrath <roland@hack.frob.com>
4382 * sysdeps/pthread/timer_routines.c
4383 (timer_free_list, thread_free_list, thread_active_list): Make static.
4385 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4388 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4389 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4392 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4394 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4395 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4398 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4401 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4402 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4404 2015-03-02 Andreas Schwab <schwab@suse.de>
4406 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4409 2015-03-02 Florian Weimer <fweimer@redhat.com>
4411 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4412 Return error status.
4414 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4417 * locale/findlocale.c (_nl_find_locale): Introduce const
4418 version of loc_name and drop unsafe type casts.
4420 2015-02-27 Roland McGrath <roland@hack.frob.com>
4422 * dlfcn/tststatic2.c (main): Converted to ...
4423 (do_test): ... this.
4424 (TEST_FUNCTION): New macro.
4425 Include test-skeleton.c.
4427 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4430 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4431 (tests-pie): Add vismain.
4432 (CFLAGS-vismain.c): New.
4433 * elf/vismain.c: Add comments for PIE requirement.
4435 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4439 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4440 0x1p-56L as threshold for just returning the argument.
4441 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4442 0x1p-32L as threshold for just returning the argument.
4443 * math/auto-libm-test-in: Add more tests of atanh.
4444 * math/auto-libm-test-out: Regenerated.
4445 * sysdeps/i386/fpu/libm-test-ulps: Update.
4446 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4448 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4450 * string/bcopy.c (bcopy): Call memmove for performance.
4452 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4454 * string/bzero.c (__bzero): Call memset for performance.
4456 2015-02-27 John David Anglin <dave.anglin@bell.net>
4459 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4462 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4464 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4466 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4468 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4469 (__kernel_standard): Use CSTR macro when setting exc.name.
4470 * sysdeps/ieee754/Makefile [$(subdir) = math]
4471 (CFLAGS-k_standard.c): Remove variable.
4473 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4474 setting p and q from "else if" to "else".
4476 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4478 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4480 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4482 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4484 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4489 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4490 return pi/2 for arguments below 0x1p-113L.
4491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4492 return pi/2 for arguments below 0x1p-106L.
4493 * math/auto-libm-test-in: Add more tests of acos.
4494 * math/auto-libm-test-out: Regenerated.
4497 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4499 (__ieee754_asin): Force underflow exception for results with small
4501 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4503 (__ieee754_asinf): Force underflow exception for results with
4504 small absolute value.
4505 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4506 (__ieee754_asin): Force underflow exception for results with small
4508 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4509 (__ieee754_asinf): Force underflow exception for results with
4510 small absolute value.
4511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4512 (__ieee754_asinl): Force underflow exception for results with
4513 small absolute value.
4514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4515 (__ieee754_asinl): Force underflow exception for results with
4516 small absolute value.
4517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4518 (__ieee754_asinl): Force underflow exception for results with
4519 small absolute value.
4520 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4522 * math/auto-libm-test-in: Do not mark underflow exceptions as
4523 possibly missing for bug 16351.
4524 * math/auto-libm-test-out: Regenerated.
4527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4528 of power of 2 down when low part has opposite sign.
4529 * math/libm-test.inc (logb_test_data): Add more tests.
4531 2015-02-26 Andreas Schwab <schwab@suse.de>
4534 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4535 over collating symbol inside a bracket expression. Minor cleanup.
4536 * posix/tst-fnmatch3.c (do_test): Add test case.
4538 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4541 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4542 Adjust exponent of power of 2 down when low part has opposite
4544 * math/libm-test.inc (ilogb_test_data): Add more tests.
4546 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4549 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4550 the previous change.
4553 * locale/findlocale.c (_nl_find_locale): Retry archive search
4554 after alias expansion.
4556 2015-02-25 Roland McGrath <roland@hack.frob.com>
4558 * iconv/tst-iconv3.c (main): Converted to ...
4559 (do_test): ... this.
4560 (TEST_FUNCTION): New macro.
4561 Include test-skeleton.c.
4563 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4564 (convert): Make function static.
4565 (test_unalign): Likewise. Add const to argument pointee types.
4566 (main): Replace with static function do_test.
4567 Print "Succeeded." only if RET is zero.
4568 (TEST_FUNCTION): New macro.
4569 Include test-skeleton.c.
4571 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4572 returns a null pointer.
4574 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4576 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4577 to __memcpy_ppc only for static builds.
4579 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4582 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4583 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4584 * math/auto-libm-test-in: Add more tests of asinh.
4585 * math/auto-libm-test-out: Regenerated.
4586 * sysdeps/i386/fpu/libm-test-ulps: Update.
4587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4589 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4592 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4593 and ip6_mtuinfo definitions here.
4594 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4595 in this define too. Update comment.
4597 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4599 * elf/sprof.c (load_shobj): Tweak error message to match others.
4601 2015-02-24 Kevin Easton <kevin@guarana.org>
4603 [BZ #16145] (partial fix)
4604 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4605 to reduce lock contention.
4607 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4609 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4610 (struct timex): Update time comment.
4611 (ADJ_SETOFFSET): Define.
4613 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4617 2**56 not 2**28 as threshold for log (2x) formula.
4618 * math/auto-libm-test-in: Add more tests of acosh.
4619 * math/auto-libm-test-out: Regenerated.
4620 * sysdeps/i386/fpu/libm-test-ulps: Update.
4621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4623 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4625 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4626 parenthesis around the buf assignment.
4627 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4629 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4632 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4633 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4634 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4635 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4636 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4637 * math/libm-test.inc (scalb_test_data): Add more tests.
4639 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4642 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4643 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4645 2015-02-24 Eric Rannaud <e@nanocritical.com>
4648 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4649 * io/bits/fcntl2.h (open): Use it.
4651 * io/open.c (__libc_open): Likewise.
4652 * io/open64.c (__libc_open64): Likewise.
4653 * io/open64_2.c (__open64_2): Likewise.
4654 * io/open_2.c (__open_2): Likewise.
4655 * io/openat.c (__openat): Likewise.
4656 * io/openat64.c (__openat64): Likewise.
4657 * io/openat64_2.c (__openat64_2): Likewise.
4658 * io/openat_2.c (__openat_2): Likewise.
4659 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4660 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4661 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4662 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4663 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4664 (__open_nocancel): Likewise.
4665 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4666 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4667 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4669 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4672 * resolv/gethnamaddr.c (getanswer): Skip logging if
4673 RES_USE_DNSSEC is set.
4674 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4676 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4678 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4680 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
4682 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4683 201304L, for Unicode 7.
4685 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4688 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4689 shared library. Add gmon-start.os otherwise.
4690 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4691 $(objpfx)gmon-start.os if builing shared library.
4692 ($(objpfx)g$(static-start-installed-name)): Likewise.
4694 2015-02-23 Andreas Schwab <schwab@suse.de>
4696 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4698 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4701 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4702 (enlarge_userbuf): Likewise.
4704 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4706 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4707 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4708 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4709 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4711 2015-02-20 Joseph Myers <joseph@codesourcery.com>
4713 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4714 expression inside statement expression.
4716 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4718 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4719 <sysdeps/nptl/lowlevellock.h> and remove macros and
4720 functions that are now defined there.
4721 (SYS_futex): Remove.
4722 (lll_compare_and_swap): Remove.
4723 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4725 2015-02-19 Joseph Myers <joseph@codesourcery.com>
4728 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4729 instead of scandirat.
4730 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4731 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4732 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4734 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4735 (__scandirat): Declare. Use libc_hidden_proto.
4736 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4738 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4740 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4743 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4745 (__ieee754_atan2): For results with small absolute value, force
4746 underflow exception and remove excess range and precision from
4748 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4750 (__ieee754_atan2f): For results with small absolute value, force
4751 underflow exception and remove excess range and precision from
4753 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4755 (__atan): For results with small absolute value, force underflow
4756 exception and remove excess range and precision from return value.
4757 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4759 (__atanf): For results with small absolute value, force underflow
4760 exception and remove excess range and precision from return value.
4761 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4763 (__ieee754_atan2): Force underflow exception for results with
4764 small absolute value.
4765 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4767 (atan): Force underflow exception for results with small absolute
4769 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4770 (__atanf): Force underflow exception for results with small
4772 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4774 (__atanl): Force underflow exception for results with small
4776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4777 (__atanl): Force underflow exception for results with small
4779 * sysdeps/x86/fpu/bits/mathinline.h
4780 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4781 (__ieee754_atan2): Only define inline for long double.
4782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4783 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4784 * math/auto-libm-test-in: Do not mark underflow exceptions as
4785 possibly missing for bug 15319. Add more tests of atan2.
4786 * math/auto-libm-test-out: Regenerated.
4787 * math/libm-test.inc (casin_test_data): Do not mark underflow
4788 exceptions as possibly missing for bug 15319.
4789 (casinh_test_data): Likewise.
4790 * sysdeps/i386/fpu/libm-test-ulps: Update.
4792 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
4794 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4795 * sysdeps/mips/bits/endian.h: Fix comments.
4797 2015-02-18 Joseph Myers <joseph@codesourcery.com>
4800 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4801 (hdestroy_r): Likewise.
4802 (hsearch_r): Likewise.
4803 (__hcreate_r): Declare and use libc_hidden_proto.
4804 (__hdestroy_r): Likewise.
4805 (__hsearch_r): Likewise.
4806 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4807 (hcreate): Call __hcreate_r instead of hcreate_r.
4808 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4809 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4810 as weak alias of __hcreate_r.
4811 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4813 (hsearch_r): Rename to __hsearch_r and define as weak alias of
4815 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4817 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4818 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4819 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4820 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4822 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4824 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4825 arena_lock into a single arena_get.
4827 2015-02-17 Carlos O'Donell <carlos@redhat.com>
4829 * dl-reloc.c: Inlucde libc-internal.h.
4830 (_dl_try_allocate_static_tls): Call ALIGN_UP.
4831 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4832 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4833 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4834 (grow_heap): Likewise.
4835 * malloc/malloc.c: Include libc-internal.h.
4836 (do_check_malloc): Call powerof2.
4837 (sysmalloc): Use pagesize. Call ALIGN_UP.
4838 (systrim): Use pagesize.
4839 (mremap_chunk): Use pagesize. Call ALIGN_UP.
4840 (__libc_valloc): Use pagesize.
4841 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4843 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4846 * include/sys/resource.h (__getrlimit64): Declare. Use
4848 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4849 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
4850 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4852 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4854 [!getrlimit64] (getrlimit64): Define as weak alias of
4855 __getrlimit64. Use libc_hidden_weak.
4856 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4857 using __getrlimit64 not __new_getrlimit64.
4858 (__GI_getrlimit64): Likewise.
4859 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4861 (__GI_getrlimit64): Likewise.
4862 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4864 (getrlimit): Add __getrlimit64 alias.
4865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4867 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4869 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4870 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4872 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4874 * libio/fileops.c: Add missing sys/mman.h
4875 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4877 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4879 * manual/math.texi (Errors in Math Functions): Clarify goals
4880 regarding inexact and underflow exceptions.
4882 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4884 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4885 * sysdeps/mips/memset.S: Ditto.
4887 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
4889 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4891 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4893 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4894 (__v1longjmp): Remove versioned symbol.
4895 (__v1siglongjmp): Remove alias and versioned symbol.
4896 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4897 (__v2siglongjmp): Likewise.
4899 2015-02-16 Torvald Riegel <triegel@redhat.com>
4901 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4903 2015-02-16 Mike Frysinger <vapier@gentoo.org>
4905 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4907 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4910 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4911 zero result does not depend on the sign resulting from
4913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4915 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4916 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4918 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4919 * math/libm-test.inc (remquo_test_data): Add more tests.
4921 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
4923 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4924 Problem reported by J William Piggott.
4926 2015-02-16 Joseph Myers <joseph@codesourcery.com>
4929 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4930 products 4 * y and 2 * y where those would overflow.
4931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4933 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4934 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4936 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4937 * math/libm-test.inc (remquo_test_data): Add more tests.
4939 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4941 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4942 [defined _COMPILING_NEWLIB].
4943 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4944 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4946 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4947 [!defined __mips_isa_rev || __mips_isa_rev < 6].
4949 2015-02-16 Torvald Riegel <triegel@redhat.com>
4951 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4954 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
4957 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4958 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4959 HOST_STACK_END_ADDR): Likewise.
4961 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
4963 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4964 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4965 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4967 2015-02-13 Roland McGrath <roland@hack.frob.com>
4969 * sysdeps/generic/c++-types.data: New file.
4970 * sysdeps/generic/ld.abilist: New file.
4971 * sysdeps/generic/libBrokenLocale.abilist: New file.
4972 * sysdeps/generic/libanl.abilist: New file.
4973 * sysdeps/generic/libc.abilist: New file.
4974 * sysdeps/generic/libcrypt.abilist: New file.
4975 * sysdeps/generic/libdl.abilist: New file.
4976 * sysdeps/generic/libm.abilist: New file.
4977 * sysdeps/generic/libpthread.abilist: New file.
4978 * sysdeps/generic/libresolv.abilist: New file.
4979 * sysdeps/generic/librt.abilist: New file.
4981 2015-02-13 Joseph Myers <joseph@codesourcery.com>
4984 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4985 Compute absolute value of x as modified by fmod, not original
4987 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4988 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
4989 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
4990 RUN_TEST_ffI_f1_mod8.
4991 (remquo_test_data): Add more tests.
4993 2015-02-13 Roland McGrath <roland@hack.frob.com>
4995 * sysdeps/init_array/pt-crti.S: New file.
4997 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5000 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5001 __builtin_fmaf instead of relying on contraction of a * b + c.
5003 2015-02-12 J William Piggott <elseifthen@gmx.com>
5006 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5009 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5012 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5013 __builtin_fma instead of relying on contraction of a * b + c.
5015 2015-02-12 Roland McGrath <roland@hack.frob.com>
5017 * Makeconfig (ASFLAGS): Add -Werror=undef.
5018 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5019 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5020 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5022 * Makeconfig (after-link): New variable.
5023 (+link-pie, +link-pie-tests): Use it.
5024 (+link-static, +link-static-tests): Likewise.
5025 (+link, +link-tests): Likewise.
5026 * Makerules (build-module, build-module-asneeded): Likewise.
5027 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5029 * elf/Makefile ($(objpfx)ld.so): Likewise.
5031 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5034 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5035 both struct timeval and struct timespec.
5037 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5040 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5042 (__ieee754_exp2l): Do not multiply small fractional parts by
5044 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5047 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5048 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5049 * math/auto-libm-test-in: Add more tests of exp2.
5050 * math/auto-libm-test-out: Regenerated.
5052 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5054 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5057 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5059 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5062 2015-02-12 Andreas Schwab <schwab@suse.de>
5065 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5066 Filter out elision flags from value returned in kind.
5067 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5068 * nptl/tst-pthread-mutexattr.c: New file.
5070 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5072 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5073 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5074 into gnu-gnu, and update comment to refer to abi-tags.
5076 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5079 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5080 (__sincos): Set errno to EDOM for infinite argument.
5081 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5082 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5083 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5084 (__sincosl): Set errno to EDOM for infinite argument.
5085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5086 (__sincosl): Set errno to EDOM for infinite argument.
5087 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5088 (__sincosl): Set errno to EDOM for infinite argument.
5089 * math/libm-test.inc (sincos_test_data): Test errno setting.
5091 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5093 * string/strxfrm_l.c: Remove #define STRCMP.
5094 * string/strcoll_l.c: Remove #define STRLEN.
5095 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5096 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5098 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5100 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5101 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5102 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5103 * sysdeps/mips/mips64/Makefile: ... here.
5104 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5105 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5106 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5107 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5108 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5109 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5110 * sysdeps/mips/mips64/n64/Implies: Likewise.
5112 2015-02-10 Roland McGrath <roland@hack.frob.com>
5114 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5115 <sys/time.h>, <string.h>, and <errno.h>.
5116 (dest_offset, dest_address, value, zero): Remove unused variables.
5117 (ldouble): Remove typedef.
5118 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5119 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5121 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5122 (check): Function removed.
5124 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5125 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5126 Don't call set_sigaction_FP and remove_sigaction_FP here.
5127 (ldouble_test): Just use 'long double' as macro argument, no need for
5128 the 'ldouble' typedef.
5129 (do_test): Set up SIGFPE handler at start, using plain signal rather
5130 than sigaction. Fix code style.
5132 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5135 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5138 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5140 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5141 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5143 * sysdeps/powerpc/configure.ac: Remove file.
5144 * sysdeps/powerpc/configure: Likewise.
5146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5147 [sysdep_routines]: Remove wordcopy-power6 object.
5148 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5149 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5150 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5151 (__memmove_ppc32): Likewise.
5152 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5155 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5156 Remove preprocessor.
5158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5159 [sysdep_routines]: Remove wide chars objects.
5160 [wcsmbs]: New rule for wide char objects.
5162 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5163 Remove wordcopy-power6 obejct.
5164 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5165 Use local call for wordcopy and memcpy symbols.
5166 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5167 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5168 implementation for loader.
5169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5171 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5172 Remove wordcopy-power7 object.
5173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5175 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5176 (_wordcopy_fwd_dest_aligned): Likewise.
5177 (_wordcopy_bwd_aligned): Likewise.
5178 (_wordcopy_bwd_dest_aligned): Likewise.
5180 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5181 Rewrite to call __memmove_ppc instead of include default
5184 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5185 Remove wide chars objects.
5186 [wcsmbs]: New rule for wide char objects.
5188 2015-02-09 Andreas Schwab <schwab@suse.de>
5191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5192 in terms of __O_DIRECTORY.
5194 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5196 * time/getdate.c: Include <stdbool.h>.
5197 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5199 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5202 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5204 Add ersatz _Static_assert on older C hosts
5205 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5206 pre-C11 C platform that is not known to support _Static_assert.
5208 2015-02-07 Richard Braun <rbraun@sceen.net>
5210 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5212 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5214 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5216 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5217 priority against unexistent AIO_PRIO_DELTA_MAX.
5218 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5220 * misc/fchflags.c (fchflags): Likewise.
5221 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5222 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5223 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5224 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5225 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5227 [__USE_MISC] (chflags, fchflags): Declare functions.
5228 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5229 EINVAL when nfds is greater than FD_SETSIZE.
5230 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5231 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5233 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5234 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5235 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5237 * hurd/hurd/signal.h (_hurd_self_sigstate,
5238 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5239 Explicit casts from void *.
5240 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5241 * abi-tags: Rename gnu-gnu os into gnu.
5244 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5245 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5246 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5247 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5248 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5249 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5252 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5253 duplicates ADDR->sun_path with sockaddr LEN limitation.
5254 * sysdeps/mach/hurd/connect.c: Include <string.h>
5255 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5256 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5257 * sysdeps/mach/hurd/sendto.c: Likewise.
5258 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5259 implementing it by hand.
5261 2015-02-06 Roland McGrath <roland@hack.frob.com>
5263 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5264 Use sfi_breg on ldr.
5265 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5268 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5270 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5271 Test SIGSETXID only if it's defined.
5273 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5275 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5276 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5278 * nptl/tst-align2.c: Moved ...
5279 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5280 * nptl/Makefile (tests): Remove tst-align2.
5281 * sysdeps/unix/sysv/linux/Makefile
5282 [$(subdir) = nptl] (tests): Add tst-align-clone.
5283 * nptl/tst-getpid1.c: Moved ...
5284 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5285 * nptl/tst-getpid2.c: Moved ...
5286 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5287 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5288 * sysdeps/unix/sysv/linux/Makefile
5289 [$(subdir) = nptl] (tests): ... here.
5290 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5291 * sysdeps/unix/sysv/linux/Makefile
5292 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5294 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5295 Drop trailing \n from perror argument. Use return rather than exit.
5297 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5299 * nptl/tst-cancel21.c (do_test): Likewise.
5300 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5301 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5302 [!SA_SIGINFO]: Make it a stub test.
5304 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5305 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5307 * posix/tst-getlogin.c: Move to ...
5308 * login/tst-getlogin.c: ... here.
5309 * posix/Makefile (tests): Move tst-getlogin to ...
5310 * login/Makefile (tests): ... here.
5312 * libio/tst-atime.c (do_test): Move local variables SV and E
5313 inside [ST_NOATIME] conditional.
5315 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5317 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5319 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5320 (wait_code): New function replaces macro.
5321 Call nanosleep rather than syscall.
5323 * nptl/pt-system.c: Rewritten. Put everything under
5324 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5325 Use IFUNC to redirect when possible.
5327 * nptl/pt-longjmp.c: Rewritten. Put everything under
5328 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5329 Use IFUNC to redirect when possible.
5331 * nptl/pt-fork.c: Rewritten. Put everything under
5332 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5333 Use IFUNC to redirect when possible.
5334 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5336 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5337 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5338 unconditionally nowadays. This included the only reference to
5339 __vdso_clock_gettime that appears outside libc proper.
5340 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5341 Remove version set (containing only __vdso_clock_gettime).
5342 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5343 Add attribute_hidden.
5344 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5345 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5346 libc_hidden_data_def.
5347 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5348 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5350 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5351 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5352 setrpcent, and getrpcport to ...
5353 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5354 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5355 getrpcbynumber_r, and getrpcent_r to ...
5356 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5357 * inet/getrpcbyname.c: Moved ...
5358 * sunrpc/getrpcbyname.c: ... here.
5359 * inet/getrpcbyname_r.c: Moved ...
5360 * sunrpc/getrpcbyname_r.c: ... here.
5361 * inet/getrpcbynumber.c: Moved ...
5362 * sunrpc/getrpcbynumber.c: ... here.
5363 * inet/getrpcbynumber_r.c: Moved ...
5364 * sunrpc/getrpcbynumber_r.c: ... here.
5365 * inet/getrpcent.c: Moved ...
5366 * sunrpc/getrpcent.c: ... here.
5367 * inet/getrpcent_r.c: Moved ...
5368 * sunrpc/getrpcent_r.c: ... here.
5369 * inet/Makefile (routines): Move those to ...
5370 * sunrpc/Makefile (routines): ... here.
5371 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5372 the $(subdirs) list.
5373 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5374 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5375 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5376 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5378 * elf/Makefile (routines): Include $(all-dl-routines), not just
5380 (rtld-routines): Likewise. Use = rather than :=.
5381 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5382 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5383 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5384 * sysdeps/arm/Makefile: Likewise.
5385 * sysdeps/i386/Makefile: Likewise.
5386 * sysdeps/x86_64/Makefile: Likewise.
5387 * sysdeps/hppa/Makefile [$(subdir) = elf]
5388 (sysdep_routines, sysdep-rtld-routines): Don't add
5389 $(sysdep-dl-routines) to these.
5390 * sysdeps/ia64/Makefile: Likewise.
5391 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5392 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5393 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5394 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5395 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5396 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5397 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5398 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5399 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5400 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5401 these; sysdep-dl-routines alone is enough.
5403 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5406 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5407 where multiplication results in zero and third argument is finite
5409 * math/auto-libm-test-in: Add more tests of fma.
5410 * math/auto-libm-test-out: Regenerated.
5412 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5413 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5414 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5415 (_FP_CMP_EQ): Likewise.
5416 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5418 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5419 extra argument CHECK_NAN. Redefine as wrapper around
5422 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5424 * version.h (RELEASE): Set to "stable".
5425 (VERSION): Set to "2.21"
5426 * include/features.h (__GLIBC_MINOR__): Set to 21.
5428 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5430 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5431 Paul Eggert <eggert@cs.ucla.edu>
5434 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5436 size in bytes. Store needed elements in wpmax. Use needed size
5437 in bytes for extend_alloca.
5439 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5441 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5442 binutls 2.25, and texinfo 5.2.
5443 * INSTALL: Regenerate.
5444 * sysdeps/nios2/configure: Regenerate.
5445 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5446 * manual/contrib.texi: Update.
5470 * po/pt_BR.po: Update.
5479 * po/zh_CN.po: Update.
5480 * po/zh_TW.po: Update.
5482 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5483 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5484 * sysdeps/hppa/dl-irel.h: Remove #warning.
5485 * sysdeps/hppa/entry.h: Provide prototype for
5486 __canonicalize_funcptr_for_compare and cast argument.
5487 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5488 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5489 * sysdeps/hppa/sotruss-lib.c: New file.
5490 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5491 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5492 (atomic_compare_and_exchange_bool_acq): Likewise.
5493 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5494 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5496 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5497 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5498 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5500 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5502 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5503 called function in non-PIC case.
5505 2015-01-31 David S. Miller <davem@davemloft.net>
5507 * sysdeps/sparc/sparc32/bits/atomic.h
5508 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5509 unlock not after it.
5510 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5511 volatile register usage warnings from the compiler.
5513 * sysdeps/sparc/nptl/sem_init.c: Delete.
5514 * sysdeps/sparc/nptl/sem_post.c: Delete.
5515 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5516 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5517 * sysdeps/sparc/sparc32/sem_init.c: New file.
5518 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5519 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5520 padding explicitly initialized.
5521 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5522 padding for in-semaphore spinlock.
5523 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5524 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5525 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5526 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5527 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5528 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5529 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5530 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5532 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5533 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5535 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5539 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5540 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5542 (index_AVX_Fast_Unaligned_Load): Likewise.
5543 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5544 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5545 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5546 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5547 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5548 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5549 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5550 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5551 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5553 2015-01-29 Andreas Schwab <schwab@suse.de>
5555 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5557 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5560 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5562 2015-01-28 Martin Sebor <msebor@redhat.com>
5564 * math/README.libm-test: Clarify. Add "How to read the test output."
5566 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5568 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5571 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5573 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5574 (__HAVE_64B_ATOMICS): Define to 0.
5576 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5579 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5580 value to set as new flag.
5583 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5584 and use _ARCH_PPCSQ instead.
5585 (__ieee754_sqrt): Likewise.
5586 (__ieee754_sqrtf): Likewise.
5587 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5588 _ARCH_PPCSQ is defined.
5589 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5591 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5592 _ARCH_PPCSQ is defined.
5593 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5595 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5597 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5599 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5600 bug (GCC BZ #64739).
5602 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5604 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5605 Mark _retval as used.
5606 (lll_futex_wake_unlock): Likewise.
5607 (lll_futex_timed_wait_requeue_pi): Likewise.
5609 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5610 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5613 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5616 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5617 (__bswap_64): Mark as __always_inline.
5619 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5622 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5623 when none of the search directories exist.
5625 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5628 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5629 power8 in .machine directive.
5632 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5633 set dependency from opd value.
5635 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5638 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5641 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5644 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5646 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5648 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5649 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5650 Replace 1UL with (uint64_t) 1.
5651 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5654 2015-01-23 Roland McGrath <roland@hack.frob.com>
5656 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5657 (if_freenameindex): Likewise.
5659 * resource/getrlimit64.c: Add missing libc_hidden_def.
5661 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5663 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5665 (_FP_FMA): Likewise.
5666 (_FP_TO_INT_ROUND): Likewise.
5667 (_FP_FROM_INT): Likewise.
5669 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5673 Make code racy and cancel safe.
5675 2015-01-21 Carlos O'Donell <carlos@redhat.com>
5677 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5678 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5681 * pwd/tst-getpw.c: Rewrite.
5684 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5685 (modules-names): Add moddummy1 and moddummy2.
5686 ($(objpfx)tst-rec-dlopen): Define.
5687 * dlfcn/moddummy1.c: New file.
5688 * dlfcn/moddummy2.c: New file.
5689 * dlfcn/tst-rec-dlopen.c: New file.
5690 * elf/dl-cache.c (_dl_load_cache_lookup):
5691 Return char*. Copy result with alloca/strcpy/strdup.
5692 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5693 returns char*. Free cached. If not saving realname
5695 * elf/dl-open.c (dl_open_worker): Do not assert that
5696 _r_debug->r_state is RT_CONSISTENT.
5697 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5700 2015-01-21 Torvald Riegel <triegel@redhat.com>
5701 Carlos O'Donell <carlos@redhat.com>
5704 * nptl/sem_waitcommon.c: New file.
5705 * nptl/sem_wait.c: Include sem_waitcommon.c.
5706 (__sem_wait_cleanup, do_futex_wait): Remove.
5707 (__new_sem_wait): Adapt.
5708 (__new_sem_trywait): New function.
5709 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5710 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5711 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5712 (sem_timedwait): Adapt.
5713 * nptl/sem_post.c (__new_sem_post): Adapt.
5714 (futex_wake): New function.
5715 (__old_sem_post): Add release MO fence.
5716 * nptl/sem_open.c (sem_open): Adapt.
5717 * nptl/sem_init.c (__new_sem_init): Adapt.
5718 (futex_private_if_supported): New function.
5719 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5720 (__old_sem_getvalue): Add using previous code.
5721 * sysdeps/nptl/internaltypes.h: Adapt.
5722 * nptl/tst-sem13.c (do_test): Adapt.
5723 * nptl/tst-sem11.c (main): Adapt.
5724 * nptl/sem_trywait.c: Remove.
5725 * nptl/DESIGN-sem.txt: Remove.
5726 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5727 (gen-as-const-headers): Remove structsem.sym.
5728 * nptl/structsem.sym: Remove.
5729 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5730 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5731 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5732 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5733 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5734 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5735 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5736 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5737 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5738 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5739 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5740 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5741 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5742 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5743 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5744 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5745 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5746 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5747 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5748 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5749 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5750 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5752 2015-01-20 Carlos O'Donell <carlos@redhat.com>
5754 * INSTALL: Regenerated.
5756 * po/libc.pot: Regenerated.
5758 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5759 Sandra Loosemore <sandra@codesourcery.com>
5760 Andrew Jenner <andrew@codesourcery.com>
5761 Joseph Myers <joseph@codesourcery.com>
5762 Nathan Sidwell <nathan@codesourcery.com>
5764 * NEWS: Mention new Nios II port.
5765 * sysdeps/nios2/Implies: New file.
5766 * sysdeps/nios2/Makefile: New file.
5767 * sysdeps/nios2/Subdirs: New file.
5768 * sysdeps/nios2/Versions: New file.
5769 * sysdeps/nios2/__longjmp.S: New file.
5770 * sysdeps/nios2/abort-instr.h: New file.
5771 * sysdeps/nios2/backtrace.c: New file.
5772 * sysdeps/nios2/bits/endian.h: New file.
5773 * sysdeps/nios2/bits/fenv.h: New file.
5774 * sysdeps/nios2/bits/link.h: New file.
5775 * sysdeps/nios2/bits/setjmp.h: New file.
5776 * sysdeps/nios2/bsd-_setjmp.S: New file.
5777 * sysdeps/nios2/bsd-setjmp.S: New file.
5778 * sysdeps/nios2/configure: New generated file.
5779 * sysdeps/nios2/configure.ac: New file.
5780 * sysdeps/nios2/crti.S: New file.
5781 * sysdeps/nios2/crtn.S: New file.
5782 * sysdeps/nios2/dl-init.c: New file.
5783 * sysdeps/nios2/dl-machine.h: New file.
5784 * sysdeps/nios2/dl-sysdep.h: New file.
5785 * sysdeps/nios2/dl-tls.h: New file.
5786 * sysdeps/nios2/dl-trampoline.S: New file.
5787 * sysdeps/nios2/gccframe.h: New file.
5788 * sysdeps/nios2/gmp-mparam.h: New file.
5789 * sysdeps/nios2/jmpbuf-offsets.h: New file.
5790 * sysdeps/nios2/jmpbuf-unwind.h: New file.
5791 * sysdeps/nios2/ldsodefs.h: New file.
5792 * sysdeps/nios2/libc-tls.c: New file.
5793 * sysdeps/nios2/libm-test-ulps: New file.
5794 * sysdeps/nios2/machine-gmon.h: New file.
5795 * sysdeps/nios2/math-tests.h: New file.
5796 * sysdeps/nios2/math_private.h: New file.
5797 * sysdeps/nios2/memusage.h: New file.
5798 * sysdeps/nios2/nptl/Makefile: New file.
5799 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5800 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5801 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5802 * sysdeps/nios2/nptl/pthreaddef.h: New file.
5803 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5804 * sysdeps/nios2/nptl/tls.h: New file.
5805 * sysdeps/nios2/preconfigure: New file.
5806 * sysdeps/nios2/s_fma.c: New file.
5807 * sysdeps/nios2/s_fmaf.c: New file.
5808 * sysdeps/nios2/setjmp.S: New file.
5809 * sysdeps/nios2/sfp-machine.h: New file.
5810 * sysdeps/nios2/sotruss-lib.c: New file.
5811 * sysdeps/nios2/stackguard-macros.h: New file.
5812 * sysdeps/nios2/stackinfo.h: New file.
5813 * sysdeps/nios2/start.S: New file.
5814 * sysdeps/nios2/sysdep.h: New file.
5815 * sysdeps/nios2/tls-macros.h: New file.
5816 * sysdeps/nios2/tst-audit.h: New file.
5817 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5818 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5819 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5820 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5821 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5822 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5823 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5824 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5825 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5826 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5827 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5828 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5829 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5830 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5831 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5832 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5833 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5834 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5835 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5836 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5837 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5838 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5839 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5840 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5841 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5842 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5843 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5844 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5845 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5846 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5847 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5848 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5849 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5850 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5851 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5852 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5853 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5854 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5855 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5856 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5857 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5858 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5859 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5860 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5862 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5865 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5866 (getutent): Use weak_alias in non SHARED case
5867 and default_symbol_version in SHARED case.
5868 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5869 (getutent_r, pututline): Likewise.
5870 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5871 (getutid): Likewise.
5872 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5873 (getutid_r): Likewise.
5874 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5875 (getutline): Likewise.
5876 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5877 (getutline_r): Likewise.
5878 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5879 (updwtmp): Likewise.
5881 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5884 * sysdeps/s390/s390-32/memcmp.S
5885 (memcmp_g5): Rename to __memcmp_g5.
5886 * sysdeps/s390/s390-32/memcpy.S
5887 (memcpy_g5): Rename to __memcpy_g5.
5888 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5889 (memcpy_mvcle) Rename to __memcpy_mvcle.
5890 * sysdeps/s390/s390-32/memset.S
5891 (memset_g5): Rename to __memset_g5.
5892 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5893 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5894 and use prefixed functions.
5895 * sysdeps/s390/s390-32/multiarch/memcmp.S
5896 (memcmp_z196): Rename to __memcmp_z196.
5897 (memcmp_z10): Rename to __memcmp_z10.
5898 (memcmp): Set alias to __memcmp_g5.
5899 (bcmp): Set alias to __memcmp_g5.
5900 * sysdeps/s390/s390-32/multiarch/memcpy.S
5901 (memcpy_z196): Rename to __memcpy_z196.
5902 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5903 (memcpy_z10): Rename to __memcpy_z10.
5904 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5905 (memcpy): Set alias to __memcpy_g5.
5906 * sysdeps/s390/s390-32/multiarch/memset.S
5907 (memset_z196): Rename to __memset_z196.
5908 Jump to __memset_mvcle instead of memset_mvcle.
5909 (memset_z10): Rename to __memset_z10.
5910 Jump to __memset_mvcle instead of memset_mvcle.
5911 (memset_mvcle) Rename to __memset_mvcle.
5912 (memset): Set alias to __memset_g5.
5913 * sysdeps/s390/s390-64/memcmp.S
5914 (memcmp_z900): Rename to __memcmp_z900.
5915 * sysdeps/s390/s390-64/memcpy.S
5916 (memcpy_z900): Rename to __memcpy_z900.
5917 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5918 (memcpy_mvcle) Rename to __memcpy_mvcle.
5919 * sysdeps/s390/s390-64/memset.S
5920 (memset_z900): Rename to __memset_z900.
5921 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5922 (IFUNC_RESOLVE): Prefix ifunc-resolve function
5923 and use prefixed functions.
5924 * sysdeps/s390/s390-64/multiarch/memcmp.S
5925 (memcmp_z196): Rename to __memcmp_z196.
5926 (memcmp_z10): Rename to __memcmp_z10.
5927 (memcmp): Set alias to __memcmp_z900.
5928 (bcmp): Set alias to __memcmp_z900.
5929 * sysdeps/s390/s390-64/multiarch/memcpy.S
5930 (memcpy_z196): Rename to __memcpy_z196.
5931 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5932 (memcpy_z10): Rename to __memcpy_z10.
5933 Jump to __memcpy_mvcle instead of memcpy_mvcle.
5934 (memcpy): Set alias to __memcpy_z900.
5935 * sysdeps/s390/s390-64/multiarch/memset.S
5936 (memset_z196): Rename to __memset_z196.
5937 Jump to __memset_mvcle instead of memset_mvcle.
5938 (memset_z10): Rename to __memset_z10.
5939 Jump to __memset_mvcle instead of memset_mvcle.
5940 (memset_mvcle) Rename to __memset_mvcle.
5941 (memset): Set alias to __memset_z900.
5943 2015-01-14 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5947 __fesetenv instead of fesetenv.
5949 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5951 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5954 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5959 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5960 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5961 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5962 strncmp-power8 object.
5963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5964 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5965 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5968 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5969 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5971 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5972 trailing byte check.
5974 2015-01-13 David S. Miller <davem@davemloft.net>
5976 * include/signal.h (__sigreturn): Guard with __USE_MISC.
5978 2015-01-13 Roland McGrath <roland@hack.frob.com>
5980 * login/logout.c (logout): Use memset rather than bzero.
5981 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5982 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5983 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5984 (_gethtbyaddr): Likewise.
5985 * locale/programs/simple-hash.c (bcopy): Macro removed.
5987 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5989 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5990 Add strcmp-power8 object.
5991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5992 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5993 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5994 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5995 __strcmp_power8 implementation.
5996 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5999 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6000 Add strncpy-power8 and stpncpy-power8 objects.
6001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6002 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6004 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6005 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6006 __stpncpy_power8 implementation.
6007 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6008 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6009 __strncpy_power8 implementation.
6010 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6011 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6014 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6015 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6016 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6018 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6019 strncat-power8 object.
6020 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6021 __strcat_power8 implementation.
6022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6023 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6024 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6025 optimized strcat for power8.
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6028 strcpy-power8 and stpcpy-power8 objects.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6030 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6032 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6033 multiarch stpcpy implementation for POWER8.
6034 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6035 multiarch strcpy implementation for POWER8.
6036 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6037 __strcpy_power8 function.
6038 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6040 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6044 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6047 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6048 weights and rules. Use do_xfrm_cached if data fits in cache,
6049 do_xfrm otherwise. Moved former main loop to...
6050 * (do_xfrm_cached): New function.
6051 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6052 find_idx, find_position and stack_push.
6053 * (find_idx): New function.
6054 * (find_position): Likewise.
6055 * localedata/sort-test.sh: Added test run for do_xfrm.
6056 * localedata/xfrm-test.c (main): Added command line option
6057 -nocache to run the test with strings that are too large for
6060 2015-01-13 Torvald Riegel <triegel@redhat.com>
6062 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6063 variable to lll_futex_wake call, not the value itself.
6065 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6069 twom64. Adjust value to 0x1p-64L.
6070 (__scalblnl): Only return standard underflowing result for K <=
6071 -64 not K <= -63; adjust exponent for underflowing result by 64
6073 * math/libm-test.inc (scalbn_test_data): Add more tests.
6074 (scalbln_test_data): Likewise.
6077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6079 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6081 * math/libm-test.inc (scalbn_test_data): Add more tests.
6082 (scalbln_test_data): Likewise.
6084 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6085 Stefani Seibold <stefani@seibold.net>
6087 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6088 (sysdep_routines): Add dl-vdso here, ...
6089 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6090 (sysdep_routines): ... not here.
6091 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6092 fallback when vDSO is not presented.
6093 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6094 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6095 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6096 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6097 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6098 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6099 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6101 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6102 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6103 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6104 fallback configurable symbol when vDSO is not available.
6105 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6106 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6107 be able to redefine fallback symbol when vDSO is not available.
6108 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6109 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6111 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6114 (TLS_INIT_TP): Add tm_capable initialization.
6115 (TLS_DEFINE_INIT_TP): Likewise.
6116 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6118 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6119 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6121 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6122 transactoion is lock elision is built and TCB tm_capable is set.
6123 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6125 (INTERNAL_SYSCALL_NCS): Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6127 (INTERNAL_SYSCALL_NCS): Likewise.
6128 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6130 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6132 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6133 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6134 and remove it for 32 bits case.
6135 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6138 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6139 Disable lock elision with rdlocks if elision is not available.
6141 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6142 (sysdep_routines): Add lock elision objects.
6143 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6144 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6145 [pthread_mutex_t] (__elision): Add field.
6146 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6147 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6148 elision definitions for powerpc.
6149 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6150 implementation of lock elision for powerpc.
6151 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6152 implementation of timed lock elision for powerpc.
6153 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6154 implementation of trylock with lock elision for powerpc.
6155 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6156 implementaion of unlock for lock elision for powerpc.
6157 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6158 automatic enable lock elision for mutexes.
6159 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6160 transaction execution definitions for powerpc.
6161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6163 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6164 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6165 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6166 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6169 2015-01-09 Roland McGrath <roland@hack.frob.com>
6171 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6172 for #include of <shm-directory.h>.
6174 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6176 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6177 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6179 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6182 * NEWS: Mention bug fix.
6183 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6184 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6185 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6187 2015-01-09 Torvald Riegel <triegel@redhat.com>
6189 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6191 2015-01-09 Torvald Riegel <triegel@redhat.com>
6193 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6195 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6197 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6198 pointer and cast to uintptr_t.
6200 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6202 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6204 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6206 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6208 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6211 2015-01-08 Roland McGrath <roland@hack.frob.com>
6213 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6214 <nptl/pthreadP.h> instead.
6215 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6217 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6219 [__SIGRTMIN] (init): Function removed.
6220 [__SIGRTMIN] (initialized): Variable removed.
6221 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6222 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6223 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6224 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6225 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6226 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6227 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6228 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6229 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6230 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6231 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6232 * sysdeps/nptl/allocrtsig.c: New file.
6233 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6234 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6235 * sysdeps/generic/testrtsig.h: File removed.
6237 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6238 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6240 * nptl/nptl-init.c (pthread_functions): Conditionalize
6241 .ptr__nptl_setxid initialization on [SIGSETXID].
6243 * sysdeps/nptl/sys/procfs.h: New file.
6244 * nptl_db/Makefile (headers): Add it.
6245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6247 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6248 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6249 * nptl/pthread_attr_setaffinity.c: Include it.
6250 * nptl/pthread_setattr_default_np.c: Likewise.
6251 * nptl/check-cpuset.h: New file.
6253 2015-01-08 Richard Henderson <rth@redhat.com>
6255 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6256 (CFLAGS-tst-execstack-prog.c): Likewise.
6257 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6259 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6260 Sandra Loosemore <sandra@codesourcery.com>
6261 Andrew Jenner <andrew@codesourcery.com>
6262 Joseph Myers <joseph@codesourcery.com>
6263 Nathan Sidwell <nathan@codesourcery.com>
6265 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6266 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6267 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6268 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6269 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6270 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6271 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6272 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6273 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6274 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6275 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6276 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6277 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6278 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6279 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6280 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6281 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6283 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6286 timespec struct member in syscall macro.
6287 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6288 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6289 first timeval struct member in syscall macro.
6290 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6292 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6295 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6296 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6297 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6298 __feupdateenv and define as weak alias of __feupdateenv. Use
6300 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6302 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6303 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6304 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6305 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6307 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6308 __feupdateenv and define as weak alias of __feupdateenv. Use
6310 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6312 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6313 __feupdateenv and define as weak alias of __feupdateenv. Use
6315 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6317 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6318 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6319 (__feupdateenv): Likewise.
6320 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6321 __feupdateenv and define as weak alias of __feupdateenv. Use
6323 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6324 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6326 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6328 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6330 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6331 __feupdateenv instead of feupdateenv.
6332 (default_libc_feupdateenv_test): Likewise.
6333 (libc_feresetround_ctx): Likewise.
6335 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6337 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6340 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6342 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6343 COLL_SYM in a couple of places to avoid uninitialized variable
6344 wanings on tilegx gcc 4.8.2.
6346 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6348 * sysdeps/aarch64/strcpy.S: New file.
6349 * sysdeps/aarch64/stpcpy.S: New file.
6352 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6354 * sysdeps/aarch64/strrchr.S: New file.
6357 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6360 * stdlib/setenv.c: Fix memory leak when setting large,
6363 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6366 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6367 and tabs from buffer before parsing fstab entry.
6368 * misc/tst-mntent.c (main): Add test for mount entry with
6369 trailing spaces and tabs.
6371 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6374 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6375 * math/fesetround.c (fesetround): Rename to __fesetround and
6376 define as weak alias of __fesetround. Use libm_hidden_weak.
6377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6378 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6379 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6380 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6381 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6382 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6383 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6384 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6385 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6386 __fesetround_inline.
6387 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6388 __fesetround_inline instead of __fesetround.
6389 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6390 __fesetround and define as weak alias of __fesetround. Use
6391 libm_hidden_weak. Call __fesetround_inline instead of
6393 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6394 __fesetround and define as weak alias of __fesetround. Use
6396 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6398 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6400 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6401 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6402 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6403 __fesetround and define as weak alias of __fesetround. Use
6405 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6406 __fesetround instead of fesetround.
6407 (default_libc_feholdexcept_setround): Likewise.
6408 (libc_feholdsetround_ctx): Likewise.
6409 (libc_feholdsetround_noex_ctx): Likewise.
6412 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6413 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6414 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6415 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6416 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6417 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6418 define as weak alias of __fesetenv. Use libm_hidden_weak.
6419 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6420 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6421 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6422 define as weak alias of __fesetenv. Use libm_hidden_weak.
6423 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6424 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6425 define as weak alias of __fesetenv. Use libm_hidden_weak.
6426 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6428 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6429 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6431 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6432 define as weak alias of __fesetenv. Use libm_hidden_weak.
6433 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6434 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6435 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6436 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6437 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6438 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6439 __fesetenv instead of fesetenv.
6440 (libc_feresetround_noex_ctx): Likewise.
6441 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6442 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6443 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6444 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6445 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6446 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6447 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6448 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6449 (__feupdateenv): Likewise.
6450 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6452 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6453 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6455 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6458 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6459 addresses have been freed.
6461 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6463 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6466 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6468 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6469 Clean up check_pf allocation pattern. addresses
6471 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6474 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6475 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6476 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6477 * nptl/pthread_join.c (pthread_join): Likewise.
6478 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6479 * sysdeps/posix/waitid.c (__waitid): Likewise.
6480 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6481 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6482 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6483 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6484 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6486 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6487 (__libc_pread64): Likewise.
6488 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6489 (__libc_pwrite): Likewise.
6490 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6491 (__libc_pwrite64): Likewsie.
6492 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6493 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6494 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6495 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6496 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6497 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6498 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6502 (__libc_pread64): Likewise.
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6506 (__libc_pwrite64): Likewise.
6507 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6508 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6509 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6510 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6511 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6512 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6513 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6514 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6515 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6516 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6517 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6518 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6519 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6520 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6521 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6522 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6525 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6527 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6528 (CFLAGS-test-double.c): Likewise.
6529 (CFLAGS-test-ldouble.c): Likewise.
6530 (CPPFLAGS-test-ifloat.c): Likewise.
6531 (CPPFLAGS-test-idouble.c): Likewise.
6532 (CPPFLAGS-test-ildoubl.c): Likewise.
6533 (CFLAGS-test-test-fenv.c): Remove variable.
6534 (CFLAGS-test-misc.c): Likewise.
6536 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6539 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6540 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6541 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6542 CLOCKS_PER_SEC == 1000000.
6543 * time/clocktest.c (main): Replace %ld with %jd and cast to
6546 2015-01-05 Roland McGrath <roland@hack.frob.com>
6548 * sysdeps/generic/unwind-resume.h: New file.
6549 * sysdeps/gnu/unwind-resume.c: Include it.
6550 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6551 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6553 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6554 global rather than static.
6555 (_Unwind_Resume): Update user.
6556 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6557 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6558 rather than static. Add __attribute__ ((cold)).
6559 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6560 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6561 * sysdeps/arm/arm-unwind-resume.S: New file.
6562 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6563 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6564 * sysdeps/arm/Makefile [$(subdir) = csu]
6565 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6566 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6567 Add rt-arm-unwind-resume.
6569 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6570 Add pt-arm-unwind-resume.
6571 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6572 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6574 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6577 * include/fenv.h (__feholdexcept): Declare. Use
6579 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6580 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6581 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6582 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6583 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6584 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6585 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6586 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6587 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6588 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6589 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6590 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6591 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6592 (feholdexcept): Likewise.
6593 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6594 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6595 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6596 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6597 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6598 __feholdexcept instead of feholdexcept.
6599 (default_libc_feholdexcept_setround): Likewise.
6601 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6603 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6604 to avoid using stl/str to align destination.
6606 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6608 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6610 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6613 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6614 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6615 Define as weak alias not strong alias.
6617 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6619 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6620 bltzal with addiupc.
6621 (RTLD_START): Ditto.
6623 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6625 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6626 for __vdso_* functions in declarations.
6627 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6629 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6630 INTERNAL_VSYSCALL): Use struct return types to check for error.
6632 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6633 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6634 function with cast from llround().
6635 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6636 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6639 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6642 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6643 Define as weak alias not strong alias.
6646 * ctype/ctype-c99.c: New file. isblank implementation moved from
6648 * ctype/ctype-extn.c: ... here.
6649 (__isblank_l): Move to ...
6650 * ctype/ctype-c99_l.c: ... here. New file.
6651 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6652 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6654 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6655 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6656 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6657 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6658 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6661 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6662 (posix_fadvise64): Define as weak alias not strong alias.
6663 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6664 (posix_fallocate64): Likewise.
6665 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6667 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6668 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6669 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6670 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6671 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6673 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6676 * NEWS: Mention bug fix.
6677 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6678 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6679 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6680 (HOST_STACK_END_ADDR): Likewise.
6682 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6685 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6686 * math/fegetround.c (fegetround): Rename to __fegetround and
6687 define as weak alias of __fegetround. Use libm_hidden_weak.
6688 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6689 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6690 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6691 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6692 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6693 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6694 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6695 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6696 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6697 Undefine after rather than before function definition; use
6698 parentheses around function name in definition.
6699 (__fegetround): Also undefine macro after function definition.
6700 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6701 __fegetround and define as weak alias of __fegetround. Use
6702 libm_hidden_weak. Do not undefine as macro.
6703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6705 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6706 __fegetround and define as weak alias of __fegetround. Use
6708 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6709 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6710 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6711 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6712 __fegetround and define as weak alias of __fegetround. Use
6714 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6715 __fegetround instead of fegetround.
6718 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6719 Condition macro definition on [__USE_MISC].
6722 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6723 (struct sigaction): Change type of sa_flags field to int.
6726 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6727 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6730 * nptl/version.c (banner): Use single year in copyright notice.
6732 * NEWS: Update copyright dates.
6733 * catgets/gencat.c (print_version): Likewise.
6734 * csu/version.c (banner): Likewise.
6735 * debug/catchsegv.sh: Likewise.
6736 * debug/pcprofiledump.c (print_version): Likewise.
6737 * debug/xtrace.sh (do_version): Likewise.
6738 * elf/ldconfig.c (print_version): Likewise.
6739 * elf/ldd.bash.in: Likewise.
6740 * elf/pldd.c (print_version): Likewise.
6741 * elf/sotruss.sh: Likewise.
6742 * elf/sprof.c (print_version): Likewise.
6743 * iconv/iconv_prog.c (print_version): Likewise.
6744 * iconv/iconvconfig.c (print_version): Likewise.
6745 * locale/programs/locale.c (print_version): Likewise.
6746 * locale/programs/localedef.c (print_version): Likewise.
6747 * login/programs/pt_chown.c (print_version): Likewise.
6748 * malloc/memusage.sh (do_version): Likewise.
6749 * malloc/memusagestat.c (print_version): Likewise.
6750 * malloc/mtrace.pl: Likewise.
6751 * manual/libc.texinfo: Likewise.
6752 * nptl/version.c (banner): Likewise.
6753 * nscd/nscd.c (print_version): Likewise.
6754 * nss/getent.c (print_version): Likewise.
6755 * nss/makedb.c (print_version): Likewise.
6756 * posix/getconf.c (main): Likewise.
6757 * scripts/test-installation.pl: Likewise.
6758 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6760 2015-01-02 Will Newton <will.newton@linaro.org>
6762 * sysdeps/arm/armv7/configure: Removed.
6763 * sysdeps/arm/armv7/configure.ac: Likewise.
6765 2015-01-02 Joseph Myers <joseph@codesourcery.com>
6767 * All files with FSF copyright notices: Update copyright dates
6768 using scripts/update-copyrights.
6769 * intl/plural.c: Regenerated.
6770 * locale/programs/charmap-kw.h: Likewise.
6771 * locale/programs/locfile-kw.h: Likewise.
6773 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6775 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6777 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6780 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6781 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6782 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6783 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6784 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6785 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6786 define as weak alias of __fegetenv. Use libm_hidden_weak.
6787 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6788 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6789 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6790 define as weak alias of __fegetenv. Use libm_hidden_weak.
6791 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6792 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6793 define as weak alias of __fegetenv. Use libm_hidden_weak.
6794 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6796 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6797 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6799 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6800 define as weak alias of __fegetenv. Use libm_hidden_weak.
6801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6802 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6803 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6804 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6805 and define as weak alias of __fegetenv. Use libm_hidden_weak.
6806 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6807 __fegetenv instead of fegetenv.
6808 (libc_feholdsetround_noex_ctx): Likewise.
6810 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
6812 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6813 (Elf_MIPS_ABIFlags_v0): New structure.
6814 (EF_MIPS_FP64): Define.
6815 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6816 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6817 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6818 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6819 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6820 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6821 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6822 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6823 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6824 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6825 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6826 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6827 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6828 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6829 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6830 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6831 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6832 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6833 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6834 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6835 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6836 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6838 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6840 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6841 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6842 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6843 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6844 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6845 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6846 * sysdeps/mips/tst-abi-interlink.c: Likewise.
6847 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6848 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6849 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6850 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6851 record the current FP ABI extension.
6852 (mips-mode-switch): Define to show if kernel headers support mode
6854 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6855 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6856 supported SYSV ABI version to 3.
6857 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6860 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6861 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6863 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6865 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6867 2014-12-31 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6870 __fegetround and redefine to call __fegetround. Remove condition
6871 on [!__NO_MATH_INLINES].
6872 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6874 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6875 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6877 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6878 instead of <fenv_libc.h>.
6879 (__llrintl): Call fegetround instead of __fegetround.
6880 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6881 instead of <fenv_libc.h>.
6882 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6883 (__lrintl): Call fegetround instead of __fegetround.
6884 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6885 instead of <fenv_libc.h>.
6886 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6887 (__rintl): Call fegetround instead of __fegetround.
6889 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6891 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6894 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6897 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6898 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6899 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6901 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
6903 * sysdeps/i386/tls-macros.h: Include <features.h>.
6904 (TLS_LE): Use non-PIC version for GCC >= 5.0.
6908 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6909 define for GCC >= 5.0.
6911 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
6913 * math/test-fenv.c (test_single_exception, set_single_exc,
6914 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6915 feexcp_mask_test, feenable_test, fe_single_test): Add
6916 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6917 case where they are not used.
6918 * math/libm-test.inc: Likewise.
6919 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6920 unused in the absence of FP rounding/exception support.
6921 * stdio-common/tst-printf-round.c: Likewise.
6922 * stdlib/tst-strtod-round.c: Likewise.
6923 * stdlib/tst-strtod-underflow.c: Likewise.
6925 2014-12-30 Joseph Myers <joseph@codesourcery.com>
6928 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6929 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6930 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6931 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6933 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6934 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6935 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6937 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6938 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6940 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6942 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6943 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6944 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6946 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6948 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6949 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6950 (__feraiseexcept): Likewise.
6951 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6952 __feraiseexcept and define as weak alias of __feraiseexcept. Use
6954 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6955 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6957 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6958 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6959 Use libm_hidden_def.
6960 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6962 (feraiseexcept): Define as weak not strong alias. Use
6964 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6965 New inline function. Factored out of ...
6966 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
6967 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6968 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6970 * math/w_acos.c (__acos): Likewise.
6971 * math/w_asin.c (__asin): Likewise.
6972 * math/w_ilogb.c (__ilogb): Likewise.
6973 * math/w_j0.c (y0): Likewise.
6974 * math/w_j1.c (y1): Likewise.
6975 * math/w_jn.c (yn): Likewise.
6976 * math/w_log.c (__log): Likewise.
6977 * math/w_log10.c (__log10): Likewise.
6978 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6979 * sysdeps/aarch64/fpu/math_private.h
6980 (libc_feupdateenv_test_aarch64): Likewise.
6981 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6982 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6983 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6984 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6985 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6986 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6987 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6988 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6989 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6990 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6992 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
6995 * io/test-utime.c (main): Replace %ld with %jd and cast to
6997 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6998 * nptl/tst-mutex5.c: Include <stdint.h>.
6999 (do_test): Replace %ld with %jd and cast to intmax_t.
7000 * posix/tst-regex.c (run_test): Likewise.
7001 (run_test_backwards): Likewise.
7002 * rt/tst-clock.c: Include <stdint.h>.
7003 (clock_test): Replace %ld with %jd and cast to intmax_t.
7004 * rt/tst-cpuclock1.c: Include <stdint.h>.
7005 (do_test): Replace %lu with %ju and cast to uintmax_t.
7006 * rt/tst-cpuclock2.c: Include <stdint.h>.
7007 (do_test): Replace %lu with %ju and cast to uintmax_t.
7008 * rt/tst-mqueue1.c: Include <stdint.h>.
7009 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7010 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7012 * rt/tst-mqueue4.c (do_test): Likewise.
7013 * rt/tst-timer4.c: Include <stdint.h>.
7014 (check_ts): Replace %ld with %jd and cast to intmax_t.
7015 (do_test): Likewise.
7016 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7017 and cast to intmax_t.
7018 * sysdeps/pthread/tst-timer.c (main): Likewise.
7019 * time/clocktest.c (main): Likewise.
7020 * time/tst-posixtz.c (do_test): Likewise.
7021 * timezone/tst-timezone.c (main): Likewise.
7023 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7024 H.J. Lu <hongjiu.lu@intel.com>
7026 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7027 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7028 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7029 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7030 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7031 version if bit_Fast_Unaligned_Load is set.
7032 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7033 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7034 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7035 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7036 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7037 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7039 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7040 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7041 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7043 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7044 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7045 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7046 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7048 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7050 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7051 instead of #if to avoid a Wundef warning.
7052 * stdlib/tst-limits.c (do_test): Likewise.
7054 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7055 parallel other exception macros.
7056 (fegetenv): Convert from macro to extern inline so that it applies
7057 retroactively to inline functions already seen by the compiler.
7058 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7060 * posix/Makefile (before-compile): Use $(objpfx) for
7061 posix-conf-vars-def.h.
7063 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7065 * posix/getconf.c (main): Use size_t for type of I.
7066 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7069 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7070 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7071 * posix/posix-envs.def: Likewise.
7072 * sysdeps/posix/sysconf.c: Likewise.
7073 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7074 (specs): Remove array.
7075 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7078 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7079 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7080 (__sysconf): Use CONF_IS_* macros.
7082 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7083 ($(objpfx)posix-conf-vars-def.h): New target.
7084 * posix/posix-conf-vars.list: New file.
7085 * posix/posix-conf-vars.h: New file.
7086 * posix/confstr.c: Include posix-conf-vars.h.
7087 (confstr): Use CONF_IS_* macros.
7088 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7090 * scripts/gen-posix-conf-vars.awk: New file.
7092 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7094 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7095 fegetround): Add no-op macros to avoid linknamespace issues.
7097 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7098 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7100 * sysdeps/unix/sysv/linux/tile/sysdep.h
7101 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7102 assembly-specific section to avoid a redefinition warning.
7104 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7105 long before casting to pointer to avoid a cast warning.
7107 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7109 * sysdeps/tile/tilegx/Implies: New file.
7111 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7113 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7115 2014-12-23 Florian Weimer <fweimer@redhat.com>
7117 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7119 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7121 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7123 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7124 <kernel-features.h>.
7125 (__utimes) [__NR_utimes]: Make code unconditional.
7126 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7127 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7128 (__ASSUME_UTIMES): Do not undefine.
7129 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7130 (__ASSUME_UTIMES): Likewise.
7131 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7132 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7133 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7134 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7136 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7138 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7140 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7143 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7144 alias to weak alias for j0l, y0l.
7145 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7146 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7149 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7152 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7154 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7155 to zero if not already defined.
7157 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7160 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7161 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7162 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7163 (char *) casts added.
7164 * sysdeps/ieee754/k_standardf.c: New file.
7165 * sysdeps/ieee754/k_standardl.c: Likewise.
7166 * math/Makefile (libm-support): Remove k_standard.
7167 (libm-calls): Add k_standard.
7169 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7171 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7172 Optimize to avoid an unnecessary FPCR read.
7174 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7177 Optimize to reduce FPCR/FPSR accesses.
7179 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7181 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7182 Call libc_fetestexcept_aarch64.
7184 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7186 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7187 Call libc_fesetround_aarch64.
7189 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7192 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7193 (__bind): Do not define as weak alias.
7194 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7196 (__getsockname): Do not define as weak alias.
7198 2014-12-22 Will Newton <will.newton@linaro.org>
7200 * manual/install.texi: Document that we require bison 2.7
7202 * INSTALL: Regenerate.
7203 * configure.ac: Use AC_CHECK_PROG_VER instead of
7204 AC_PATH_PROG when checking for bison and check for
7205 version 2.7 or above.
7206 * configure: Regenerate.
7208 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7211 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7212 * sysdeps/tile/ffsll.c (ffsll): To here.
7214 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7216 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7218 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7220 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7222 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7223 hidden ___tls_get_addr.
7224 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7225 hidden __tls_get_addr.
7226 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7227 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7230 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7232 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7235 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7237 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7238 from "call _dl_init@PLT".
7239 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7241 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7243 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7246 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7248 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7250 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7253 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7256 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7258 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7260 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7261 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7262 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7263 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7264 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7266 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7268 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7269 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7270 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7271 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7272 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7274 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7276 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7278 * string/strncat.c (STRNCAT): Simplify implementation.
7280 2014-12-19 David S. Miller <davem@davemloft.net>
7282 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7283 access the quad as both a long double and as a series of 4 words.
7285 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7286 link_map->l_info array access.
7288 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7290 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7292 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7293 * math/atest-exp2.c (TIMEOUT): Likewise.
7294 * math/atest-sincos.c (TIMEOUT): Likewise.
7296 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7298 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7299 -Wno-error with -fno-builtin-lround.
7301 2014-12-19 Torvald Riegel <triegel@redhat.com>
7303 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7304 Contains futex constants and functions moved over from ...
7305 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7306 <lowlevellock-futex.h>.
7307 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7308 (lll_timedwait_tid): Add comments and parentheses around macro
7311 2014-12-19 Torvald Riegel <triegel@redhat.com>
7313 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7314 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7315 (__lll_private_flag): Remove.
7316 (lll_futex_wait): Likewise.
7317 (lll_futex_timed_wait): Likewise.
7318 (lll_futex_wake): Likewise.
7319 (lll_futex_requeue): Likewise.
7320 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7321 (__lll_timedwait_tid): Spell out argument names.
7322 (lll_timedwait_tid): Add comments and parentheses around macro
7324 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7325 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7327 2014-12-19 Torvald Riegel <triegel@redhat.com>
7329 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7330 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7331 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7332 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7333 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7334 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7335 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7336 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7337 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7338 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7339 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7340 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7341 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7343 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7344 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7345 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7346 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7347 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7349 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7351 * sysdeps/x86_64/x32/Makefile: New file.
7353 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7355 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7356 1L with (mp_limb_t) 1.
7358 2014-12-17 Roland McGrath <roland@hack.frob.com>
7360 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7361 * nptl/libc_pthread_init.c: ... here.
7362 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7363 * nptl/register-atfork.c: ... here.
7365 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7366 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7367 Use assert_perror to check its return value.
7368 (__gai_create_helper_thread): Likewise.
7370 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7372 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7374 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7377 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7379 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7381 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7383 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7385 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7386 (profil_counter): Likewise.
7387 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7388 (profil_counter): Likewise.
7389 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7391 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7393 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7394 (profil_counter): Likewise.
7395 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7397 [!__profil_counter] (profil_counter): Define as weak alias of
7399 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7400 (profil_counter): Rename to __profil_counter.
7401 [!__profil_counter] (profil_counter): Define as weak alias of
7403 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7404 (profil_counter): Rename to __profil_counter.
7405 [!__profil_counter] (profil_counter): Define as weak alias of
7407 * sysdeps/posix/profil.c: Update comment referring to
7409 (__profil): Use __profil_counter instead of profil_counter.
7410 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7411 __profil_counter. Use __profil_counter_ushort and
7412 __profil_counter_uint in definitions.
7413 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7414 instead of profil_counter_uint and profil_counter_ushort.
7417 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7418 define as weak alias of __inet_makeaddr.
7419 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7420 as weak alias of __inet_addr.
7421 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7422 as weak alias of __inet_pton. Use libc_hidden_weak.
7423 * include/arpa/inet.h (__inet_pton): Declare. Use
7425 (inet_makeaddr): Don't use libc_hidden_proto.
7426 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7427 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7428 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7429 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7431 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7432 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7434 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7436 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7438 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7440 * stdio-common/bug-vfprintf-nargs.c (do_test):
7441 Cast value to intptr_t to avoid format warning
7442 for usage with PRIdPTR printing macro.
7444 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7446 * libio/tst-widetext.c (do_test):
7447 Use format type %td instead of %Zd for ptrdiff_t
7448 in order to avoid format warning.
7450 2014-12-17 Andreas Schwab <schwab@suse.de>
7452 * nscd/mem.c (gc): Add size_t cast to match printf format.
7454 2014-12-16 Roland McGrath <roland@hack.frob.com>
7456 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7457 (init): Apply PTR_MANGLE to pointers before storing them.
7458 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7461 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7464 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7465 define as weak alias of __memrchr.
7466 (__memrchr): Do not define as strong alias of memrchr.
7467 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7469 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7470 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7471 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7474 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7475 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7476 (if_indextoname): Rename to __if_indextoname and define as weak
7477 alias of __if_indextoname. Use libc_hidden_weak.
7478 (if_freenameindex): Rename to __if_freenameindex and define as
7479 weak alias of __if_freenameindex.
7480 (if_nameindex): Rename to __if_nameindex and define as weak alias
7482 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7483 __if_nametoindex and define as weak alias of __if_nametoindex.
7484 Use libc_hidden_weak.
7485 (if_freenameindex): Rename to __if_freenameindex and define as
7486 weak alias of __if_freenameindex.
7487 (if_nameindex): Rename to __if_nameindex and define as weak alias
7489 (if_indextoname): Rename to __if_indextoname and define as weak
7490 alias of __if_indextoname. Use libc_hidden_weak.
7491 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7492 __if_nametoindex and define as weak alias of __if_nametoindex.
7493 Use libc_hidden_weak.
7494 (if_freenameindex): Rename to __if_freenameindex and define as
7495 weak alias of __if_freenameindex. Use libc_hidden_weak.
7496 (if_nameindex_netlink): Use __if_freenameindex instead of
7498 (if_nameindex): Rename to __if_nameindex and define as weak alias
7499 of __if_nameindex. Use libc_hidden_weak.
7500 (if_indextoname): Rename to __if_indextoname and define as weak
7501 alias of __if_indextoname. Use libc_hidden_weak.
7502 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7504 [!_ISOMAC] (__if_freenameindex): Likewise.
7505 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7507 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7509 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7510 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7511 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7512 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7513 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7514 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7515 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7517 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7519 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7520 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7522 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7524 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7525 subscript above bounds'
7527 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7530 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7532 * libio/tst-fopenloc.c: Use test-skeleton.c.
7534 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7535 (entry): Rename to ITEM.
7536 (do_test, comp): Adjust.
7538 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7540 2014-12-16 Torvald Riegel <triegel@redhat.com>
7542 * string/tester.c: Include <libc-internal.h>.
7543 (test_memset): Ignore -Wmemset-transposed-args.
7545 2014-12-16 Torvald Riegel <triegel@redhat.com>
7547 * misc/tst-mntent2.c (do_test): Fix warning.
7549 2014-12-16 Torvald Riegel <triegel@redhat.com>
7551 * elf/tst-unique4lib.cc(a): Mark as used.
7553 2014-12-16 Florian Weimer <fweimer@redhat.com>
7556 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7559 2014-12-16 Allan McRae <allan@archlinux.org>
7561 * stdio-common/Makefile (tests): Re-add bug26.
7563 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7566 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7569 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7571 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7572 (__lll_lock_wait): Likewise.
7573 (__lll_timedlock_wait): Likewise.
7574 (__lll_timedwait_tid): Likewise.
7575 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7576 (__lll_robust_timedlock_wait): Likewise.
7577 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7578 (lll_cond_trylock): Likewise.
7579 (__lll_lock): Likewise.
7580 (__lll_robust_lock): Likewise.
7581 (__lll_cond_lock): Likewise.
7582 (lll_robust_cond_lock): Likewise.
7583 (__lll_timedlock): Likewise.
7584 (__lll_robust_timedlock): Likewise.
7585 (__lll_unlock): Likewise.
7586 (__lll_robust_unlock): Likewise.
7587 (lll_wait_tid): Likewise.
7588 (lll_timedwait_tid): Likewise.
7590 2014-12-15 Torvald Riegel <triegel@redhat.com>
7592 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7594 2014-12-15 Torvald Riegel <triegel@redhat.com>
7596 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7598 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7600 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7601 * stdio-common/tst-sprintf.c: Likewise.
7603 2014-12-15 Torvald Riegel <triegel@redhat.com>
7605 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7607 2014-12-15 Jeff Law <law@redhat.com>
7610 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7611 on the heap. (CVE-2012-3406)
7612 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7613 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7614 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7616 2014-12-15 Will Newton <will.newton@linaro.org>
7618 * manual/install.texi: Bump required version of texinfo
7620 * INSTALL: Regenerated.
7621 * configure.ac: Check for makeinfo version 4.7 and above.
7622 * configure: Regenerated.
7624 2014-12-12 Roland McGrath <roland@hack.frob.com>
7626 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7627 PREFIX, string constant to insert between directory and name.
7628 * sysdeps/posix/shm_open.c: Update caller.
7629 * sysdeps/posix/shm_unlink.c: Likewise.
7630 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7631 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7632 (SEM_SHM_PREFIX): New macro.
7633 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7634 [$(have-thread-library) = no].
7635 * nptl/Makefile (libpthread-routines): Add shm-directory.
7636 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7637 * sysdeps/nptl/shm-directory.h: New file.
7638 * sysdeps/posix/shm-directory.c
7639 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7640 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7641 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7643 (__where_is_shmfs): Function removed.
7644 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7646 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7648 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7650 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7651 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7652 unconditional for use inside libpthread.
7653 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7655 2014-12-12 Roland McGrath <roland@hack.frob.com>
7657 * nptl/pthread_getaffinity.c: New file.
7658 * nptl/pthread_setaffinity.c: New file.
7659 * nptl/pthread_getname.c: New file.
7660 * nptl/pthread_setname.c: New file.
7662 * nptl/pthread_create.c (START_THREAD_DEFN)
7663 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7665 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7666 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668 * resolv/res_send.c (send_vc): Disable warning resplen may
7669 be used uninitialized.
7671 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7674 (ATTR_NULL): New define checks ATTR against NULL.
7675 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7676 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7678 2014-12-11 James Lemke <jwlemke@codesourcery.com>
7682 (mem2mem_check): Revert my previous change.
7683 (malloc_check_get_size): Revert my previous change.
7684 (mem2chunk_check): Revert my previous change.
7686 2014-12-11 Roland McGrath <roland@hack.frob.com>
7688 * sysdeps/posix/shm-directory.c: New file.
7689 * sysdeps/posix/shm-directory.h: New file.
7690 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7691 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7692 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7693 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7694 Transmute EPERM to EACCES.
7695 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7697 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7698 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7700 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7702 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7703 pointer and cast to uintptr_t.
7704 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7705 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7706 Add cast to avoid warning.
7707 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7709 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7711 * nptl/semaphore.h: Move to ...
7712 * sysdeps/pthread/semaphore.h: ... here.
7713 * Makefile (installed-headers): Change nptl/semaphore.h to
7714 sysdeps/pthread/semaphore.h.
7716 2014-12-11 Roland McGrath <roland@hack.frob.com>
7718 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7719 generated error format strings.
7721 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7722 -Wformat-extra-args warnings for scanf formats.
7723 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7724 test of zero-length format (duh).
7725 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7726 corner-case scanf format test.
7727 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7728 generated fprintf format string.
7729 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7730 corner-case sprintf format tests.
7731 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7732 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7733 -Wformat-extra-args warnings throughout.
7734 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7735 (CFLAGS-scanf4.c): Likewise.
7736 (CFLAGS-scanf7.c): Likewise.
7737 (CFLAGS-tst-sprintf.c): Likewise.
7738 (CFLAGS-tst-printf.c): Likewise.
7739 (CFLAGS-tst-printfsz.c): Likewise.
7741 2014-12-11 Joseph Myers <joseph@codesourcery.com>
7743 * include/cpio.h: New file.
7744 * include/fmtmsg.h: Likewise.
7746 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7747 corresponding format argument to size_t.
7748 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7750 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7751 corresponding format argument to size_t.
7752 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7754 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7755 corresponding format argument to size_t.
7756 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7757 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7758 (CFLAGS-tst-mbswcs2.c): Likewise.
7759 (CFLAGS-tst-mbswcs3.c): Likewise.
7760 (CFLAGS-tst-mbswcs4.c): Likewise.
7761 (CFLAGS-tst-mbswcs5.c): Likewise.
7762 (CFLAGS-tst-trans.c): Likewise
7764 2014-12-11 Roland McGrath <roland@hack.frob.com>
7766 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7767 rather than assuming they won't contain any '%'s.
7769 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7771 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7772 inhibit_loop_to_libcall to avoid recursive calls.
7773 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7774 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7776 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7778 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7781 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7783 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7784 integer value instead of boolean.
7786 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
7788 * malloc/malloc.c: Fix powerof2 check.
7790 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7792 * locale/programs/locfile.h (maybe_swap_uint32):
7793 Remove inline and add unused attribute.
7795 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7798 Truncating assembler expression to a .long expression.
7800 2014-12-11 Andreas Schwab <schwab@suse.de>
7802 * elf/rtld.c (struct map_args): Constify str member.
7803 (do_preload): Constify fname argument.
7805 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7808 constants definition.
7810 2014-12-11 Andreas Schwab <schwab@suse.de>
7813 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7814 FORCE_ELISION instead of DO_ELISION.
7815 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7817 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7820 * iconvdata/gconv-modules: Remove duplicate entry.
7822 2014-12-11 Will Newton <will.newton@linaro.org>
7824 Merge gettext 0.19.3 into intl/.
7826 This involves a number of cosmetic changes to comments
7827 and ANSI function definitions and prototypes throughout
7828 all the files. The gettext copyright header is used but
7829 with the date ranges taken from the glibc copy.
7831 * NEWS: Add gettext merge to 2.21.
7832 * intl/bindtextdom.c: Switch to gettext copyright.
7833 Use ANSI definitions and prototypes.
7834 Use gl_* locking primitives rather than __libc_* ones.
7835 Use __builtin_expect rather than __glibc_likely/unlikely.
7836 * intl/dcgettext.c: Switch to gettext copyright.
7837 Use ANSI definitions and prototypes.
7838 * intl/dcigettext.c: Switch to gettext copyright.
7839 Use ANSI definitions and prototypes.
7840 (INTDIV0_RAISES_SIGFPE): New define.
7841 Use gl_* locking primitives rather than __libc_* ones.
7842 Include eval-plural.h instead of plural-eval.c.
7843 Use __builtin_expect rather than __glibc_likely/unlikely.
7844 * intl/dcngettext.c: Switch to gettext copyright.
7845 Use ANSI definitions and prototypes.
7846 * intl/dgettext.c: Likewise.
7847 * intl/dngettext.c: Likewise.
7848 * intl/plural-eval.c: Renamed to...
7849 * intl/eval-plural.h: ...this.
7850 * intl/explodename.c: Switch to gettext copyright.
7851 Use ANSI definitions and prototypes.
7852 (_nl_explode_name): Use strchr instead of __rawmemchr.
7853 * intl/finddomain.c: Switch to gettext copyright.
7854 Use ANSI definitions and prototypes.
7855 Use gl_* locking primitives rather than __libc_* ones.
7856 (_nl_find_domain): Use malloc rather than alloca for
7857 allocation of temporary locale name.
7858 * intl/gettext.c: Switch to gettext copyright.
7859 Use ANSI definitions and prototypes.
7860 * intl/gettextP.h: Switch to gettext copyright.
7861 Use ANSI definitions and prototypes.
7862 Use gl_* locking primitives rather than __libc_* ones.
7863 * intl/gmo.h: Switch to gettext copyright.
7864 (struct sysdep_string): Move struct segment_pair outside of
7866 * intl/hash-string.c: Use ANSI definitions and prototypes.
7867 * intl/hash-string.h: Switch to gettext copyright.
7868 Use ANSI definitions and prototypes.
7869 * intl/l10nflist.c: Switch to gettext copyright.
7870 Use ANSI definitions and prototypes.
7871 (_nl_normalize_codeset): Avoid integer overflow.
7872 * intl/loadinfo.h: Switch to gettext copyright.
7873 Use ANSI definitions and prototypes.
7874 (LIBINTL_DLL_EXPORTED): New define.
7875 (PATH_SEPARATOR): New define.
7876 * intl/loadmsgcat.c: Switch to gettext copyright.
7877 * intl/localealias.c: Switch to gettext copyright.
7878 Use ANSI definitions and prototypes.
7879 (_nl_expand_alias): Use PATH_SEPARATOR.
7880 * intl/ngettext.c: Switch to gettext copyright.
7881 Use ANSI definitions and prototypes.
7882 * intl/plural-exp.c: Likewise.
7883 * intl/plural-exp.h: Switch to gettext copyright.
7884 Use ANSI definitions and prototypes.
7885 (struct expression): Move definition of enum operator outside
7886 of struct definition.
7887 * intl/plural.c: Regenerate.
7888 * intl/plural.y: Switch to gettext copyright.
7889 Use ANSI definitions and prototypes.
7891 * intl/textdomain.c: Switch to gettext copyright.
7892 Use ANSI definitions and prototypes.
7893 Use gl_* locking primitives rather than __libc_* ones.
7895 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
7897 * debug/warning-nop.c: Add used atrribute.
7899 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7901 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7903 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7904 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7905 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7907 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7908 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7911 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7912 Undefine after defining function. Define as weak alias of
7913 __wcschr. Use libc_hidden_weak.
7914 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
7915 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7916 (libc_hidden_def): Also define __GI___wcschr alias.
7917 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7918 __wcschr and define as weak alias of __wcschr.
7919 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7921 [!WCSCHR] (DEFAULT_WCSCHR): Define.
7922 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7923 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
7924 libc_hidden_weak. Do not use libc_hidden_def.
7925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7926 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7927 __GI___wcschr alias.
7928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7929 [IS_IN (libc)] (wcschr): Define as macro expanding to
7931 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7932 [IS_IN (libc)] (__wcschr_power6): Likewise.
7933 [IS_IN (libc)] (__wcschr_power7): Likewise.
7934 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
7936 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7938 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7939 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7940 __wcschr and define as weak alias of __wcschr. Use
7941 libc_hidden_builtin_def.
7942 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7943 as weak alias of __wcschr. Use libc_hidden_weak.
7944 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7946 * time/era.c (_nl_init_era_entries): Likewise.
7947 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7949 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7950 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7952 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7954 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7955 format for long int variable.
7957 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
7960 * manual/search.texi: (Array Sort Function): Remove claim how to make
7963 2014-12-10 Andreas Schwab <schwab@suse.de>
7966 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7967 user-controlled locks.
7969 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
7971 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7974 2014-12-10 Joseph Myers <joseph@codesourcery.com>
7976 * configure.ac (--disable-werror): New configure option.
7977 (enable_werror): New AC_SUBST.
7978 * configure: Regenerated.
7979 * config.make.in (enable-werror): New variable.
7980 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7982 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7983 * manual/install.texi (Configuring and compiling): Document
7985 * INSTALL: Regenerated.
7986 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7987 (CFLAGS-tst-chk2.c): Likewise.
7988 (CFLAGS-tst-chk3.c): Likewise.
7989 (CFLAGS-tst-chk4.cc): Likewise.
7990 (CFLAGS-tst-chk5.cc): Likewise.
7991 (CFLAGS-tst-chk6.cc): Likewise.
7992 (CFLAGS-tst-lfschk1.c): Likewise.
7993 (CFLAGS-tst-lfschk2.c): Likewise.
7994 (CFLAGS-tst-lfschk3.c): Likewise.
7995 (CFLAGS-tst-lfschk4.cc): Likewise.
7996 (CFLAGS-tst-lfschk5.cc): Likewise.
7997 (CFLAGS-tst-lfschk6.cc): Likewise.
7999 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8000 (main): Disable -Wdeprecated-declarations around calls to
8001 register_printf_function.
8003 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8004 (do_test): Disable -Wdiv-by-zero around some calls to
8005 fwrite_unlocked and fread_unlocked.
8007 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8008 (DIAG_POP_NEEDS_COMMENT): Likewise.
8009 (_DIAG_STR1): Likewise.
8010 (_DIAG_STR): Likewise.
8011 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8012 * stdio-common/bug21.c: Include <libc-internal.h>.
8013 (do_test): Disable -Wformat around call to sscanf.
8014 * stdio-common/scanf14.c: Include <libc-internal.h>.
8015 (main): Disable -Wformat around some calls to scanf functions.
8017 2014-12-09 Torvald Riegel <triegel@redhat.com>
8019 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8021 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8023 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8024 stack variable alignment.
8026 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8029 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8030 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8031 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8032 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8033 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8034 __getrlimit instead of getrlimit.
8035 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8036 __gettimeofday instead of gettimeofday.
8037 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8039 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8041 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8042 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8044 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8045 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8047 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8049 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8050 for wide-character tests.
8052 2014-12-04 Roland McGrath <roland@hack.frob.com>
8054 * io/openat64.c: #include <libc-internal.h>
8055 (__openat64): Prototypify. Use ignore_value on MODE.
8056 * io/openat.c: Likewise.
8057 * misc/reboot.c: #include <libc-internal.h>
8058 (reboot): Prototypify. Use ignore_value on HOWTO.
8059 * misc/ptrace.c: #include <libc-internal.h>
8060 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8062 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8064 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8065 XPG4, UNIX98 and XOPEN2K.
8066 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8068 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8070 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8072 * libio/fileops.c: Use ISO C style for function definitions.
8073 * libio/iofopen.c: Likewise.
8074 * libio/wfileops.c: Likewise.
8077 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8079 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8080 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8081 (fgets_func): Function pointer to fgets and fgetws.
8082 (do_ftell_test): Add test to verify ftell value after read
8084 (do_test): Set fgets_func.
8086 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8087 O_TRUNC flag for w and w+ modes.
8088 (do_rewind_test): Likewise.
8089 (do_ftell_test): Likewise.
8090 (do_write_test): Likewise.
8093 * libio/fileops.c (do_ftell): Seek only when there are
8095 * libio/wfileops.c (do_ftell_wide): Likewise.
8096 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8098 (do_one_test): Call it.
8100 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8102 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8103 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8104 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8106 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8107 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8108 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8110 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8112 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8114 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8117 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8118 as weak alias of __getifaddrs. Use libc_hidden_weak.
8119 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8120 __freeifaddrs. Use libc_hidden_weak.
8121 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8122 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8123 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8124 __freeifaddrs. Use libc_hidden_weak.
8125 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8126 __getifaddrs and define as weak alias of __getifaddrs. Use
8128 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8129 __freeifaddrs. Use libc_hidden_weak.
8130 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8132 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8133 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8135 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8138 * sysdeps/mips/start.S (__start): Use indirect jump to call
8141 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8143 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8145 * nptl/tst-mutex1.c: Include <stdbool.h>.
8146 [!ATTR] (ATTR_NULL): New macro.
8147 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8148 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8149 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8151 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8155 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8156 Change conditional to [__USE_MISC].
8159 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8161 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8163 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8165 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8167 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8168 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8169 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8170 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8171 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8172 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8173 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8174 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8175 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8177 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8179 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8181 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8182 Remove strpbrk objects.
8183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8184 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8185 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8186 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8187 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8188 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8190 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8191 Remove strcspn objects.
8192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8193 (__libc_ifunc_impl_list): Remove strcspn implementation.
8194 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8195 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8196 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8197 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8199 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8200 Remove strspn objetcs.
8201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8202 (__libc_ifunc_impl_list): Remove strspn implementation.
8203 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8204 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8205 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8206 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8208 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8212 (mem2mem_check): Add a terminator to the chain of checking blocks.
8213 (malloc_check_get_size): Use it here.
8214 (mem2chunk_check): Ditto.
8216 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8218 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8219 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8221 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8223 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8225 * nptl/nptl-init.c: Include libc-internal.h.
8226 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8228 * elf/ldconfig.c (search_dir): Expand comment.
8230 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8232 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8234 (linknamespace-symlist-stdlibs-tests): Likewise.
8235 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8236 instead of $(objpfx)symlist-stdlibs.
8237 (linknamespace-libs-isoc): New variable.
8238 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8239 (linknamespace-libs-ISO): New variable.
8240 (linknamespace-libs-ISO99): Likewise.
8241 (linknamespace-libs-ISO11): Likewise.
8242 (linknamespace-libs-XPG3): Likewise.
8243 (linknamespace-libs-XPG4): Likewise.
8244 (linknamespace-libs-POSIX): Likewise.
8245 (linknamespace-libs-UNIX98): Likewise.
8246 (linknamespace-libs-XOPEN2K): Likewise.
8247 (linknamespace-libs-POSIX2008): Likewise.
8248 (linknamespace-libs-XOPEN2K8): Likewise.
8249 ($(objpfx)symlist-stdlibs): Replace by
8250 $(linknamespace-symlist-stdlibs-tests). Use
8251 $(linknamespace-libs-$*) as set of libraries.
8252 ($(linknamespace-header-tests)): Update dependencies. Use
8253 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8254 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8255 * conform/linknamespace.pl: Remove comment about considering
8256 definitions of symbols from irrelevant libraries.
8258 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8261 * elf/dl-tls.c: Include <atomic.h>.
8262 (oom): Remove #ifdef SHARED/#endif.
8263 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8264 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8265 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8267 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8268 * nptl/Makefile (tests): Add tst-stack4.
8269 (modules-names): Add tst-stack4mod.
8270 ($(objpfx)tst-stack4): New.
8271 (tst-stack4mod.sos): Likewise.
8272 ($(objpfx)tst-stack4.out): Likewise.
8273 ($(tst-stack4mod.sos)): Likewise.
8275 * nptl/tst-stack4.c: New file.
8276 * nptl/tst-stack4mod.c: Likewise.
8278 2014-11-27 J. Brown <jb999@gmx.de>
8280 * sysdeps/x86/bits/string.h: Add recent CPUs.
8282 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8284 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8287 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8290 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8293 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8295 * nscd/connections.c: Include libc-internal.h because of macro
8298 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8300 * string/bits/string3.h (__warn_memset_zero_len): Don't
8301 declare for gcc newer than 5.0.
8302 (memset): Don't test for zero-length __LEN for gcc newer than
8305 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8307 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8308 size_t for %zu format.
8310 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8311 difference, not %ju.
8313 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8315 * include/libc-internal.h (ignore_value): New macro.
8316 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8319 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8322 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8323 pthread_cleanup_push to void *.
8325 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8330 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8331 instead of 1L << 52.
8333 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8334 * libio/bug-rewind2.c (do_test): Likewise.
8336 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8337 * debug/test-strcpy_chk-ifunc.c: Likewise.
8338 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8339 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8340 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8341 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8342 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8343 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8344 * Rules [$(multi-arch) = no] (tests): Do not filter out
8346 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8347 * debug/Makefile (tests-ifunc): Remove variable.
8348 (tests): Do not add $(tests-ifunc).
8349 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8350 (tests): Do not add $(tests-ifunc).
8351 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8352 [TEST_IFUNC]: Remove conditionals.
8353 * string/test-string.h (TEST_IFUNC): Remove macro.
8354 [TEST_IFUNC]: Remove conditionals.
8356 * string/test-strchr.c [!WIDE] (L): New macro.
8357 [WIDE] (L): Likewise.
8358 (check1): Use CHAR instead of char. Use L on string and character
8361 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8363 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8365 * sysdeps/powerpc/bits/atomic.h
8366 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8367 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8368 (atomic_exchange_and_add_acq): Likewise.
8369 (atomic_exchange_and_add_rel): Likewise.
8370 * sysdeps/powerpc/powerpc32/bits/atomic.h
8371 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8372 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8373 * sysdeps/powerpc/powerpc64/bits/atomic.h
8374 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8375 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8377 2014-11-26 Torvald Riegel <triegel@redhat.com>
8379 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8380 Change synchronization of __sched_fifo_min_prio and
8381 __sched_fifo_max_prio.
8382 * nptl/pthread_mutexattr_getprioceiling.c
8383 (pthread_mutexattr_getprioceiling): Likewise.
8384 * nptl/pthread_mutexattr_setprioceiling.c
8385 (pthread_mutexattr_setprioceiling): Likewise.
8386 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8387 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8390 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8392 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8395 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8397 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8398 third argument const.
8400 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8402 fnmatch: work around GCC compiler warning bug with uninit var
8403 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8404 This works around a bug with x86-64 GCC 4.9.2 and earlier
8405 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8406 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8407 used uninitialized in this function [-Wmaybe-uninitialized]".
8409 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8411 * posix/bug-regex31.c (main): Return RES not 0.
8413 2014-11-25 Anton Blanchard <anton@samba.org>
8415 * sysdeps/powerpc/bits/atomic.h
8416 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8418 2014-11-24 Sterling Augustine <saugustine@google.com>
8420 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8422 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8425 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8427 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8430 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8431 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8433 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8434 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8436 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8438 * string/strncpy.c (strncpy): Improve performance by using memset.
8440 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8442 * string/strcpy.c (strcpy):
8443 Improve performance by using strlen and memcpy.
8445 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8447 * string/strcoll_l.c (get_next_seq): __always_inline.
8448 * string/strcoll_l.c (do_compare): __always_inline.
8450 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8452 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8454 * include/mqueue.h: Likewise.
8455 * include/stdlib.h: Likewise.
8457 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8458 (get_null_defines): Adjust.
8459 * sunrpc/Makefile: Adjust comment.
8460 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8461 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8462 (CFLAGS-interp.c): Likewise.
8463 (CFLAGS-ldconfig.c): Likewise.
8464 (CPPFLAGS-.os): Likewise.
8465 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8466 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8467 * extra-modules.mk (extra-modules.mk): Likewise.
8468 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8469 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8470 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8471 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8472 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8473 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8474 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8475 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8476 * iconvdata/Makefile (CPPFLAGS): Likewise.
8477 (cpp-srcs-left): Add libof for all iconvdata routines.
8478 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8479 * include/assert.h: Likewise.
8480 * include/ctype.h: Likewise.
8481 * include/errno.h: Likewise.
8482 * include/libc-symbols.h: Likewise.
8483 * include/math.h: Likewise.
8484 * include/netdb.h: Likewise.
8485 * include/resolv.h: Likewise.
8486 * include/stdio.h: Likewise.
8487 * include/stdlib.h: Likewise.
8488 * include/string.h: Likewise.
8489 * include/sys/stat.h: Likewise.
8490 * include/wctype.h: Likewise.
8491 * intl/l10nflist.c: Likewise.
8492 * libidn/idn-stub.c: Likewise.
8493 * libio/libioP.h: Likewise.
8494 * nptl/libc_multiple_threads.c: Likewise.
8495 * nptl/pthreadP.h: Likewise.
8496 * posix/regex_internal.h: Likewise.
8497 * resolv/res_hconf.c: Likewise.
8498 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8499 * sysdeps/arm/memmove.S: Likewise.
8500 * sysdeps/arm/sysdep.h: Likewise.
8501 * sysdeps/generic/_itoa.h: Likewise.
8502 * sysdeps/generic/symbol-hacks.h: Likewise.
8503 * sysdeps/gnu/errlist.awk: Likewise.
8504 * sysdeps/gnu/errlist.c: Likewise.
8505 * sysdeps/i386/i586/memcpy.S: Likewise.
8506 * sysdeps/i386/i586/memset.S: Likewise.
8507 * sysdeps/i386/i686/memcpy.S: Likewise.
8508 * sysdeps/i386/i686/memmove.S: Likewise.
8509 * sysdeps/i386/i686/mempcpy.S: Likewise.
8510 * sysdeps/i386/i686/memset.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8515 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8517 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8527 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8528 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8529 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8530 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8531 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8532 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8537 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8539 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8541 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8545 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8547 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8548 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8549 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8550 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8551 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8554 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8555 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8556 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8557 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8558 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8560 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8561 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8562 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8563 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8564 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8565 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8566 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8568 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8569 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8570 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8571 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8573 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8574 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8575 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8576 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8577 * sysdeps/posix/closedir.c: Likewise.
8578 * sysdeps/posix/opendir.c: Likewise.
8579 * sysdeps/posix/readdir.c: Likewise.
8580 * sysdeps/posix/rewinddir.c: Likewise.
8581 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8582 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8583 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8584 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8585 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8586 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8590 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8593 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8594 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8595 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8596 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8597 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8598 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8600 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8602 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8603 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8604 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8606 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8607 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8609 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8617 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8618 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8619 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8620 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8621 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8622 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8623 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8625 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8626 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8627 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8628 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8629 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8630 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8631 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8632 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8633 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8634 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8635 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8637 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8638 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8639 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8640 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8641 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8642 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8643 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8644 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8645 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8646 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8647 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8648 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8649 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8650 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8651 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8652 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8653 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8654 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8655 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8656 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8657 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8658 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8659 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8660 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8661 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8662 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8664 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8665 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8666 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8667 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8668 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8669 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8670 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8671 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8672 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8673 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8675 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8677 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8679 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8680 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8682 * sysdeps/unix/alpha/sysdep.S: Likewise.
8683 * sysdeps/unix/alpha/sysdep.h: Likewise.
8684 * sysdeps/unix/make-syscalls.sh: Likewise.
8685 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8686 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8687 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8688 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8689 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8690 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8691 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8692 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8693 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8694 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8695 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8696 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8698 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8699 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8700 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8701 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8702 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8703 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8704 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8705 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8706 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8707 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8708 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8709 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8710 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8711 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8714 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8715 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8719 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8723 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8724 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8725 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8726 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8727 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8735 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8736 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8737 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8738 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8739 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8741 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8743 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8744 * sysdeps/x86_64/memcpy.S: Likewise.
8745 * sysdeps/x86_64/memmove.c: Likewise.
8746 * sysdeps/x86_64/memset.S: Likewise.
8747 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8748 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8749 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8750 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8751 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8752 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8753 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8754 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8755 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8756 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8757 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8759 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8760 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8761 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8762 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8763 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8764 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8765 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8766 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8767 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8770 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8771 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8772 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8773 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8774 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8776 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8777 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8778 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8779 * sysdeps/x86_64/strcmp.S: Likewise.
8781 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8783 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8784 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8785 * elf/rtld-Rules: Likewise.
8786 * elf/setup-vdso.h: Likewise.
8787 * include/assert.h: Likewise.
8788 * include/bits/stdlib-float.h: Likewise.
8789 * include/errno.h: Likewise.
8790 * include/sys/stat.h: Likewise.
8791 * include/unistd.h: Likewise.
8792 * sysdeps/aarch64/setjmp.S: Likewise.
8793 * sysdeps/alpha/setjmp.S: Likewise.
8794 * sysdeps/arm/__longjmp.S: Likewise.
8795 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8796 * sysdeps/arm/setjmp.S: Likewise.
8797 * sysdeps/arm/sysdep.h: Likewise.
8798 * sysdeps/generic/_itoa.h: Likewise.
8799 * sysdeps/generic/dl-sysdep.h: Likewise.
8800 * sysdeps/generic/ldsodefs.h: Likewise.
8801 * sysdeps/i386/dl-tls.h: Likewise.
8802 * sysdeps/i386/setjmp.S: Likewise.
8803 * sysdeps/m68k/setjmp.c: Likewise.
8804 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8805 * sysdeps/mach/hurd/opendir.c: Likewise.
8806 * sysdeps/posix/getcwd.c: Likewise.
8807 * sysdeps/posix/opendir.c: Likewise.
8808 * sysdeps/posix/profil.c: Likewise.
8809 * sysdeps/powerpc/dl-procinfo.h: Likewise.
8810 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8812 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8813 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8814 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8815 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8816 * sysdeps/s390/dl-tls.h: Likewise.
8817 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8818 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8819 * sysdeps/sh/sh3/setjmp.S: Likewise.
8820 * sysdeps/sh/sh4/setjmp.S: Likewise.
8821 * sysdeps/unix/alpha/sysdep.h: Likewise.
8822 * sysdeps/unix/arm/sysdep.S: Likewise.
8823 * sysdeps/unix/i386/sysdep.S: Likewise.
8824 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8825 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8826 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8829 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8830 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8831 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8832 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8833 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8834 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8835 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8836 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8839 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8842 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8843 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8847 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8848 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8851 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8852 * sysdeps/x86_64/setjmp.S: Likewise.
8854 * include/math.h: Use IS_IN instead of IS_IN_libm.
8855 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8859 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8867 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8873 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8875 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8876 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8877 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8878 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8879 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8880 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8881 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8882 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8883 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8884 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8885 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8886 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8887 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8898 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8900 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8901 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8902 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8903 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8909 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8910 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8911 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8912 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8914 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8915 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8916 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8917 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8918 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8919 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8921 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8922 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8924 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8926 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8927 * nptl/pthreadP.h: Likewise.
8928 * nptl_db/structs.def: Likewise.
8929 * sysdeps/arm/sysdep.h: Likewise.
8930 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8931 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8932 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8933 * sysdeps/unix/alpha/sysdep.h: Likewise.
8934 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8935 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8936 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8937 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8938 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8939 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8941 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8942 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8943 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8944 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8945 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8946 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8947 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8952 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8955 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8956 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8957 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8958 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8959 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8961 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8962 * nptl/pthreadP.h: Likewise.
8963 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8964 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8965 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8966 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8967 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8968 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8969 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8970 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8971 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8972 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8973 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8974 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8981 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8984 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8985 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8988 * dlfcn/dladdr.c: Use IS_IN.
8989 * dlfcn/dladdr1.c: Likewise.
8990 * dlfcn/dlclose.c: Likewise.
8991 * dlfcn/dlerror.c: Likewise.
8992 * dlfcn/dlinfo.c: Likewise.
8993 * dlfcn/dlmopen.c: Likewise.
8994 * dlfcn/dlopen.c: Likewise.
8995 * dlfcn/dlsym.c: Likewise.
8996 * dlfcn/dlvsym.c: Likewise.
8998 * include/ifaddrs.h: Use IS_IN.
8999 * inet/check_pf.c: Likewise.
9000 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9001 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9003 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9005 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9006 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9008 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9009 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9012 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9014 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9015 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9016 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9017 * include/libc-symbols.h (IS_IN_LIB): New macro.
9018 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9019 * include/netdb.h: Likewise.
9020 * include/stap-probe.h: Remove all uses of IN_LIB.
9022 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9023 instead of IN_MODULE.
9024 * include/libc-symbols.h (IN_MODULE): Define using
9026 (PASTE_NAME, PASTE_NAME1): New macros.
9027 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9029 (STAP_PROBE_ASM): Likewise.
9031 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9033 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9034 __mach_init in dlopened libc.
9036 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9038 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9039 * sysdeps/arm/preconfigure: Regenerate.
9041 2014-11-21 Roland McGrath <roland@hack.frob.com>
9043 * nptl/pthread_create.c (__pthread_create_2_1): Set
9044 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9045 when copying values from IATTR into PD.
9047 2014-11-21 Will Newton <will.newton@linaro.org>
9048 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9050 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9051 Refactor inline-asm. Also add comment.
9053 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9054 ElfW macro instead of hardcoded Elf64 types.
9055 (la_aarch64_gnu_pltenter): Likewise.
9056 * sysdeps/aarch64/dl-machine.h
9057 (elf_machine_runtime_setup): Use ElfW(Addr).
9059 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9060 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9061 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9062 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9063 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9064 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9065 (R_AARCH64_TLS_DTPMOD): This.
9066 (R_AARCH64_TLS_DTPREL64): Rename to ...
9067 (R_AARCH64_TLS_DTPREL): This.
9068 (R_AARCH64_TLS_TPREL64): Rename to ...
9069 (R_AARCH64_TLS_TPREL): This.
9070 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9071 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9072 R_AARCH64_TLS_TPREL64.
9073 (elf_machine_rela): Likewise.
9075 2014-11-21 Torvald Riegel <triegel@redhat.com>
9077 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9078 by setting it to 0. 64b atomics are not supported currently.
9080 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9083 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9084 search domain names.
9086 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9090 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9092 * posix/tst-getaddrinfo5.c: New.
9093 * posix/Makefile (tests): Add it.
9095 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9099 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9100 after parsing line but before break_if_match.
9101 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9102 if there is a protocol mismatch.
9104 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9106 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9107 because the potential race is on the user-supplied stream.
9109 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9111 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9112 string literal if not passed a buffer.
9113 * manual/job.texi (ctermid): Update reasoning, note deviation
9114 from posix, suggest mtasurace when not passed a buffer, for
9115 future non-preliminary safety notes.
9117 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9119 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9120 of not passing it a buffer.
9121 Reported by Peng Haitao.
9123 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9125 * manual/Makefile ($(objpfx)stamp-summary): Require
9126 check-safety.sh to pass.
9127 * manual/check-safety.sh: Wish for verification that every
9128 @deftypefn and @deftypefun is followed by a @safety remark.
9130 2014-11-20 Roland McGrath <roland@hack.frob.com>
9132 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9134 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9135 PTHREAD_CANCEL_ASYNCHRONOUS.
9136 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9139 * nptl/default-sched.h: New file.
9140 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9141 * nptl/pthread_create.c: Include it.
9142 (__pthread_create_2_1): Use collect_default_sched instead of making
9143 Linux syscalls here directly.
9145 2014-11-20 Torvald Riegel <triegel@redhat.com>
9147 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9148 __pthread_once): Use C11 atomics.
9150 2014-11-20 Torvald Riegel <triegel@redhat.com>
9152 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9154 2014-11-20 Torvald Riegel <triegel@redhat.com>
9156 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9157 atomic_thread_fence_acquire, atomic_thread_fence_release,
9158 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9159 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9160 atomic_compare_exchange_weak_relaxed,
9161 atomic_compare_exchange_weak_acquire,
9162 atomic_compare_exchange_weak_release,
9163 atomic_exchange_acquire, atomic_exchange_release,
9164 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9165 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9166 atomic_fetch_and_acquire,
9167 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9169 2014-11-20 Torvald Riegel <triegel@redhat.com>
9171 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9172 USE_ATOMIC_COMPILER_BUILTINS): Define.
9173 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9174 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9175 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9177 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9179 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9180 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9181 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9183 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9185 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9187 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9189 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9191 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9193 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9195 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9197 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9199 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9201 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9203 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9205 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9207 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9208 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9209 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9211 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9214 2014-11-19 Roland McGrath <roland@hack.frob.com>
9216 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9217 the sched_priority value here. It was already checked when the user
9218 called pthread_attr_setschedparam.
9220 * nptl/tst-bad-schedattr.c: New file.
9221 * nptl/Makefile (tests): Add it.
9223 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9224 Florian Weimer <fweimer@redhat.com>
9225 Joseph Myers <joseph@codesourcery.com>
9226 Adam Conrad <adconrad@0c3.net>
9227 Andreas Schwab <schwab@suse.de>
9228 Brooks <bmoses@google.com>
9231 * wordexp-test.c (__dso_handle): Add prototype.
9232 (__register_atfork): Likewise.
9233 (__app_register_atfork): New function.
9234 (registered_forks): New global.
9235 (register_fork): New function.
9236 (test_case): Add 3 new tests for WRDE_CMDSUB.
9237 (main): Call __app_register_atfork.
9238 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9239 fork count is non-zero fail the test.
9240 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9242 (parse_dollars): Remove check for WRDE_NOCMD.
9243 (parse_dquote): Likewise.
9245 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9247 * Makeconfig (built-modules): List non-library modules to be
9249 (module-cppflags): Include libc-modules.h for
9250 everything except shlib-versions.v.i.
9252 (before-compile): Add libc-modules.h.
9253 ($(common-objpfx)libc-modules.h,
9254 $(common-objpfx)libc-modules.stmp): New targets.
9255 (common-generated): Add libc-modules.h and libc-modules.stmp.
9256 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9257 * include/libc-symbols.h: Don't include libc-modules.h.
9258 * include/libc-modules.h: Remove file.
9259 * scripts/gen-libc-modules.awk: New script to generate
9261 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9262 Depend on libc-modules.stmp.
9264 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9266 * Makeconfig (in-module): Get value of libof set for the
9268 (CPPFLAGS): Use $(in-module).
9269 * Makerules: Don't suffix routine names for nonlib.
9270 * include/libc-modules.h: New file.
9271 * include/libc-symbols.h: Include libc-modules.h
9272 (IS_IN): New macro to replace IS_IN_* macros.
9273 * elf/Makefile: Set libof-* for each routine.
9274 * elf/rtld-Rules: Likewise.
9275 * extra-modules.mk: Likewise.
9276 * iconv/Makefile: Likewise.
9277 * iconvdata/Makefile: Likewise.
9278 * locale/Makefile: Likewise.
9279 * malloc/Makefile: Likewise.
9280 * nss/Makefile: Likewise.
9281 * sysdeps/gnu/Makefile: Likewise.
9282 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9283 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9284 * sysdeps/s390/s390-64/Makefile: Likewise.
9285 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9286 CPPFLAGS for nscd instead of nonlib.
9288 2014-11-18 Roland McGrath <roland@hack.frob.com>
9290 * nptl/createthread.c: New file.
9292 * nptl/createthread.c: Moved ...
9293 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9295 * nptl/createthread.c: Add proper top-line comment.
9296 (do_clone): Folded into ...
9297 (create_thread): ... here. Take new arguments STOPPED_START and
9298 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9299 increment __nptl_threads, do event-reporting logic, do
9300 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9301 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9302 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9303 just send SIGCANCEL.
9304 * nptl/pthread_create.c: Forward-declare create_thread before
9305 including createthread.c.
9306 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9307 declaration, and new macro START_THREAD_SELF to replace argument.
9308 Remove return statement.
9309 (report_thread_creation): New function.
9310 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9311 synchronization logic, and __nptl_nthreads increment here, around
9312 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9313 PD->parent_cancelhandling here, before create_thread. When
9314 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9315 __deallocate_stack, and ENOMEM translation here.
9317 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9320 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9321 (mptwo): Rename to __mptwo.
9322 (__inv): Use __mptwo instead of mptwo.
9323 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9324 (mptwo): Rename to __mptwo.
9325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9326 of mpone and __mptwo instead of mptwo.
9327 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9330 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9331 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9332 of mpone and __mptwo instead of mptwo.
9333 (__mpranred): Use __mpone instead of mpone.
9334 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9336 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9337 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9338 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9339 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9340 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9341 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9342 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9343 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9344 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9345 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9346 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9347 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9348 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9349 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9350 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9351 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9352 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9353 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9354 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9356 2014-11-18 Tom de Vries <tom@codesoucery.com>
9358 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9359 replace BSD Handler xref with BSD Signal Handling.
9361 2014-11-17 Richard Henderson <rth@redhat.com>
9363 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9364 (_FP_PACK_RAW_2): Remove.
9365 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9366 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9367 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9368 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9369 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9370 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9371 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9372 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9373 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9374 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9375 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9376 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9377 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9378 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9379 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9380 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9382 2014-11-14 Roland McGrath <roland@hack.frob.com>
9384 * signal/signal.h [__USE_MISC]
9385 (struct sigvec): Remove type.
9386 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9387 (sigvec): Remove declaration.
9388 * sysdeps/posix/sigvec.c: Moved ...
9389 * signal/sigvec.c: ... here, replacing old file.
9390 (struct sigvec): New type, copied from old signal.h definition.
9391 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9392 (__sigvec): Convert definition to prototype.
9393 (sigvec): Replace weak_alias with compat_symbol.
9394 * signal/Versions (libc: GLIBC_2.21): New version set.
9395 * include/signal.h: Remove __sigvec declaration.
9396 * sysdeps/unix/bsd/sigvec.c: Remove file.
9397 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9398 * manual/signal.texi (BSD Handler): Remove subsection.
9399 Move siginterrupt up to ...
9400 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9401 (Blocking in BSD): Fold subsection into its parent.
9402 * NEWS: Mention sigvec removal.
9404 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9406 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9407 (DLA_FMS): Make definition conditional only on [__FMA4__].
9408 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9411 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9412 Make definition conditional only on [PROF].
9413 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9415 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9416 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9418 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9420 * include/signal.h (__sigpause): Move declaration above call to
9422 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9424 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9425 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9427 2014-11-14 David S. Miller <davem@davemloft.net>
9429 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9430 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9432 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9434 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9435 * configure: Regenerated.
9436 * manual/install.texi (Tools for Compilation): Document a
9437 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9438 compiler verified to work.
9439 * INSTALL: Regenerated.
9441 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9442 redeclare with asm name.
9443 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9444 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9445 including <string.h>.
9446 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9447 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9448 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9449 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9450 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9451 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9452 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9454 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9456 * stdlib/strtol.c (__strtol): Use prototype definition.
9459 * stdlib/strtol.c (SYM__): New macro.
9461 (__strtol): Likewise.
9462 (strtol): Rename to __strtol and define as weak alias of
9463 __strtol. Use libc_hidden_weak.
9465 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9467 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9468 Use numbered labels in inline assembly.
9470 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9472 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9473 Add setjmp LIBC_PROBE.
9474 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9476 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9477 Add longjmp, longjmp_target LIBC_PROBE.
9478 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9481 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9484 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9485 to get rid of unused variable warning.
9487 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9489 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9490 Check for unwind_backtrace == NULL only in SHARED case.
9491 (__backchain_backtrace): Compile only in SHARED case.
9492 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9494 (__backchain_backtrace): Declare as static.
9496 2014-11-12 Roland McGrath <roland@hack.frob.com>
9498 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9499 (__libc_multiple_threads_ptr): Variable moved ...
9500 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9502 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9504 * conform/GlibcConform.pm: New file.
9505 * conform/conformtest.pl: Use GlibcConform module.
9506 * conform/linknamespace.pl: New file.
9507 * conform/list-header-symbols.pl: Likewise.
9508 * conform/Makefile (linknamespace-symlists-base): New variable.
9509 (linknamespace-symlists-tests): Likewise.
9510 (linknamespace-header-base): Likewise.
9511 (linknamespace-header-tests): Likewise.
9512 (tests-special): Add new tests.
9513 ($(linknamespace-symlists-tests)): New rule.
9514 (linknamespace-libs): New variable.
9515 ($(objpfx)symlist-stdlibs): New rule.
9516 ($(linknamespace-header-tests)): Likewise.
9517 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9518 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9519 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9520 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9521 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9522 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9523 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9524 (test-xfail-ISO/math.h/linknamespace): Likewise.
9525 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9526 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9527 (test-xfail-ISO/time.h/linknamespace): Likewise.
9528 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9529 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9530 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9531 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9532 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9533 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9534 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9535 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9536 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9537 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9538 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9539 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9540 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9541 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9542 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9543 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9544 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9545 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9546 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9547 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9548 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9549 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9550 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9551 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9552 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9553 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9554 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9555 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9556 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9557 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9558 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9559 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9560 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9561 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9562 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9563 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9564 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9565 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9566 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9567 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9568 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9569 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9570 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9571 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9572 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9573 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9574 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9575 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9576 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9577 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9578 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9579 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9580 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9581 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9582 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9583 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9584 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9585 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9586 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9587 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9588 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9589 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9590 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9591 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9592 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9593 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9594 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9595 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9596 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9597 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9598 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9599 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9600 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9601 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9602 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9603 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9604 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9605 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9606 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9607 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9608 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9609 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9610 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9611 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9612 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9613 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9614 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9615 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9616 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9617 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9618 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9619 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9620 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9621 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9622 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9623 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9624 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9625 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9626 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9627 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9628 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9629 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9630 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9631 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9632 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9633 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9634 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9635 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9636 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9637 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9638 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9639 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9640 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9641 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9642 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9643 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9644 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9645 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9646 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9647 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9648 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9649 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9650 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9651 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9652 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9653 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9654 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9655 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9656 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9657 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9658 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9659 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9660 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9661 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9662 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9663 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9664 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9665 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9666 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9667 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9668 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9669 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9670 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9671 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9672 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9673 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9674 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9675 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9676 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9677 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9680 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9684 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9685 (memmem): Rename to __memmem and define as weak alias of
9686 __memmem. Use libc_hidden_weak.
9687 (__memmem): Use libc_hidden_def.
9688 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9689 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9693 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9694 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9695 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9696 and define as weak alias of __fgets_unlocked. Use
9698 (__fgets_unlocked): Use libc_hidden_def.
9699 * include/stdio.h (__fgets_unlocked): Declare. Use
9701 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9702 __fgets_unlocked instead of fgets_unlocked.
9703 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9704 (GET_NPROCS_CONF_PARSER): Likewise.
9705 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9706 (GET_NPROCS_CONF_PARSER): Likewise.
9709 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9710 weak alias of __wmemset. Use libc_hidden_weak.
9711 (__wmemset): Use libc_hidden_def.
9712 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9713 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9717 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9718 with asm name __mempcpy.
9719 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9722 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9723 and define as weak alias of __rawmemchr.
9724 (__rawmemchr): Do not define as strong alias of rawmemchr.
9727 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9729 (qsort): Call __qsort_r instead of qsort_r.
9730 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9731 (__qsort_r): Declare. Call libc_hidden_proto.
9732 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9734 * nscd/gai.c (__qsort_r): Define to qsort_r.
9735 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9736 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9737 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9740 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9741 define as weak alias of __malloc_info.
9744 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9745 as weak alias of __rewinddir. Don't use libc_hidden_def.
9746 (__rewinddir): Use libc_hidden_def.
9747 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9748 as weak alias of __rewinddir. Don't use libc_hidden_def.
9749 (__rewinddir): Use libc_hidden_def.
9750 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9751 weak alias of __rewinddir. Don't use libc_hidden_def.
9752 (__rewinddir): Use libc_hidden_def.
9753 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9754 (__rewinddir): Use libc_hidden_proto.
9755 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9757 (__getcwd): Use __rewinddir instead of rewinddir.
9760 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9761 alias of __fileno. Use libc_hidden_weak.
9762 (__fileno): Use libc_hidden_def.
9763 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9764 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9766 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9768 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9769 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9771 (fread_unlocked): Don't use libc_hidden_ver.
9772 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9773 and define as weak alias of __fread_unlocked. Don't use
9775 (__fread_unlocked): Use libc_hidden_def.
9776 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
9777 (ftello): Don't use libc_hidden_proto.
9778 (__ftello): Declare. Use libc_hidden_proto.
9779 (fread_unlocked): Don't use libc_hidden_proto.
9780 (__fread_unlocked): Declare. Use libc_hidden_proto.
9781 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9782 and __ftello instead of fileno, fread_unlocked and ftello.
9784 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9786 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9788 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9790 (_dl_start_user): Likewise.
9791 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9793 2014-11-12 Carlos O'Donell <carlos@redhat.com>
9794 Siddhesh Poyarekar <siddhesh@redhat.com>
9796 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9797 Move argv and envp down instead of moving argc up.
9798 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9800 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
9803 * test-skeleton.c (main): Return successful if one of
9804 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9805 * string/tst-strcoll-overflow.c: Define expected status.
9807 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
9810 * locale/iso-639.def: Define Bhili and Tulu language codes.
9812 2014-11-11 Alan Hayward <alan.hayward@arm.com>
9814 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9816 2014-11-10 Renlin Li <Renlin.Li@arm.com>
9819 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9821 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9823 * configure.ac: Updated check of minimal required version to
9825 * manual/install.texi (Tools for Compilation): Updated version
9827 * configure: Regenerated.
9828 * INSTALL: Likewise.
9830 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
9832 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9835 2014-11-07 Joseph Myers <joseph@codesourcery.com>
9837 * include/sys/wait.h (__libc_waitpid): Remove declaration.
9838 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9839 (__waitpid): Don't define as alias. Use libc_hidden_def not
9841 (waitpid): Define as alias of __waitpid.
9842 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9844 (__waitpid): Don't define as alias. Use libc_hidden_def not
9846 (waitpid): Define as alias of __waitpid.
9847 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9848 __libc_waitpid alias.
9849 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9850 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9852 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9853 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9854 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9856 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9858 (__waitpid): Don't define as alias. Use libc_hidden_def not
9860 (waitpid): Define as alias of __waitpid.
9862 2014-11-06 Carlos O'Donell <carlos@redhat.com>
9864 * manual/llio.texi: Add comment that write safety has been
9867 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9868 (localplt-build-dso): Add elf/ld.so.
9869 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9870 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9873 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9878 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9879 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9880 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9881 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9882 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9883 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9884 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9885 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9886 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9887 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9888 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9890 2014-11-05 Joseph Myers <joseph@codesourcery.com>
9893 * include/libc-symbols.h (INTUSE): Remove macro.
9895 (INTVARDEF): Likewise.
9896 (_INTVARDEF): Likewise.
9897 (INTDEF2): Likewise.
9898 (INTVARDEF2): Likewise.
9899 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9900 rtld_hidden_def instead of INTVARDEF.
9901 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9902 (_dl_starting_up_internal): Remove declaration.
9903 (_dl_starting_up): Use rtld_hidden_proto.
9904 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9906 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9907 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9909 * elf/dl-writev.h (_dl_writev): Likewise.
9910 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9911 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9912 _dl_starting_up_internal.
9914 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9916 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9919 2014-11-05 Will Newton <will.newton@linaro.org>
9921 * benchtests/Makefile: (bench-malloc): Add malloc thread
9922 scalability benchmark.
9923 * benchtests/bench-malloc-threads.c: New file.
9925 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
9927 * sysdeps/aarch64/strchrnul.S: New file.
9929 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9931 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9933 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9937 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9939 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9944 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
9946 * catgets/test-gencat.c: Use test-skeleton.c.
9947 * catgets/tst-catgets.c: Likewise.
9948 * csu/tst-empty.c: Likewise.
9949 * elf/tst-audit2.c: Likewise.
9950 * elf/tst-global1.c: Likewise.
9951 * elf/tst-pathopt.c: Likewise.
9952 * elf/tst-piemod1.c: Likewise.
9953 * elf/tst-tls10.c: Likewise.
9954 * elf/tst-tls11.c: Likewise.
9955 * elf/tst-tls12.c: Likewise.
9956 * gnulib/tst-gcc.c: Likewise.
9957 * iconvdata/tst-e2big.c: Likewise.
9958 * iconvdata/tst-loading.c: Likewise.
9959 * iconv/tst-iconv1.c: Likewise.
9960 * iconv/tst-iconv2.c: Likewise.
9961 * inet/test-inet6_opt.c: Likewise.
9962 * inet/tst-gethnm.c: Likewise.
9963 * inet/tst-network.c: Likewise.
9964 * inet/tst-ntoa.c: Likewise.
9965 * intl/tst-codeset.c: Likewise.
9966 * intl/tst-gettext2.c: Likewise.
9967 * intl/tst-gettext3.c: Likewise.
9968 * intl/tst-ngettext.c: Likewise.
9969 * intl/tst-translit.c: Likewise.
9970 * io/test-stat.c: Likewise.
9971 * libio/test-fmemopen.c: Likewise.
9972 * libio/tst-freopen.c: Likewise.
9973 * libio/tst-sscanf.c: Likewise.
9974 * libio/tst-ungetwc1.c: Likewise.
9975 * libio/tst-ungetwc2.c: Likewise.
9976 * libio/tst-widetext.c: Likewise.
9977 * localedata/tst-ctype.c: Likewise.
9978 * localedata/tst-digits.c: Likewise.
9979 * localedata/tst-leaks.c: Likewise.
9980 * localedata/tst-mbswcs1.c: Likewise.
9981 * localedata/tst-mbswcs2.c: Likewise.
9982 * localedata/tst-mbswcs3.c: Likewise.
9983 * localedata/tst-mbswcs4.c: Likewise.
9984 * localedata/tst-mbswcs5.c: Likewise.
9985 * localedata/tst-setlocale.c: Likewise.
9986 * localedata/tst-trans.c: Likewise.
9987 * localedata/tst-wctype.c: Likewise.
9988 * localedata/tst-xlocale1.c: Likewise.
9989 * login/tst-grantpt.c: Likewise.
9990 * malloc/tst-calloc.c: Likewise.
9991 * malloc/tst-malloc.c: Likewise.
9992 * malloc/tst-mallocstate.c: Likewise.
9993 * malloc/tst-mcheck.c: Likewise.
9994 * malloc/tst-mtrace.c: Likewise.
9995 * malloc/tst-obstack.c: Likewise.
9996 * math/atest-exp2.c: Likewise.
9997 * math/atest-exp.c: Likewise.
9998 * math/atest-sincos.c: Likewise.
9999 * math/test-matherr.c: Likewise.
10000 * math/test-misc.c: Likewise.
10001 * math/test-powl.c: Likewise.
10002 * math/tst-definitions.c: Likewise.
10003 * misc/tst-dirname.c: Likewise.
10004 * misc/tst-efgcvt.c: Likewise.
10005 * misc/tst-fdset.c: Likewise.
10006 * misc/tst-hsearch.c: Likewise.
10007 * misc/tst-mntent2.c: Likewise.
10008 * nptl/tst-sem7.c: Likewise.
10009 * nptl/tst-sem8.c: Likewise.
10010 * nptl/tst-sem9.c: Likewise.
10011 * nss/test-netdb.c: Likewise.
10012 * posix/tst-fnmatch.c: Likewise.
10013 * posix/tst-getlogin.c: Likewise.
10014 * posix/tst-gnuglob.c: Likewise.
10015 * posix/tst-mmap.c: Likewise.
10016 * pwd/tst-getpw.c: Likewise.
10017 * resolv/tst-inet_ntop.c: Likewise.
10018 * rt/tst-timer.c: Likewise.
10019 * stdio-common/test-fseek.c: Likewise.
10020 * stdio-common/test-popen.c: Likewise.
10021 * stdio-common/test-vfprintf.c: Likewise.
10022 * stdio-common/tst-cookie.c: Likewise.
10023 * stdio-common/tst-fileno.c: Likewise.
10024 * stdio-common/tst-gets.c: Likewise.
10025 * stdio-common/tst-obprintf.c: Likewise.
10026 * stdio-common/tst-perror.c: Likewise.
10027 * stdio-common/tst-sprintf2.c: Likewise.
10028 * stdio-common/tst-sprintf3.c: Likewise.
10029 * stdio-common/tst-sprintf.c: Likewise.
10030 * stdio-common/tst-swprintf.c: Likewise.
10031 * stdio-common/tst-tmpnam.c: Likewise.
10032 * stdio-common/tst-unbputc.c: Likewise.
10033 * stdio-common/tst-wc-printf.c: Likewise.
10034 * stdlib/tst-environ.c: Likewise.
10035 * stdlib/tst-fmtmsg.c: Likewise.
10036 * stdlib/tst-limits.c: Likewise.
10037 * stdlib/tst-rand48-2.c: Likewise.
10038 * stdlib/tst-rand48.c: Likewise.
10039 * stdlib/tst-random2.c: Likewise.
10040 * stdlib/tst-random.c: Likewise.
10041 * stdlib/tst-strtol.c: Likewise.
10042 * stdlib/tst-strtoll.c: Likewise.
10043 * stdlib/tst-tls-atexit.c: Likewise.
10044 * stdlib/tst-xpg-basename.c: Likewise.
10045 * string/test-ffs.c: Likewise.
10046 * string/tst-bswap.c: Likewise.
10047 * string/tst-inlcall.c: Likewise.
10048 * string/tst-strtok.c: Likewise.
10049 * string/tst-strxfrm.c: Likewise.
10050 * sysdeps/x86_64/tst-audit10.c: Likewise.
10051 * sysdeps/x86_64/tst-audit3.c: Likewise.
10052 * sysdeps/x86_64/tst-audit4.c: Likewise.
10053 * sysdeps/x86_64/tst-audit5.c: Likewise.
10054 * time/tst-ftime_l.c: Likewise.
10055 * time/tst-getdate.c: Likewise.
10056 * time/tst-mktime3.c: Likewise.
10057 * time/tst-mktime.c: Likewise.
10058 * time/tst-posixtz.c: Likewise.
10059 * time/tst-strptime2.c: Likewise.
10060 * time/tst-strptime3.c: Likewise.
10061 * wcsmbs/tst-btowc.c: Likewise.
10062 * wcsmbs/tst-mbrtowc.c: Likewise.
10063 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10064 * wcsmbs/tst-wchar-h.c: Likewise.
10065 * wcsmbs/tst-wcpncpy.c: Likewise.
10066 * wcsmbs/tst-wcrtomb.c: Likewise.
10067 * wcsmbs/tst-wcsnlen.c: Likewise.
10068 * wcsmbs/tst-wcstof.c: Likewise.
10070 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10073 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10075 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10077 (_dl_mcount): Use rtld_hidden_proto.
10078 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10080 * elf/rtld.c (_rtld_global_ro): Likewise.
10083 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10084 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10085 of _dl_init_internal.
10086 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10087 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10088 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10089 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10090 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10091 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10092 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10093 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10094 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10095 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10096 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10097 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10099 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10100 * sysdeps/tile/dl-start.S (_start): Likewise.
10101 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10102 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10105 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10106 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10107 (rtld_progname): Make macro definition unconditional.
10108 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10110 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10111 (dl_main): Likewise.
10112 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10113 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10114 instead of _dl_argv_internal.
10115 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10116 __GI__dl_argv instead of INTUSE(_dl_argv).
10117 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10118 __GI__dl_argv instead of _dl_argv_internal.
10120 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10121 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10123 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10124 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10126 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10127 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10129 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10130 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10132 2014-11-04 Andreas Schwab <schwab@suse.de>
10134 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10136 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10138 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10139 mtvsrd instruction in binary form.
10141 2014-11-03 Andreas Schwab <schwab@suse.de>
10144 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10145 for less than MB_LEN_MAX use a local buffer of that size.
10146 * libio/tst-fputws.c: New file.
10147 * libio/Makefile (tests): Add tst-fputws.
10149 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10151 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10152 the size of the fpu_fr.fpu_dregs[] array.
10154 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10156 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10157 (__nanosleep): Do not define as alias.
10158 (nanosleep): Define as alias of __nanosleep.
10159 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10160 __libc_nanosleep name.
10162 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10164 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10165 install.texi in comment.
10167 2014-10-31 Torvald Riegel <triegel@redhat.com>
10169 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10170 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10171 ... add here and use lwsync or sync ...
10172 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10173 ... and add here using lwsync.
10175 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10177 * elf/dl-machine-reject-phdr.h: New file.
10178 * elf/dl-load.c: #include that.
10179 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10180 if that returned true.
10182 2014-10-31 Roland McGrath <roland@hack.frob.com>
10185 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10186 gen-as-const-headers chunk. Add a big scare comment after the last
10187 safe place to touch before-compile.
10189 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10191 * manual/install.texi (Tools for Compilation): Update autoconf
10192 version requirements.
10193 * INSTALL: Regenerated.
10195 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10196 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10197 (__libc_pselect): Likewise.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10205 2014-10-31 Torvald Riegel <triegel@redhat.com>
10207 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10208 correct barrier instruction.
10209 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10211 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10214 2014-10-30 Roland McGrath <roland@hack.frob.com>
10216 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10217 after defining inlines. Instead, just use parens to defeat macro
10218 expansion of __isctype in its declaration.
10220 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10222 * include/sys/uio.h (__libc_readv): Remove declaration.
10223 (__libc_writev): Likewise.
10224 * misc/readv.c (__libc_readv): Rename to __readv.
10225 (__readv): Do not define as alias.
10226 (readv): Define as alias of __readv.
10227 * misc/writev.c (__libc_writev): Rename to __writev.
10228 (__writev): Do not define as alias.
10229 (writev): Define as alias of __writev.
10230 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10231 (__readv): Do not define as alias.
10232 (readv): Define unconditionally as alias of __readv.
10233 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10234 (__writev): Do not define as alias.
10235 (writev): Define unconditionally as alias of __writev.
10236 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10238 (writev): Do not define __libc_writev name.
10240 2014-10-30 Roland McGrath <roland@hack.frob.com>
10242 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10243 (convert_charseq): New function, broken out of ...
10244 (use_from_charmap): ... here. Call it.
10245 (use_to_charmap): Use convert_charseq and free instead of duplicating
10246 its code with a variable-length stack struct.
10248 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10250 * include/fcntl.h (__libc_creat): Remove declaration.
10251 * io/creat.c (__libc_creat): Rename to creat.
10252 (creat): Do not define as alias.
10253 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10254 of creat instead of __libc_creat.
10255 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10257 (creat): Do not define as alias.
10258 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10260 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10265 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10267 * manual/llio.texi: Add comments discussing why write() may be
10268 considered MT-unsafe on Linux.
10270 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10272 * dl-load.c (local_strdup): Remove.
10273 (expand_dynamic_string_token): Use __strdup.
10274 (decompose_rpath): Likewise.
10275 (_dl_map_object): Likewise.
10277 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10280 * sysdeps/generic/unwind-dw2-fde.c
10281 (__register_frame_info_bases_internal): Do not declare.
10282 (__register_frame_info_table_bases_internal): Likewise.
10283 (__deregister_frame_info_bases_internal): Likewise.
10284 (__register_frame_info_bases): Declare and use hidden_proto before
10285 definition. Use hidden_def instead of INTDEF.
10286 (__register_frame_info_table_bases): Likewise.
10287 (__deregister_frame_info_bases): Likewise.
10288 (__register_frame_info): Do not use INTUSE.
10289 (__register_frame): Likewise.
10290 (__register_frame_info_table): Likewise.
10291 (__register_frame_table): Likewise.
10292 (__deregister_frame_info): Likewise.
10293 (__deregister_frame): Likewise.
10295 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10297 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10298 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10300 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10302 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10305 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10308 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10309 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10310 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10311 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10312 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10313 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10314 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10315 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10316 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10317 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10318 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10319 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10320 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10322 (setfsuid): Likewise.
10323 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10324 (setfsuid): Likewise.
10325 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10326 (setfsuid): Likewise.
10327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10329 (setfsuid): Likewise.
10330 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10331 (setfsuid): Likewise.
10332 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10334 (setfsuid): Likewise.
10336 2014-10-27 Andreas Schwab <schwab@suse.de>
10339 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10340 check for Slow_SSE4_2 feature bit.
10341 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10342 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10343 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10344 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10346 2014-10-24 Roland McGrath <roland@hack.frob.com>
10348 * configure.ac: Validate compiler version with a empirical test of
10349 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10351 * configure: Regenerated.
10353 * inet/htons.c (htons): Prototypify.
10354 * inet/htonl.c (htonl): Likewise.
10356 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10358 * string/strncat.c (strncat): Improve performance by using strlen.
10360 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10362 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10364 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10366 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10367 Call libc_fetestexcept_aarch64.
10369 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10371 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10372 Call libc_feholdexcept_aarch64.
10374 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10376 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10377 Call get_rounding_mode.
10379 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10381 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10384 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10386 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10389 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10392 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10393 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10394 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10395 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10396 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10397 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10398 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10399 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10400 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10401 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10402 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10403 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10404 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10405 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10406 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10407 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10408 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10409 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10410 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10411 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10412 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10413 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10414 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10415 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10416 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10417 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10418 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10419 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10420 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10421 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10422 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10423 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10424 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10425 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10426 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10427 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10428 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10429 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10430 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10431 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10432 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10434 (geteuid): Likewise.
10435 (getgid): Likewise.
10436 (getuid): Likewise.
10437 (getresgid): Likewise.
10438 (getresuid): Likewise.
10439 (getgroups): Likewise.
10440 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10441 (geteuid): Likewise.
10442 (getgid): Likewise.
10443 (getuid): Likewise.
10444 (getresgid): Likewise.
10445 (getresuid): Likewise.
10446 (getgroups): Likewise.
10447 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10448 (geteuid): Likewise.
10449 (getgid): Likewise.
10450 (getuid): Likewise.
10451 (getresgid): Likewise.
10452 (getresuid): Likewise.
10453 (getgroups): Likewise.
10454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10456 (geteuid): Likewise.
10457 (getgid): Likewise.
10458 (getuid): Likewise.
10459 (getresgid): Likewise.
10460 (getresuid): Likewise.
10461 (getgroups): Likewise.
10462 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10463 (geteuid): Likewise.
10464 (getgid): Likewise.
10465 (getuid): Likewise.
10466 (getresgid): Likewise.
10467 (getresuid): Likewise.
10468 (getgroups): Likewise.
10469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10471 (geteuid): Likewise.
10472 (getgid): Likewise.
10473 (getuid): Likewise.
10474 (getgroups): Likewise.
10477 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10478 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10479 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10480 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10481 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10482 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10483 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10484 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10485 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10486 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10487 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10488 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10489 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10491 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10492 (lchown): Likewise.
10493 (fchown): Likewise.
10494 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10496 (lchown): Likewise.
10497 (fchown): Likewise.
10498 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10499 (lchown): Likewise.
10500 (fchown): Likewise.
10501 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10503 (lchown): Likewise.
10504 (fchown): Likewise.
10506 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10508 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10511 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10513 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10516 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10519 Remove unused include.
10521 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10523 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10524 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10525 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10526 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10528 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10529 Helge Deller <deller@gmx.de>
10532 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10533 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10534 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10536 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10539 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10540 Remove macro definition.
10541 (__ashrdi3_v_glibc20): Likewise.
10542 (__lshrdi3_v_glibc20): Likewise.
10543 (__cmpdi2_v_glibc20): Likewise.
10544 (__ucmpdi2_v_glibc20): Likewise.
10545 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10546 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10547 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10548 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10549 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10550 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10552 2014-10-22 Roland McGrath <roland@hack.frob.com>
10554 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10555 old GNU extension [0] syntax.
10556 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10557 alloca rather than an array member with variable length.
10558 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10559 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10560 (parse_opt): ... here. Likewise use alloca there.
10561 Validate the -i argument before checking for rootness.
10562 (send_shutdown): New function, broken out of ...
10563 (parse_opt): ... here.
10565 2014-10-22 Roland McGrath <roland@hack.frob.com>
10567 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10568 macro to get at the _rt_local_ro field.
10569 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10570 ([PIC] case) or _dl_hwcap ([!PIC] case).
10571 * sysdeps/arm/setjmp.S: Likewise.
10573 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10574 * sysdeps/arm/configure.ac: New check to define it.
10575 * sysdeps/arm/configure: Regenerated.
10576 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10577 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10578 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10579 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10580 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10581 Use move/movt pair instead of a load.
10582 (LDST_GLOBAL): Macro removed.
10583 (LDR_GLOBAL): New macro replaces it.
10584 (LDR_HIDDEN): New macro.
10585 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10586 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10588 * setjmp/tst-setjmp-static.c: New file.
10589 * setjmp/Makefile (tests): Add it.
10590 (tests-static): New variable.
10592 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10595 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10597 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10600 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10602 2014-10-21 Roland McGrath <roland@hack.frob.com>
10604 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10606 2014-10-20 Roland McGrath <roland@hack.frob.com>
10608 * io/fts.c (dirent_not_directory): New function.
10609 (fts_build): Call it.
10611 2014-10-20 Roland McGrath <roland@hack.frob.com>
10613 * nptl/version.c (__nptl_main): Use normal __write rather than
10615 (banner): Update copyright years.
10617 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10619 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10620 * nptl/pthread_cond_timedwait.c: Likewise.
10621 * nptl/pthread_mutex_timedlock.c: Likewise.
10622 * nptl/sem_timedwait.c: Likewise.
10624 * sysdeps/nptl/bits/libc-lock.h
10625 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10626 (__libc_lock_init_recursive): Return void, not 0.
10627 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10628 (__libc_rwlock_init): Likewise.
10629 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10631 2014-10-20 Torvald Riegel <triegel@redhat.com>
10634 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10635 (__pthread_once_slow): ... here.
10636 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10637 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10639 2014-10-20 Torvald Riegel <triegel@redhat.com>
10642 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10643 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10644 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10645 * nptl/pthread_once.c (__pthread_once): Likewise.
10648 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10651 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10653 (writev): Use __libc_writev as strong name.
10654 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10655 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10657 2014-10-17 Roland McGrath <roland@hack.frob.com>
10659 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10661 * sysdeps/i386/nptl/tls.h
10662 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10663 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10665 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10666 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10667 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10668 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10669 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10670 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10672 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10673 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10675 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10677 (__pthread_mutex_init): ... here. Call it.
10678 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10679 Conditionalize PI cases on [__NR_futex].
10680 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10681 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10682 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10684 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10685 conditional on [SIGSETXID].
10686 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10687 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10688 is defined. Likewise for SIGSETXID.
10689 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10690 Conditionalize definitions on [SIGSETXID].
10691 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10692 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10693 unblocking on [SIGCANCEL].
10695 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10696 [__NR_set_robust_list].
10698 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10700 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10701 (do_compare): Likewise.
10703 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
10706 * string/strcoll_l.c: Don't include stdio.h.
10707 (coll_seq): Remove members idxarr and rulearr.
10708 (get_next_seq_cached): Remove function.
10709 (get_next_seq): Likewise.
10710 (get_next_seq_nocache): Rename to get_next_seq.
10711 (do_compare): Remove function.
10712 (do_compare_nocache): Rename to do_compare.
10713 (STRCOLL): Remove weight and rules cache.
10715 2014-10-16 Roland McGrath <roland@hack.frob.com>
10717 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10718 * sysdeps/arm/sfp-machine.h: ... to here.
10719 * sysdeps/arm/Implies: Remove arm/soft-fp.
10721 2014-10-14 Joseph Myers <joseph@codesourcery.com>
10723 * conform/data/sys/utsname.h-data (*_t): Allow.
10724 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10725 [POSIX] (WEXITED): Do not expect constant.
10726 [POSIX] (WSTOPPED): Likewise.
10727 [POSIX] (WNOHANG): Likewise.
10728 [POSIX] (WNOWAIT): Likewise.
10729 [POSIX] (siginfo_t): Do not expect type or elements.
10730 [POSIX] (pid_t): Do not expect type.
10731 [POSIX] (signal.h): Do not allow header.
10732 [POSIX] (sys/resource.h): Likewise.
10733 [POSIX] (si_*): Do not allow pattern.
10734 [POSIX] (W*): Likewise.
10735 [POSIX] (P_*): Likewise.
10736 [POSIX] (BUS_*): Likewise.
10737 [POSIX] (CLD_*): Likewise.
10738 [POSIX] (FPE_*): Likewise.
10739 [POSIX] (ILL_*): Likewise.
10740 [POSIX] (POLL_*): Likewise.
10741 [POSIX] (SEGV_*): Likewise.
10742 [POSIX] (SI_*): Likewise.
10743 [POSIX] (TRAP_*): Likewise.
10744 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10747 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10751 infinite loop when __recvmsg returns 0.
10753 2014-10-10 Joseph Myers <joseph@codesourcery.com>
10755 * CANCEL-FCT-WAIVE: Remove file.
10756 * CANCEL-FILE-WAIVE: Likewise.
10759 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10760 instead of INTVARDEF.
10761 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10762 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10763 rtld_hidden_data_def instead of INTVARDEF.
10764 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10765 * elf/dl-deps.c (expand_dst): Likewise.
10766 * elf/dl-load.c (_dl_dst_count): Likewise.
10767 (_dl_dst_substitute): Likewise.
10768 (decompose_rpath): Likewise.
10769 (_dl_init_paths): Likewise.
10770 (open_path): Likewise.
10771 (_dl_map_object): Likewise.
10772 * elf/rtld.c (dl_main): Likewise.
10773 (process_dl_audit): Likewise.
10774 (process_envvars): Likewise.
10775 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10776 Remove declaration.
10777 (__libc_enable_secure): Use rtld_hidden_proto.
10779 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10782 (add_path): New function broken out of _dl_rtld_di_serinfo.
10783 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
10785 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10787 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10788 parentheses around macro arguments.
10789 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10790 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10791 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10792 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10795 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10800 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10801 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10802 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10803 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10804 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10805 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10808 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10812 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10813 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10814 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10815 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10818 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10819 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10820 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10821 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10822 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10823 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10824 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10826 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10827 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10829 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10830 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10833 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10834 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10835 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10837 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10838 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10844 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10847 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10848 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10849 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10851 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10852 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10853 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10854 (_FP_FRAC_SRS_1): Likewise.
10855 (_FP_FRAC_CLZ_1): Likewise.
10856 (_FP_MUL_MEAT_1_imm): Likewise.
10857 (_FP_MUL_MEAT_1_wide): Likewise.
10858 (_FP_MUL_MEAT_1_hard): Likewise.
10859 (_FP_SQRT_MEAT_1): Likewise.
10860 (_FP_FRAC_ASSEMBLE_1): Likewise.
10861 (_FP_FRAC_DISASSEMBLE_1): Likewise.
10862 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10863 (__FP_CLZ_2): Likewise.
10864 (_FP_MUL_MEAT_2_wide): Likewise.
10865 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10866 (_FP_MUL_MEAT_2_gmp): Likewise.
10867 (_FP_MUL_MEAT_2_120_240_double): Likewise.
10868 (_FP_SQRT_MEAT_2): Likewise.
10869 (_FP_FRAC_ASSEMBLE_2): Likewise.
10870 (_FP_FRAC_DISASSEMBLE_2): Likewise.
10871 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10872 (_FP_FRAC_CLZ_4): Likewise.
10873 (_FP_MUL_MEAT_4_wide): Likewise.
10874 (_FP_MUL_MEAT_4_gmp): Likewise.
10875 (_FP_SQRT_MEAT_4): Likewise.
10876 (_FP_FRAC_ASSEMBLE_4): Likewise.
10877 (_FP_FRAC_DISASSEMBLE_4): Likewise.
10878 * soft-fp/op-common.h (_FP_CMP): Likewise.
10879 (_FP_CMP_EQ): Likewise.
10880 (_FP_CMP_UNORD): Likewise.
10881 (_FP_TO_INT): Likewise.
10882 (_FP_FROM_INT): Likewise.
10883 [!__FP_CLZ] (__FP_CLZ): Likewise.
10884 (_FP_DIV_HELP_imm): Likewise.
10885 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10887 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10888 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10889 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10890 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10891 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10893 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10894 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10895 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10898 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10899 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10900 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10901 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10902 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10903 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10904 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10905 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10906 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10907 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10911 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10912 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10913 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10916 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10917 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10918 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10919 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10920 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10921 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10922 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10923 (FP_UNPACK_RAW_SP): Likewise.
10924 (FP_PACK_RAW_S): Likewise.
10925 (FP_PACK_RAW_SP): Likewise.
10926 (FP_UNPACK_S): Likewise.
10927 (FP_UNPACK_SP): Likewise.
10928 (FP_UNPACK_SEMIRAW_S): Likewise.
10929 (FP_UNPACK_SEMIRAW_SP): Likewise.
10930 (FP_PACK_S): Likewise.
10931 (FP_PACK_SP): Likewise.
10932 (FP_PACK_SEMIRAW_S): Likewise.
10933 (FP_PACK_SEMIRAW_SP): Likewise.
10934 (_FP_SQRT_MEAT_S): Likewise.
10935 (FP_CMP_S): Likewise.
10936 (FP_CMP_EQ_S): Likewise.
10937 (FP_CMP_UNORD_S): Likewise.
10938 (FP_TO_INT_S): Likewise.
10939 (FP_FROM_INT_S): Likewise.
10941 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10943 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10944 (FP_EX_INVALID_IMZ): Likewise.
10945 (FP_EX_INVALID_IMZ_FMA): Likewise.
10946 (FP_EX_INVALID_ISI): Likewise.
10947 (FP_EX_INVALID_ZDZ): Likewise.
10948 (FP_EX_INVALID_IDI): Likewise.
10949 (FP_EX_INVALID_SQRT): Likewise.
10950 (FP_EX_INVALID_CVI): Likewise.
10951 (FP_EX_INVALID_VC): Likewise.
10952 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10953 "invalid" exceptions.
10954 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10955 (_FP_ADD_INTERNAL): Likewise.
10956 (_FP_MUL): Likewise.
10957 (_FP_FMA): Likewise.
10958 (_FP_DIV): Likewise.
10959 (_FP_CMP_CHECK_NAN): Likewise.
10960 (_FP_SQRT): Likewise.
10961 (_FP_TO_INT): Likewise.
10962 (FP_EXTEND): Likewise.
10964 2014-10-09 Allan McRae <allan@archlinux.org>
10966 * po/fr.po: Update French translation from translation project.
10968 2014-10-09 Joseph Myers <joseph@codesourcery.com>
10971 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10973 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10974 (__cxa_atexit): Use libc_hidden_proto.
10975 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10978 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10980 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10981 [!_ISOMAC] (__iswspace_l_internal): Likewise.
10982 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10983 [!_ISOMAC] (__iswctype_internal): Likewise.
10984 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10985 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10987 (fcntl): Remove __fcntl_internal alias.
10988 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10989 __connect_internal alias.
10990 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10993 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10994 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10996 (_FP_CHECK_FLUSH_ZERO): New macro.
10997 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10998 (_FP_CMP): Likewise.
10999 (_FP_CMP_EQ): Likewise.
11000 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11002 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11003 (FP_TRUNC): Likewise.
11005 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11006 treated as invalid conversion, not as normal exponent.
11008 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11009 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11010 (_FP_CMP_EQ): Likewise.
11011 (_FP_CMP_UNORD): Likewise.
11012 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11013 (FP_CMP_EQ_D): Likewise.
11014 (FP_CMP_UNORD_D): Likewise.
11015 * soft-fp/extended.h (FP_CMP_E): Likewise.
11016 (FP_CMP_EQ_E): Likewise.
11017 (FP_CMP_UNORD_E): Likewise.
11018 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11019 (FP_CMP_EQ_Q): Likewise.
11020 (FP_CMP_UNORD_Q): Likewise.
11021 * soft-fp/single.h (FP_CMP_S): Likewise.
11022 (FP_CMP_EQ_S): Likewise.
11023 (FP_CMP_UNORD_S): Likewise.
11024 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11025 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11026 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11027 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11028 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11029 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11030 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11031 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11032 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11033 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11034 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11035 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11036 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11038 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11040 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11041 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11043 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11045 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11046 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11047 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11048 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11050 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11052 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11053 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11055 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11057 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11058 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11059 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11060 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11063 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11064 a subnormal result, set the underflow exception if trapping on
11065 underflow is enabled.
11066 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11067 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11068 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11070 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11071 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11072 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11073 * soft-fp/extendxftf2.c (__extendxftf2): Use
11074 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11076 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11077 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11078 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11079 FP_HANDLE_EXCEPTIONS.
11080 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11081 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11082 FP_HANDLE_EXCEPTIONS.
11083 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11084 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11085 FP_HANDLE_EXCEPTIONS.
11086 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11087 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11088 FP_HANDLE_EXCEPTIONS.
11090 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11093 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11094 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11096 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11097 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11099 (__adjtimex): Define using libc_hidden_ver.
11100 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11101 Remove declaration.
11102 (ntp_gettime): Call __adjtimex directly.
11103 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11104 Remove declaration.
11105 (ntp_gettimex): Call __adjtimex directly.
11106 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11107 __adjtimex_internal alias.
11109 2014-10-08 Roland McGrath <roland@hack.frob.com>
11112 * nscd/nscd.c (more_help): Rewrite list of tables collection
11113 using xstrdup and asprintf.
11115 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11117 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11118 Roland McGrath <roland@hack.frob.com>
11120 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11121 (do_lookup_unique): ... local function 'enter' here; update callers.
11123 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11125 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11126 compat_symbol calls on [SHARED].
11127 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11128 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11130 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11131 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11132 (oldsetrlimit): Remove.
11133 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11135 (lchown): New syscall entry.
11136 (oldsetrlimit): Remove.
11137 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11139 (oldsetrlimit): Remove.
11140 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11143 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11144 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11145 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11146 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11147 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11148 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11149 (fchown): Likewise.
11150 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11151 (fchown): Likewise.
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11155 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11158 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11159 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11160 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11161 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11163 (__old_sem_post): Likewise.
11165 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11167 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11168 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11169 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11170 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11171 Use INLINE_VSYSCALL macro.
11172 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11173 __vdso_clock_gettime.
11174 * sysdeps/unix/sysv/linux/tile/init-first.c
11175 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11176 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11177 __vdso_clock_gettime.
11179 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11180 to set up frame more cleanly.
11182 * sysdeps/tile/memcmp.c: New file.
11184 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11186 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11187 * sysdeps/tile/tilegx/strcasestr.c: New file.
11188 * sysdeps/tile/tilegx/strnlen.c: New file.
11189 * sysdeps/tile/tilegx/strstr.c: New file.
11191 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11193 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11195 * nptl/tst-setuid3.c: Write errors to stdout.
11197 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11200 (preload): New functions broken out of _dl_map_object_deps.
11201 (_dl_map_object_deps): Remove a nested function. Update call sites.
11203 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11206 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11207 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11209 2014-10-01 Steve Ellcey <sellcey@mips.com>
11211 * sysdeps/mips/strcmp.S: New.
11213 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11216 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11217 (linkat): Likewise.
11218 (mkdirat): Likewise.
11219 (readlinkat): Likewise.
11220 (renameat): Likewise.
11221 (symlinkat): Likewise.
11222 (unlinkat): Likewise.
11223 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11224 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11225 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11226 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11227 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11228 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11229 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11231 2014-09-30 Will Newton <will.newton@linaro.org>
11233 * math/math.h: Define long double math functions if
11234 _LIBC_TEST is defined.
11235 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11237 * localedata/Makefile: Move assignment to tests-special
11238 into an ifdef testing run-built-tests.
11239 * timezone/Makefile: Likewise.
11241 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11243 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11244 with $(BASH) not $(SHELL).
11246 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11247 Matthew LeGendre <legendre1@llnl.gov>
11250 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11253 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11255 * stdio-common/printf_fp.c
11256 (hack_digit): New function, broken out of ...
11257 (__printf_fp): ... local function here. Update call sites.
11258 hack_digit now takes an additional parameter that is a pointer
11259 to a struct of the referenced locals. Those locals moved inside
11260 the struct and references updated.
11262 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11264 * aclocal.m4: Require autoconf 2.69.
11265 * configure: Regenerated.
11266 * sysdeps/aarch64/configure: Likewise.
11267 * sysdeps/alpha/configure: Likewise.
11268 * sysdeps/arm/armv7/configure: Likewise.
11269 * sysdeps/arm/configure: Likewise.
11270 * sysdeps/ia64/configure: Likewise.
11271 * sysdeps/mach/configure: Likewise.
11272 * sysdeps/mips/configure: Likewise.
11273 * sysdeps/s390/configure: Likewise.
11274 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11277 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11279 * sysdeps/ia64/configure.ac: Likewise.
11281 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11284 specify symbol version for ld.so. Do not include entry for
11286 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11287 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11288 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11291 * Makeconfig [$(build-shared) = yes]
11292 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11294 [$(build-shared) = yes && $(soversions.mk-done) = t]
11295 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11296 [$(build-shared) = yes && $(soversions.mk-done) = t]
11297 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11299 [$(build-shared) = yes && $(soversions.mk-done) = t]
11300 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11302 [$(build-shared) = yes && $(soversions.mk-done) = t]
11303 (common-generated): Don't append gnu/lib-names.h and
11304 gnu/lib-names.stmp here.
11305 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11306 (lib-names-h-abi): New variable.
11307 [$(build-shared) = yes && $(soversions.mk-done) = t]
11308 (lib-names-stmp-abi): Likewise.
11309 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11310 abi-variants] (before-compile): Append
11311 $(common-objpfx)$(lib-names-h-abi).
11312 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11313 abi-variants] (common-generated): Append gnu/lib-names.h.
11314 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11315 abi-variants] (install-others-nosubdir): Depend on
11316 $(inst_includedir)/$(lib-names-h-abi).
11317 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11318 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11319 [$(build-shared) = yes && $(soversions.mk-done) = t]
11320 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11321 [$(build-shared) = yes && $(soversions.mk-done) = t]
11322 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11323 [$(build-shared) = yes && $(soversions.mk-done) = t]
11324 (common-generated): Append $(lib-names-h-abi) and
11325 $(lib-names-stmp-abi).
11326 * scripts/lib-names.awk: Do not handle multi being set.
11327 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11329 (abi-lp64_be-ld-soname): Likewise.
11330 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11332 (abi-hard-ld-soname): Likewise.
11333 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11334 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11336 (abi-o32_hard-ld-soname): Likewise.
11337 (abi-o32_soft_2008-ld-soname): Likewise.
11338 (abi-o32_hard_2008-ld-soname): Likewise.
11339 (abi-n32_soft-ld-soname): Likewise.
11340 (abi-n32_hard-ld-soname): Likewise.
11341 (abi-n32_soft_2008-ld-soname): Likewise.
11342 (abi-n32_hard_2008-ld-soname): Likewise.
11343 (abi-n64_soft-ld-soname): Likewise.
11344 (abi-n64_hard-ld-soname): Likewise.
11345 (abi-n64_soft_2008-ld-soname): Likewise.
11346 (abi-n64_hard_2008-ld-soname): Likewise.
11347 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11349 (abi-64-v2-ld-soname): Likewise.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11352 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11354 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11356 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11358 (abi-64-ld-soname): Likewise.
11359 (abi-x32-ld-soname): Likewise.
11360 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11362 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11364 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11367 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11368 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11369 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11371 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11372 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11373 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11374 syscall entry for GLIBC_2.2 symbol version.
11375 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11378 (setrlimit): Likewise.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11382 2014-09-23 Will Newton <will.newton@linaro.org>
11384 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11385 _LINUX_ARM_SYSDEP_H include guard too.
11386 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11389 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11391 * sysdeps/unix/sysv/linux/eventfd.c:
11392 Make first argument unsigned.
11393 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11394 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11396 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11398 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11399 * socket/sys/socket.h: Likewise
11400 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11402 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11404 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11406 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11408 * time/tst-ftime.c: New test.
11409 * time/Makefile (tests): Add tst-ftime.
11411 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11413 * soft-fp/extended.h: Fix comment formatting.
11414 * soft-fp/op-1.h: Likewise.
11415 * soft-fp/op-2.h: Likewise.
11416 * soft-fp/op-4.h: Likewise.
11417 * soft-fp/op-8.h: Likewise.
11418 * soft-fp/op-common.h: Likewise.
11419 * soft-fp/soft-fp.h: Likewise.
11421 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11423 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11426 * Makeconfig (soversions-default-setname): Remove variable.
11427 ($(common-objpfx)soversions.i): Don't pass default_setname to
11429 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11430 oldest_abi to abi-versions.awk.
11431 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11432 * config.make.in (oldest-abi): Remove variable.
11433 * configure.ac (--enable-oldest-abi): Remove configure option.
11434 * configure: Regenerated.
11435 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11437 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11438 * scripts/soversions.awk: Do not handle default_setname variable.
11439 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11441 * sysdeps/mach/hurd/configure: Regenerated.
11442 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11444 * sysdeps/unix/sysv/linux/configure: Regenerated.
11446 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11448 * elf/Makefile (CFLAGS-interp.c): Remove.
11449 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11451 * elf/interp.c: Include generated runtime-linker.h
11453 * Makerules (lib%.so): Don't include $(+interp) in
11455 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11456 * dlfcn/eval.c: Remove file.
11458 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11462 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11466 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11468 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11469 Jakub Jelinek <jakub@redhat.com>
11472 * libio/stdio.h: Check definition of __fortify_function
11473 instead of __extern_always_inline to include bits/stdio2.h.
11474 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11475 check if __extern_always_inline is defined.
11476 [__USE_MISC || __USE_XOPEN]: Likewise.
11477 [__USE_ISOC99] Likewise.
11478 * misc/sys/cdefs.h (__fortify_function): Define only if
11479 __extern_always_inline is defined.
11480 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11481 __extern_always_inline and __extern_inline only for g++-4.3
11482 and newer or a compatible gcc.
11484 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11487 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11488 last change to handle zero prefix length.
11490 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11492 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11495 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11496 _POSIX_RAW_SOCKETS.
11498 2014-09-13 Allan McRae <allan@archlinux.org>
11500 * po/ru.po: Update Russian translation from translation project.
11502 2014-09-12 Roland McGrath <roland@hack.frob.com>
11504 * locale/programs/locale.c (show_locale_vars): Inline local function
11505 into its sole call site. Clean up some style nits.
11506 (print_item): New function, broken out of ...
11507 (show_info): ... local function here. Clean up style nits.
11509 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11511 (set_class_defaults): ... local function set_default here.
11512 Define set_default as a macro locally to pass constant parameters.
11513 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11514 rather than a shared local.
11516 * stdlib/rpmatch.c (try): New function, broken out of ...
11517 (rpmatch): ... local function here. Also, prototypify definition.
11519 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11521 * scripts/soversions.awk: Do not handle configuration names.
11522 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11523 vendor and os variables to soversions.awk.
11524 * configure.ac: Do not modify gnu-* host_os.
11525 * configure: Regenerated
11526 * shlib-versions: Remove first column with configuration names.
11527 * nptl/shlib-versions: Likewise.
11528 * nptl_db/shlib-versions: Likewise.
11529 * sysdeps/hppa/shlib-versions: Likewise.
11530 * sysdeps/m68k/shlib-versions: Likewise.
11531 * sysdeps/mach/hurd/shlib-versions: Likewise.
11532 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11533 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11534 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11535 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11536 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11537 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11538 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11539 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11542 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11543 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11544 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11547 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11548 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11549 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11552 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11555 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11557 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11559 * shlib-versions: Remove OS-specific entries. Moved to files in
11561 * sysdeps/mach/hurd/shlib-versions: New file.
11562 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11564 * nptl/shlib-versions: Remove architecture-specific entries.
11565 Moved to files in sysdeps.
11566 * shlib-versions: Likewise.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11569 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11570 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11572 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11574 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11575 (UDP_NO_CHECK6_RX): Likewise.
11577 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11579 * sysdeps/posix/sysconf.c (__sysconf): Spell
11580 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11582 2014-08-12 Florian Weimer <fweimer@redhat.com>
11584 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11586 * iconv/Versions (__gconv_transliterate): Export for use from
11588 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11589 (struct __gconv_trans_data, __gconv_trans_fct,
11590 __gconv_trans_context_fct, __gconv_trans_query_fct,
11591 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11593 (struct __gconv_step_data): Remove __trans member.
11594 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11595 longer hidden. Remove unused trans_data argument.
11596 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11597 (__gconv_translit_find): Remove declaration.
11598 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11600 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11601 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11602 trans_data argument. Add hidden definition.
11603 (__gconv_translit_find): Remove.
11604 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11605 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11606 * iconv/skeleton.c: Remove transliteration initialization.
11607 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11608 __gconv_step_data initialization.
11609 * libio/iofwide.c (__libio_translit_): Remove.
11610 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11611 * wcsmbs/btowc.c (__btowc): Likewise.
11612 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11613 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11614 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11615 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11616 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11617 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11618 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11619 * wcsmbs/wctob.c (wctob): Likewise.
11621 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11624 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11625 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11627 * sysdeps/x86/Makefile: Adjust.
11629 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11630 Roland McGrath <roland@hack.frob.com>
11632 * locale/weight.h: Add include guard.
11633 (findidx): Make static rather than auto; take new parameters
11634 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11635 * locale/weightwc.h: Likewise.
11636 * posix/fnmatch_loop.c
11637 (FCT): Change type of EXTRA from int32_t to wint_t.
11638 Don't include either header inside the function.
11639 Call FINDIDX rather than findidx, and pass new arguments.
11640 #undef FINDIDX at the end of the file.
11641 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11642 FINDIDX before including fnmatch_loop.c for the non-wide version.
11643 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11644 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11645 for the wide version.
11646 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11647 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11648 Pass new arguments to findidx.
11649 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11650 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11651 Don't #include it inside the function. Pass new arguments to findidx.
11652 * posix/regex_internal.h
11653 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11654 (re_string_elem_size_at): Don't #include it inside the function.
11655 Pass new arguments to findidx.
11656 * string/strcoll_l.c: #include WEIGHT_H at top level.
11657 (get_next_seq): Don't #include it inside the function.
11658 Pass new arguments to findidx.
11659 (get_next_seq_nocache): Likewise.
11660 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11661 (STRXFRM): Don't #include it inside the function.
11662 Pass new arguments to findidx.
11664 2014-09-11 Florian Weimer <fweimer@redhat.com>
11667 * malloc/malloc.c (unlink): Turn asserts into a call to
11670 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
11673 * libio/wfileops (do_ftell_wide): Free OUT.
11675 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11677 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11679 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11682 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11683 group if the current group is empty.
11685 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11687 * benchtests/bench-memset.c (test_main): Add more test from size
11688 from 32 to 512 bytes.
11689 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11690 Add POWER8 memset object.
11691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11692 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11693 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11695 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11697 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11698 multiarch POWER8 memset optimization.
11699 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11700 POWER8 memset optimization.
11702 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11703 Remove bzero multiarch objects.
11704 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11705 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11706 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11707 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11709 [__bzero]: Redefine to specific name.
11710 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11711 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11712 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11714 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11715 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11717 2014-09-10 Florian Weimer <fweimer@redhat.com>
11719 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11720 warnings into errors.
11722 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11723 __cxa_thread_atexit_impl prototype.
11725 2014-09-09 Steve Ellcey <sellcey@mips.com>
11727 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11728 Fix capitalization of error message.
11730 2014-09-09 Steve Ellcey <sellcey@mips.com>
11732 * sysdeps/mips/preconfigure: Modify ABI tests.
11734 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11736 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11738 2014-09-07 Roland McGrath <roland@hack.frob.com>
11739 Carlos O'Donell <carlos@systemhalted.org>
11741 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11742 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11743 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11744 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11745 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11746 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11747 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11748 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11749 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11750 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11751 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11752 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11753 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11755 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11756 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11757 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11762 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11763 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11764 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11765 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11766 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11767 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11768 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11769 Deconditionalize the code that was previously under [RESET_PID].
11770 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11771 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11772 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11773 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11776 2014-09-08 Allan McRae <allan@archlinux.org>
11778 * version.h (RELEASE): Set to "development".
11779 (VERSION): Set to "2.20.90"
11781 2014-09-07 Allan McRae <allan@archlinux.org
11783 * version.h (RELEASE): Set to "stable".
11784 (VERSION): Set to "2.20"
11785 * include/features.h (__GLIBC_MINOR__): Set to 20.
11787 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11790 * po/ko.po: Update Korean translation from translation project.
11792 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
11795 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11796 macro for handling signed relocations.
11798 2014-09-03 Florian Weimer <fweimer@redhat.com>
11801 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11802 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11804 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11805 * iconvdata/ibm935.c (BODY): Likewise.
11806 * iconvdata/ibm937.c (BODY): Likewise.
11807 * iconvdata/ibm939.c (BODY): Likewise.
11808 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11810 * iconvdata/Makefile (iconv-test.out): Pass module list to test
11812 * iconvdata/run-iconv-test.sh: New test loop for checking for
11815 2014-09-02 Khem Raj <raj.khem@gmail.com>
11817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11820 2014-09-01 Allan McRae <allan@archlinux.org>
11822 * po/eo.po: Update Esperanto translation from translation project.
11824 * po/ca.po: Update Catalan translation from translation project.
11826 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11828 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11829 __proc_dostop call.
11831 2014-08-27 Mark Wielaard <mjw@redhat.com>
11834 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11835 to call set_thread_area instead of hand written asm.
11836 (__NR_set_thread_area): Removed define.
11837 (TLS_FLAG_WRITABLE): Likewise.
11838 (__ASSUME_SET_THREAD_AREA): Remove check.
11839 (TLS_EBX_ARG): Remove define.
11840 (TLS_LOAD_EBX): Likewise.
11842 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11844 Simplify atomicity of socket creation in bind.
11846 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11847 looking up the name after linking the file.
11849 2014-08-27 Allan McRae <allan@archlinux.org>
11851 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11853 2014-08-26 Florian Weimer <fweimer@redhat.com>
11856 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11857 trans_compare, open_translit, __gconv_translit_find):
11858 Remove module loading code.
11860 2014-08-26 Allan McRae <allan@archlinux.org>
11862 * po/vi.po: Update Vietnamese translation from translation project.
11864 * po/uk.po: Update Ukrainian translation from translation project.
11866 * po/fr.po: Update French translation from translation project.
11868 * po/ru.po: Update Russian translation from translation project.
11870 * po/pl.po: Update Polish translation from translation project.
11872 * po/cs.po: Update Czech translation from translation project.
11874 * po/de.po: Update German translation from translation project.
11876 * po/bg.po: Update Bulgarian translation from translation project.
11878 * po/sv.po: Update Sweedish translation from translation project.
11880 * po/nl.po: Update Dutch translation from translation project.
11882 * po/es.po: Update Spanish translation from translation project.
11884 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11886 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11888 * catgets/Makefile (CPPFLAGS-gencat): Remove.
11889 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11890 (CPPFLAGS-iconvconfig): Likewise.
11891 * timezone/Makefile (CPPFLAGS-zic): Likewise.
11893 * include/libc-symbols.h: Remove unnecessary check for
11895 * nptl/pthreadP.h: Likewise.
11896 * sysdeps/aarch64/setjmp.S: Likewise.
11897 * sysdeps/alpha/setjmp.S: Likewise.
11898 * sysdeps/arm/sysdep.h: Likewise.
11899 * sysdeps/i386/setjmp.S: Likewise.
11900 * sysdeps/m68k/setjmp.c: Likewise.
11901 * sysdeps/posix/getcwd.c: Likewise.
11902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11903 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11904 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11905 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11906 * sysdeps/sh/sh3/setjmp.S: Likewise.
11907 * sysdeps/sh/sh4/setjmp.S: Likewise.
11908 * sysdeps/unix/alpha/sysdep.h: Likewise.
11909 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11910 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11911 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11912 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11917 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11920 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11922 * sysdeps/x86_64/setjmp.S: Likewise.
11924 2014-08-13 Joseph Myers <joseph@codesourcery.com>
11927 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11929 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11930 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11932 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11934 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11937 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11938 and __x86_64__ when disabling x87 inline functions.
11940 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
11943 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11944 asm statement with __cpuid_count.
11946 2014-08-12 Mike Frysinger <vapier@gentoo.org>
11948 * configure.ac: Change __ehdr_start code to dereference the struct.
11949 Run readelf on the output to look for relocations.
11950 * configure: Regenerated.
11952 2014-08-12 Joseph Myers <joseph@codesourcery.com>
11955 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11957 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11959 2014-08-12 Roland McGrath <roland@hack.frob.com>
11961 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11963 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
11966 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11967 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11969 2014-08-12 Sean Anderson <seanga2@gmail.com>
11971 * malloc/malloc.c: Fix typo in comment.
11973 2014-08-09 Allan McRae <allan@archlinux.org>
11975 * Regenerate libc.po.
11977 2014-08-08 Mike Frysinger <vapier@gentoo.org>
11979 * intl/tst-gettext2.sh: Check every lang file for creation.
11981 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11983 * sysdeps/aarch64/fpu/math_private.h
11984 (libc_feholdsetround_noex_aarch64_ctx): New function.
11986 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
11988 * sysdeps/arm/armv6/strcpy.S (strcpy):
11989 Fix performance issue in misaligned cases.
11991 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11993 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11994 Move definition from termios.h.
11995 (struct termio): Likewise.
11996 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11997 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11998 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11999 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12001 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12002 Move definition to ioctl-types.h
12003 (struct termio): Likewise.
12004 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12005 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12006 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12007 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12010 2014-08-05 Richard Henderson <rth@redhat.com>
12012 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12014 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12016 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12017 Use __feraiseexcept.
12018 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12019 Protect libm symbols with IS_IN_libm.
12021 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12023 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12025 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12027 2014-08-04 Will Newton <will.newton@linaro.org>
12029 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12032 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12034 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12035 variants for each function.
12037 2014-08-04 Roland McGrath <roland@hack.frob.com>
12039 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12041 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12042 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12044 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12045 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12046 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12047 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12048 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12049 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12050 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12051 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12052 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12053 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12054 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12055 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12056 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12057 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12058 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12059 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12060 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12061 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12062 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12063 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12064 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12065 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12066 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12067 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12068 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12069 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12070 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12071 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12072 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12073 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12074 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12075 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12076 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12077 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12078 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12079 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12080 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12081 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12082 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12083 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12084 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12085 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12086 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12087 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12088 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12089 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12090 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12091 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12092 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12094 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12095 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12096 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12098 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12099 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12101 2014-08-04 Roland McGrath <roland@hack.frob.com>
12103 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12104 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12105 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12106 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12107 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12108 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12110 2014-08-04 Roland McGrath <roland@hack.frob.com>
12112 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12113 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12114 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12115 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12117 2014-08-04 Roland McGrath <roland@hack.frob.com>
12119 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12120 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12121 (__libc_vfork): Define function under this name.
12122 (__vfork): Define as an alias.
12123 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12124 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12126 2014-08-04 Roland McGrath <roland@hack.frob.com>
12128 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12129 that was previously under [RESET_PID].
12130 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12132 2014-08-04 Andreas Schwab <schwab@suse.de>
12134 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12136 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12138 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12141 2014-08-01 Roland McGrath <roland@hack.frob.com>
12143 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12145 2014-08-01 Richard Henderon <rth@redhat.com>
12147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12148 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12149 typo in exact zero test.
12150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12151 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12154 2014-08-01 Roland McGrath <roland@hack.frob.com>
12156 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12157 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12158 * sysdeps/arm/sysdep.h: ... here.
12159 [!__ASSEMBLER__]: Include <stdint.h>.
12161 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12163 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12164 (HAVE_WCTYPE_H): Likewise.
12165 (HAVE_ISWCTYPE): Likewise.
12166 (ENABLE_NLS): Likewise.
12167 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12168 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12170 * posix/regex_internal.c: Check if DEBUG is defined and is
12173 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12174 (HAVE_MBSRTOWCS): Likewise.
12175 * posix/fnmatch.c: Include string.h unconditionally.
12177 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12179 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12182 2014-07-31 Roland McGrath <roland@hack.frob.com>
12184 * sysdeps/generic/safe-fatal.h: New file.
12185 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12186 * nptl/forward.c: Include it.
12187 (__pthread_unwind): Use __safe_fatal as default action, rather
12188 than a bogus use of INTERNAL_SYSCALL that could never work.
12190 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12191 * configure.ac (libc_cv_builtin_trap): New test.
12192 * configure: Regenerated.
12193 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12194 (ABORT_INSTRUCTION): Define using __builtin_trap.
12196 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12197 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12198 * sysdeps/nptl/nptl-signals.h: New file.
12199 * nptl/pthreadP.h: Include <nptl-signals.h>.
12201 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12203 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12204 (ONE_DIRECTION): Define.
12205 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12206 (ONE_DIRECTION): Define.
12207 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12208 (ONE_DIRECTION): Define.
12210 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12212 * sysdeps/s390/Makefile: Delete file.
12213 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12214 * sysdeps/s390/__longjmp.c: Delete file.
12215 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12216 Remove fields __flags and __reserved.
12217 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12218 and add versioning.
12219 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12220 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12221 * sysdeps/s390/rtld-setjmp.S: Likewise.
12222 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12223 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12224 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12225 * sysdeps/s390/s390-32/setjmp.S: ... here.
12227 (__sigsetjmp): Remove setting __flags field.
12228 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12229 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12230 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12231 * sysdeps/s390/s390-64/setjmp.S: ... here.
12233 (__sigsetjmp): Remove setting __flags field.
12234 * sysdeps/s390/setjmp.S: Delete file.
12235 * sysdeps/s390/sigjmp.c: Likewise.
12236 * sysdeps/s390/v1-longjmp.c: Likewise.
12237 * sysdeps/s390/v1-setjmp.h: Likewise.
12238 * sysdeps/s390/v1-sigjmp.c: Likewise.
12239 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12240 Remove v1-longjmp_chk.
12241 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12242 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12243 Include debug/longjmp_chk.c and add versioning.
12244 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12245 Include nptl/pt-longjmp.c and add versioning.
12246 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12247 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12248 Include __longjmp.c.
12249 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12251 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12252 (__getcontext): Remove setting __flags field.
12254 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12255 Don't restore upper high grps.
12256 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12258 (__swapcontext): Remove setting uc_flags field.
12259 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12261 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12262 Include __longjmp.c.
12263 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12265 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12266 (__getcontext): Remove setting __flags field.
12268 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12269 (__swapcontext): Remove setting uc_flags field.
12270 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12271 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12272 Remove fields uc_high_gprs and __reserved.
12273 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12274 New file with reverted content.
12275 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12276 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12278 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12281 2014-07-31 Andreas Schwab <schwab@suse.de>
12283 * config.h.in (HAVE_IFUNC): Define to 0.
12284 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12287 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12290 memmove-avx-unaligned, memcpy-avx-unaligned and
12291 mempcpy-avx-unaligned.
12292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12293 Add tests for AVX memcpy functions.
12294 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12295 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12297 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12298 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12300 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12301 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12303 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12304 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12305 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12307 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12310 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12313 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12316 * manual/llio.texi: Add section about open file description locks.
12317 * manual/examples/ofdlocks.c: Example of open file description
12319 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12320 F_OFD_SETLK, and F_OFD_SETLKW.
12322 2014-07-23 Allan McRae <allan@archlinux.org>
12324 * po/es.po: Update Spanish translation from translation project.
12326 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12328 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12330 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12333 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12334 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12335 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12337 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12340 * math/fesetenv.c (__fesetenv)
12341 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12342 * math/feupdateenv.c (__feupdateenv)
12343 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12345 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12346 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12347 (__ASSUME_SOCKETCALL): Do not define.
12349 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12350 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12351 (__ASSUME_SOCKETCALL): Do not define.
12352 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12353 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12354 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12355 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12356 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12357 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12358 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12359 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12361 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12362 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12363 (__ASSUME_SOCKETCALL): Do not define.
12364 (__ASSUME_IPC64): Define unconditionally.
12365 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12366 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12367 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12368 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12369 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12370 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12371 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12374 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12375 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12376 (__ASSUME_SOCKETCALL): Do not define.
12377 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12378 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12379 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12380 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12381 (__ASSUME_REQUEUE_PI): Define unconditionally.
12382 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12383 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12384 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12385 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12386 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12387 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12389 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12390 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12391 (__ASSUME_SOCKETCALL): Do not define.
12392 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12393 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12394 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12395 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12396 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12397 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12399 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12400 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12401 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12402 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12403 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12404 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12405 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12406 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12407 (__ASSUME_GETCPU_SYSCALL): Likewise.
12409 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12410 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12411 cases for individual architectures.
12412 * sysdeps/gnu/configure: Regenerated.
12413 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12414 LIBC_SLIBDIR_RTLDDIR.
12415 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12416 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12417 LIBC_SLIBDIR_RTLDDIR.
12418 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12420 LIBC_SLIBDIR_RTLDDIR.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12423 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12424 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12426 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12427 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12429 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12430 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12431 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12432 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12434 * sysdeps/aarch64/shlib-versions: Move to ...
12435 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12436 * sysdeps/alpha/shlib-versions: Move to ...
12437 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12438 * sysdeps/arm/shlib-versions: Move to ...
12439 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12440 * sysdeps/hppa/shlib-versions: Move all contents except for
12441 libgcc_s entry to ...
12442 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12444 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12445 * sysdeps/ia64/shlib-versions: Move to ...
12446 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12448 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12449 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12450 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12451 * sysdeps/microblaze/shlib-versions: Move to ...
12452 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12453 * sysdeps/mips/shlib-versions: Move to ...
12454 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12456 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12457 * sysdeps/tile/shlib-versions: Move to ...
12458 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12459 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12461 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12462 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12464 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12466 2014-07-17 Will Newton <will.newton@linaro.org>
12468 * sysdeps/arm/bits/atomic.h
12469 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12470 (__arch_compare_and_exchange_bool_16_int): Likewise.
12471 (__arch_compare_and_exchange_bool_64_int): Likewise.
12473 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12474 into an #else block.
12476 2014-07-16 Roland McGrath <roland@hack.frob.com>
12478 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12479 just Linux configurations. Test empirically that the compiler sets
12480 __ARM_EABI__, rather than using the tuple to decide.
12481 * sysdeps/arm/preconfigure: Regenerated.
12482 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12483 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12484 contents appended ...
12485 * sysdeps/arm/configure.ac: ... here.
12486 * sysdeps/arm/configure: Regenerated.
12488 2014-07-15 Roland McGrath <roland@hack.frob.com>
12490 * nptl/pthread_kill.c: New file.
12491 * nptl/pthread_sigmask.c: New file.
12492 * nptl/pthread_sigqueue.c: New file.
12494 * sysdeps/nptl/lowlevellock.h: New file.
12495 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12496 * sysdeps/nptl/lowlevellock-futex.h: New file.
12498 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12499 Remove dead declarations.
12501 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12503 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12504 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12505 config-cflags-avx2.
12506 * sysdeps/x86_64/configure.ac: Likewise.
12507 * sysdeps/i386/configure: Regenerated.
12508 * sysdeps/x86_64/configure: Likewise.
12509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12510 memset-avx2 only if config-cflags-avx2 is yes.
12511 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12512 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12514 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12515 only if HAVE_AVX2_SUPPORT is defined.
12516 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12518 2014-07-14 Alan Modra <amodra@gmail.com>
12521 * elf/elf.h (DT_PPC64_NUM): Correct value.
12522 * NEWS: Add to fixed bug list.
12524 2014-07-13 Jim Meyering <meyering@fb.com>
12527 regex: don't deref NULL upon heap allocation failure
12528 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12529 failure in one more place.
12530 To trigger the segfault, configure grep -with-included-regex,
12531 build it, and run these commands:
12532 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12534 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12536 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12538 2014-07-11 Richard Henderson <rth@redhat.com>
12540 * sysdeps/aarch64/libm-test-ulps: Update.
12542 2014-07-10 Florian Weimer <fweimer@redhat.com>
12545 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12546 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12547 (__nptl_setxid): Initialize error member. Call
12548 __nptl_setxid_error.
12549 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12550 * nptl/descr.h (struct xid_command): Add error member.
12551 * nptl/tst-setuid3.c: New file.
12552 * nptl/Makefile (tests): Add it.
12554 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12556 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12558 (__lll_trylock): Use __lll_base_trylock.
12559 (__lll_cond_trylock): Likewise.
12561 2014-07-10 Roland McGrath <roland@hack.frob.com>
12563 * nptl/pthread_create.c (start_thread): Use atomic_or and
12564 lll_futex_wake directly rather than lll_robust_dead.
12565 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12566 (lll_robust_dead): Macro removed.
12567 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12568 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12569 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12570 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12571 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12572 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12573 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12574 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12575 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12576 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12577 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12578 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12579 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12580 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12583 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12584 Use atomic_compare_and_exchange_val_acq directly rather than
12585 lll_robust_trylock.
12586 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12587 (__lll_robust_trylock, lll_robust_trylock): Removed.
12588 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12589 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12590 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12591 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12592 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12593 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12594 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12595 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12597 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12598 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12600 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12601 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12603 2014-07-02 Florian Weimer <fweimer@redhat.com>
12605 * manual/locale.texi (Locale Names): New section documenting
12606 locale name syntax. Adjust menu and node chaining accordingly.
12607 (Choosing Locale): Reference Locale Names, Locale Categories.
12608 Mention setting LC_ALL=C. Reflect that name syntax is now
12610 (Locale Categories): New section title. Reference Locale Names.
12611 LC_ALL is an environment variable, but not a category.
12612 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12613 description, now in Locale Name. Reference that section. Locale
12614 name syntax is now documented.
12616 2014-07-02 Florian Weimer <fweimer@redhat.com>
12619 * locale/findlocale.c (name_present, valid_locale_name): New
12621 (_nl_find_locale): Use the loc_name variable to store name
12622 candidates. Call name_present and valid_locale_name to check and
12623 validate locale names. Return an error if the locale is invalid.
12625 2014-07-02 Florian Weimer <fweimer@redhat.com>
12627 * locale/setlocale.c (setlocale): Use strdup for allocating
12628 composite name copy.
12630 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12632 Sync up with gnulib.
12633 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12634 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12635 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12636 and _GL_ARG_NONNULL.
12637 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12638 [!_LIBC]: Include code for Windows and Cygwin.
12639 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12640 Include prototype for int strerror_r.
12641 [!_LIBC] (is_open): New function.
12642 (flush_stdout): New function.
12643 (print_errno_message): Use it.
12645 (error_at_line): Likewise.
12646 (error_tail) Add function attribute macros. Use
12649 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12651 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12653 * io/ftw.c: Include sys/param.h unconditionally.
12655 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12658 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12660 (freecache): New function to free CACHE on exit.
12662 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12665 2014-07-09 David S. Miller <davem@davemloft.net>
12667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12669 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12670 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12671 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12672 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12673 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12674 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12675 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12676 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12677 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12678 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12679 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12680 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12681 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12683 2014-07-09 Andreas Schwab <schwab@suse.de>
12685 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12687 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12688 (do_test): Likewise.
12690 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12692 2014-07-09 Will Newton <will.newton@linaro.org>
12694 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12695 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12696 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12697 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12698 * sysdeps/hppa/start.S (_start): Likewise.
12700 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12702 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12704 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12707 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12709 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12710 after checking that it is non-NULL.
12712 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12714 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12716 * sysdeps/powerpc/memmove.c: Remove file.
12717 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12718 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12719 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12720 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12721 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12722 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12723 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12724 string memmove instead of removed powerpc one.
12726 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12727 [weak_alias]: Fix compiler warning due trailing data.
12728 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12729 [weak_alias]: Likewise.
12730 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12731 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12734 (__libc_ifunc_impl_list): Add memmove functions.
12736 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12738 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12740 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12742 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12744 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12746 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12748 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12750 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12752 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12754 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12756 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12758 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12760 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12762 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12764 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12766 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12768 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12770 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12773 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12775 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12776 to avoid alignment traps in non-cacheable memory.
12777 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12781 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12782 file: multiarch power7 memmove.
12783 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12784 multiarch default memmove.
12785 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12786 multiarch memove for powerpc32/power4.
12788 * string/bcopy.c: Use full path to include memmove.c.
12789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12791 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12792 bcopy for powerpc64.
12793 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12794 bcopy for powerpc64.
12795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12796 and memmove implementations.
12797 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12798 optimized multiarch memmove for POWER7/powerpc64.
12799 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12800 default multiarch memmove for powerpc64.
12801 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12802 multiarch for powerpc64.
12803 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12804 for POWER7/powerpc64.
12805 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12806 memmove for POWER7/powerpc64.
12808 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12811 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12812 __ELF_NATIVE_CLASS equal to 64.
12814 2014-07-07 Roland McGrath <roland@hack.frob.com>
12816 * sysdeps/nptl/lowlevellock.h: File removed.
12818 * NEWS: NPTL is no longer an add-on!
12819 * nptl/internaltypes.h: Moved ...
12820 * sysdeps/nptl/internaltypes.h: ... here.
12821 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12822 * sysdeps/nptl/fork.c: Likewise.
12823 * sysdeps/nptl/gai_misc.h: Likewise.
12824 * sysdeps/nptl/librt-cancellation.c: Likewise.
12825 * sysdeps/nptl/jmp-unwind.c: Likewise.
12826 * sysdeps/nptl/setxid.h: Likewise.
12827 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12828 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12829 * sysdeps/unix/sysv/linux/arm/Implies: New file.
12830 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12831 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12832 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12833 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12834 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12835 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12836 * sysdeps/unix/sysv/linux/mips/Implies: New file.
12837 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12838 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12839 * sysdeps/unix/sysv/linux/sh/Implies: New file.
12840 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12841 * sysdeps/unix/sysv/linux/tile/Implies: New file.
12842 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12843 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12844 * nptl/Makeconfig: Moved ...
12845 * sysdeps/nptl/Makeconfig: ... here.
12846 * nptl/configure: File removed.
12847 * nptl/ANNOUNCE: File removed.
12848 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12849 * sysdeps/unix/sysv/linux/configure: Regenerated.
12851 * nptl/Makefile (routines): Add libc_pthread_init,
12852 libc_multiple_threads, register-atfork and unregister-atfork.
12853 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12854 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12855 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12856 pthread-pi-defines.sym, structsem.sym.
12857 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12858 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12859 [$(subdir) = nptl] (tests): Add tst-setgetname.
12860 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12861 * sysdeps/unix/sysv/linux/sigaction.c: Just include
12862 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12863 [!LIBC_SIGACTION]: Remove aliases.
12864 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12865 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12866 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12867 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12868 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12869 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12870 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12871 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12872 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12873 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12874 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12875 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12876 __libc_allocate_rtsig_private.
12877 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12878 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12879 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12880 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12881 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12882 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12883 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12884 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12885 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12886 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12887 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12888 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12889 * nptl/internaltypes.h: ... here.
12890 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12891 * sysdeps/nptl/jmp-unwind.c: ... here.
12892 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12893 * nptl/libc-lowlevellock.c: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12895 * nptl/libc_multiple_threads.c: ... here.
12896 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12897 * nptl/libc_pthread_init.c: ... here.
12898 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12899 * nptl/lowlevelbarrier.sym: ... here.
12900 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12901 * nptl/lowlevelcond.sym: ... here.
12902 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12903 * nptl/lowlevellock.c: ... here.
12904 * nptl/lowlevellock.h: Moved ...
12905 * sysdeps/nptl/lowlevellock.h: ... here.
12906 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12907 * nptl/lowlevelrobustlock.c: ... here.
12908 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12909 * nptl/lowlevelrobustlock.sym: ... here.
12910 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12911 * nptl/lowlevelrwlock.sym: ... here.
12912 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12913 * nptl/pt-fork.c: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12915 * nptl/pthread-pi-defines.sym: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12917 * nptl/pthread_attr_getaffinity.c: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12919 * nptl/pthread_attr_setaffinity.c: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12921 * nptl/pthread_mutex_cond_lock.c: ... here.
12922 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12924 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12925 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12926 * nptl/pthread_once.c: ... here, replacing old file.
12927 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12928 * nptl/pthread_yield.c: ... here.
12929 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12930 * nptl/register-atfork.c: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12932 * nptl/sem_post.c: ... here.
12933 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12934 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12935 * nptl/sem_timedwait.c: ... here.
12936 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12937 * nptl/sem_trywait.c: ... here.
12938 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12939 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12940 * nptl/sem_wait.c: ... here.
12941 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12942 * nptl/structsem.sym: ... here.
12943 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12944 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12945 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12946 * nptl/unregister-atfork.c: ... here.
12947 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12948 * nptl/unwindbuf.sym: ... here.
12949 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12950 * sysdeps/nptl/fork.c: ... here.
12951 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12952 * sysdeps/nptl/fork.h: ... here.
12953 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12954 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12955 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12957 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12959 * sysdeps/unix/sysv/linux/getpid.c: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12961 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12962 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12963 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12965 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12967 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12969 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12970 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12971 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12972 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12973 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12974 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12975 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12977 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12978 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12979 * sysdeps/unix/sysv/linux/raise.c: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12981 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12983 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12985 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12986 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12987 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12989 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12990 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12991 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12992 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12993 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12994 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12996 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12998 * sysdeps/generic/memcopy.h: Add comment for
12999 MEMCPY_OK_FOR_FWD_MEMMOVE.
13001 2014-07-04 Will Newton <will.newton@linaro.org>
13003 * string/memchr.c: Merge from gnulib.
13004 [_LIBC]: Remove conditionals.
13005 (__ptr_t): Remove define.
13006 (LONG_MAX_32_BITS): Likewise.
13007 (LONG_MAX): Likewise.
13008 (MEMCHR): Use ANSI prototype and optimize algorithm.
13010 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13012 2014-07-03 Roland McGrath <roland@hack.frob.com>
13014 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13015 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13017 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13018 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13019 in a bare environment with no <stdlib.h> installed.
13020 * sysdeps/nptl/configure: Regenerated.
13022 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13024 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13025 AC_EGREP_CPP for kernel header checks, so they only succeed if
13026 including <linux/version.h> actually works right.
13027 * sysdeps/unix/sysv/linux/configure: Regenerated.
13029 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13030 value so it's not diagnosed as unused.
13032 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13033 thing) with "ifeq ($(subdir),rt)".
13035 2014-07-03 Richard Henderson <rth@redhat.com>
13037 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13038 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13039 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13041 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13042 (math_force_eval): New.
13044 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13045 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13047 * sysdeps/alpha/fpu/s_round.c: Remove file.
13048 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13050 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13051 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13052 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13053 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13054 (_dl_start, print_statistics): Likewise.
13055 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13056 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13058 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13059 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13060 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13061 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13062 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13063 (HP_SMALL_TIMING_AVAIL): Define.
13064 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13065 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13066 (HP_SMALL_TIMING_AVAIL): Define.
13067 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13068 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13070 * sysdeps/aarch64/hp-timing.h: New file.
13072 * sysdeps/generic/hp-timing.h: Remove dead comment.
13073 * sysdeps/generic/hp-timing-common.h: New file.
13074 * sysdeps/alpha/hp-timing.h: Include it.
13075 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13076 * sysdeps/i386/i686/hp-timing.h: Likewise.
13077 * sysdeps/ia64/hp-timing.h: Likewise.
13078 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13079 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13081 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13082 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13083 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13084 (hp_timing_t): New.
13086 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13087 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13088 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13089 * elf/rtld.c (_dl_start_final): Likewise.
13090 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13091 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13092 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13093 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13094 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13095 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13096 (HP_TIMING_DIFF_INIT): Remove.
13097 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13098 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13099 (HP_TIMING_DIFF_INIT): Remove.
13100 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13101 * sysdeps/i386/i686/hp-timing.c: Remove file.
13102 * sysdeps/x86_64/hp-timing.c: Remove file.
13103 * sysdeps/ia64/hp-timing.c: Remove file.
13104 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13105 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13106 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13107 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13109 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13110 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13111 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13112 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13113 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13114 (HP_TIMING_ACCUM): Remove.
13115 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13116 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13117 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13119 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13120 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13121 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13122 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13123 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13124 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13125 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13126 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13128 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13130 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13132 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13134 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13136 Sync up with gettext.
13137 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13138 [_MSC_VER]: Include malloc.h
13139 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13140 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13141 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13142 TEMP_FAILURE_RETRY. Cast return of alloca.
13143 [!_LIBC] Call gl_rwlock_init.
13144 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13146 2014-07-02 Roland McGrath <roland@hack.frob.com>
13148 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13149 before checking its value.
13151 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13153 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13155 * debug/memcpy_chk.c: Don't include pagecopy.h.
13156 * debug/mempcpy_chk.c: Likewise.
13157 * string/memcpy.c: Likewise.
13158 * string/memmove.c: Likewise.
13159 * sysdeps/powerpc/memmove.c: Likewise.
13160 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13161 definition of PAGE_COPY_FWD_MAYBE here...
13162 * sysdeps/generic/pagecopy.h: ... from here.
13163 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13165 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13166 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13168 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13172 (__libc_ifunc_impl_list): Likewise.
13173 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13174 multiarch strcat for PPC64.
13175 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13176 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13178 2014-07-02 Roland McGrath <roland@hack.frob.com>
13180 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13182 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13184 * intl/loadmsgcat.c: Remove declaration of
13185 get_sysdep_segment_value.
13186 (get_sysdep_segment_value): Use ISO C style.
13187 (_nl_load_domain): Use ISO C style. Get rid of redundant
13188 semicolon. Fix typo and formatting in comment.
13189 (_nl_unload_domain): Use ISO C style.
13191 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13193 2014-07-02 Will Newton <will.newton@linaro.org>
13195 * malloc/obstack.c: Merge from gnulib master.
13196 [HAVE_CONFIG_H]: Remove conditional code.
13197 [!_LIBC]: Include config.h.
13198 [!ELIDE_CODE]: Don't include inttypes.h, include
13199 stdint.h unconditionally.
13200 (print_and_abort): Mark as _Noreturn.
13201 (_obstack_allocated_p): Mark as __attribute_pure__.
13202 (obstack_free): Rename to __obstack_free.
13203 [!__attribute__]: Remove conditional code.
13204 * malloc/obstack.h: Merge from gnulib master.
13205 [__cplusplus]: Move conditional down.
13206 [!__attribute_pure__]: Define __attribute_pure__ here
13207 if it is not already defined.
13208 (_obstack_memory_used): Mark as __attribute_pure__.
13209 [!__obstack_free]: Define as obstack_free.
13210 [__GNUC__]: Remove check for ancient NeXT gcc.
13212 2014-07-02 Will Newton <will.newton@linaro.org>
13213 Paul Eggert <eggert@cs.ucla.edu>
13215 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13217 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13219 * resolv/gethnamaddr.c: Add comment warning that the file is
13222 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13224 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13227 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13228 entry for aio_cancel and aio_cancel64.
13229 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13230 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13231 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13232 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13233 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13234 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13235 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13236 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13237 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13238 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13239 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13240 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13241 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13243 2014-07-01 Roland McGrath <roland@hack.frob.com>
13245 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13246 * nptl/pthread_mutex_lock.c: Likewise.
13247 * nptl/pthread_mutex_timedlock.c: Likewise.
13248 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13250 2014-07-01 Richard henderson <rth@redhat.com>
13252 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13253 (__isnan, __isnanl): Remove.
13254 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13256 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13258 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13260 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13262 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13264 * resolv/nss_dns/dns-host.c (getanswer_r)
13265 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13267 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13269 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13270 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13272 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13273 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13275 2014-07-01 Roland McGrath <roland@hack.frob.com>
13277 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13278 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13280 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13281 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13283 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13284 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13286 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13287 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13289 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13290 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13291 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13292 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13294 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13295 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13296 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13297 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13298 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13300 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13302 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13303 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13304 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13305 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13307 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13308 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13309 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13311 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13312 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13313 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13314 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13315 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13317 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13318 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13319 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13320 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13321 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13323 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13324 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13325 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13326 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13327 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13328 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13329 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13330 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13332 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13334 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13335 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13336 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13339 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13343 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13345 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13346 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13348 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13350 * sysdeps/arm/libm-test-ulps: Regenerated.
13352 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13353 Roland McGrath <roland@hack.frob.com>
13355 * test-skeleton.c (signal_handler): Kill the whole process group
13356 before killing the child individually.
13357 (main): Report any failure on `setpgid'.
13359 2014-06-30 Roland McGrath <roland@hack.frob.com>
13361 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13362 from _TLS_H to _ARM_NPTL_TLS_H.
13363 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13364 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13366 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13369 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13370 (__expm1l): Return argument unchanged when small but not
13373 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13374 include macro name.
13375 (_FP_UNPACK_RAW_1_P): Likewise.
13376 (_FP_PACK_RAW_1): Likewise.
13377 (_FP_PACK_RAW_1_P): Likewise.
13378 (_FP_MUL_MEAT_1_wide): Likewise.
13379 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13380 (_FP_MUL_MEAT_1_hard): Likewise.
13381 (_FP_DIV_MEAT_1_imm): Likewise.
13382 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13383 (_FP_DIV_MEAT_1_udiv): Likewise.
13384 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13385 (_FP_UNPACK_RAW_2): Likewise.
13386 (_FP_UNPACK_RAW_2_P): Likewise.
13387 (_FP_PACK_RAW_2): Likewise.
13388 (_FP_PACK_RAW_2_P): Likewise.
13389 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13390 (_FP_MUL_MEAT_2_wide): Likewise.
13391 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13392 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13393 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13394 (_FP_MUL_MEAT_2_gmp): Likewise.
13395 (_FP_DIV_MEAT_2_udiv): Likewise.
13396 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13397 (_FP_FRAC_SRL_4): Likewise.
13398 (_FP_FRAC_SRST_4): Likewise.
13399 (_FP_FRAC_SRS_4): Likewise.
13400 (_FP_UNPACK_RAW_4): Likewise.
13401 (_FP_UNPACK_RAW_4_P): Likewise.
13402 (_FP_PACK_RAW_4): Likewise.
13403 (_FP_PACK_RAW_4_P): Likewise.
13404 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13405 (_FP_MUL_MEAT_4_wide): Likewise.
13406 (_FP_MUL_MEAT_4_gmp): Likewise.
13407 (umul_ppppmnnn): Likewise.
13408 (_FP_DIV_MEAT_4_udiv): Likewise.
13409 (__FP_FRAC_ADD_4): Likewise.
13410 (__FP_FRAC_SUB_3): Likewise.
13411 (__FP_FRAC_SUB_4): Likewise.
13412 (__FP_FRAC_DEC_3): Likewise.
13413 (__FP_FRAC_DEC_4): Likewise.
13414 (__FP_FRAC_ADDI_4): Likewise.
13415 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13416 (_FP_FRAC_SRL_8): Likewise.
13417 (_FP_FRAC_SRS_8): Likewise.
13419 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13420 include macro name.
13421 (FP_UNPACK_RAW_EP): Likewise.
13422 (FP_PACK_RAW_E): Likewise.
13423 (FP_PACK_RAW_EP): Likewise.
13424 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13425 (_FP_ISSIGNAN): Likewise.
13426 (_FP_ADD_INTERNAL): Likewise.
13427 (_FP_FMA): Likewise.
13428 (_FP_CMP): Likewise.
13429 (_FP_SQRT): Likewise.
13430 (_FP_TO_INT): Likewise.
13431 (_FP_FROM_INT): Likewise.
13432 (FP_EXTEND): Likewise.
13433 (_FP_DIV_MEAT_N_loop): Likewise.
13435 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13437 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13440 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13443 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13444 result with correct sign in case of exponents that produce
13445 overflow except for X very close to 1.
13447 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13449 mktime: merge #if/#ifdef usage from glibc
13450 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13451 as that works with both Glibc's and Gnulib's style.
13452 See thread starting at Siddhesh Poyarekar's bug report at:
13453 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13455 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13457 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13458 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13459 * sysdeps/tile/tilegx/memmove.c: Remove file.
13461 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13463 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13464 abi-name definition.
13465 * scripts/soversions.awk: Do not handle or generate ABI lines.
13466 * shlib-versions: Remove ABI entries.
13467 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13468 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13470 2014-06-27 Roland McGrath <roland@hack.frob.com>
13472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13473 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13474 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13475 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13477 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13480 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13483 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13485 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13487 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13489 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13491 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13493 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13496 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13498 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13500 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13503 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13508 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13513 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13515 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13517 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13520 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13522 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13523 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13525 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13526 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13528 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13530 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13531 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13533 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13536 Identical file removed.
13537 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13539 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13541 Identical file removed.
13542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13543 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13544 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13546 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13548 Identical file removed.
13549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13550 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13552 Identical file removed.
13553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13554 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13556 Identical file removed.
13557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13558 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13560 Identical file removed.
13561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13563 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13564 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13565 Identical file removed.
13566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13568 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13570 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13572 Identical file removed.
13573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13575 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13577 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13578 Identical file removed.
13579 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13581 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13582 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13583 Identical file removed.
13584 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13586 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13587 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13588 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13590 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13593 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13594 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13595 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13597 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13598 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13599 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13600 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13601 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13603 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13606 * nscd/nscd.c (monitor_child): Return exit status of child
13607 instead of return value from wait syscall.
13609 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13611 * configure.ac (libc_commonpagesize): Remove variable.
13612 (libc_relro_required): Likewise.
13613 (libc_cv_z_relro): Remove configure test.
13614 * configure: Regenerated.
13615 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13617 (libc_relro_required): Likewise.
13618 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13619 (libc_relro_required): Likewise.
13620 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13621 (libc_relro_required): Likewise.
13622 * sysdeps/arm/preconfigure: Regenerated.
13623 * sysdeps/ia64/preconfigure: Remove file.
13624 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13626 (libc_relro_required): Likewise.
13630 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13631 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13632 recompute overflowing results in original rounding mode.
13633 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13634 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13635 recompute overflowing results in original rounding mode.
13636 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13637 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13638 recompute overflowing results in original rounding mode.
13639 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13640 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13641 recompute overflowing results in original rounding mode.
13642 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13643 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13644 recompute overflowing results in original rounding mode.
13645 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13646 (libc_feholdsetround_ctx): New macro.
13647 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13648 * sysdeps/i386/fpu/libm-test-ulps: Update.
13649 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13651 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13653 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13654 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13655 corresponding .cpsetup call.
13657 2014-06-26 Roland McGrath <roland@hack.frob.com>
13659 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13660 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13661 * sysdeps/arm/Makefile [$(subdir) = csu]
13662 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13663 (static-only-routines): Add aeabi_read_tp here.
13664 (shared-only-routines): Add libc-aeabi_read_tp here.
13665 (CFLAGS-libc-start.c): Add -fexceptions here.
13666 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13667 (sysdep_routines, static-only-routines, shared-only-routines):
13668 Don't add to these here.
13669 (CFLAGS-libc-start.c): Likewise.
13671 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13672 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13673 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13674 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13675 * sysdeps/arm/Makefile [$(subdir) = rt]
13676 (librt-sysdep_routines, librt-shared-only-routines):
13677 Append rt-aeabi_unwind_cpp_pr1 here.
13678 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13679 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13680 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13681 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13682 Append nptl-aeabi_unwind_cpp_pr1 here.
13683 (tests): Filter out tst-cleanupx4 here.
13684 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13685 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13686 Don't do those here.
13688 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13690 * scripts/list-sources.sh: Do not handle ports specially.
13692 2014-06-26 Roland McGrath <roland@hack.frob.com>
13694 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13695 * sysdeps/arm/feupdateenv.c: Likewise.
13697 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13699 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13701 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13702 trailing whitespace removed.
13703 * scripts/config.guess: Update to version 2014-03-23.
13704 * scripts/config.sub: Update to version 2014-05-01
13705 * scripts/install-sh: Update to version 2013-12-25.23.
13706 * scripts/move-if-change: Update from gnulib.
13708 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13710 * debug/memmove_chk.c: Remove pagecopy.h include.
13712 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13714 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13715 identical to gnulib mktime.
13717 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13719 * configure.ac: Do not test for machine being rs6000. Do not test
13720 for powerpc*-*soft.
13721 * configure: Regenerated.
13724 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13726 * configure: Regenerated.
13727 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13728 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13729 Remove configure test.
13730 * sysdeps/arm/configure: Regenerated.
13731 * sysdeps/nptl/configure.ac: Do not check
13732 libc_cv_asm_cfi_directives.
13733 * sysdeps/nptl/configure: Regenerated.
13734 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13735 * sysdeps/x86_64/nptl/configure: Remove generated file.
13736 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13738 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13740 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13742 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13743 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13744 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13747 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13748 instead of whether it is defined.
13749 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13750 * sysdeps/hppa/dl-machine.h: Likewise.
13751 * sysdeps/ia64/dl-machine.h: Likewise.
13752 * sysdeps/m68k/dl-machine.h: Likewise.
13753 * sysdeps/microblaze/dl-machine.h: Likewise.
13754 * sysdeps/mips/dl-machine.: Likewise.
13755 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13756 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13757 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13758 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13759 * sysdeps/sh/dl-machine.h: Likewise.
13760 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13761 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13762 * sysdeps/tile/dl-machine.h: Likewise.
13763 * sysdeps/x86_64/dl-machine.h: Likewise.
13765 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13767 (verify_persistent_db): Likewise.
13769 2014-06-26 Roland McGrath <roland@hack.frob.com>
13771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13772 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13774 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13777 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13780 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13782 Identical file removed.
13783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13784 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13786 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13788 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13790 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13792 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13795 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13797 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13799 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13802 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13804 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13806 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13808 Identical file removed.
13809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13810 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13812 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13815 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13818 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13820 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13822 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13824 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13826 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13829 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13832 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13834 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13837 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13839 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13841 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13843 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13844 * sysdeps/unix/sysv/linux/s390/Versions
13845 (libpthread: GLIBC_2.19): New version set.
13846 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13847 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13848 (librt: GLIBC_2.3.3): New version set.
13849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13850 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13851 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13852 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13853 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13855 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13857 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13859 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13861 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13863 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13864 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13865 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13866 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13867 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13869 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13870 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13871 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13872 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13873 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13874 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13875 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13877 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13878 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13879 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13880 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13883 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13884 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13885 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13887 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13889 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13891 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13892 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13893 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13895 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13896 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13897 (__libc_vfork): Define the function under this name.
13898 [!NOT_IN_libc] (__vfork): Make this an alias.
13899 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13901 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13902 (__libc_vfork): Define the function under this name.
13903 [!NOT_IN_libc] (__vfork): Make this an alias.
13904 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13905 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13906 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13908 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13909 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13911 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13912 code that was previously under [RESET_PID].
13913 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13914 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13917 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13918 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13919 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13920 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13921 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13922 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13923 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13924 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13925 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13926 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13927 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13929 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13930 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13931 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13932 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13933 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13934 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13935 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13936 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13937 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13938 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13939 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13940 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13941 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13942 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13943 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13944 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13945 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13946 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13947 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13948 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13949 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13950 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13951 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13952 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13953 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13954 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13955 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13956 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13957 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13959 2014-06-25 Roland McGrath <roland@hack.frob.com>
13961 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13962 that was previously under [RESET_PID].
13963 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13965 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13967 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13968 not undefine and redefine.
13969 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13970 [O_CLOEXEC]: Make code unconditional.
13971 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13972 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13973 <kernel-features.h>.
13974 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13975 conditional variable definition.
13976 (shm_open) [O_CLOEXEC]: Make code unconditional.
13977 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13980 * configure.ac (USE_REGPARMS): Don't define here.
13981 * configure: Regenerated.
13982 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13983 * sysdeps/i386/configure: Regenerated.
13985 * nptl/createthread.c: Don't include kernel-features.h.
13986 * nptl/pthread_cancel.c: Likewise.
13987 * nptl/pthread_condattr_setclock.c: Likewise.
13988 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13989 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13990 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13991 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13992 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13993 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13994 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13997 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13998 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13999 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14000 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14001 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14002 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14003 * nscd/gai.c: Likewise.
14004 * nss/nss_db/db-open.c: Likewise.
14005 * sysdeps/generic/ldsodefs.h: Likewise.
14006 * sysdeps/sh/nptl/tls.h: Likewise.
14007 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14008 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14009 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14010 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14011 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14012 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14013 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14014 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14015 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14016 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14017 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14018 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14019 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14020 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14021 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14022 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14023 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14024 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14025 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14026 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14027 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14028 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14029 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14030 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14033 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14035 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14036 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14037 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14038 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14039 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14040 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14041 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14042 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14043 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14044 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14045 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14046 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14047 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14048 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14049 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14050 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14051 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14052 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14053 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14054 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14055 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14056 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14057 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14058 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14059 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14060 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14061 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14062 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14063 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14064 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14087 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14088 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14089 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14090 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14091 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14092 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14094 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14095 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14096 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14097 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14098 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14099 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14100 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14101 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14102 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14103 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14104 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14105 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14106 * sysdeps/unix/sysv/linux/system.c: Likewise.
14107 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14108 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14109 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14110 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14111 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14112 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14113 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14115 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14116 * configure: Regenerated.
14117 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14119 * configure.ac (base_machine): Do not set specially for particular
14121 * configure: Regenerated.
14122 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14123 settings from configure.ac.
14124 * sysdeps/i386/preconfigure: New file.
14125 * sysdeps/s390/preconfigure: Likewise.
14126 * sysdeps/sh/preconfigure: Likewise.
14127 * sysdeps/sparc/preconfigure: Likewise.
14129 2014-06-25 Roland McGrath <roland@hack.frob.com>
14131 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14132 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14133 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14134 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14135 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14136 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14137 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14138 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14139 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14140 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14141 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14142 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14143 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14144 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14145 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14146 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14147 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14148 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14149 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14151 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14152 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14153 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14154 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14155 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14156 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14157 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14158 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14159 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14160 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14161 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14162 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14163 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14164 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14165 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14166 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14167 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14168 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14169 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14170 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14171 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14172 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14173 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14174 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14175 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14176 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14177 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14178 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14180 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14181 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14182 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14183 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14184 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14185 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14186 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14187 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14188 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14193 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14199 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14201 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14204 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14206 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14208 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14213 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14218 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14221 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14223 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14225 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14227 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14232 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14235 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14237 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14240 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14242 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14244 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14246 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14249 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14252 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14254 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14257 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14259 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14261 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14263 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14265 * timezone/checktab.awk: Update from tzcode 2014e.
14266 * timezone/private.h: Likewise.
14267 * timezone/tzfile.h: Likewise.
14268 * timezone/zdump.c: Likewise.
14269 * timezone/zic.c: Likewise.
14271 * sysdeps/unix/sysv/linux/kernel-features.h
14272 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14274 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14275 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14276 Remove conditional code.
14278 2014-06-25 Will Newton <will.newton@linaro.org>
14280 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14281 (_dl_arm_cap_flags): Add HWCAP2 values.
14282 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14283 (_DL_HWCAP_COUNT): Increase to 37.
14284 (_DL_HWCAP_LAST): New define.
14285 (_DL_HWCAP2_LAST): New define.
14286 (_dl_procinfo): Add support for printing
14288 (_dl_string_hwcap): Use _dl_hwcap_string.
14290 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14294 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14296 * README: Do not mention ports directory.
14298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14300 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14301 <kernel-features.h>.
14302 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14303 conditional variable definition.
14304 (__futimes): Update comment.
14305 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14306 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14309 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14310 arguments close to 0.
14311 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14313 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14315 * math/auto-libm-test-in: Add more tests of exp10.
14316 * math/auto-libm-test-out: Regenerated.
14317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14319 * sysdeps/unix/sysv/linux/kernel-features.h
14320 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14321 * sysdeps/unix/sysv/linux/readv.c: Do not include
14322 <kernel-features.h>.
14323 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14324 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14325 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14327 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14329 * sysdeps/unix/sysv/linux/writev.c: Do not include
14330 <kernel-features.h>.
14331 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14332 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14333 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14335 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14338 2014-06-25 Will Newton <will.newton@linaro.org>
14340 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14341 comment changes throughout the file. Remove checks
14342 for HAVE_*_H definitions that are not required.
14343 (__gen_tempname): Call abort if an unknown kind value is
14346 2014-06-25 Andreas Schwab <schwab@suse.de>
14349 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14350 scalbln, scalblnf, scalblnl in libc.
14352 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14355 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14356 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14357 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14359 2014-06-24 Roland McGrath <roland@hack.frob.com>
14361 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14362 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14363 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14364 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14366 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14367 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14369 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14370 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14371 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14372 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14373 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14374 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14375 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14376 * sysdeps/x86/bits/semaphore.h: ... here.
14377 * sysdeps/x86/nptl/elide.h: Moved ...
14378 * sysdeps/x86/elide.h: ... here.
14379 * sysdeps/x86_64/nptl/Implies: File removed.
14380 * sysdeps/i386/nptl/Implies: File removed.
14382 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14385 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14386 return the argument for normal arguments with exponent below -64.
14387 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14389 * math/auto-libm-test-in: Add another test of expm1.
14390 * math/auto-libm-test-out: Regenerated.
14393 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14394 calling __erfcl for arguments at least 16.
14395 * math/auto-libm-test-in: Add more tests of erf.
14396 * math/auto-libm-test-out: Regenerated.
14398 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14399 individual architectures.
14400 * sysdeps/unix/sysv/linux/configure: Regenerated.
14401 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14402 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14403 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14404 (ldd_rewrite_script): Define variable.
14405 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14410 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14411 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14412 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14413 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14414 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14415 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14416 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14417 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14419 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14422 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14423 Rename member __data.d to __data.__elision_data.
14425 2014-06-24 Wilco <wdijkstr@arm.com>
14427 * NEWS: Add 16918 to fixed bug list.
14429 2014-06-24 Wilco <wdijkstr@arm.com>
14431 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14433 2014-06-24 Wilco <wdijkstr@arm.com>
14435 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14436 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14437 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14438 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14439 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14440 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14441 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14444 2014-06-24 Wilco <wdijkstr@arm.com>
14446 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14448 2014-06-24 Wilco <wdijkstr@arm.com>
14450 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14451 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14452 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14453 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14455 2014-06-24 Wilco <wdijkstr@arm.com>
14458 * sysdeps/arm/feupdateenv.c (feupdateenv):
14459 Rewrite to reduce FPSCR accesses and fix return value.
14461 2014-06-24 Wilco <wdijkstr@arm.com>
14463 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14464 Optimize to avoid unnecessary FPSCR writes.
14465 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14466 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14467 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14468 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14470 2014-06-24 Wilco <wdijkstr@arm.com>
14472 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14473 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14474 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14475 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14476 Call libc_fetestexcept_vfp.
14477 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14478 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14479 __SOFTFP__ ifdef so that they can be built for softfp.
14481 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14483 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14484 argument type signed char.
14486 * Makerules (check-abi): Dump diff of symlist if the test
14489 2014-06-23 Roland McGrath <roland@hack.frob.com>
14491 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14494 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14495 Remove unused variable ST.
14497 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14501 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14502 small arguments before calling __expm1.
14503 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14504 small arguments before calling __expm1f.
14505 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14506 small arguments before calling __expm1l.
14507 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14509 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14510 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14511 spurious underflow for some cosh tests.
14512 * math/auto-libm-test-out: Regenerated.
14513 * sysdeps/i386/fpu/libm-test-ulps: Update.
14516 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14517 (__ieee754_y1): Set errno if return value overflows.
14518 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14519 (__ieee754_y1f): Set errno if return value overflows.
14520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14521 (__ieee754_y1l): Set errno if return value overflows.
14522 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14523 (__ieee754_y1l): Set errno if return value overflows.
14524 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14525 * math/auto-libm-test-out: Regenerated.
14527 * math/gen-auto-libm-tests.c: Document use of
14528 ignore-zero-inf-sign.
14529 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14530 (input_flags): Add ignore-zero-inf-sign.
14531 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14532 * math/gen-libm-test.pl (generate_testfile): Handle
14533 ignore-zero-inf-sign.
14534 * math/auto-libm-test-in: Mark some cpow tests with
14535 ignore-zero-inf-sign and some with xfail-rounding.
14536 * math/auto-libm-test-out: Regenerated.
14537 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14538 * sysdeps/i386/fpu/libm-test-ulps: Update.
14539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14543 overflowing or underflowing operations take place with sign of
14545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14547 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14548 (__ieee754_pow): Recompute overflowing and underflowing results in
14549 original rounding mode.
14550 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14551 (__powl_helper): Allow negative argument X and scale negated value
14552 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14553 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14554 overflowing or underflowing operations take place with sign of
14556 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14558 * math/auto-libm-test-in: Add more tests of pow.
14559 * math/auto-libm-test-out: Regenerated.
14560 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14561 (pow_tonearest_test_data): Remove.
14562 (pow_test_tonearest): Likewise.
14563 (pow_towardzero_test_data): Likewise.
14564 (pow_test_towardzero): Likewise.
14565 (pow_downward_test_data): Likewise.
14566 (pow_test_downward): Likewise.
14567 (pow_upward_test_data): Likewise.
14568 (pow_test_upward): Likewise.
14569 (main): Don't call removed functions.
14570 * sysdeps/i386/fpu/libm-test-ulps: Update.
14571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14573 2014-06-23 Roland McGrath <roland@hack.frob.com>
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14749 2014-06-23 Will Newton <will.newton@linaro.org>
14750 Wilco <wdijkstr@arm.com>
14752 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14753 implementation. Include get-rounding-mode.h.
14754 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14755 [!libc_feholdsetround_noex_ctx]: Define
14756 libc_feholdsetround_noex_ctx.
14757 [!libc_feholdsetround_noexf_ctx]: Define
14758 libc_feholdsetround_noexf_ctx.
14759 [!libc_feholdsetround_noexl_ctx]: Define
14760 libc_feholdsetround_noexl_ctx.
14761 (libc_feholdsetround_ctx): New function.
14762 (libc_feresetround_ctx): New function.
14763 (libc_feholdsetround_noex_ctx): New function.
14764 (libc_feresetround_noex_ctx): New function.
14766 2014-06-23 Roland McGrath <roland@hack.frob.com>
14768 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14769 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14770 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14771 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14772 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14773 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14775 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14776 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14777 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14778 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14779 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14780 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14781 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14782 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14783 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14784 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14787 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14789 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14790 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14791 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14792 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14795 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14797 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14799 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14801 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14804 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14807 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14809 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14812 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14813 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14814 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14815 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14816 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14817 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14818 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14820 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14823 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14826 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14828 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14829 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14830 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14831 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14832 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14834 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14836 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14837 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14839 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14841 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14843 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14846 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14848 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14849 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14850 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14852 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14853 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14854 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14855 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14856 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14857 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14858 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14859 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14861 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14862 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14863 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14864 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14865 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14866 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14867 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14868 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14869 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14870 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14871 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14872 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14873 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14874 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14875 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14876 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14877 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14878 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14879 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14881 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14883 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14884 (FALLOC_FL_COLLAPSE_RANGE): New macro.
14885 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14886 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14887 (IPV6_PMTUDISC_INTERFACE): Likewise.
14888 (IPV6_PMTUDISC_OMIT): Likewise.
14890 2014-06-23 Andreas Schwab <schwab@suse.de>
14892 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14893 Remove unused errout label.
14895 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14897 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14898 macro: hardware supports Vector Crypto instructions.
14900 2014-06-23 Will Newton <will.newton@linaro.org>
14902 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14903 rather than __builtin_expect.
14905 * elf/dl-lookup.c (undefined_msg): Remove variable.
14906 (_dl_lookup_symbol_x): Replace undefined_msg with string
14909 * elf/dl-lookup.c (do_lookup_unique): New function.
14910 (do_lookup_x): Move STB_GNU_UNIQUE handling code
14911 to a separate function.
14913 2014-06-23 Andreas Schwab <schwab@suse.de>
14916 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14917 before reading the next line.
14919 2014-06-23 Will Newton <will.newton@linaro.org>
14921 * test-skeleton.c (signal_handler): Use printf and %m
14922 rather than perror. Use printf rather than fprintf to
14923 stderr. Use puts rather than fputs to stderr.
14926 2014-06-22 Ludovic Courtès <ludo@gnu.org>
14928 * nscd/nscd.c (thread_info_t): Remove typedef.
14929 (thread_info): Remove variable.
14931 2014-06-21 Allan McRae <allan@archlinux.org>
14933 * NEWS: Mention CVE-2014-4043.
14935 2014-06-20 Roland McGrath <roland@hack.frob.com>
14937 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14938 * nptl/smp.h: ... here.
14940 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14942 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14943 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14944 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14945 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14947 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14948 * nptl/stack-aliasing.h: New file.
14949 * sysdeps/i386/i686/stack-aliasing.h: New file.
14950 * sysdeps/i386/i686/nptl/Makefile: File removed.
14951 * sysdeps/x86_64/stack-aliasing.h: New file.
14952 * sysdeps/x86_64/nptl/Makefile
14953 (CFLAGS-pthread_create.c): Variable removed.
14955 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14956 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14958 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14959 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14962 2014-06-21 Joseph Myers <joseph@codesourcery.com>
14964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14965 (__ASSUME_SIGFRAME_V2): Remove macro.
14966 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14967 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14968 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14969 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14970 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14971 Declare as function. Remove conditional macro definitions.
14972 (__default_rt_sa_restorer): Likewise.
14973 (__default_sa_restorer_v1): Remove declaration.
14974 (__default_sa_restorer_v2): Likewise.
14975 (__default_rt_sa_restorer_v1): Likewise.
14976 (__default_rt_sa_restorer_v2): Likewise.
14977 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14978 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14979 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14981 2014-06-20 Roland McGrath <roland@hack.frob.com>
14983 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14984 (libpthread-routines): Add sysdep.
14985 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14986 * sysdeps/unix/sysv/linux/sparc/Versions
14987 (libpthread: GLIBC_2.3.3): New version set.
14988 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14989 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14990 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14991 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14992 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
14993 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14995 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14996 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14997 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14998 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14999 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15000 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15001 * sysdeps/sparc/nptl/sem_init.c: ... here.
15002 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15003 * sysdeps/sparc/nptl/sem_post.c: ... here.
15004 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15005 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15006 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15007 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15008 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15009 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15010 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15011 (libpthread-routines): Add cpu_relax.
15012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15014 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15015 (librt: GLIBC_2.3.3): New version set.
15016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15017 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15018 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15019 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15022 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15025 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15027 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15029 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15031 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15033 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15036 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15040 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15044 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15048 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15052 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15056 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15059 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15065 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15067 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15070 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15072 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15074 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15076 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15078 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15079 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15080 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15081 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15082 * nscd/nscd.c: Likewise.
15083 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15084 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15085 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15086 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15088 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15089 <kernel-features.h>.
15090 (init_mq_netlink): Remove conditional have_sock_cloexec
15091 definitions. Remove code conditional on have_sock_cloexec < 0.
15092 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15093 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15094 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15095 <kernel-features.h>.
15096 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15097 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15099 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15101 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15102 Add tests for memset_chk and memset.
15104 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15107 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15110 * elf/tst-dl-iter-static.c: New file.
15111 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15113 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15116 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15118 * sysdeps/unix/sysv/linux/kernel-features.h
15119 (__ASSUME_F_GETOWN_EX): Remove macro.
15120 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15121 <kernel-features.h>.
15122 (miss_F_GETOWN_EX): Remove variable or macro.
15123 (do_fcntl): Do not check miss_F_GETOWN_EX.
15124 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15126 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15129 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15130 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15132 * sysdeps/unix/sysv/linux/kernel-features.h
15133 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15134 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15135 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15136 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15138 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15141 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15142 Fix calculation of the symbol's value.
15143 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15144 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15145 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15146 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15147 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15148 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15149 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15150 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15151 (modules-names): Add `tst-armtlsdescmod',
15152 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15153 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15154 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15155 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15156 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15157 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15158 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15159 ($(objpfx)tst-armtlsdescloc): New dependency.
15160 ($(objpfx)tst-armtlsdescextnow): Likewise.
15161 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15162 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15163 TLS scheme support.
15164 * sysdeps/arm/configure: Regenerate.
15166 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15168 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15169 (__atfct_seterrno_2): Likewise.
15170 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15171 <kernel-features.h>.
15172 (__ASSUME_ATFCTS): Do not undefine and redefine.
15173 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15174 (__have_atfcts): Remove conditional definition.
15175 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15176 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15177 unreachable if [__ASSUME_ATFCTS].
15178 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15179 not undefine and redefine.
15180 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15181 <kernel-features.h>.
15182 (faccessat) [__NR_faccessat]: Make code unconditional.
15183 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15184 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15185 <kernel-features.h>.
15186 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15187 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15188 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15189 <kernel-features.h>.
15190 (fchownat) [__NR_fchownat]: Make code unconditional.
15191 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15192 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15193 <kernel-features.h>.
15194 (futimesat) [__NR_futimesat]: Make code unconditional.
15195 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15196 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15197 <kernel-features.h>.
15198 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15199 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15200 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15201 <kernel-features.h>.
15202 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15203 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15204 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15205 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15206 <kernel-features.h>.
15207 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15208 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15209 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15210 <kernel-features.h>.
15211 (linkat) [__NR_linkat]: Make code unconditional.
15212 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15213 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15214 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15215 <kernel-features.h>.
15216 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15217 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15218 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15219 <kernel-features.h>.
15220 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15221 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15222 * sysdeps/unix/sysv/linux/openat.c: Do not include
15223 <kernel-features.h>.
15224 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15225 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15226 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15227 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15228 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15229 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15230 <kernel-features.h>.
15231 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15232 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15233 result of INLINE_SYSCALL directly, not via int variable.
15234 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15235 <kernel-features.h>.
15236 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15237 (renameat) [__NR_renameat]: Make code unconditional.
15238 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15239 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15240 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15241 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15242 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15243 (__ASSUME_ATFCTS): Do not undefine and redefine.
15244 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15245 <kernel-features.h>.
15246 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15247 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15248 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15249 <kernel-features.h>.
15250 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15251 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15252 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15253 (__ASSUME_ATFCTS): Do not undefine and redefine.
15254 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15255 <kernel-features.h>.
15256 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15257 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15258 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15259 <kernel-features.h>.
15260 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15261 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15263 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15265 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15267 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15270 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15271 constructed tree before returning error.
15272 * posix/bug-regexp36.c: Expand test case.
15274 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15277 * math/libm-test.inc (scalbln_test_date):
15278 Add errno expectations.
15279 * math/w_scalblnf.c: New File.
15280 Add wrapper which checks for setting errno to ERANGE.
15281 Add weak_alias for corresponding scalbln function.
15282 * math/w_scalbln.c: Likewise.
15283 * math/w_scalblnl.c: Likewise.
15284 * math/Makefile (libm-calls): Add w_scalbln.
15285 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15286 Remove weak_alias for corresponding scalbln function.
15287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15291 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15292 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15293 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15294 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15295 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15296 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15297 Remove long_double_symbol for scalblnl function in libm, libc.
15298 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15299 Add wrapper which checks for setting errno to ERANGE.
15300 Add long_double_symbol for scalblnl function in libm, libc.
15301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15302 Remove long_double_symbol for scalblnl in libm.
15303 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15304 Add wrapper which checks for setting errno to ERANGE.
15305 Add long_double_symbol for scalblnl function in libm.
15306 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15307 Do not use wrapper because of own implementation.
15309 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15311 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15312 3 bytes for __pad1 for x32.
15313 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15315 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15316 H.J. Lu <hongjiu.lu@intel.com>
15318 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15319 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15320 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15321 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15322 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15324 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15327 * posix/regcomp.c (parse_expression): Deallocate partially
15328 constructed tree before returning error.
15329 * posix/Makefile.c (tests): Add bug-regex36.
15330 (generated): Add bug-regex36.mtrace.
15331 (tests-special): Add $(objpfx)bug-regex36-mem.out
15332 (bug-regex36-ENV): New variable.
15333 ($(objpfx)bug-regex36-mem.out): New rule.
15334 * posix/bug-regex36.c: New file.
15336 2014-06-19 Will Newton <will.newton@linaro.org>
15338 * malloc/malloc.c (systrim): If extra is zero then return
15341 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15343 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15345 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15347 * sysdeps/aarch64/strchr.S: New file.
15349 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15352 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15353 from arguments -2 or below.
15354 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15355 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15357 2014-06-18 Andreas Schwab <schwab@suse.de>
15360 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15361 of a bracket expr not to run off the end of the string.
15362 * posix/Makefile (tests): Add tst-fnmatch3.
15363 * posix/tst-fnmatch3.c: New file.
15365 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15367 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15368 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15369 [$(cross-compiling) = no]: Likewise.
15370 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15371 [$(cross-compiling) = no]: Likewise.
15373 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15377 double, adjusted for any remainder from the high double.
15378 * math/libm-test.inc (nearbyint): Add tests.
15381 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383 * nptl/sysdeps/powerpc/Makefile: Moved ...
15384 * sysdeps/powerpc/nptl/Makefile: ... here.
15385 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15386 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15387 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15388 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15389 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15390 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15391 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15392 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15393 * nptl/sysdeps/powerpc/tls.h: Moved ...
15394 * sysdeps/powerpc/nptl/tls.h: ... here.
15396 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15399 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15400 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15401 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15402 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15403 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15404 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15405 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15406 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15407 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15409 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15411 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15413 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15415 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15418 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15421 2014-06-16 Florian Weimer <fweimer@redhat.com>
15424 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15425 non-executed part of the test.
15427 2014-06-16 Andreas Schwab <schwab@suse.de>
15429 * string/bits/string2.h (strdup, strndup): Update feature guard.
15431 2014-06-14 David S. Miller <davem@davemloft.net>
15433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15435 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15437 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15438 that was previously under [RESET_PID].
15439 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15441 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15442 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15443 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15444 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15445 (__libc_vfork): New strong alias.
15446 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15448 2014-06-14 Andi Kleen <ak@linux.intel.com>
15450 * sysdeps/generic/elide.h: New file.
15452 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15454 * Makefile (installed-headers): Adjust path of pthread.h header.
15456 2014-06-13 Roland McGrath <roland@hack.frob.com>
15458 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15459 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15460 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15461 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15463 * nptl/sysdeps/s390/Makefile: Moved ...
15464 * sysdeps/s390/nptl/Makefile: ... here.
15465 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15466 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15467 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15468 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15469 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15470 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15471 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15472 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15473 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15474 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15475 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15476 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15477 * nptl/sysdeps/s390/tls.h: Moved ...
15478 * sysdeps/s390/nptl/tls.h: ... here.
15480 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15481 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15483 2014-06-13 David S. Miller <davem@davemloft.net>
15485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15488 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15492 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15493 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15494 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15495 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15496 Remove RESET_PID cpp guards.
15497 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15498 Remove RESET_PID cpp guards.
15499 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15501 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15503 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15506 2014-06-13 Andi Kleen <ak@linux.intel.com>
15508 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15509 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15510 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15511 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15513 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15514 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15515 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15516 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15518 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15519 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15520 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15523 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15525 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15529 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15530 (pthread_rwlock_rdlock): Add elision.
15531 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15532 (pthread_rwlock_wrlock): Add elision.
15533 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15534 (pthread_rwlock_trywrlock): Add elision.
15535 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15536 (pthread_rwlock_tryrdlock): Add elision.
15537 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15538 (pthread_rwlock_tryrdlock): Add elision unlock.
15539 * nptl/sysdeps/pthread/pthread.h:
15540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15541 (PTHREAD_RWLOCK_INITIALIZER,
15542 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15543 Handle new elision field.
15544 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15545 * sysdeps/arm/nptl/bits/pthreadtypes.h
15546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15547 * sysdeps/sh/nptl/bits/pthreadtypes.h
15548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15549 * sysdeps/tile/nptl/bits/pthreadtypes.h
15550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15551 * sysdeps/a/nptl/bits/pthreadtypes.h
15552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15553 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15555 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15557 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15559 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15561 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15562 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15563 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15564 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15565 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15567 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15569 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15570 (elision_init): Set try_xbegin to zero when no RTM.
15571 * sysdeps/x86/nptl/bits/pthreadtypes.h
15572 (pthread_rwlock_t): Change __pad1 to __rwelision.
15573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15575 2014-06-13 Andi Kleen <ak@linux.intel.com>
15577 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15578 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15579 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15580 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15582 2014-06-13 Meador Inge <meadori@codesourcery.com>
15585 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15586 that the cached result has been set before returning it.
15588 2014-06-12 Roland McGrath <roland@hack.frob.com>
15590 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15591 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15592 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15593 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15594 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15595 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15597 * nptl/sysdeps/sparc/Makefile: Moved ...
15598 * sysdeps/sparc/nptl/Makefile: ... here.
15599 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15600 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15601 * nptl/sysdeps/sparc/tls.h: Moved ...
15602 * sysdeps/sparc/nptl/tls.h: ... here.
15603 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15604 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15605 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15606 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15607 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15608 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15609 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15610 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15611 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15612 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15613 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15614 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15615 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15616 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15617 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15618 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15619 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15620 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15622 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15625 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15628 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15629 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15632 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15634 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15635 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15637 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15638 (struct list_links): Type removed.
15639 (struct thread_node, struct timer_node): Replace struct list_links
15640 with struct list_head.
15641 (list_unlink_ip): Likewise.
15642 * sysdeps/pthread/timer_routines.c
15643 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15644 (list_append, list_insbefore): Likewise.
15645 (list_init): Function removed.
15646 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15647 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15648 * sysdeps/pthread/Makefile: ... here, new file.
15650 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15651 * sysdeps/nptl/Implies: ... here.
15652 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15653 * nptl/sysdeps/pthread/list.h: Moved ...
15654 * include/list.h: ... here.
15655 * nptl/sysdeps/pthread/createthread.c: Moved ...
15656 * nptl/createthread.c: ... here.
15657 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15658 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15659 * nptl/pt-longjmp.c: ... here.
15660 * nptl/sysdeps/pthread/Makefile: Moved ...
15661 * sysdeps/nptl/Makefile: ... here.
15662 * nptl/sysdeps/pthread/Subdirs: Moved ...
15663 * sysdeps/nptl/Subdirs: ... here.
15664 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15665 * sysdeps/nptl/aio_misc.h: ... here.
15666 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15667 * sysdeps/nptl/bits/libc-lock.h: ... here.
15668 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15669 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15670 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15671 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15672 * nptl/sysdeps/pthread/configure: Moved ...
15673 * sysdeps/nptl/configure: ... here.
15674 * nptl/sysdeps/pthread/configure.ac: Moved ...
15675 * sysdeps/nptl/configure.ac: ... here.
15676 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15677 * sysdeps/nptl/gai_misc.h: ... here.
15678 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15679 * sysdeps/nptl/librt-cancellation.c: ... here.
15680 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15681 * sysdeps/nptl/malloc-machine.h: ... here.
15682 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15683 * sysdeps/nptl/pthread-functions.h: ... here.
15684 * nptl/sysdeps/pthread/pthread.h: Moved ...
15685 * sysdeps/nptl/pthread.h: ... here.
15686 * nptl/sysdeps/pthread/setxid.h: Moved ...
15687 * sysdeps/nptl/setxid.h: ... here.
15688 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15689 * sysdeps/nptl/sigfillset.c: ... here.
15690 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15691 * sysdeps/nptl/tcb-offsets.h: ... here.
15692 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15693 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15694 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15695 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15696 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15697 * sysdeps/pthread/allocalim.h: ... here.
15698 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15699 * sysdeps/pthread/bits/sigthread.h: ... here.
15700 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15701 * sysdeps/pthread/flockfile.c: ... here.
15702 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15703 * sysdeps/pthread/ftrylockfile.c: ... here.
15704 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15705 * sysdeps/pthread/funlockfile.c: ... here.
15706 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15707 * sysdeps/pthread/posix-timer.h: ... here.
15708 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15709 * sysdeps/pthread/timer_create.c: ... here.
15710 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15711 * sysdeps/pthread/timer_delete.c: ... here.
15712 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15713 * sysdeps/pthread/timer_getoverr.c: ... here.
15714 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15715 * sysdeps/pthread/timer_gettime.c: ... here.
15716 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15717 * sysdeps/pthread/timer_routines.c: ... here.
15718 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15719 * sysdeps/pthread/timer_settime.c: ... here.
15720 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15721 * sysdeps/pthread/tst-timer.c: ... here.
15722 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15723 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15725 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15726 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15728 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15729 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15730 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15731 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15732 Update #include target.
15733 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15734 * sysdeps/i386/i686/nptl/Makefile: ... here.
15735 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15736 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15737 Update #include target.
15738 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15739 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15740 * nptl/sysdeps/i386/Makefile: Moved ...
15741 * sysdeps/i386/nptl/Makefile: ... here.
15742 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15743 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15744 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15745 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15746 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15747 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15748 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15749 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15750 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15751 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15752 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15753 * nptl/sysdeps/i386/tls.h: Moved ...
15754 * sysdeps/i386/nptl/tls.h: ... here.
15756 * sysdeps/sh/Makefile [$(subdir) = csu]
15757 (gen-as-const-headers): Add tcb-offsets.sym.
15758 * nptl/sysdeps/sh/Makefile: File removed.
15759 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15760 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15761 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15762 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15763 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15764 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15765 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15766 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15767 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15768 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15769 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15770 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15771 * nptl/sysdeps/sh/tls.h: Moved ...
15772 * sysdeps/sh/nptl/tls.h: ... here.
15773 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15774 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15775 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15776 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15777 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15778 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15779 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15780 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15781 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15782 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15784 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15786 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15787 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15788 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15789 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15790 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15791 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15792 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15793 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15794 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15795 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15796 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15797 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15799 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15802 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15804 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15806 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15807 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15808 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15809 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15810 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15811 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15812 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15813 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15814 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15815 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15816 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15817 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15818 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15819 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15820 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15822 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15824 * posix/spawn_faction_addopen.c: Include string.h.
15826 2014-06-11 Roland McGrath <roland@hack.frob.com>
15828 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15829 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15830 * nptl/sysdeps/x86_64/Makefile: Moved ...
15831 * sysdeps/x86_64/nptl/Makefile: ... here.
15832 * nptl/sysdeps/x86_64/configure: Moved ...
15833 * sysdeps/x86_64/nptl/configure: ... here.
15834 * nptl/sysdeps/x86_64/configure.ac: Moved ...
15835 * sysdeps/x86_64/nptl/configure.ac: ... here.
15836 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15837 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15838 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15839 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15840 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15841 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15842 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15843 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15844 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15845 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15846 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15847 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15848 * nptl/sysdeps/x86_64/tls.h: Moved ...
15849 * sysdeps/x86_64/nptl/tls.h: ... here.
15850 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15851 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15852 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15853 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15855 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15857 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15861 2014-06-11 Joseph Myers <joseph@codesourcery.com>
15863 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15865 [POSIX] (off_t): Likewise.
15866 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15867 [POSIX] (S_ISBLK): Require macro.
15868 [POSIX] (S_ISCHR): Likewise.
15869 [POSIX] (S_ISDIR): Likewise.
15870 [POSIX] (S_ISFIFO): Likewise.
15871 [POSIX] (S_ISREG): Likewise.
15872 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15874 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15876 [POSIX] (time_t): Likewise.
15877 [POSIX] (timer_t): Likewise.
15879 2014-06-11 Florian Weimer <fweimer@redhat.com>
15882 * posix/spawn_int.h (struct __spawn_action): Make the path string
15883 non-const to support deallocation.
15884 * posix/spawn_faction_addopen.c
15885 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15886 * posix/spawn_faction_destroy.c
15887 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
15888 path in all spawn_do_open actions.
15889 * posix/tst-spawn.c (do_test): Exercise the copy operation in
15890 posix_spawn_file_actions_addopen.
15892 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
15894 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15895 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15896 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15897 conditional code always true.
15898 (__libc_vfork): New alias.
15900 2014-06-11 Roland McGrath <roland@hack.frob.com>
15902 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15903 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15905 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15907 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15908 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15910 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15911 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15913 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15914 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15916 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15918 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15919 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15920 multiarch strcmp for PPC64.
15921 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15922 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15924 multiarch optimizations.
15925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15926 (__libc_ifunc_impl_list): Likewise.
15928 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15930 * benchtests/scripts/validate_benchout.py: New script.
15931 * benchtests/Makefile (bench-func): Call it.
15932 * benchtests/scripts/benchout.schema.json: New file.
15934 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
15936 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15937 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15938 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15939 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15940 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15941 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15942 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15943 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15944 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15945 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15946 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15947 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15948 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15949 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15950 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15951 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16056 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16057 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16058 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16061 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16064 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16065 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16066 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16067 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16068 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16070 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16072 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16074 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16075 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16077 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16080 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16082 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16085 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16087 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16088 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16089 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16090 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16091 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16093 2014-06-10 Wilco <wdijkstr@arm.com>
16095 * math/test-fenv-return.c: New file.
16096 * math/Makefile: Add new test test-fenv-return.
16098 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16101 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16102 when x - 1 is zero.
16103 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16104 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16105 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16106 0.0L for an argument of 1.0L.
16107 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16109 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16110 value when x - 1 is zero.
16111 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16112 * sysdeps/i386/fpu/libm-test-ulps: Update.
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16115 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16118 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16120 2014-06-09 Roland McGrath <roland@hack.frob.com>
16122 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16123 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16125 2014-06-09 Roland McGrath <roland@hack.frob.com>
16127 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16128 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16130 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16131 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16133 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16134 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16136 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16137 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16139 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16140 if not already defined.
16141 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16142 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16143 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16144 (TLS_INIT_TP): Use it.
16145 (TLS_DEFINE_INIT_TP): New macro.
16146 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16148 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16150 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16152 [POSIX] (IXANY): Likewise.
16153 [POSIX] (OLCUC): Likewise.
16154 [POSIX || POSIX2008] (CBAUD): Do not allow.
16155 [POSIX || POSIX2008] (DEFECHO): Likewise.
16156 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16157 [POSIX || POSIX2008] (ECHOKE): Likewise.
16158 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16159 [POSIX || POSIX2008] (EXTA): Likewise.
16160 [POSIX || POSIX2008] (EXTB): Likewise.
16161 [POSIX || POSIX2008] (FLUSHO): Likewise.
16162 [POSIX || POSIX2008] (LOBLK): Likewise.
16163 [POSIX || POSIX2008] (PENDIN): Likewise.
16164 [POSIX || POSIX2008] (SWTCH): Likewise.
16165 [POSIX || POSIX2008] (VDISCARD): Likewise.
16166 [POSIX || POSIX2008] (VDSUSP): Likewise.
16167 [POSIX || POSIX2008] (VLNEXT): Likewise.
16168 [POSIX || POSIX2008] (VREPRINT): Likewise.
16169 [POSIX || POSIX2008] (VSTATUS): Likewise.
16170 [POSIX || POSIX2008] (VWERASE): Likewise.
16171 (B*): Change to B[0123456789]*.
16172 * conform/data/time.h-data [POSIX || UNIX98]
16173 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16174 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16175 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16176 [POSIX] (tm_*): Do not allow.
16178 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16180 * Makefile (install): Don't set LANGUAGE.
16181 * Makefile.in (install): Likewise.
16182 * assert/Makefile (test-assert-ENV): Remove variable.
16183 (test-assert-perr-ENV): Likewise.
16184 * elf/Makefile (neededtest4-ENV): Likewise.
16185 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16186 [$(cross-compiling) = no]: Don't set LANGUAGE.
16187 * io/ftwtest-sh (LANG): Remove variable.
16188 * libio/Makefile (tst-widetext-ENV): Likewise.
16189 * manual/install.texi (Running make install): Don't refer to
16190 environment settings for make install.
16191 * INSTALL: Regenerated.
16192 * nptl/tst-tls6.sh: Don't set LANG.
16193 * posix/globtest.sh (LANG): Remove variable.
16194 * string/Makefile (tester-ENV): Likewise.
16195 (inl-tester-ENV): Likewise.
16196 (noinl-tester-ENV): Likewise.
16197 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16198 [$(cross-compiling) = no]: Don't set LANGUAGE.
16199 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16200 without explicit environment settings.
16202 2014-06-06 Roland McGrath <roland@hack.frob.com>
16204 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16205 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16206 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16207 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16209 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16211 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16212 other files in the crypt directory.
16213 * crypt/crypt.c: Remove duplicate includes.
16214 * crypt/crypt-entry.c: Likewise.
16215 * crypt/crypt_util.c: Likewise.
16217 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16219 * Makeconfig (run-program-env): New variable.
16220 (run-program-prefix-before-env): Likewise.
16221 (run-program-prefix-after-env): Likewise.
16222 (run-program-prefix): Define in terms of new variables.
16223 (built-program-cmd-before-env): New variable.
16224 (built-program-cmd-after-env): Likewise.
16225 (built-program-cmd): Define in terms of new variables.
16226 (test-program-prefix-before-env): New variable.
16227 (test-program-prefix-after-env): Likewise.
16228 (test-program-prefix): Define in terms of new variables.
16229 (test-program-cmd-before-env): New variable.
16230 (test-program-cmd-after-env): Likewise.
16231 (test-program-cmd): Define in terms of new variables.
16232 * Rules (make-test-out): Use $(run-program-env).
16233 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16234 (help): Do not mention environment variables. Mention
16235 --timeoutfactor option.
16236 (timeoutfactor): New variable.
16237 (blacklist_exports): Remove function.
16238 (exports): Remove variable.
16239 (command): Do not include ${exports}.
16240 * manual/install.texi (Configuring and compiling): Do not mention
16241 test wrappers preserving environment variables. Mention that last
16242 assignment to a variable must take precedence.
16243 * INSTALL: Regenerated.
16244 * benchtests/Makefile (run-bench): Use $(run-program-env).
16245 * catgets/Makefile ($(objpfx)test1.cat): Use
16246 $(built-program-cmd-before-env), $(run-program-env) and
16247 $(built-program-cmd-after-env).
16248 ($(objpfx)test2.cat): Do not specify environment variables
16250 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16251 $(run-program-env) and $(built-program-cmd-after-env).
16252 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16253 $(run-program-env) and $(test-program-cmd-after-env).
16254 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16256 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16257 run_program_env and test_program_cmd_after_env arguments.
16258 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16259 * elf/tst-pathopt.sh: Use run_program_env argument.
16260 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16261 $(test-wrapper-env) and $(run-program-env).
16262 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16263 run_program_env arguments.
16264 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16265 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16266 $(test-program-prefix-before-env), $(run-program-env) and
16267 $(test-program-prefix-after-env).
16268 ($(objpfx)tst-gettext2.out): Likewise.
16269 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16270 run_program_env and test_program_prefix_after_env arguments.
16271 * intl/tst-gettext2.sh: Likewise.
16272 * intl/tst-gettext4.sh: Do not set environment variables
16274 * intl/tst-gettext6.sh: Likewise.
16275 * intl/tst-translit.sh: Likewise.
16276 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16277 $(test-program-prefix-before-env), $(run-program-env) and
16278 $(test-program-prefix-after-env).
16279 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16280 run_program_env and test_program_prefix_after_env arguments.
16281 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16282 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16283 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16284 explicitly with each use of ${test_wrapper_env}.
16285 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16286 $(test-program-prefix-before-env), $(run-program-env) and
16287 $(test-program-prefix-after-env).
16288 * posix/tst-getconf.sh: Do not set environment variables
16290 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16291 run_program_env and test_program_prefix_after_env arguments.
16292 * stdio-common/tst-printf.sh: Do not set environment variables
16294 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16295 $(test-program-prefix-before-env), $(run-program-env) and
16296 $(test-program-prefix-after-env).
16297 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16298 run_program_env and test_program_prefix_after_env arguments.
16299 Split $test calls into $test_pre and $test.
16300 * timezone/Makefile (build-testdata): Use
16301 $(built-program-cmd-before-env), $(run-program-env) and
16302 $(built-program-cmd-after-env).
16304 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16306 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16307 strlen for non SHARED builds.
16309 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16311 * nptl/allocatestack.c (check_list): Inlined function...
16312 (__reclaim_stacks): ... here.
16314 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16317 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16320 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16322 * Rules (make-test-out): Include
16323 LOCPATH=$(common-objpfx)localedata in default environment.
16324 * debug/Makefile (tst-chk1-ENV): Remove variable.
16325 (tst-chk2-ENV): Likewise.
16326 (tst-chk3-ENV): Likewise.
16327 (tst-chk4-ENV): Likewise.
16328 (tst-chk5-ENV): Likewise.
16329 (tst-chk6-ENV): Likewise.
16330 (tst-lfschk1-ENV): Likewise.
16331 (tst-lfschk2-ENV): Likewise.
16332 (tst-lfschk3-ENV): Likewise.
16333 (tst-lfschk4-ENV): Likewise.
16334 (tst-lfschk5-ENV): Likewise.
16335 (tst-lfschk6-ENV): Likewise.
16336 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16337 (tst-iconv7-ENV): Likewise.
16338 * intl/Makefile (LOCPATH-ENV): Likewise.
16339 (tst-codeset-ENV): Likewise.
16340 (tst-gettext3-ENV): Likewise.
16341 (tst-gettext5-ENV): Likewise.
16342 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16343 (tst-fopenloc-ENV): Likewise.
16344 (tst-fgetws-ENV): Remove variable.
16345 (tst-ungetwc1-ENV): Likewise.
16346 (tst-ungetwc2-ENV): Likewise.
16347 (bug-ungetwc2-ENV): Likewise.
16348 (tst-swscanf-ENV): Likewise.
16349 (bug-ftell-ENV): Likewise.
16350 (tst-fgetwc-ENV): Likewise.
16351 (tst-fseek-ENV): Likewise.
16352 (tst-ftell-partial-wide-ENV): Likewise.
16353 (tst-ftell-active-handler-ENV): Likewise.
16354 (tst-ftell-append-ENV): Likewise.
16355 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16356 (tst-regexloc-ENV): Likewise.
16357 (bug-regex1-ENV): Likewise.
16358 (tst-regex-ENV): Likewise.
16359 (tst-regex2-ENV): Likewise.
16360 (bug-regex5-ENV): Likewise.
16361 (bug-regex6-ENV): Likewise.
16362 (bug-regex17-ENV): Likewise.
16363 (bug-regex18-ENV): Likewise.
16364 (bug-regex19-ENV): Likewise.
16365 (bug-regex20-ENV): Likewise.
16366 (bug-regex22-ENV): Likewise.
16367 (bug-regex23-ENV): Likewise.
16368 (bug-regex25-ENV): Likewise.
16369 (bug-regex26-ENV): Likewise.
16370 (bug-regex30-ENV): Likewise.
16371 (bug-regex32-ENV): Likewise.
16372 (bug-regex33-ENV): Likewise.
16373 (bug-regex34-ENV): Likewise.
16374 (bug-regex35-ENV): Likewise.
16375 (tst-rxspencer-ENV): Likewise.
16376 (tst-rxspencer-no-utf8-ENV): Likewise.
16377 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16378 (tst-sscanf-ENV): Likewise.
16379 (tst-swprintf-ENV): Likewise.
16380 (tst-swscanf-ENV): Likewise.
16381 (test-vfprintf-ENV): Likewise.
16382 (scanf13-ENV): Likewise.
16383 (bug14-ENV): Likewise.
16384 (tst-grouping-ENV): Likewise.
16385 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16386 (tst-strtod3-ENV): Likewise.
16387 (tst-strtod4-ENV): Likewise.
16388 (tst-strtod5-ENV): Likewise.
16389 (testmb2-ENV): Likewise./
16390 * string/Makefile (tst-strxfrm-ENV): Likewise.
16391 (tst-strxfrm2-ENV): Likewise.
16392 (bug-strcoll1-ENV): Likewise.
16393 (test-strcasecmp-ENV): Likewise.
16394 (test-strncasecmp-ENV): Likewise.
16395 * time/Makefile (tst-strptime-ENV): Likewise.
16396 (tst-ftime_l-ENV): Likewise.
16397 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16398 (tst-mbrtowc-ENV): Likewise.
16399 (tst-wcrtomb-ENV): Likewise.
16400 (tst-mbrtowc2-ENV): Likewise.
16401 (tst-c16c32-1-ENV): Likewise.
16402 (tst-mbsnrtowcs-ENV): Likewise.
16404 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16406 * manual/resource.texi (How to get information about the memory
16407 subsystem?): Fix typo.
16408 Reported by Peon de la Parra Ivan <peon@keba.com>
16410 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16413 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16414 (pthread_spin_lock): Branch out of spin loop to proper location.
16415 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16416 (pthread_spin_lock): Likewise.
16418 * nptl/tst-spin4.c: New test.
16419 * nptl/Makefile (tests): Add tst-spin4.
16421 2014-06-03 Andreas Schwab <schwab@suse.de>
16424 * resolv/res_send.c (send_dg): Reload file descriptor after
16427 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16429 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16431 2014-06-03 Richard Henderson <rth@redhat.com>
16433 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16434 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16435 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16436 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16437 in the SAVE_PID block.
16438 (__libc_vfork): New alias.
16439 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16441 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16442 child in registers, not on the stack. Remove RESET_PID conditionals.
16443 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16445 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16447 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16449 2014-06-03 Wilco <wdijkstr@arm.com>
16451 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16452 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16453 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16454 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16455 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16458 2014-06-03 Wilco <wdijkstr@arm.com>
16460 * sysdeps/aarch64/fpu/math_private.h
16461 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16462 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16463 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16464 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16467 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16469 * crypt/crypt-private.h: Include ufc-crypt.h.
16470 (__b64_from_24bit): Declare extern.
16471 * crypt/crypt_util.c(__b64_from_24bit): New function.
16472 (b64t): New static const variable.
16473 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16474 (b64t): Remove variable.
16475 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16476 * crypt/sha256-crypt.c: Include crypt-private.h.
16477 (b64t): Remove variable.
16478 (__sha256_crypt_r): Remove b64_from_24bit and replace
16479 with __b64_from_24bit.
16480 * crypt/sha512-crypt.c: Likewise.
16482 2014-06-02 Roland McGrath <roland@hack.frob.com>
16484 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16485 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16486 Label the code __libc_vfork rather than __vfork.
16487 [!NOT_IN_libc] (vfork): Define as weak alias.
16488 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16489 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16490 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16492 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16494 * malloc/malloc.c (malloc_info): Fix format specifier for
16497 2014-06-02 Wilco <wdijkstr@arm.com>
16499 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16502 2014-06-02 Wilco <wdijkstr@arm.com>
16505 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16506 Rewrite to reduce FPCR/FPSR accesses.
16508 2014-06-01 David S. Miller <davem@davemloft.net>
16510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16512 2014-05-31 David S. Miller <davem@davemloft.net>
16514 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16515 to occur in round to nearest mode when |x| >= 2.0
16517 2014-05-30 Richard Henderson <rth@twiddle.net>
16519 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16520 (PSEUDO_RET_NOERRNO): Remove.
16521 (ret): Don't redefine.
16522 (ret_NOERRNO): Define in terms of ret.
16523 (ret_ERRVAL): Likewise.
16525 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16526 use of PSEUDO_RET; perform the error check directly.
16528 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16530 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16533 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16535 * malloc/malloc (malloc_info): Fix formatting.
16537 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16538 Roland McGrath <roland@hack.frob.com>
16540 * malloc/malloc (malloc_info): Also print mmapped statistics.
16542 2014-05-30 Roland McGrath <roland@hack.frob.com>
16544 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16545 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16547 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16549 * malloc/malloc.c (malloc_info): Inline mi_arena.
16551 2014-05-29 Richard Henderson <rth@twiddle.net>
16553 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16554 Remove comma before expanding ASM_ARGS_##nr.
16555 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16556 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16558 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16559 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16560 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16561 (ASM_ARGS_1): Add leading comma.
16563 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16564 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16565 to __errno_location.
16566 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16567 Remove the expected plt for __errno_location.
16569 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16570 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16574 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16575 it and break it down.
16576 (DOCARGS_0, DOCARGS_1): Do nothing.
16577 (DOCARGS_2): Update to store into the new stack frame.
16578 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16579 (UNDOCARGS_1): Update to restore from the new stack frame.
16580 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16581 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16584 (SINGLE_THREAD_P): New parameter for result regno.
16585 (PSEUDO): Update to match; use cbz instead of beq.
16587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16588 Use ENTRY to define the _nocancel entry point. Share the syscall
16589 and syscall error check paths with the cancel path.
16592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16593 whitespace; tabs before and after asm mnemonics.
16595 2014-05-29 Eric Wong <normalperson@yhbt.net>
16598 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16599 Call fstat64 or stat64 internally, depending on arguments passed.
16600 Replace stat buffer argument with file descriptor argument.
16601 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16602 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16603 Pass fd to __internal_statvfs instead of calling fstat64.
16604 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16605 Pass fd to __internal_statvfs64 instead of calling fstat64.
16606 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16607 Pass -1 to __internal_statvfs instead of calling stat64.
16608 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16609 Pass -1 to __internal_statvfs64 instead of calling stat64.
16611 2014-05-28 Roland McGrath <roland@hack.frob.com>
16613 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16614 that was previously under [RESET_PID].
16615 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16617 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16618 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16620 2014-05-27 Roland McGrath <roland@hack.frob.com>
16622 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16624 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16625 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16627 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16629 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16631 2014-05-27 Andreas Schwab <schwab@suse.de>
16633 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16635 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16636 * elf/rtld.c (init_tls, dl_main): Likewise.
16637 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16638 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16639 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16640 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16641 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16642 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16643 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16644 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16645 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16646 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16647 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16648 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16649 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16650 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16651 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16652 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16653 * sysdeps/generic/tls.h: Update description.
16655 2014-05-27 Will Newton <will.newton@linaro.org>
16658 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16659 and restore r2 rather than just restoring.
16661 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16664 * libio/tst-ftell-append.c: New test case.
16665 * libio/Makefile (tests): Add test case.
16666 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16668 * libio/wfileops.c (do_ftell_wide): Likewise.
16670 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16674 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16678 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16679 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16680 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16681 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16682 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16683 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16690 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16691 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16692 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16693 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16694 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16696 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16697 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16699 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16701 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16703 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16704 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16705 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16707 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16708 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16709 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16710 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16733 conditional [RESET_PID].
16734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16737 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16742 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16743 (__libc_vfork): New strong alias.
16744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16746 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16751 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16752 (__libc_vfork): New strong alias.
16753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16758 2014-05-26 Carlos O'Donell <carlos@redhat.com>
16760 * malloc/malloc.c (mi_arena): New function.
16761 (malloc_info): Remove nested function mi_arena. Call non-nosted
16764 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16766 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16768 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16769 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16770 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16771 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16772 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16773 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16776 2014-05-26 Andreas Schwab <schwab@suse.de>
16779 * locale/programs/repertoire.c (repertoire_read): Add slash
16780 between I18NPATH element and file name.
16781 * locale/programs/locfile.c (locfile_read): Likewise.
16783 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16785 * nptl/pthread_mutexattr_settype.c
16786 (__pthread_mutexattr_settype):
16787 Disable lock elision for PTHREAD_MUTEX_NORMAL.
16789 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16791 * nptl/tst-mutex5 (do_test):
16792 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16794 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16796 * benchtests/README: Document 'init' directive.
16797 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16799 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16800 (parse_file): Recognize 'init' directive.
16802 2014-05-26 Kyle McMartin <kyle@redhat.com>
16805 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16806 alignment of struct pthread.
16808 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16811 * nscd/netgroupcache.c (addgetnetgrentX): Look for
16812 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16813 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16814 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16816 2014-05-25 Richard Henderson <rth@twiddle.net>
16818 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16819 (SINGLE_THREAD_P_PIC): Remove.
16820 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16821 (SINGLE_THREAD_P_PIC): Remove.
16823 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16824 branch to syscall error ...
16825 (PSEUDO): ... here.
16826 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16827 from __local_syscall_error to .Lsyscall_error.
16828 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16829 (SYSCALL_ERROR): Update label name.
16831 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16832 Do not use DOARGS/UNDOARGS.
16833 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16834 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16835 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16836 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16837 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16839 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16842 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16843 define if !NOT_IN_libc.
16844 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16845 define with non-default symbol versions.
16847 2014-05-23 Richard Henderson <rth@twiddle.net>
16849 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16850 (vfork, __vfork): Define via compat_symbol.
16852 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16853 [!HAVE_IFUNC] (vfork_compat): Remove.
16854 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16856 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16859 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16860 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16863 2014-05-23 Richard Henderson <rth@twiddle.net>
16865 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16866 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16867 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16868 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16870 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16871 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16872 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16873 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16874 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16875 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16876 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16877 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16878 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16879 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16880 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16881 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16882 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16883 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16884 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16885 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16886 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16887 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16888 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16889 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16890 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16891 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16892 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16893 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16894 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16895 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16896 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16897 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16898 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16899 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16900 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16901 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16903 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16904 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16905 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16906 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16907 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16908 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16909 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16910 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16911 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16912 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16913 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16914 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16915 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16916 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16917 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16918 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16919 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16920 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16921 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16922 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16923 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16924 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16925 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16927 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16928 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16929 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
16930 before exiting on error.
16931 (__libc_vfork): New strong alias.
16932 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16933 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16935 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16936 that was previously under [RESET_PID].
16937 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16939 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16941 2014-05-23 Joseph Myers <joseph@codesourcery.com>
16944 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16945 value when x - 1 is zero.
16946 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16947 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16948 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16949 0.0L for an argument of 1.0L.
16950 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16952 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16953 value when x - 1 is zero.
16954 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16955 * sysdeps/i386/fpu/libm-test-ulps: Update.
16956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16958 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16960 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16961 alphasort and versionsort.
16963 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16965 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16967 [copysignf]: Likewise.
16969 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16971 * crypt/md5-crypt.c: Fix formatting.
16973 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16975 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16976 (b64_from_24bit): New function.
16978 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16980 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16981 libc_hidden_builtin_def to ifunc.
16982 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16983 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16985 2014-05-21 Roland McGrath <roland@hack.frob.com>
16987 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16988 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16990 2014-05-21 Joseph Myers <joseph@codesourcery.com>
16992 * nscd/Depend (linuxthreads): Remove.
16994 * resolv/Depend (linuxthreads): Remove.
16995 * rt/Depend (linuxthreads): Remove.
16997 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16998 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16999 $(common-objpfx)elf/.
17000 (link-libc-before-gnulib): Likewise.
17001 (elfobjdir): Remove variable.
17002 * Makefile (install): Use $(elf-objpfx) instead of
17003 $(common-objpfx)elf/.
17004 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17006 (link-libc-deps): Likewise.
17007 ($(common-objpfx)libc.so): Likewise.
17008 ($(common-objpfx)linkobj/libc.so): Likewise.
17009 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17010 instead of $(common-objpfx)elf/.
17011 (symbolic-link-list): Likewise.
17012 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17013 [$(cross-compiling) = no]: Likewise.
17014 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17016 (static-gnulib-arch): Likewise.
17017 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17018 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17019 $(common-objpfx)elf/.
17021 2014-05-21 Richard Henderson <rth@redhat.com>
17023 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17024 (SINGLE_THREAD_P): Use the correct width load. Fold
17025 into the ldr offset.
17027 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17028 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17030 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17032 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17033 (libgcc_s_resume): Use __attribute_used__.
17034 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17037 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17039 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17040 optimization when used with float constants.
17042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17044 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17047 * locale/nl_langinfo_l.c: Make direct reference to every
17048 _nl_current_CATEGORY symbol.
17049 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17050 (tests-static): Add tst-langinfo-static.
17051 (tests-special): Add tst-langinfo-static.out.
17052 ($(objpfx)tst-langinfo.out): Redirect output.
17053 ($(objpfx)tst-langinfo-static.out): New.
17054 * localedata/tst-langinfo.sh: Send output to stdout.
17055 * localedata/tst-langinfo-static.c: New file.
17058 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17059 when the shift amount is modulo the limb size.
17061 2014-05-20 Richard Henderson <rth@redhat.com>
17064 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17065 Change type of sa_flags from unsigned int to int.
17068 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17070 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17072 2014-05-20 Will Newton <will.newton@linaro.org>
17074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17075 Test the return value of the system call in the nocancel case.
17077 2014-05-20 Will Newton <will.newton@linaro.org>
17078 Yvan Roux <yvan.roux@linaro.org>
17080 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17081 #include of asm/ptrace.h.
17082 (PTRACE_GET_THREAD_AREA): Remove #undef.
17083 (PTRACE_GETHBPREGS): Likewise.
17084 (PTRACE_SETHBPREGS): Likewise.
17085 (struct user_regs_struct): New structure.
17086 (struct user_fpsimd_struct): New structure.
17087 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17088 #include of asm/ptrace.h and second #include of sys/user.h.
17089 (PTRACE_GET_THREAD_AREA): Remove #undef.
17090 (PTRACE_GETHBPREGS): Likewise.
17091 (PTRACE_SETHBPREGS): Likewise.
17092 (ELF_NGREG): Use new struct user_regs_struct.
17093 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17095 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17100 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17104 membar to avoid block loads/stores to overlap previous stores.
17106 2014-05-17 Richard Henderson <rth@redhat.com>
17108 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17109 Create the __##syscall_name##_nocancel entry point.
17110 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17111 Remove; let the sysdep-cancel.h code create it.
17113 2014-05-17 David S. Miller <davem@davemloft.net>
17115 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17116 Protect with __USE_GNU.
17117 (TIOCSET_TEMPT): Likewise.
17118 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17119 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17120 these are already provided in bits/ioctl-types.h
17122 2014-05-16 Roland McGrath <roland@hack.frob.com>
17124 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17125 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17127 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17128 Use wait4 regardless of [__NR_waitpid].
17130 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17133 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17134 (_FP_NANSIGN_Q): Set the quiet bit.
17136 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17138 * benchtests/Makefile
17139 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17140 not $(common-objpfx)math/libm.so.
17141 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17142 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17143 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17144 $(common-objpfx)dlfcn/libdl.so.
17145 ($(objpfx)tst-audit8): Depend on $(libm), not
17146 $(common-objpfx)math/libm.so.
17147 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17148 not $(common-objpfx)dlfcn/libdl.so.
17150 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17151 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17152 [$(build-shared) = yes].
17153 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17154 $(common-objpfx)nptl/libpthread.so.
17155 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17156 $(common-objpfx)math/libm.so$(libm.so-version) or
17157 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17158 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17159 $(common-objpfx)dlfcn/libdl.so.
17160 * setjmp/Makefile (link-libm): Remove variable.
17161 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17162 * stdio-common/Makefile (link-libm): Remove variable.
17163 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17164 * stdlib/Makefile (link-libm): Remove variable.
17165 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17166 ($(objpfx)tst-strtod-round): Likewise.
17167 ($(objpfx)tst-tininess): Likewise.
17168 ($(objpfx)tst-strtod-underflow): Likewise.
17169 ($(objpfx)tst-strtod6): Likewise.
17170 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17171 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17172 $(common-objpfx)dlfcn/libdl.so.
17174 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17177 BSD terminal modes definitions.
17179 2014-05-16 Roland McGrath <roland@hack.frob.com>
17181 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17182 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17184 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17185 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17186 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17187 Don't do #include_next.
17188 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17189 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17190 Don't do #include_next.
17191 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17192 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17193 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17194 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17196 2014-05-16 Allan McRae <allan@archlinux.org>
17198 * po/sv.po: Update Swedish translation from translation project.
17200 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17203 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17206 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17207 errno if the TIOCGPTN ioctl fails with an error different than
17209 * login/tst-ptsname.c: New file.
17210 * login/Makefile (tests): Add tst-ptsname.
17213 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17216 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17220 herrno to return EAI_AGAIN.
17222 2014-05-14 Roland McGrath <roland@hack.frob.com>
17224 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17225 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17226 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17227 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17229 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17230 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17231 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17233 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17234 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17235 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17236 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17237 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17239 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17241 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17242 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17243 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17244 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17245 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17246 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17247 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17248 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17249 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17250 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17251 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17252 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17253 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17255 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17257 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17260 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17262 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17264 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17266 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17268 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17270 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17272 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17274 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17276 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17278 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17280 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17282 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17284 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17286 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17289 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17291 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17293 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17295 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17297 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17299 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17301 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17303 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17305 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17307 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17310 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17312 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17314 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17315 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17316 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17317 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17318 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17319 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17320 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17321 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17322 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17323 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17324 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17325 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17326 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17327 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17328 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17329 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17330 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17331 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17332 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17333 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17334 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17335 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17336 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17337 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17338 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17339 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17340 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17341 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17342 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17343 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17344 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17346 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17347 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17349 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17350 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17351 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17352 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17353 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17354 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17359 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17362 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17363 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17365 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17367 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17370 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17371 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17372 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17373 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17374 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17375 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17376 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17379 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17382 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17384 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17385 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17386 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17387 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17388 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17390 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17394 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17395 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17396 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17397 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17398 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17399 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17404 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17407 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17408 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17410 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17412 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17415 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17416 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17417 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17418 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17419 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17420 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17421 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17424 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17427 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17429 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17430 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17431 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17432 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17433 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17440 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17441 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17442 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17443 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17444 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17445 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17446 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17447 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17448 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17450 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17451 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17453 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17456 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17459 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17461 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17462 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17463 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17466 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17467 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17468 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17469 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17470 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17471 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17472 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17475 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17478 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17480 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17481 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17482 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17483 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17484 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17486 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17490 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17491 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17492 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17493 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17494 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17495 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17496 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17497 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17498 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17499 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17500 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17502 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17503 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17505 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17506 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17508 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17509 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17510 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17511 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17512 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17513 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17514 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17515 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17516 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17517 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17518 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17519 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17520 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17521 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17522 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17523 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17524 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17527 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17528 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17529 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17533 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17534 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17536 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17538 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17550 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17551 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17552 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17553 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17554 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17555 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17556 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17558 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17560 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17562 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17563 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17564 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17565 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17566 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17568 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17569 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17570 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17571 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17572 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17573 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17574 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17575 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17576 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17577 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17579 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17582 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17583 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17584 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17585 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17586 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17587 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17588 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17589 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17590 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17591 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17592 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17593 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17594 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17595 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17616 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17618 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17621 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17622 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17623 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17626 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17627 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17628 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17632 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17633 that was previously under [RESET_PID].
17634 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17635 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17636 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17638 * sysdeps/i386/nptl/Implies: New file.
17639 * sysdeps/x86_64/nptl/Implies: New file.
17640 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17641 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17642 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17643 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17645 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17646 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17647 (__libc_vfork): New strong alias.
17648 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17649 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17651 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17652 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17653 (__libc_vfork): New strong alias.
17654 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17655 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17657 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17658 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17659 (__libc_vfork): New strong alias.
17660 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17661 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17662 * nptl/pt-vfork.c: New file.
17663 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17664 (libpthread: GLIBC_2.20): New version set (empty).
17666 2014-05-14 Will Newton <will.newton@linaro.org>
17668 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17671 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17674 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17675 arguments with exponent 65 or above.
17676 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17677 arguments 0x1p113L or above.
17678 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17679 to arguments 0x1p107L or above.
17680 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17681 positive arguments with exponent 65 or above.
17682 * math/auto-libm-test-in: Add more tests of log1p.
17683 * math/auto-libm-test-out: Regenerated.
17686 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17687 non-finite arguments is +0.
17688 * math/s_cacosf.c (__cacosf): Likewise.
17689 * math/s_cacosl.c (__cacosl): Likewise.
17690 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17691 * sysdeps/i386/fpu/libm-test-ulps: Update.
17692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17695 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17697 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17698 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17699 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17700 for explicit high bit of mantissa when testing for argument equal
17702 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17703 * sysdeps/i386/fpu/libm-test-ulps: Update.
17704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17707 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17708 (__erf): Scale by 16 instead of 8 in potentially underflowing
17709 case. Ensure exception if result actually underflows.
17710 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17711 (__erff): Scale by 16 instead of 8 in potentially underflowing
17712 case. Ensure exception if result actually underflows.
17713 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17714 (efx8): Remove variable.
17715 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17716 case. Ensure exception if result actually underflows.
17717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17718 (efx8): Remove variable.
17719 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17720 case. Ensure exception if result actually underflows.
17721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17722 (efx8): Remove variable.
17723 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17724 case. Ensure exception if result actually underflows.
17725 * math/auto-libm-test-in: Add more tests of erf.
17726 * math/auto-libm-test-out: Regenerated.
17728 2014-05-14 Andreas Schwab <schwab@suse.de>
17730 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17731 Remove code conditionalized on USE___THREAD.
17733 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17734 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17737 2014-05-14 Joseph Myers <joseph@codesourcery.com>
17739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17740 Define unconditionally.
17741 (__ASSUME_O_CLOEXEC): Likewise.
17742 (__ASSUME_SOCK_CLOEXEC): Likewise.
17743 (__ASSUME_IN_NONBLOCK): Likewise.
17744 (__ASSUME_PIPE2): Likewise.
17745 (__ASSUME_EVENTFD2): Likewise.
17746 (__ASSUME_SIGNALFD4): Likewise.
17747 (__ASSUME_DUP3): Likewise.
17748 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17749 (__ASSUME_DUP3): Do not define.
17750 (__ASSUME_EVENTFD2): Likewise.
17751 (__ASSUME_IN_NONBLOCK): Likewise.
17752 (__ASSUME_O_CLOEXEC): Likewise.
17753 (__ASSUME_PIPE2): Likewise.
17754 (__ASSUME_SIGNALFD4): Likewise.
17755 (__ASSUME_SOCK_CLOEXEC): Likewise.
17756 (__ASSUME_UTIMES): Undefine.
17757 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17758 (__ASSUME_UTIMES): Do not define.
17759 (__ASSUME_O_CLOEXEC): Likewise.
17760 (__ASSUME_SOCK_CLOEXEC): Likewise.
17761 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17762 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17764 (__ASSUME_PIPE2): Likewise.
17765 (__ASSUME_EVENTFD2): Likewise.
17766 (__ASSUME_SIGNALFD4): Likewise.
17767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17768 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17770 (__ASSUME_EVENTFD2): Likewise.
17771 (__ASSUME_SIGNALFD4): Likewise.
17772 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17773 (__ASSUME_32BITUIDS): Likewise.
17774 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17775 (__ASSUME_IPC64): Likewise.
17776 (__ASSUME_ST_INO_64_BIT): Likewise.
17777 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17778 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17779 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17780 (__ASSUME_UTIMES): Do not define.
17781 (__ASSUME_PSELECT): Likewise.
17782 (__ASSUME_PPOLL): Likewise.
17783 (__ASSUME_O_CLOEXEC): Likewise.
17784 (__ASSUME_SOCK_CLOEXEC): Likewise.
17785 (__ASSUME_IN_NONBLOCK): Likewise.
17786 (__ASSUME_PIPE2): Likewise.
17787 (__ASSUME_EVENTFD2): Likewise.
17788 (__ASSUME_SIGNALFD4): Likewise.
17789 (__ASSUME_DUP3): Likewise.
17790 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17791 (__ASSUME_UTIMES): Likewise.
17792 (__ASSUME_O_CLOEXEC): Likewise.
17793 (__ASSUME_SOCK_CLOEXEC): Likewise.
17794 (__ASSUME_IN_NONBLOCK): Likewise.
17795 (__ASSUME_PIPE2): Likewise.
17796 (__ASSUME_EVENTFD2): Likewise.
17797 (__ASSUME_SIGNALFD4): Likewise.
17798 (__ASSUME_DUP3): Likewise.
17799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17800 (__ASSUME_UTIMES): Likewise.
17801 (__ASSUME_O_CLOEXEC): Likewise.
17802 (__ASSUME_SOCK_CLOEXEC): Likewise.
17803 (__ASSUME_IN_NONBLOCK): Likewise.
17804 (__ASSUME_PIPE2): Likewise.
17805 (__ASSUME_EVENTFD2): Likewise.
17806 (__ASSUME_SIGNALFD4): Likewise.
17807 (__ASSUME_DUP3): Likewise.
17808 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17810 (__ASSUME_UTIMES): Likewise.
17811 (__ASSUME_EVENTFD2): Likewise.
17812 (__ASSUME_SIGNALFD4): Likewise.
17813 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17814 (__ASSUME_O_CLOEXEC): Likewise.
17815 (__ASSUME_SOCK_CLOEXEC): Likewise.
17816 (__ASSUME_IN_NONBLOCK): Likewise.
17817 (__ASSUME_PIPE2): Likewise.
17818 (__ASSUME_EVENTFD2): Likewise.
17819 (__ASSUME_SIGNALFD4): Likewise.
17820 (__ASSUME_DUP3): Likewise.
17821 (__ASSUME_UTIMES): Undefine.
17823 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17824 feclearexcept. Remove symbol versioning code.
17825 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
17826 symbol versioning code.
17827 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
17828 symbol versioning code.
17829 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17830 feupdateenv. Remove symbol versioning code.
17831 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17832 fegetexceptflag. Remove symbol versioning code.
17833 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17834 fesetexceptflag. Remove symbol versioning code.
17835 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17836 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
17837 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17838 (__posix_fadvise64_l32): Remove prototype.
17839 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17842 2014-05-13 Roland McGrath <roland@hack.frob.com>
17844 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17845 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17846 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17847 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17849 2014-05-13 Sami Kerola <kerolasa@iki.fi>
17851 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17852 current working directory
17854 2014-05-13 Roland McGrath <roland@hack.frob.com>
17856 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17857 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17858 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17859 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17860 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17861 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17862 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17863 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17864 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17865 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17866 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17867 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17868 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17869 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17870 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17871 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17872 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17873 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17874 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17875 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17876 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17877 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17878 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17879 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17880 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17881 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17882 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17883 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17884 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17885 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17886 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17887 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17888 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17889 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17890 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17891 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17892 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17893 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17894 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17895 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17896 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17897 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17899 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17900 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17902 * sysdeps/unix/sysv/linux/arm/Makefile
17903 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17904 Add rt-aeabi_unwind_cpp_pr1.
17905 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17906 Add nptl-aeabi_unwind_cpp_pr1.
17907 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17908 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17909 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17910 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17911 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17912 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17914 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17915 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17916 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17917 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17919 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17920 Deconditionalize the code that was previously under [RESET_PID].
17921 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17923 * sysdeps/generic/exit-thread.h: New file.
17924 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17925 * include/unistd.h (__exit_thread): Remove declaration.
17926 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17927 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17928 * csu/libc-start.c: Include <exit-thread.h>.
17929 (LIBC_START_MAIN): Pass no argument to __exit_thread.
17930 * nptl/pthread_create.c: Include <exit-thread.h>.
17931 (start_thread): Call __exit_thread in place of __exit_thread_inline.
17932 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17933 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17934 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17935 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17936 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17937 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17938 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17939 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17940 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17941 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17942 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17943 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17944 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17945 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17946 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17947 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17949 2014-05-13 Andreas Schwab <schwab@suse.de>
17951 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17953 2014-05-12 Joseph Myers <joseph@codesourcery.com>
17955 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17956 (__ASSUME_UTIMES): Do not condition on kernel version.
17957 (__ASSUME_PSELECT): Define unconditionally.
17958 (__ASSUME_PPOLL): Likewise.
17959 (__ASSUME_ATFCTS): Likewise.
17960 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17961 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17962 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17963 (__ASSUME_UTIMENSAT): Define unconditionally.
17964 (__ASSUME_PRIVATE_FUTEX): Likewise.
17965 (__ASSUME_FALLOCATE): Likewise.
17966 (__ASSUME_O_CLOEXEC): Likewise.
17967 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17968 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17969 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17970 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17971 (__ASSUME_IN_NONBLOCK): Likewise.
17972 (__ASSUME_PIPE2): Likewise.
17973 (__ASSUME_EVENTFD2): Likewise.
17974 (__ASSUME_SIGNALFD4): Likewise.
17975 (__ASSUME_DUP3): Likewise.
17976 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17977 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17978 (__ASSUME_AT_RANDOM): Likewise.
17979 (__ASSUME_PREADV): Likewise.
17980 (__ASSUME_PWRITEV): Likewise.
17981 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17982 (__ASSUME_F_GETOWN_EX): Define unconditionally.
17983 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17985 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17986 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17987 (__ASSUME_O_CLOEXEC): Define unconditionally.
17988 (__ASSUME_PSELECT): Do not undefine conditionally.
17989 (__ASSUME_PPOLL): Likewise.
17990 (__ASSUME_ATFCTS): Likewise.
17991 (__ASSUME_SET_ROBUST_LIST): Likewise.
17992 (__ASSUME_UTIMENSAT): Likewise.
17993 (__ASSUME_FDATASYNC): Define unconditionally.
17994 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17995 (__ASSUME_SIGFRAME_V2): Likewise.
17996 )__ASSUME_EVENTFD2): Likewise.
17997 (__ASSUME_SIGNALFD4): Likewise.
17998 (__ASSUME_PSELECT): Do not undefine conditionally.
17999 (__ASSUME_PPOLL): Likewise.
18000 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18001 (__ASSUME_PSELECT): Define unconditionally.
18002 (__ASSUME_PPOLL): Likewise.
18003 (__ASSUME_O_CLOEXEC): Likewise.
18004 (__ASSUME_SOCK_CLOEXEC): Likewise.
18005 (__ASSUME_IN_NONBLOCK): Likewise.
18006 (__ASSUME_PIPE2): Likewise.
18007 (__ASSUME_EVENTFD2): Likewise.
18008 (__ASSUME_SIGNALFD4): Likewise.
18009 (__ASSUME_DUP3): Likewise.
18010 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18011 (__ASSUME_O_CLOEXEC): Likewise.
18012 (__ASSUME_SOCK_CLOEXEC): Likewise.
18013 (__ASSUME_IN_NONBLOCK): Likewise.
18014 (__ASSUME_PIPE2): Likewise.
18015 (__ASSUME_EVENTFD2): Likewise.
18016 (__ASSUME_SIGNALFD4): Likewise.
18017 (__ASSUME_DUP3): Likewise.
18018 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18019 (__ASSUME_EVENTFD2): Likewise.
18020 (__ASSUME_SIGNALFD4): Likewise.
18021 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18023 2014-05-12 Andreas Schwab <schwab@suse.de>
18026 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18027 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18028 than maximum RPC packet size.
18029 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18030 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18031 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18032 (_nss_nis_getservbyport_r): Likewise.
18034 2014-05-12 Will Newton <will.newton@linaro.org>
18036 * malloc/Makefile (tests): Add tst-mallopt.
18037 * malloc/tst-mallopt.c: New file.
18039 2014-05-09 Roland McGrath <roland@hack.frob.com>
18041 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18042 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18044 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18046 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18047 (tst-tlsmod6.so): Likewise.
18049 2014-05-09 Roland McGrath <roland@hack.frob.com>
18051 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18053 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18056 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18057 and <dl-procinfo.h>.
18058 (__fegetenv): Save SSE state in envp->__eip if supported.
18059 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18060 envp->__eip if supported.
18061 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18062 and <dl-procinfo.h>.
18063 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18064 __data_offset and __data_selector in environment to 0. Set SSE
18065 state if supported.
18066 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18068 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18070 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18072 2014-05-09 Will Newton <will.newton@linaro.org>
18074 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18075 and libc_relro_required for ARM.
18076 * sysdeps/arm/preconfigure: Regenerate.
18078 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18079 Stefan Liebler <stli@linux.vnet.ibm.com>
18081 * config.make.in (enable-lock-elision): New Makefile variable.
18082 * configure.ac: Likewise.
18083 * configure: Regenerate.
18084 * sysdeps/s390/configure.ac:
18085 Add check for gcc transactions support.
18086 * sysdeps/s390/configure: Regenerate.
18087 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18088 Build elision files if enabled.
18089 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18090 Add lock elision support for s390.
18091 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18092 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18093 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18094 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18095 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18096 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18097 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18099 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18101 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18103 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18105 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18106 (__lll_timedlock_elision, __lll_lock_elision)
18107 (__lll_unlock_elision, __lll_trylock_elision)
18108 (lll_timedlock_elision, lll_lock_elision)
18109 (lll_unlock_elision, lll_trylock_elision): Add.
18110 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18111 (pthread_mutex_t): Add lock elision support for s390.
18113 2014-05-14 Wilco <wdijkstr@arm.com>
18115 * sysdeps/arm/fclrexcpt.c: Cleanup.
18116 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18117 * sysdeps/arm/feenablxcpt.c: Cleanup.
18118 * sysdeps/arm/fegetenv.c: Cleanup.
18119 * sysdeps/arm/fegetexcept.c: Cleanup.
18120 * sysdeps/arm/fegetround.c: Cleanup.
18121 * sysdeps/arm/feholdexcpt.c: Cleanup.
18122 * sysdeps/arm/fesetenv.c: Cleanup.
18123 * sysdeps/arm/fesetround.c: Cleanup.
18124 * sysdeps/arm/feupdateenv.c: Cleanup.
18125 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18126 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18127 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18128 * sysdeps/arm/ftestexcept.c: Cleanup.
18129 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18130 * sysdeps/arm/setfpucw.c: Cleanup.
18132 2014-05-09 Will Newton <will.newton@linaro.org>
18134 * sysdeps/arm/armv7/strcmp.S: New file.
18135 * NEWS: Mention addition of ARMv7 optimized strcmp.
18137 2014-05-08 Roland McGrath <roland@hack.frob.com>
18139 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18140 look for %.ac rather than %.in.
18142 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18143 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18144 * sysdeps/mach/hurd/configure: Regenerated.
18145 * sysdeps/unix/sysv/linux/configure: Regenerated.
18147 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18149 2014-05-07 Steve Ellcey <sellcey@mips.com>
18152 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18156 2014-05-07 Andreas Schwab <schwab@suse.de>
18158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18159 when skipping over non-matching result from nscd.
18161 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18164 * nptl/sockperf.c (client): Check socket return value.
18167 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18168 nscd security class.
18170 2014-05-06 Roland McGrath <roland@hack.frob.com>
18172 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18173 * sysdeps/arm/unwind.h: ... here.
18175 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18178 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18181 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18183 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18184 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18185 multiarch strncpy for PPC64.
18186 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18187 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18189 multiarch optimizations.
18190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18191 (__libc_ifunc_impl_list): Likewise.
18192 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18193 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18194 multiarch stpncpy for PPC64.
18195 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18196 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18198 2014-05-06 Andreas Schwab <schwab@suse.de>
18201 * gmon/mcount.c (_MCOUNT_DECL): Use
18202 atomic_compare_and_exchange_bool_acq instead of
18203 catomic_compare_and_exchange_bool_acq.
18205 2014-05-05 Roland McGrath <roland@hack.frob.com>
18207 * elf/Makefile (others, install-bin): Remove pldd.
18208 (pldd-modules): Variable removed.
18209 ($(objpfx)pldd): Target removed.
18210 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18211 (others, install-bin): Append pldd here.
18212 ($(objpfx)pldd): New target.
18214 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18215 to 0, so the first #if test emitted later doesn't see it undefined.
18216 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18217 * sysdeps/gnu/errlist.c: Regenerated.
18219 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18221 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18222 [libc_hidden_builtin_def]: Define to empty value.
18223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18224 [libc_hidden_builtin_def]: Likewise.
18225 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18226 [libc_hidden_builtin_def]: Likewise.
18227 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18228 [libc_hidden_builtin_def]: Likewise.
18229 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18230 __redirect_memcpy and define ifunc as default hidden symbol.
18231 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18232 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18234 2014-05-04 Adam Conrad <adconrad@0c3.net>
18236 * locale/iso-4217.def: Reintroduce XDR currency.
18238 2014-05-04 Allan McRae <allan@archlinux.org>
18240 * po/eo.po: Update Esperanto translation from translation project.
18242 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18244 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18245 and FEATURE_INDEX_MAX to 1.
18246 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18248 2014-05-01 Steve Ellcey <sellcey@mips.com>
18250 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18251 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18252 * iconvdata/big5.c (ONE_DIRECTION): Define.
18253 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18254 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18255 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18256 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18257 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18258 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18259 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18260 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18261 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18262 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18263 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18264 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18265 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18266 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18267 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18268 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18269 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18270 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18271 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18272 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18273 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18274 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18275 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18276 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18277 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18278 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18279 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18280 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18281 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18282 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18283 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18284 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18285 * iconvdata/johab.c (ONE_DIRECTION): Define.
18286 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18287 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18288 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18289 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18290 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18291 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18292 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18293 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18294 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18295 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18297 2014-05-01 Roland McGrath <roland@hack.frob.com>
18299 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18300 (_IO_JUMPS_OFFSET): Define to 0.
18302 * nptl/sysdeps/pthread/bits/libc-lock.h
18303 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18304 (__libc_lock_define_initialized_recursive): Always define using
18305 initializer. Modern compilers treat uninitialized (implicit zero) and
18306 explicit zero initializers the same (i.e. put the datum in bss).
18308 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18310 * nscd/nscd-client.h: Include <string.h>.
18312 2014-05-01 David S. Miller <davem@davemloft.net>
18315 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18316 multiple zero bytes exist at the end of a string.
18317 Reported by Aurelien Jarno <aurelien@aurel32.net>
18319 * string/test-strcmp.c (check): Add explicit test for situations where
18320 there are multiple zero bytes after the first.
18322 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18325 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18326 when compiling wprintf.
18327 * stdio-common/tstdiomisc.c (t3): New function.
18330 2014-05-01 Steve Ellcey <sellcey@mips.com>
18332 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18333 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18334 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18335 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18337 2014-05-01 Steve Ellcey <sellcey@mips.com>
18339 * stdlib/longlong.h: Updated from GCC.
18341 2014-05-01 Will Newton <will.newton@linaro.org>
18342 Bernard Ogden <bernie.ogden@linaro.org>
18344 * NEWS: Update fixed bug list.
18347 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18349 2014-04-30 David S. Miller <davem@davemloft.net>
18351 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18352 (libc_feholdexcept_setround_sparc_ctx): New function.
18353 (libc_fesetenv_sparc_ctx): Likewise.
18354 (libc_feupdateenv_sparc_ctx): Likewise.
18355 (libc_feholdsetround_sparc_ctx): Likewise.
18356 (libc_feholdexcept_setround_ctx): Define.
18357 (libc_feholdexcept_setroundf_ctx): Likewise.
18358 (libc_feholdexcept_setroundl_ctx): Likewise.
18359 (libc_fesetenv_ctx): Likewise.
18360 (libc_fesetenvf_ctx): Likewise.
18361 (libc_fesetenvl_ctx): Likewise.
18362 (libc_feupdateenv_ctx): Likewise.
18363 (libc_feupdateenvf_ctx): Likewise.
18364 (libc_feupdateenvl_ctx): Likewise.
18365 (libc_feresetround_ctx): Likewise.
18366 (libc_feresetroundf_ctx): Likewise.
18367 (libc_feresetroundl_ctx): Likewise.
18368 (libc_feholdsetround_ctx): Likewise.
18369 (libc_feholdsetroundf_ctx): Likewise.
18370 (libc_feholdsetroundl_ctx): Likewise.
18372 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18373 with __USE_GNU instead of XOPEN cpp guards.
18375 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18379 with XOPEN cpp guards.
18381 2014-04-30 Julian Brown <julian@codesourcery.com>
18384 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18387 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18390 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18392 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18393 * sysdeps/unix/sysv/linux/configure: Regenerated.
18394 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18395 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18396 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18397 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18398 * README: Update reference to required Linux kernel version.
18399 * manual/install.texi (Linux): Update reference to required Linux
18400 kernel headers version.
18401 * INSTALL: Regenerated.
18403 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18405 [POSIX] (limits.h): Likewise.
18406 [POSIX] (math.h): Likewise.
18407 [POSIX] (sys/wait.h): Likewise.
18408 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18410 [POSIX] (stddef.h): Do not allow header inclusion.
18412 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18414 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18416 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18418 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18419 Return immediately after lll_futex_wake.
18421 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18424 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18426 (datahead_init_pos): Call datahead_init_common early.
18427 (datahead_init_neg): Likewise.
18429 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18430 datahead_init_neg): New functions.
18431 * nscd/aicache.c (addhstaiX): Use them.
18432 * nscd/grpcache.c (cache_addgr): Likewise.
18433 * nscd/hstcache.c (cache_addhst): Likewise.
18434 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18435 * nscd/netgroupcache.c (do_notfound): Likewise.
18436 (addgetnetgrentX): Likewise.
18437 (addinnetgrX): Likewise.
18438 * nscd/pwdcache.c (cache_addpw): Likewise.
18439 * nscd/servicescache.c (cache_addserv): Likewise.
18441 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18442 Atsushi Onoe <atsushi@onoe.org>
18447 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18448 one response is valid.
18449 * resolv/res_send.c (send_dg): Check for validity of other
18450 response if the current response is a referral.
18452 2014-04-29 Steve Ellcey <sellcey@mips.com>
18454 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18456 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18459 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18460 Always divide by positive zero when computing -Inf result.
18461 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18462 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18464 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18466 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18467 FPSCR if value do not change.
18468 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18469 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18470 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18471 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18472 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18473 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18476 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18478 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18479 * sysdeps/unix/sysv/linux/hppa: Move directory from
18480 ports/systeps/unix/sysv/linux/hppa.
18481 * README: Update listing for hppa-*-linux-gnu.
18483 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18486 * manual/stdio.texi (Hook functions): Fix types of stream hook
18489 * socket/sys/socket.h: Fix typo in comment.
18491 2014-04-28 Wilco <wdijkstr@arm.com>
18493 * sysdeps/arm/fenv_private.h: New file.
18494 * sysdeps/arm/math_private.h: New file.
18495 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18497 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18499 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18501 (La_x86_64_retval): Likewise.
18503 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18505 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18506 fpsr if value didn't change.
18507 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18508 to fpcr if value didn't change.
18509 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18510 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18511 fpsr or fpcr if value didn't change.
18512 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18513 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18514 fpcr if value didn't change.
18515 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18516 to fpsr if value didn't change.
18518 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18520 * nptl/tst-sem3.c: Use test-skeleton.c
18521 (main): Rename to do_test. Use return instead of
18523 * nptl/tst-sem4.c: Use test-skeleton.c
18524 (main): Rename to do_test.
18526 2014-04-22 David S. Miller <davem@davemloft.net>
18528 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18529 (struct sigaction): New struct member __glibc_reserved0, change
18530 type of sa_flags to int.
18532 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18534 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18535 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18537 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18539 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18540 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18542 2014-04-22 Will Newton <will.newton@linaro.org>
18543 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18545 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18546 (__longjmp): Add longjmp and longjmp_target SystemTap
18548 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18549 (__sigsetjmp): Add setjmp SystemTap probe.
18551 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18553 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18554 match manual order.
18556 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18558 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18560 * sysdeps/powerpc/fpu/fenv_private.h
18561 (libc_feholdexcept_setroundl_ctx): Define to
18562 libc_feholdexcept_setround_ppc_ctx.
18563 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18564 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18565 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18566 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18568 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18570 * sysdeps/aarch64/math-tests.h: New file.
18572 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18574 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18577 Check and set bit_AVX2_Usable.
18578 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18580 (bit_AVX2): Likewise.
18581 (index_AVX2_Usable): Likewise.
18582 (CPUID_AVX2): Likewise.
18583 (HAS_AVX2): Likewise.
18585 2014-04-17 Will Newton <will.newton@linaro.org>
18587 * manual/setjmp.texi (System V contexts): Add note that
18588 calling setcontext on a context created by a call to a
18589 signal handler is undefined. Update text to note that
18590 setcontext from a signal handler is possible but not
18594 * stdlib/tst-setcontext.c: Include signal.h.
18595 (main): Check that the signal stack before and
18596 after swapcontext is the same.
18598 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18599 Re-implement to restore registers in user code and avoid
18600 rt_sigreturn system call.
18602 2014-04-17 Wilco <wdijkstr@arm.com>
18604 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18605 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18606 * math/test-fenv.c: Skip exception trap tests on targets which only
18607 support non-stop mode.
18609 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18610 Wilco Dijkstra <wilco.dijkstra@arm.com>
18612 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18613 (libc_feholdsetround_aarch64_ctx)
18614 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18615 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18616 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18617 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18618 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18619 (libc_feresetround_noexl_ctx): Define.
18621 2014-04-16 Richard Henderson <rth@redhat.com>
18623 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18625 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18628 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18629 const from the non-libc, non-ldso copy.
18631 * sysdeps/alpha/libm-test-ulps: Regenerate.
18633 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18634 Wilco Dijkstra <wilco.dijkstra@arm.com>
18636 * sysdeps/aarch64/fpu/math_private.h: New file.
18638 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18640 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18642 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18645 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18646 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18648 Intel MPX bound registers before _dl_profile_fixup.
18649 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18650 registers after _dl_profile_fixup. Save and restore bound
18651 registers bnd0/bnd1 when calling _dl_call_pltexit.
18652 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18653 (LR_BND_OFFSET): Likewise.
18654 (LRV_BND0_OFFSET): Likewise.
18655 (LRV_BND1_OFFSET): Likewise.
18657 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18659 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18661 * sysdeps/mach/hurd/i386/tls.h: ... here.
18662 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18663 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18666 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18668 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18670 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18672 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18674 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18677 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18678 * sysdeps/s390/configure: Regenerate.
18681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18682 Set round-to-nearest internally to reduce error accumulation.
18684 2014-04-16 Alan Modra <amodra@gmail.com>
18688 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18689 * math/libm-test.inc (frexp_test_data): Add tests.
18690 * NEWS: Update fixed bug list.
18692 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18694 * benchtests/Makefile: Depend on libraries in build directory.
18695 (bench-math): Separate out math tests.
18696 (bench-pthread): Separate out pthread tests.
18697 (bench): Include math and pthread tests.
18699 2014-04-14 Carlos O'Donell <carlos@redhat.com>
18702 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18703 _dl_debug_initialize.
18705 * configure.ac: Remove SELinux header check.
18706 * configure: Regenerate.
18707 * nscd/selinux.c (perms): Array of const char* to permission names.
18708 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18709 default policy. Call string_to_security_class and string_to_av_perm to
18710 translate strings. Enforce default policy and call avs_has_perm with
18711 results of translated strings.
18713 2014-04-13 David S. Miller <davem@davemloft.net>
18715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18717 2014-04-12 Allan McRae <allan@archlinux.org>
18720 * manual/string.texi (Collation Functions): Fix qsort argument
18722 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18724 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18726 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18727 Make the test a no-op if there are no exceptions defined.
18729 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18731 * elf/Makefile (tests): make tst-dlopen-aout conditional on
18732 enable-hardcoded-path-in-tests
18734 2014-04-11 Will Newton <will.newton@linaro.org>
18736 * benchtests/Makefile (extra-objs): Add json-lib.o.
18737 (bench-func): Tidy up JSON output.
18738 * benchtests/bench-skeleton.c: Include json-lib.h.
18739 (main): Use JSON library functions to do output of
18741 * benchtests/bench-timing-type.c (main): Output the
18742 timing type simply, leaving formatting to the user.
18743 * benchtests/json-lib.c: New file.
18744 * benchtests/json-lib.h: Likewise.
18746 2014-04-11 Torvald Riegel <triegel@redhat.com>
18749 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18750 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18751 memory barriers. Add comments.
18752 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18753 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18754 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18755 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18756 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18757 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18759 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18761 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18762 * sysdeps/s390/s390-64/configure.ac: ... this ...
18763 * sysdeps/s390/configure.ac: ... to here.
18764 * sysdeps/s390/s390-32/configure: Delete file.
18765 * sysdeps/s390/s390-64/configure: Delete file.
18766 * sysdeps/s390/configure: Regenerate.
18768 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18770 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18772 2014-04-11 Will Newton <will.newton@linaro.org>
18774 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18775 to zero if it is not defined elsewhere. (mtrim): Test
18776 the value of MALLOC_DEBUG with #if rather than #ifdef.
18778 2014-04-10 Torvald Riegel <triegel@redhat.com>
18780 * benchtests/pthread_once-inputs: New file.
18781 * benchtests/pthread_once-source.c: New file.
18782 * benchtests/README: Update documentation.
18784 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
18785 H.J. Lu <hongjiu.lu@intel.com>
18788 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18789 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18790 * sysdeps/x86_64/configure: Regenerated.
18791 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18793 (REGISTER_SAVE_RAX): Likewise.
18794 (REGISTER_SAVE_RCX): Likewise.
18795 (REGISTER_SAVE_RDX): Likewise.
18796 (REGISTER_SAVE_RSI): Likewise.
18797 (REGISTER_SAVE_RDI): Likewise.
18798 (REGISTER_SAVE_R8): Likewise.
18799 (REGISTER_SAVE_R9): Likewise.
18800 (REGISTER_SAVE_BND0): Likewise.
18801 (REGISTER_SAVE_BND1): Likewise.
18802 (REGISTER_SAVE_BND2): Likewise.
18803 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
18804 bound registers when calling _dl_fixup.
18806 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18808 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18809 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18811 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18812 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18813 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18814 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18815 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18816 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18817 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18819 2014-04-09 Peter Brett <peter@peter-b.co.uk>
18822 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18823 pathconf(_PC_NAME_MAX).
18825 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18827 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18828 Remove macro usage.
18829 (__PTHREAD_SPINS): Move definition to ...
18830 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18831 (__PTHREAD_SPINS): ... here.
18832 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18833 (__PTHREAD_SPIN): Likewise.
18834 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18835 (__PTHREAD_SPIN): Likewise.
18836 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18837 (__PTHREAD_SPIN): Likewise.
18838 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18839 (__PTHREAD_SPIN): Likewise.
18840 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18841 (__PTHREAD_SPIN): Likewise.
18842 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18843 (__PTHREAD_SPIN): Likewise.
18844 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18845 (__PTHREAD_SPIN): Likewise.
18846 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18847 (__PTHREAD_SPIN): Likewise.
18848 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18849 (__PTHREAD_SPIN): Likewise.
18850 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18851 (__PTHREAD_SPIN): Likewise.
18852 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18853 (__PTHREAD_SPIN): Likewise.
18854 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18855 (__PTHREAD_SPIN): Likewise.
18857 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18858 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18859 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18860 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18862 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18863 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18864 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18865 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18866 correct imply path.
18867 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18868 strlen symbol for non multi-arch builds.
18869 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18870 missing hidden_def and weak_alias.
18872 2014-04-08 Carlos O'Donell <carlos@redhat.com>
18874 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18876 2014-04-07 Will Newton <will.newton@linaro.org>
18878 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18879 and contents. [!_LIBC] Remove #ifndef and contents.
18880 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
18881 * string/memccpy.c (__memccpy): Use ANSI prototype.
18882 * string/memfrob.c (memfrob): Likewise.
18883 * string/strcoll.c (STRCOLL): Likewise.
18884 * string/strlen.c (strlen): Likewise.
18885 * string/strtok.c (STRTOK): Likewise.
18886 * string/strcat.c: Remove unused #include of memcopy.h.
18887 (strcat): Use ANSI prototype.
18888 * string/strchr.c: Remove unused #include of memcopy.h.
18889 (strchr): Use ANSI prototype.
18890 * string/strcmp.c: Remove unused #include of memcopy.h.
18891 (strcmp): Use ANSI prototype.
18892 * string/strcpy.c: Remove unused #include of memcopy.h.
18893 (strcpy): Use ANSI prototype.
18895 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18897 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18898 * config.make.in (config-extra-cppflags): Set it from
18899 libc_extra_cppflags.
18900 * configure.ac (libc_extra_cflags): Make it accumulate over
18901 configure fragments.
18902 (libc_extra_cppflags): New flag.
18903 * configure. Regenerate.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18905 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18906 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18910 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18911 result for FE_DOWNWARD rounding mode.
18912 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18916 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
18918 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18919 in function argument name.
18921 2014-04-03 David Svoboda <svoboda@cert.org>
18924 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18927 2014-04-03 Roland McGrath <roland@hack.frob.com>
18929 * elf/dl-unmap-segments.h: New file.
18930 * sysdeps/generic/ldsodefs.h
18931 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18932 * elf/dl-close.c: Include <dl-unmap-segments.h>.
18933 * elf/dl-fptr.c: Likewise.
18934 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18935 * sysdeps/aarch64/tlsdesc.c: Likewise.
18936 * sysdeps/arm/tlsdesc.c: Likewise.
18937 * sysdeps/i386/tlsdesc.c: Likewise.
18938 * sysdeps/tile/dl-runtime.c: Likewise.
18939 * sysdeps/x86_64/tlsdesc.c: Likewise.
18940 * elf/dl-load.h: New file.
18941 * elf/dl-load.c: Include it.
18942 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18943 Macros moved to dl-load.h.
18944 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18945 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18946 Use _dl_unmap_segments in place of __munmap.
18947 Break out segment-mapping loop into ...
18948 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18950 2014-04-03 Will Newton <will.newton@linaro.org>
18952 * elf/dl-lookup.c (do_lookup_x): Remove comment
18953 referring to nested function and move variable
18954 declarations down to before first use.
18956 2014-04-02 Joseph Myers <joseph@codesourcery.com>
18960 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18962 * math/s_catanf.c (__catanf): Likewise.
18963 * math/s_catanh.c (__catanh): Likewise.
18964 * math/s_catanhf.c (__catanhf): Likewise.
18965 * math/s_catanhl.c (__catanhl): Likewise.
18966 * math/s_catanl.c (__catanl): Likewise.
18967 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18968 by positive zero when computing -Inf result.
18969 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18970 (catanh_test): Likewise.
18971 * sysdeps/i386/fpu/libm-test-ulps: Update.
18972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18975 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18976 instead of using underflowing value in computing result.
18977 * math/s_clog10.c (__clog10): Likewise.
18978 * math/s_clog10f.c (__clog10f): Likewise.
18979 * math/s_clog10l.c (__clog10l): Likewise.
18980 * math/s_clogf.c (__clogf): Likewise.
18981 * math/s_clogl.c (__clogl): Likewise.
18982 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18983 (clog10_test): Likewise.
18984 * sysdeps/i386/fpu/libm-test-ulps: Update.
18985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18987 2014-04-02 Alan Modra <amodra@gmail.com>
18990 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18991 output when value is near a power of two. Use int64_t for lx and
18992 remove casts. Use decimal rather than hex exponent constants.
18993 Don't use long double multiplication when double will suffice.
18994 * math/libm-test.inc (nextafter_test_data): Add tests.
18995 * NEWS: Add 16739 and 16786 to bug list.
18997 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18999 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19001 2014-04-01 Will Newton <will.newton@linaro.org>
19003 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19004 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19006 2014-04-01 Florian Weimer <fweimer@redhat.com>
19009 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19010 * nptl/tst-setuid2.c: New file.
19011 * nptl/Makefile (xtests): Add tst-setuid2.
19013 2014-04-01 Alan Modra <amodra@gmail.com>
19016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19018 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19022 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19023 set errno as appropriate.
19024 * math/w_scalbf.c (__scalbf): Likewise.
19025 * math/w_scalbl.c (__scalbl): Likewise.
19026 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19027 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19028 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19029 Add more NaN tests.
19032 * math/w_atan2.c: Include <errno.h>.
19033 (__atan2): Set errno for result underflowing to zero.
19034 * math/w_atan2f.c: Include <errno.h>.
19035 (__atan2f): Set errno for result underflowing to zero.
19036 * math/w_atan2l.c: Include <errno.h>.
19037 (__atan2l): Set errno for result underflowing to zero.
19038 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19040 * math/auto-libm-test-out: Regenerated.
19042 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19044 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19045 Encode instruction correctly in little endian.
19046 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19048 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19050 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19052 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19055 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19058 * sysdeps/unix/sysv/linux/kernel-features.h
19059 [__sparc__ && !__arch64__ && !__sparc_v9__]
19060 (__ASSUME_SET_ROBUST_LIST): Do not define.
19061 [__sparc__ && !__arch64__ && !__sparc_v9__]
19062 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19063 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19066 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19067 (__ASSUME_REQUEUE_PI): Likewise.
19068 (__ASSUME_SET_ROBUST_LIST): Likewise.
19069 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19070 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19072 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19073 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19075 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19077 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19079 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19080 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19082 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19083 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19087 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19088 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19089 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19091 2014-03-31 Will Newton <will.newton@linaro.org>
19093 * benchtests/Makefile (bench): Add ffs and ffsll to list
19095 * benchtests/ffs-inputs: New file.
19096 * benchtests/ffsll-inputs: Likewise.
19098 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19101 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19102 too large before casting to int.
19103 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19104 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19105 * math/libm-test.inc (scalb_test_data): Add more tests.
19107 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19109 * benchtests/Makefile (DETAILED_OPT): New make option.
19110 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19112 * benchtests/bench-skeleton.c: Include stdbool.h.
19113 (main): Store and print timings per input.
19114 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19115 member to each argument value.
19116 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19117 (_print_arg_data): Initialize per-input timing to 0.
19119 * benchtests/Makefile (timing-type): New binary.
19120 (bench-clean): Also remove bench-timing-type.
19121 (bench): New target for timing-type.
19122 (bench-func): Print output in JSON format.
19123 * benchtests/bench-skeleton.c (main): Print output in JSON
19125 * benchtests/bench-timing-type.c: New file.
19126 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19127 (TIMING_PRINT_STATS): Remove.
19128 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19131 * benchtests/bench-modf.c: Remove.
19132 * benchtests/modf-inputs: New inputs file.
19134 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19137 * math/s_clog10.c (M_PI_LOG10E): New macro.
19138 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19139 imaginary parts are 0.
19140 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19141 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19142 imaginary parts are 0.
19143 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19144 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19145 imaginary parts are 0.
19146 * math/libm-test.inc (clog10_test_data): Update expected results
19147 for when real and imaginary parts are 0.
19149 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19151 * elf/dl-load.c: Finish conversion of __builtin_expect into
19152 __glibc_{un}likely.
19154 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19157 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19158 1+x for argument with exponent below -67.
19159 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19161 * math/auto-libm-test-in: Add more tests of exp.
19162 * math/auto-libm-test-out: Regenerated.
19164 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19167 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19168 (nscd_getnetgrent): Use it.
19171 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19174 2014-03-27 Andi Kleen <ak@linux.intel.com>
19176 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19177 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19178 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19179 (lll_robust_unlock): Remove out of line section. Use cfi
19181 (LLL_STUB_UNWIND_INFO*): Remove.
19182 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19183 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19184 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19185 (lll_robust_unlock): Remove out of line section. Use cfi
19187 (LLL_STUB_UNWIND_INFO*): Remove.
19189 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19192 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19195 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19197 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19199 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19204 * math/test-fenv-preserve.c: New file.
19205 * math/Makefile (tests): Add test-fenv-preserve.
19207 2014-03-26 Will Newton <will.newton@linaro.org>
19209 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19211 2014-03-25 Roland McGrath <roland@hack.frob.com>
19213 * scripts/versionlist.awk: Partition the version sets and emit all
19214 GLIBC_* (sorted) before all others (sorted).
19216 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19218 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19219 GLIBC_2.2.5 version.
19221 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19223 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19226 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19231 2014-03-25 Andreas Schwab <schwab@suse.de>
19233 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19234 label to be used after in6ailist is initialized.
19236 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19238 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19239 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19241 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19245 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19247 (fp_formats): Update initializers.
19248 (init_fp_formats): Initialize new field.
19249 (output_for_one_input_case): Allow underflow for results up to
19251 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19252 * math/auto-libm-test-in: Don't mark some underflows from asin and
19254 * math/auto-libm-test-out: Regenerated.
19255 * sysdeps/i386/fpu/libm-test-ulps: Update.
19256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19258 2014-03-25 Andreas Schwab <schwab@suse.de>
19260 * libio/Makefile (tst-ftell-partial-wide-ENV)
19261 (tst-ftell-active-handler-ENV): Define.
19263 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19265 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19267 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19269 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19271 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19273 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19274 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19275 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19277 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19280 * elf/dl-load.c (open_verify): Add mode parameter.
19281 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19282 (open_path): Change from boolean 'secure' to complete flag 'mode'
19283 (_dl_map_object): Adjust.
19284 * elf/Makefile (tests): Add tst-dlopen-aout.
19285 * elf/tst-dlopen-aout.c: New test.
19287 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19290 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19291 (struct stat): Rename member pad0 to __glibc_reserved0.
19294 * sysdeps/s390/s390-32/bits/wordsize.h
19295 (__WORDSIZE32_SIZE_ULONG): New define.
19296 * sysdeps/s390/s390-64/bits/wordsize.h
19297 (__WORDSIZE32_SIZE_ULONG): Likewise.
19298 * sysdeps/generic/stdint.h (SIZE_MAX):
19299 Define as UL if __WORDSIZE32_SIZE_ULONG.
19302 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19303 (__glibc_reserved0): New variable.
19304 (sa_flags): Change type to int.
19306 * posix/Makefile (before-compile): Use += before-compile instead
19309 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19310 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19312 2014-03-20 Andreas Schwab <schwab@suse.de>
19315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19316 non-matching result from nscd.
19318 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 * scripts/bench.py: Moved to ...
19321 * benchtests/scripts/bench.py: ... here.
19322 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19324 2014-03-24 Andreas Schwab <schwab@suse.de>
19327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19328 alloca_account and account alloca use for struct in6ailist.
19330 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19333 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19334 rounding mode to recompute results that overflow to infinity or
19336 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19338 * math/auto-libm-test-out: Regenerated.
19339 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19340 (ccosh_test): Likewise.
19341 (csin_test_data): Use plus_oflow.
19342 (csin_test): Use ALL_RM_TEST.
19343 (csinh_test_data): Use plus_oflow.
19344 (csinh_test): Use ALL_RM_TEST.
19345 * sysdeps/i386/fpu/libm-test-ulps: Update.
19346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19348 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19350 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19351 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19352 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19355 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19356 when x - 1 is zero.
19357 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19358 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19359 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19362 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19363 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19365 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19366 * sysdeps/i386/fpu/libm-test-ulps: Update.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19369 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19371 * scripts/bench.pl: Remove file.
19372 * scripts/bench.py: New benchmark script.
19373 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19374 * benchtests/README: Mention python dependency.
19375 * scripts/pylintrc: New file.
19376 * scripts/pylint: New file.
19378 * bits/mathdef.h: Use #ifdef instead of #if.
19379 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19380 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19381 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19382 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19383 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19384 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19386 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19387 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19389 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19391 and strpbrk-ppc64 objects.
19392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19393 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19394 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19395 multiarch strpbrk for POWER7.
19396 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19397 multiarch strpbrk for PPC64.
19398 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19400 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19401 strpbrk for POWER7.
19403 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19405 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19406 (atan_test): Likewise.
19407 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19408 (atanh_test): Use ALL_RM_TEST.
19409 (atan2_test_data): Likewise.
19410 (cabs_test): Likewise.
19411 (cacosh_test): Likewise.
19412 (carg_test): Likewise.
19413 (casin_test): Likewise.
19414 (casinh_test): Likewise.
19415 (cbrt_test): Likewise.
19416 (csqrt_test): Likewise.
19417 (erf_test): Likewise.
19418 (erfc_test): Likewise.
19419 (pow10_test): Likewise.
19420 (exp2_test): Likewise.
19421 (hypot_test): Likewise.
19422 (j0_test): Likewise.
19423 (j1_test): Likewise.
19424 (lgamma_test): Likewise.
19425 (gamma_test): Likewise.
19426 (sincos_test): Likewise.
19427 (tanh_test): Likewise.
19428 (y0_test): Likewise.
19429 (y1_test): Likewise.
19430 * sysdeps/i386/fpu/libm-test-ulps: Update.
19431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19433 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19437 and strcspn-ppc64 objects.
19438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19439 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19440 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19441 multiarch strcspn for POWER7.
19442 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19443 multiarch strcspn for PPC64.
19444 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19446 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19447 strcspn for POWER7.
19449 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19451 * math/gen-libm-test.pl (generate_testfile): Expect only function
19452 name as argument to AUTO_TESTS_* and pass results for all rounding
19453 modes to parse_args.
19454 (parse_auto_input): Separate inputs of automatic tests from
19455 outputs before storing in %auto_tests.
19456 * math/libm-test.inc (acos_test_data): Update call to
19458 (acos_test): Use ALL_RM_TEST.
19459 (acos_tonearest_test_data): Remove.
19460 (acos_test_tonearest): Likewise.
19461 (acos_towardzero_test_data): Likewise.
19462 (acos_test_towardzero): Likewise.
19463 (acos_downward_test_data): Likewise.
19464 (acos_test_downward): Likewise.
19465 (acos_upward_test_data): Likewise.
19466 (acos_test_upward): Likewise.
19467 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19468 (asin_test_data): Likewise.
19469 (asin_test): Use ALL_RM_TEST.
19470 (asin_tonearest_test_data): Remove.
19471 (asin_test_tonearest): Likewise.
19472 (asin_towardzero_test_data): Likewise.
19473 (asin_test_towardzero): Likewise.
19474 (asin_downward_test_data): Likewise.
19475 (asin_test_downward): Likewise.
19476 (asin_upward_test_data): Likewise.
19477 (asin_test_upward): Likewise.
19478 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19479 (atan_test_data): Likewise.
19480 (atanh_test_data): Likewise.
19481 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19482 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19483 (carg_test_data): Likewise.
19484 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19485 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19486 (ccosh_test_data): Likewise.
19487 (cexp_test_data): Likewise.
19488 (clog_test_data): Likewise.
19489 (clog10_test_data): Likewise.
19490 (cos_test_data): Update call to AUTO_TESTS_f_f.
19491 (cos_test): Use ALL_RM_TEST.
19492 (cos_tonearest_test_data): Remove.
19493 (cos_test_tonearest): Likewise.
19494 (cos_towardzero_test_data): Likewise.
19495 (cos_test_towardzero): Likewise.
19496 (cos_downward_test_data): Likewise.
19497 (cos_test_downward): Likewise.
19498 (cos_upward_test_data): Likewise.
19499 (cos_test_upward): Likewise.
19500 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19501 (cosh_test): Use ALL_RM_TEST.
19502 (cosh_tonearest_test_data): Remove.
19503 (cosh_test_tonearest): Likewise.
19504 (cosh_towardzero_test_data): Likewise.
19505 (cosh_test_towardzero): Likewise.
19506 (cosh_downward_test_data): Likewise.
19507 (cosh_test_downward): Likewise.
19508 (cosh_upward_test_data): Likewise.
19509 (cosh_test_upward): Likewise.
19510 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19511 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19512 (ctan_test_data): Likewise.
19513 (ctan_test): Use ALL_RM_TEST.
19514 (ctan_tonearest_test_data): Remove.
19515 (ctan_test_tonearest): Likewise.
19516 (ctan_towardzero_test_data): Likewise.
19517 (ctan_test_towardzero): Likewise.
19518 (ctan_downward_test_data): Likewise.
19519 (ctan_test_downward): Likewise.
19520 (ctan_upward_test_data): Likewise.
19521 (ctan_test_upward): Likewise.
19522 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19523 (ctanh_test): Use ALL_RM_TEST.
19524 (ctanh_tonearest_test_data): Remove.
19525 (ctanh_test_tonearest): Likewise.
19526 (ctanh_towardzero_test_data): Likewise.
19527 (ctanh_test_towardzero): Likewise.
19528 (ctanh_downward_test_data): Likewise.
19529 (ctanh_test_downward): Likewise.
19530 (ctanh_upward_test_data): Likewise.
19531 (ctanh_test_upward): Likewise.
19532 (erf_test_data): Update call to AUTO_TESTS_f_f.
19533 (erfc_test_data): Likewise.
19534 (exp_test_data): Likewise.
19535 (exp_test): Use ALL_RM_TEST.
19536 (exp_tonearest_test_data): Remove.
19537 (exp_test_tonearest): Likewise.
19538 (exp_towardzero_test_data): Likewise.
19539 (exp_test_towardzero): Likewise.
19540 (exp_downward_test_data): Likewise.
19541 (exp_test_downward): Likewise.
19542 (exp_upward_test_data): Likewise.
19543 (exp_test_upward): Likewise.
19544 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19545 (exp10_test): Use ALL_RM_TEST.
19546 (exp10_tonearest_test_data): Remove.
19547 (exp10_test_tonearest): Likewise.
19548 (exp10_towardzero_test_data): Likewise.
19549 (exp10_test_towardzero): Likewise.
19550 (exp10_downward_test_data): Likewise.
19551 (exp10_test_downward): Likewise.
19552 (exp10_upward_test_data): Likewise.
19553 (exp10_test_upward): Likewise.
19554 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19555 (expm1_test_data): Likewise.
19556 (expm1_test): Use ALL_RM_TEST.
19557 (expm1_tonearest_test_data): Remove.
19558 (expm1_test_tonearest): Likewise.
19559 (expm1_towardzero_test_data): Likewise.
19560 (expm1_test_towardzero): Likewise.
19561 (expm1_downward_test_data): Likewise.
19562 (expm1_test_downward): Likewise.
19563 (expm1_upward_test_data): Likewise.
19564 (expm1_test_upward): Likewise.
19565 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19566 (fma_test): Use ALL_RM_TEST.
19567 (fma_towardzero_test_data): Remove.
19568 (fma_test_towardzero): Likewise.
19569 (fma_downward_test_data): Likewise.
19570 (fma_test_downward): Likewise.
19571 (fma_upward_test_data): Likewise.
19572 (fma_test_upward): Likewise.
19573 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19574 (j0_test_data): Update call to AUTO_TESTS_f_f.
19575 (j1_test_data): Likewise.
19576 (jn_test_data): Update call to AUTO_TESTS_if_f.
19577 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19578 (log_test_data): Update call to AUTO_TESTS_f_f.
19579 (log10_test_data): Likewise.
19580 (log1p_test_data): Likewise.
19581 (log2_test_data): Likewise.
19582 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19583 (pow_tonearest_test_data): Likewise.
19584 (sin_test_data): Update call to AUTO_TESTS_f_f.
19585 (sin_test): Use ALL_RM_TEST.
19586 (sin_tonearest_test_data): Remove.
19587 (sin_test_tonearest): Likewise.
19588 (sin_towardzero_test_data): Likewise.
19589 (sin_test_towardzero): Likewise.
19590 (sin_downward_test_data): Likewise.
19591 (sin_test_downward): Likewise.
19592 (sin_upward_test_data): Likewise.
19593 (sin_test_upward): Likewise.
19594 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19595 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19596 (sinh_test): Use ALL_RM_TEST.
19597 (sinh_tonearest_test_data): Remove.
19598 (sinh_test_tonearest): Likewise.
19599 (sinh_towardzero_test_data): Likewise.
19600 (sinh_test_towardzero): Likewise.
19601 (sinh_downward_test_data): Likewise.
19602 (sinh_test_downward): Likewise.
19603 (sinh_upward_test_data): Likewise.
19604 (sinh_test_upward): Likewise.
19605 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19606 (sqrt_test): Use ALL_RM_TEST.
19607 (sqrt_tonearest_test_data): Remove.
19608 (sqrt_test_tonearest): Likewise.
19609 (sqrt_towardzero_test_data): Likewise.
19610 (sqrt_test_towardzero): Likewise.
19611 (sqrt_downward_test_data): Likewise.
19612 (sqrt_test_downward): Likewise.
19613 (sqrt_upward_test_data): Likewise.
19614 (sqrt_test_upward): Likewise.
19615 (tan_test_data): Update call to AUTO_TESTS_f_f.
19616 (tan_test): Use ALL_RM_TEST.
19617 (tan_tonearest_test_data): Remove.
19618 (tan_test_tonearest): Likewise.
19619 (tan_towardzero_test_data): Likewise.
19620 (tan_test_towardzero): Likewise.
19621 (tan_downward_test_data): Likewise.
19622 (tan_test_downward): Likewise.
19623 (tan_upward_test_data): Likewise.
19624 (tan_test_upward): Likewise.
19625 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19626 (tgamma_test_data): Likewise.
19627 (y0_test_data): Likewise.
19628 (y1_test_data): Likewise.
19629 (yn_test_data): Update call to AUTO_TESTS_if_f.
19630 (main): Do not call removed functions.
19632 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19634 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19635 (ldexp_test_data): Remove.
19636 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19638 (scalb_test): Use ALL_RM_TEST.
19640 2014-03-19 Andreas Schwab <schwab@suse.de>
19642 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19644 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19648 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19649 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19651 (__ASSUME_PREADV): Undefine.
19652 (__ASSUME_PWRITEV): Likewise.
19654 2014-03-18 Roland McGrath <roland@hack.frob.com>
19656 * bits/mman-linux.h: Add comment about non-Linux use.
19657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19658 bits/mman-linux.h resting place.
19660 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19661 * bits/mman-linux.h: ... here.
19663 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19665 * conform/conformtest.pl: Add standard definition when calling C
19666 preprocessor on data files.
19667 (checknamespace): Remove unused variable.
19669 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19671 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19672 minus_oflow, plus_uflow and minus_uflow in expected results.
19673 * math/libm-test.inc (scalbn_test_data): Add more tests of
19674 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19676 (scalbn_test): Use ALL_RM_TEST.
19677 (scalbln_test_data): Add more tests of negative arguments. Use
19678 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19679 (scalbln_test): Use ALL_RM_TEST.
19681 2014-03-18 Roland McGrath <roland@hack.frob.com>
19683 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19685 2014-03-18 Will Newton <will.newton@linaro.org>
19687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19688 inaccurate comment.
19690 2014-03-18 Joseph Myers <joseph@codesourcery.com>
19692 * Makerules [!subdir] (check-abi): Exit with error status if a
19695 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19697 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19698 for rint. Include results for all rounding modes.
19699 (nearbyint_test): Use ALL_RM_TEST.
19700 (rint_test_data): Include all tests used for nearbyint.
19702 2014-03-17 Will Newton <will.newton@linaro.org>
19704 * nptl/sysdeps/pthread/pthread.h: Revert previous
19707 * sysdeps/generic/ldsodefs.h: Revert previous
19710 * libio/genops.c: Revert previous change.
19711 * libio/libioP.h: Likewise.
19712 * stdio-common/vfprintf.c: Likewise.
19714 * sysdeps/generic/math_private.h: Revert previous
19717 * sysdeps/generic/math_private.h: Check whether
19718 HAVE_RM_CTX is defined with #ifdef rather
19721 * argp/argp-fmtstream.h: Check whether
19722 __STRICT_ANSI__ is defined with #ifdef rather
19724 * argp/argp.h: Likewise.
19726 * libio/genops.c: Check whether
19727 _IO_JUMPS_OFFSET is defined with #ifdef rather
19729 * libio/libioP.h: Likewise.
19730 * stdio-common/vfprintf.c: Likewise.
19732 * sysdeps/generic/ldsodefs.h: Check whether
19733 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19736 * nptl/sysdeps/pthread/pthread.h: Check
19737 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19740 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19742 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19744 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19748 * libio/fileops.c (_IO_file_open): Seek to end of file but
19749 don't cache the offset.
19750 (get_file_offset): Remove function.
19751 (do_ftell): Use cached offset when available.
19752 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19753 don't cache the offset.
19754 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19756 (do_one_test): Call it.
19757 (do_ftell_test): Fix up expected old offset for a+ mode.
19758 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19761 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19762 up test status with function return status.
19763 (do_write_test): Likewise.
19764 (do_append_test): Likewise.
19766 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19767 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19770 2014-03-17 Joseph Myers <joseph@codesourcery.com>
19772 * math/gen-libm-test.pl (parse_args): Handle results specified for
19773 each rounding mode separately.
19774 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19775 tests and results from lrint_tonearest_test_data,
19776 lrint_towardzero_test_data, lrint_downward_test_data and
19777 lrint_upward_test_data.
19778 (lrint_test): Use ALL_RM_TEST.
19779 (lrint_tonearest_test_data): Remove.
19780 (lrint_test_tonearest): Likewise.
19781 (lrint_towardzero_test_data): Likewise.
19782 (lrint_test_towardzero): Likewise.
19783 (lrint_downward_test_data): Likewise.
19784 (lrint_test_downward): Likewise.
19785 (lrint_upward_test_data): Likewise.
19786 (lrint_test_upward): Likewise.
19787 (llrint_test_data): Merge in per-rounding-mode tests and results
19788 from llrint_tonearest_test_data, llrint_towardzero_test_data,
19789 llrint_downward_test_data and llrint_upward_test_data.
19790 (llrint_test): Use ALL_RM_TEST.
19791 (llrint_tonearest_test_data): Remove.
19792 (llrint_test_tonearest): Likewise.
19793 (llrint_towardzero_test_data): Likewise.
19794 (llrint_test_towardzero): Likewise.
19795 (llrint_downward_test_data): Likewise.
19796 (llrint_test_downward): Likewise.
19797 (llrint_upward_test_data): Likewise.
19798 (llrint_test_upward): Likewise.
19799 (rint_test_data): Merge in per-rounding-mode tests and results
19800 from rint_tonearest_test_data, rint_towardzero_test_data,
19801 rint_downward_test_data and rint_upward_test_data. Add
19802 per-rounding-mode results for tests not in those arrays.
19803 (rint_test): Use ALL_RM_TEST.
19804 (rint_tonearest_test_data): Remove.
19805 (rint_test_tonearest): Likewise.
19806 (rint_towardzero_test_data): Likewise.
19807 (rint_test_towardzero): Likewise.
19808 (rint_downward_test_data): Likewise.
19809 (rint_test_downward): Likewise.
19810 (rint_upward_test_data): Likewise.
19811 (rint_test_upward): Likewise.
19812 (main): Don't call removed functions.
19814 2014-03-14 Roland McGrath <roland@hack.frob.com>
19816 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19817 "Compiled on ..." crapola. It is anti-useful.
19819 2014-03-14 Joseph Myers <joseph@codesourcery.com>
19821 * scripts/evaluate-test.sh: Handle fourth argument to determine
19822 whether test run should stop on failure.
19823 * Makeconfig (stop-on-test-failure): New variable.
19824 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19825 $(stop-on-test-failure).
19826 * Makefile (tests): Give a summary of results from testing and
19827 exit with failure status if they include an ERROR or FAIL.
19828 (xtests): Likewise.
19829 * manual/install.texi (Configuring and compiling): Mention
19830 stop-on-test-failure=y.
19831 * INSTALL: Regenerated.
19833 2014-03-14 Roland McGrath <roland@hack.frob.com>
19835 * scripts/versionlist.awk: New file.
19836 * Makerules [$(build-shared) = yes]
19837 (postclean-generated): Add Versions.def, not Versions.def.v and
19839 ($(common-objpfx)Versions.def.v.i): Target removed.
19840 ($(common-objpfx)Versions.def): New target.
19841 ($(common-objpfx)Versions.all): Depend on that rather that
19842 $(common-objpfx)Versions.def.v.
19843 * Versions.def: File removed.
19845 * Makeconfig (+gccwarn): Add -Wundef.
19846 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19847 a dl-sysdep.h breaking its contract.
19848 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19849 * include/stackinfo.h: New file.
19850 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19851 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19852 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19853 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19854 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19855 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19856 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19857 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19858 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19859 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19860 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19861 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19862 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19863 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19864 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19866 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19869 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19871 * math/libm-test.inc (round_test_data): Add more tests.
19874 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19876 * math/libm-test.inc (nearbyint_test_data): Add more tests.
19879 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19881 * math/libm-test.inc (ceil_test_data): Add more tests.
19883 * math/libm-test.inc (trunc_test_data): Add more tests related to
19886 2014-03-14 Roland McGrath <roland@hack.frob.com>
19888 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19889 with #if rather than #ifdef.
19890 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19892 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
19894 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19895 first. Disable AVX-512 GCC support if assembler doesn't support
19897 * sysdeps/x86_64/configure: Regenerated.
19899 2014-03-13 Carlos O'Donell <carlos@redhat.com>
19901 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19902 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19903 (__old_pthread_attr_setstack): Likewise.
19904 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19905 [!_STACK_GROWS_DOWN]: Likewise.
19907 2014-03-13 Mike Frysinger <vapier@gentoo.org>
19909 * config.make.in (have-bash2): Delete.
19910 * configure.ac (libc_cv_have_bash2): Delete.
19911 * configure: Regenerate.
19912 * elf/Makefile (common-ldd-rewrite): Rename to ...
19913 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
19914 (sh-ldd-rewrite): Delete.
19915 (bash-ldd-rewrite): Delete.
19916 (have-bash2): Delete checks.
19917 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19920 * config.make.in (have-ksh): Delete.
19922 * configure.ac (libc_cv_have_ksh): Delete.
19923 * configure: Regenerate.
19925 * elf/Makefile: Delete $(have-ksh) check.
19926 ($(objpfx)sotruss): Change KSH to BASH.
19927 * elf/sotruss.ksh: Rename to ...
19928 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
19929 function style to match POSIX. Drop ksh vim mode setting.
19931 * manual/time.texi (Specifying the Time Zone with TZ): Change
19932 Tuesday to Thursday.
19934 * debug/tst-longjmp_chk2.c: Update header comment.
19935 (stackoverflow_handler): Add comment. Call assert on pass value.
19937 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
19940 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19941 (HAVE_AVX512_ASM_SUPPORT): Likewise.
19942 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19943 (La_x86_64_vector): Add zmm.
19944 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19945 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19946 ($(objpfx)tst-audit10): New target.
19947 ($(objpfx)tst-audit10.out): Likewise.
19948 (tst-audit10-ENV): New.
19949 (AVX512-CFLAGS): Likewise.
19950 (CFLAGS-tst-audit10.c): Likewise.
19951 (CFLAGS-tst-auditmod10a.c): Likewise.
19952 (CFLAGS-tst-auditmod10b.c): Likewise.
19953 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19954 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19955 * sysdeps/x86_64/configure: Regenerated.
19956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19957 AVX-512 zmm register support.
19958 (_dl_x86_64_save_sse): Likewise.
19959 (_dl_x86_64_restore_sse): Likewise.
19960 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19961 size vector registers.
19962 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19963 (ZMM_SIZE): Likewise.
19964 * sysdeps/x86_64/tst-audit10.c: New file.
19965 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19966 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19968 2014-03-13 Roland McGrath <roland@hack.frob.com>
19970 * configure.ac (HAVE_EHDR_START): New check.
19971 * configure: Regenerated.
19972 * config.h.in (HAVE_EHDR_START): New #undef.
19973 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19974 assuming the lowest-addressed segment maps the start of the file.
19976 2014-03-13 Joseph Myers <joseph@codesourcery.com>
19978 * INSTALL: Regenerated.
19980 2014-03-13 Will Newton <will.newton@linaro.org>
19982 * manual/setjmp.texi (System V contexts): Improve
19983 clarity and grammar of documentation.
19985 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
19988 * elf/Makefile (tests): Add tst-pie2.
19989 (tests-pie): Add tst-pie2.
19990 * elf/tst-pie2.c: New file.
19991 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19993 * elf/rtld.c (map_doit): Load executable as lt_executable.
19994 (dl_main): Likewise.
19996 2014-03-12 Joseph Myers <joseph@codesourcery.com>
19999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20000 (__ASSUME_PSELECT): Undefine.
20002 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20005 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20006 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20009 selector for static builds.
20011 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20014 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20017 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20019 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20020 IFUNC selector for static builds.
20022 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20024 * sysdeps/mips/math_private.h [__mips_hard_float]
20025 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20026 libc_feresetround_mips_ctx.
20027 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20028 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20029 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20032 * math/s_nextafter.c (__nextafter): Do not return value from
20033 overflowing computation.
20034 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20035 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20036 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20040 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20041 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20043 2014-03-11 Roland McGrath <roland@hack.frob.com>
20045 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20046 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20047 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20048 the new mov targetting sp.
20050 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20053 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20054 Define it for static builds as well.
20055 (NO_BZERO_IMPL): Likewise.
20057 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20059 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20060 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20061 multiarch strspn for PPC64.
20062 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20063 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20065 (__libc_ifunc_impl_list): Likewise.
20066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20067 multiarch optimizations
20068 * string/strspn.c (strspn): Using macro to redefine symbol name.
20070 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20071 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20073 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20074 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20075 multiarch strncat for PPC64.
20076 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20077 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20079 (__libc_ifunc_impl_list): Likewise.
20080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20081 multiarch optimizations
20083 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20086 * nscd/nscd.service: Make service type forking.
20088 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20090 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20091 sign in non default rounding modes.
20092 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20094 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20096 * math/libm-test.inc (ALL_RM_TEST): New macro.
20097 (ceil_test): Use ALL_RM_TEST.
20098 (cimag_test): Likewise.
20099 (conj_test): Likewise.
20100 (copysign_test): Likewise.
20101 (cproj_test): Likewise.
20102 (creal_test): Likewise.
20103 (fabs_test): Likewise.
20104 (floor_test): Likewise.
20105 (fmax_test): Likewise.
20106 (fmin_test): Likewise.
20107 (fmod_test): Likewise.
20108 (fpclassify_test): Likewise.
20109 (frexp_test): Likewise.
20110 (ilogb_test): Likewise.
20111 (isfinite_test): Likewise.
20112 (finite_test): Likewise.
20113 (isgreater_test): Likewise.
20114 (isgreaterequal_test): Likewise.
20115 (isinf_test): Likewise.
20116 (isless_test): Likewise.
20117 (islessequal_test): Likewise.
20118 (islessgreater_test): Likewise.
20119 (isnan_test): Likewise.
20120 (isnormal_test): Likewise.
20121 (issignaling_test): Likewise.
20122 (isunordered_test): Likewise.
20123 (logb_test): Likewise.
20124 (logb_downward_test_data): Remove.
20125 (logb_test_downward): Likewise.
20126 (lround_test): Use ALL_RM_TEST.
20127 (llround_test): Likewise.
20128 (modf_test): Likewise.
20129 (nexttoward_test): Likewise.
20130 (remainder_test): Likewise.
20131 (drem_test): Likewise.
20132 (remainder_tonearest_test_data): Likewise.
20133 (remainder_test_tonearest): Likewise.
20134 (drem_test_tonearest): Likewise.
20135 (remainder_towardzero_test_data): Likewise.
20136 (remainder_test_towardzero): Likewise.
20137 (drem_test_towardzero): Likewise.
20138 (remainder_downward_test_data): Likewise.
20139 (remainder_test_downward): Likewise.
20140 (drem_test_downward): Likewise.
20141 (remainder_upward_test_data): Likewise.
20142 (remainder_test_upward): Likewise.
20143 (drem_test_upward): Likewise.
20144 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20145 (round_test): Use ALL_RM_TEST.
20146 (signbit_test): Likewise.
20147 (trunc_test): Likewise.
20148 (significand_test): Likewise.
20149 (main): Don't call removed functions.
20151 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20154 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20155 || __USE_XOPEN2K8].
20156 (ILL_ILLOPN): Likewise.
20157 (ILL_ILLADR): Likewise.
20158 (ILL_ILLTRP): Likewise.
20159 (ILL_PRVOPC): Likewise.
20160 (ILL_PRVREG): Likewise.
20161 (ILL_COPROC): Likewise.
20162 (ILL_BADSTK): Likewise.
20163 (FPE_INTDIV): Likewise.
20164 (FPE_INTOVF): Likewise.
20165 (FPE_FLTDIV): Likewise.
20166 (FPE_FLTOVF): Likewise.
20167 (FPE_FLTUND): Likewise.
20168 (FPE_FLTRES): Likewise.
20169 (FPE_FLTINV): Likewise.
20170 (FPE_FLTSUB): Likewise.
20171 (SEGV_MAPERR): Likewise.
20172 (SEGV_ACCERR): Likewise.
20173 (BUS_ADRALN): Likewise.
20174 (BUS_ADRERR): Likewise.
20175 (BUS_OBJERR): Likewise.
20176 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20177 (TRAP_TRACE): Likewise.
20178 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20180 (CLD_KILLED): Likewise.
20181 (CLD_DUMPED): Likewise.
20182 (CLD_TRAPPED): Likewise.
20183 (CLD_STOPPED): Likewise.
20184 (CLD_CONTINUED): Likewise.
20185 (POLL_IN): Likewise.
20186 (POLL_OUT): Likewise.
20187 (POLL_MSG): Likewise.
20188 (POLL_ERR): Likewise.
20189 (POLL_PRI): Likewise.
20190 (POLL_HUP): Likewise.
20191 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20193 (ILL_ILLOPN): Likewise.
20194 (ILL_ILLADR): Likewise.
20195 (ILL_ILLTRP): Likewise.
20196 (ILL_PRVOPC): Likewise.
20197 (ILL_PRVREG): Likewise.
20198 (ILL_COPROC): Likewise.
20199 (ILL_BADSTK): Likewise.
20200 (FPE_INTDIV): Likewise.
20201 (FPE_INTOVF): Likewise.
20202 (FPE_FLTDIV): Likewise.
20203 (FPE_FLTOVF): Likewise.
20204 (FPE_FLTUND): Likewise.
20205 (FPE_FLTRES): Likewise.
20206 (FPE_FLTINV): Likewise.
20207 (FPE_FLTSUB): Likewise.
20208 (SEGV_MAPERR): Likewise.
20209 (SEGV_ACCERR): Likewise.
20210 (BUS_ADRALN): Likewise.
20211 (BUS_ADRERR): Likewise.
20212 (BUS_OBJERR): Likewise.
20213 (BUS_MCEERR_AR): Likewise.
20214 (BUS_MCEERR_AO): Likewise.
20215 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20216 (TRAP_TRACE): Likewise.
20217 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20219 (CLD_KILLED): Likewise.
20220 (CLD_DUMPED): Likewise.
20221 (CLD_TRAPPED): Likewise.
20222 (CLD_STOPPED): Likewise.
20223 (CLD_CONTINUED): Likewise.
20224 (POLL_IN): Likewise.
20225 (POLL_OUT): Likewise.
20226 (POLL_MSG): Likewise.
20227 (POLL_ERR): Likewise.
20228 (POLL_PRI): Likewise.
20229 (POLL_HUP): Likewise.
20230 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20231 (ILL_ILLOPN): Likewise.
20232 (ILL_ILLADR): Likewise.
20233 (ILL_ILLTRP): Likewise.
20234 (ILL_PRVOPC): Likewise.
20235 (ILL_PRVREG): Likewise.
20236 (ILL_COPROC): Likewise.
20237 (ILL_BADSTK): Likewise.
20238 (FPE_INTDIV): Likewise.
20239 (FPE_INTOVF): Likewise.
20240 (FPE_FLTDIV): Likewise.
20241 (FPE_FLTOVF): Likewise.
20242 (FPE_FLTUND): Likewise.
20243 (FPE_FLTRES): Likewise.
20244 (FPE_FLTINV): Likewise.
20245 (FPE_FLTSUB): Likewise.
20246 (SEGV_MAPERR): Likewise.
20247 (SEGV_ACCERR): Likewise.
20248 (BUS_ADRALN): Likewise.
20249 (BUS_ADRERR): Likewise.
20250 (BUS_OBJERR): Likewise.
20251 (BUS_MCEERR_AR): Likewise.
20252 (BUS_MCEERR_AO): Likewise.
20253 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20254 (TRAP_TRACE): Likewise.
20255 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20257 (CLD_KILLED): Likewise.
20258 (CLD_DUMPED): Likewise.
20259 (CLD_TRAPPED): Likewise.
20260 (CLD_STOPPED): Likewise.
20261 (CLD_CONTINUED): Likewise.
20262 (POLL_IN): Likewise.
20263 (POLL_OUT): Likewise.
20264 (POLL_MSG): Likewise.
20265 (POLL_ERR): Likewise.
20266 (POLL_PRI): Likewise.
20267 (POLL_HUP): Likewise.
20268 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20270 (ILL_ILLOPN): Likewise.
20271 (ILL_ILLADR): Likewise.
20272 (ILL_ILLTRP): Likewise.
20273 (ILL_PRVOPC): Likewise.
20274 (ILL_PRVREG): Likewise.
20275 (ILL_COPROC): Likewise.
20276 (ILL_BADSTK): Likewise.
20277 (ILL_BADIADDR): Likewise.
20278 (ILL_BREAK): Likewise.
20279 (FPE_INTDIV): Likewise.
20280 (FPE_INTOVF): Likewise.
20281 (FPE_FLTDIV): Likewise.
20282 (FPE_FLTOVF): Likewise.
20283 (FPE_FLTUND): Likewise.
20284 (FPE_FLTRES): Likewise.
20285 (FPE_FLTINV): Likewise.
20286 (FPE_FLTSUB): Likewise.
20287 (FPE_DECOVF): Likewise.
20288 (FPE_DECDIV): Likewise.
20289 (FPE_DECERR): Likewise.
20290 (FPE_INVASC): Likewise.
20291 (FPE_INVDEC): Likewise.
20292 (SEGV_MAPERR): Likewise.
20293 (SEGV_ACCERR): Likewise.
20294 (SEGV_PSTKOVF): Likewise.
20295 (BUS_ADRALN): Likewise.
20296 (BUS_ADRERR): Likewise.
20297 (BUS_OBJERR): Likewise.
20298 (BUS_MCEERR_AR): Likewise.
20299 (BUS_MCEERR_AO): Likewise.
20300 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20301 (TRAP_TRACE): Likewise.
20302 (TRAP_BRANCH): Likewise.
20303 (TRAP_HWBKPT): Likewise.
20304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20306 (CLD_KILLED): Likewise.
20307 (CLD_DUMPED): Likewise.
20308 (CLD_TRAPPED): Likewise.
20309 (CLD_STOPPED): Likewise.
20310 (CLD_CONTINUED): Likewise.
20311 (POLL_IN): Likewise.
20312 (POLL_OUT): Likewise.
20313 (POLL_MSG): Likewise.
20314 (POLL_ERR): Likewise.
20315 (POLL_PRI): Likewise.
20316 (POLL_HUP): Likewise.
20317 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20318 (ILL_ILLOPN): Likewise.
20319 (ILL_ILLADR): Likewise.
20320 (ILL_ILLTRP): Likewise.
20321 (ILL_PRVOPC): Likewise.
20322 (ILL_PRVREG): Likewise.
20323 (ILL_COPROC): Likewise.
20324 (ILL_BADSTK): Likewise.
20325 (FPE_INTDIV): Likewise.
20326 (FPE_INTOVF): Likewise.
20327 (FPE_FLTDIV): Likewise.
20328 (FPE_FLTOVF): Likewise.
20329 (FPE_FLTUND): Likewise.
20330 (FPE_FLTRES): Likewise.
20331 (FPE_FLTINV): Likewise.
20332 (FPE_FLTSUB): Likewise.
20333 (SEGV_MAPERR): Likewise.
20334 (SEGV_ACCERR): Likewise.
20335 (BUS_ADRALN): Likewise.
20336 (BUS_ADRERR): Likewise.
20337 (BUS_OBJERR): Likewise.
20338 (BUS_MCEERR_AR): Likewise.
20339 (BUS_MCEERR_AO): Likewise.
20340 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20341 (TRAP_TRACE): Likewise.
20342 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20344 (CLD_KILLED): Likewise.
20345 (CLD_DUMPED): Likewise.
20346 (CLD_TRAPPED): Likewise.
20347 (CLD_STOPPED): Likewise.
20348 (CLD_CONTINUED): Likewise.
20349 (POLL_IN): Likewise.
20350 (POLL_OUT): Likewise.
20351 (POLL_MSG): Likewise.
20352 (POLL_ERR): Likewise.
20353 (POLL_PRI): Likewise.
20354 (POLL_HUP): Likewise.
20355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20356 (ILL_ILLOPN): Likewise.
20357 (ILL_ILLADR): Likewise.
20358 (ILL_ILLTRP): Likewise.
20359 (ILL_PRVOPC): Likewise.
20360 (ILL_PRVREG): Likewise.
20361 (ILL_COPROC): Likewise.
20362 (ILL_BADSTK): Likewise.
20363 (FPE_INTDIV): Likewise.
20364 (FPE_INTOVF): Likewise.
20365 (FPE_FLTDIV): Likewise.
20366 (FPE_FLTOVF): Likewise.
20367 (FPE_FLTUND): Likewise.
20368 (FPE_FLTRES): Likewise.
20369 (FPE_FLTINV): Likewise.
20370 (FPE_FLTSUB): Likewise.
20371 (SEGV_MAPERR): Likewise.
20372 (SEGV_ACCERR): Likewise.
20373 (BUS_ADRALN): Likewise.
20374 (BUS_ADRERR): Likewise.
20375 (BUS_OBJERR): Likewise.
20376 (BUS_MCEERR_AR): Likewise.
20377 (BUS_MCEERR_AO): Likewise.
20378 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20379 (TRAP_TRACE): Likewise.
20380 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20382 (CLD_KILLED): Likewise.
20383 (CLD_DUMPED): Likewise.
20384 (CLD_TRAPPED): Likewise.
20385 (CLD_STOPPED): Likewise.
20386 (CLD_CONTINUED): Likewise.
20387 (POLL_IN): Likewise.
20388 (POLL_OUT): Likewise.
20389 (POLL_MSG): Likewise.
20390 (POLL_ERR): Likewise.
20391 (POLL_PRI): Likewise.
20392 (POLL_HUP): Likewise.
20393 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20394 (ILL_ILLOPN): Likewise.
20395 (ILL_ILLADR): Likewise.
20396 (ILL_ILLTRP): Likewise.
20397 (ILL_PRVOPC): Likewise.
20398 (ILL_PRVREG): Likewise.
20399 (ILL_COPROC): Likewise.
20400 (ILL_BADSTK): Likewise.
20401 (FPE_INTDIV): Likewise.
20402 (FPE_INTOVF): Likewise.
20403 (FPE_FLTDIV): Likewise.
20404 (FPE_FLTOVF): Likewise.
20405 (FPE_FLTUND): Likewise.
20406 (FPE_FLTRES): Likewise.
20407 (FPE_FLTINV): Likewise.
20408 (FPE_FLTSUB): Likewise.
20409 (SEGV_MAPERR): Likewise.
20410 (SEGV_ACCERR): Likewise.
20411 (BUS_ADRALN): Likewise.
20412 (BUS_ADRERR): Likewise.
20413 (BUS_OBJERR): Likewise.
20414 (BUS_MCEERR_AR): Likewise.
20415 (BUS_MCEERR_AO): Likewise.
20416 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20417 (TRAP_TRACE): Likewise.
20418 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20420 (CLD_KILLED): Likewise.
20421 (CLD_DUMPED): Likewise.
20422 (CLD_TRAPPED): Likewise.
20423 (CLD_STOPPED): Likewise.
20424 (CLD_CONTINUED): Likewise.
20425 (POLL_IN): Likewise.
20426 (POLL_OUT): Likewise.
20427 (POLL_MSG): Likewise.
20428 (POLL_ERR): Likewise.
20429 (POLL_PRI): Likewise.
20430 (POLL_HUP): Likewise.
20431 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20432 (ILL_ILLOPN): Likewise.
20433 (ILL_ILLADR): Likewise.
20434 (ILL_ILLTRP): Likewise.
20435 (ILL_PRVOPC): Likewise.
20436 (ILL_PRVREG): Likewise.
20437 (ILL_COPROC): Likewise.
20438 (ILL_BADSTK): Likewise.
20439 (ILL_DBLFLT): Likewise.
20440 (ILL_HARDWALL): Likewise.
20441 (FPE_INTDIV): Likewise.
20442 (FPE_INTOVF): Likewise.
20443 (FPE_FLTDIV): Likewise.
20444 (FPE_FLTOVF): Likewise.
20445 (FPE_FLTUND): Likewise.
20446 (FPE_FLTRES): Likewise.
20447 (FPE_FLTINV): Likewise.
20448 (FPE_FLTSUB): Likewise.
20449 (SEGV_MAPERR): Likewise.
20450 (SEGV_ACCERR): Likewise.
20451 (BUS_ADRALN): Likewise.
20452 (BUS_ADRERR): Likewise.
20453 (BUS_OBJERR): Likewise.
20454 (BUS_MCEERR_AR): Likewise.
20455 (BUS_MCEERR_AO): Likewise.
20456 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20457 (TRAP_TRACE): Likewise.
20458 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20460 (CLD_KILLED): Likewise.
20461 (CLD_DUMPED): Likewise.
20462 (CLD_TRAPPED): Likewise.
20463 (CLD_STOPPED): Likewise.
20464 (CLD_CONTINUED): Likewise.
20465 (POLL_IN): Likewise.
20466 (POLL_OUT): Likewise.
20467 (POLL_MSG): Likewise.
20468 (POLL_ERR): Likewise.
20469 (POLL_PRI): Likewise.
20470 (POLL_HUP): Likewise.
20471 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20472 (ILL_ILLOPN): Likewise.
20473 (ILL_ILLADR): Likewise.
20474 (ILL_ILLTRP): Likewise.
20475 (ILL_PRVOPC): Likewise.
20476 (ILL_PRVREG): Likewise.
20477 (ILL_COPROC): Likewise.
20478 (ILL_BADSTK): Likewise.
20479 (FPE_INTDIV): Likewise.
20480 (FPE_INTOVF): Likewise.
20481 (FPE_FLTDIV): Likewise.
20482 (FPE_FLTOVF): Likewise.
20483 (FPE_FLTUND): Likewise.
20484 (FPE_FLTRES): Likewise.
20485 (FPE_FLTINV): Likewise.
20486 (FPE_FLTSUB): Likewise.
20487 (SEGV_MAPERR): Likewise.
20488 (SEGV_ACCERR): Likewise.
20489 (BUS_ADRALN): Likewise.
20490 (BUS_ADRERR): Likewise.
20491 (BUS_OBJERR): Likewise.
20492 (BUS_MCEERR_AR): Likewise.
20493 (BUS_MCEERR_AO): Likewise.
20494 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20495 (TRAP_TRACE): Likewise.
20496 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20498 (CLD_KILLED): Likewise.
20499 (CLD_DUMPED): Likewise.
20500 (CLD_TRAPPED): Likewise.
20501 (CLD_STOPPED): Likewise.
20502 (CLD_CONTINUED): Likewise.
20503 (POLL_IN): Likewise.
20504 (POLL_OUT): Likewise.
20505 (POLL_MSG): Likewise.
20506 (POLL_ERR): Likewise.
20507 (POLL_PRI): Likewise.
20508 (POLL_HUP): Likewise.
20509 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20510 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20513 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20514 before #include of <time.h>.
20515 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20516 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20517 (test-xfail-UNIX98/sched.h/conform): Likewise.
20519 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20521 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20522 error absence of trapping exception support.
20523 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20525 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20527 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20528 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20529 * timezone/Makefile (testdata): Move definition above include of
20531 (test-zones): New variable.
20532 (tests-special): Add zone files.
20533 (build-testdata): Use $(evaluate-test).
20535 * elf/Makefile (tests-special): Rename tests to end with .out.
20536 ($(objpfx)noload-mem): Likewise.
20537 ($(objpfx)tst-leaks1-mem): Likewise.
20538 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20539 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20540 $(objpfx)test-iconvconfig.out.
20541 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20542 set -e inside subshell and redirect output to file.
20543 * iconvdata/Makefile (generated): Rename tests to end with .out.
20545 (tests-special): Rename tests to end with .out.
20546 ($(objpfx)mtrace-tst-loading): Likewise.
20547 * intl/Makefile (generated): Likewise.
20548 (tests-special): Likewise.
20549 ($(objpfx)mtrace-tst-gettext): Likewise.
20550 * misc/Makefile (generated): Likewise.
20551 (tests-special): Likewise.
20552 ($(objpfx)tst-error1-mem): Likewise.
20553 * nptl/Makefile (tests-special): Likewise.
20554 ($(objpfx)tst-stack3-mem): Likewise.
20555 (generated): Likewise.
20556 * posix/Makefile (generated): Likewise.
20557 (tests-special): Likewise.
20558 (xtests-special): Likewise.
20559 ($(objpfx)tst-fnmatch-mem): Likewise.
20560 ($(objpfx)bug-regex2-mem): Likewise.
20561 ($(objpfx)bug-regex14-mem): Likewise.
20562 ($(objpfx)bug-regex21-mem): Likewise.
20563 ($(objpfx)bug-regex31-mem): Likewise.
20564 ($(objpfx)tst-vfork3-mem): Likewise.
20565 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20566 ($(objpfx)tst-pcre-mem): Likewise.
20567 ($(objpfx)tst-boost-mem): Likewise.
20568 ($(objpfx)bug-ga2-mem): Likewise.
20569 ($(objpfx)bug-glob2-mem): Likewise.
20570 * resolv/Makefile (generate): Likewise.
20571 (tests-special): Likewise.
20572 (xtests-special): Likewise.
20573 (generated): Likewise.
20574 ($(objpfx)mtrace-tst-leaks): Likewise.
20575 ($(objpfx)mtrace-tst-leaks2): Likewise.
20577 * scripts/merge-test-results.sh: New file.
20578 * Makefile (tests-special-notdir): New variable.
20579 (tests): Run merge-test-results.sh.
20580 (xtests): Likewise.
20581 * Rules (tests-special-notdir): New variable.
20582 (xtests-special-notdir): Likewise.
20583 (tests): Run merge-test-results.sh
20584 (xtests): Likewise.
20586 * Makeconfig (test-xfail-name): New variable.
20587 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20588 compute variable name for expected failures.
20589 * conform/Makefile (conformtest-headers-data): New variable.
20590 (conformtest-standards): Likewise.
20591 (conformtest-headers-ISO): Likewise.
20592 (conformtest-headers-ISO99): Likewise.
20593 (conformtest-headers-ISO11): Likewise.
20594 (conformtest-headers-POSIX): Likewise.
20595 (conformtest-headers-XPG3): Likewise.
20596 (conformtest-headers-XPG4): Likewise.
20597 (conformtest-headers-UNIX98): Likewise.
20598 (conformtest-headers-XOPEN2K): Likewise.
20599 (conformtest-headers-POSIX2008): Likewise.
20600 (conformtest-headers-XOPEN2K8): Likewise.
20601 (conformtest-header-list-base): Likewise.
20602 (conformtest-header-list-tests): Likewise.
20603 (conformtest-header-base): Likewise.
20604 (conformtest-header-tests): Likewise.
20605 (tests-special): Add $(conformtest-header-list-tests). If
20606 [$(fast-check) && !$(cross-compiling)], add
20607 $(conformtest-header-tests) instead of
20608 $(objpfx)run-conformtest.out.
20609 (generated): Add $(conformtest-header-list-base). If
20610 [$(fast-check) && !$(cross-compiling)], add
20611 $(conformtest-header-base). Remove previous setting.
20612 ($(conformtest-header-list-tests)): New target.
20613 (test-xfail-run-conformtest): Remove variable.
20614 ($(objpfx)run-conformtest.out): Remove target.
20615 (test-xfail-ISO11/complex.h/conform): New variable.
20616 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20617 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20618 (test-xfail-XPG3/varargs.h/conform): Likewise.
20619 (test-xfail-XPG4/varargs.h/conform): Likewise.
20620 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20621 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20622 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20623 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20624 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20625 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20626 (test-xfail-XPG3/ftw.h/conform): Likewise.
20627 (test-xfail-XPG3/grp.h/conform): Likewise.
20628 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20629 (test-xfail-XPG3/limits.h/conform): Likewise.
20630 (test-xfail-XPG3/pwd.h/conform): Likewise.
20631 (test-xfail-XPG3/search.h/conform): Likewise.
20632 (test-xfail-XPG3/signal.h/conform): Likewise.
20633 (test-xfail-XPG3/stdio.h/conform): Likewise.
20634 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20635 (test-xfail-XPG3/string.h/conform): Likewise.
20636 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20637 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20638 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20639 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20640 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20641 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20642 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20643 (test-xfail-XPG3/termios.h/conform): Likewise.
20644 (test-xfail-XPG3/time.h/conform): Likewise.
20645 (test-xfail-XPG3/unistd.h/conform): Likewise.
20646 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20647 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20648 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20649 (test-xfail-XPG4/netdb.h/conform): Likewise.
20650 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20651 (test-xfail-XPG4/signal.h/conform): Likewise.
20652 (test-xfail-XPG4/stdio.h/conform): Likewise.
20653 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20654 (test-xfail-XPG4/stropts.h/conform): Likewise.
20655 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20656 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20657 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20658 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20659 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20660 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20661 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20662 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20663 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20664 (test-xfail-XPG4/termios.h/conform): Likewise.
20665 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20666 (test-xfail-XPG4/unistd.h/conform): Likewise.
20667 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20668 (test-xfail-POSIX/sched.h/conform): Likewise.
20669 (test-xfail-POSIX/signal.h/conform): Likewise.
20670 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20671 (test-xfail-POSIX/tar.h/conform): Likewise.
20672 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20673 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20674 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20675 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20676 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20677 (test-xfail-UNIX98/sched.h/conform): Likewise.
20678 (test-xfail-UNIX98/signal.h/conform): Likewise.
20679 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20680 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20681 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20682 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20683 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20684 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20685 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20686 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20687 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20688 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20689 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20690 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20691 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20692 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20693 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20694 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20695 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20696 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20697 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20698 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20699 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20700 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20701 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20702 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20703 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20704 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20705 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20706 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20707 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20708 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20709 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20710 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20711 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20712 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20713 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20714 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20715 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20716 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20717 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20718 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20719 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20720 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20721 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20722 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20723 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20724 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20725 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20726 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20727 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20728 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20729 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20730 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20731 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20732 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20733 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20734 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20735 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20736 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20737 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20738 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20739 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20740 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20741 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20742 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20743 (conformtest-cc-flags): Likewise.
20744 ($(conformtest-header-tests): New target.
20745 * conform/check-header-lists.sh: New file.
20746 * conform/run-conformtest.sh: Remove.
20748 * conform/conformtest.pl: Allow ' and \ in values given for
20750 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20752 [POSIX] (sys/types.h): Likewise.
20753 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20755 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20757 * conform/data/signal.h-data (SIGIO): Remove expectation.
20758 [XPG3] (SIGBUS): Do not expect.
20759 [POSIX || XPG3] (SIGPOLL): Likewise.
20760 [POSIX || XPG3] (SIGPROF): Likewise.
20761 [POSIX || XPG3] (SIGSYS): Likewise.
20762 [XPG3] (SIGTRAP): Likewise.
20763 [POSIX || XPG3] (SIGURG): Likewise.
20764 [POSIX || XPG3] (SIGVTALRM): Likewise.
20765 [POSIX || XPG3] (SIGXCPU): Likewise.
20766 [POSIX || XPG3] (SIGXFSZ): Likewise.
20767 [POSIX] (SA_SIGINFO): Expect.
20768 [XPG3] (siginfo_t): Do not expect type or contents.
20769 [POSIX] (si_pid): Do not expect element.
20770 [POSIX] (si_uid): Likewise.
20771 [POSIX] (si_addr): Likewise.
20772 [POSIX] (si_status): Likewise.
20773 [POSIX] (si_band): Likewise.
20774 [XPG4] (si_value): Likewise.
20775 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20776 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20777 [POSIX || XPG3] (ILL_ILLADR): Likewise.
20778 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20779 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20780 [POSIX || XPG3] (ILL_PRVREG): Likewise.
20781 [POSIX || XPG3] (ILL_COPROC): Likewise.
20782 [POSIX || XPG3] (ILL_BADSTK): Likewise.
20783 [POSIX || XPG3] (FPE_INTDIV): Likewise.
20784 [POSIX || XPG3] (FPE_INTOVF): Likewise.
20785 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20786 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20787 [POSIX || XPG3] (FPE_FLTUND): Likewise.
20788 [POSIX || XPG3] (FPE_FLTRES): Likewise.
20789 [POSIX || XPG3] (FPE_FLTINV): Likewise.
20790 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20791 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20792 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20793 [POSIX || XPG3] (BUS_ADRALN): Likewise.
20794 [POSIX || XPG3] (BUS_ADRERR): Likewise.
20795 [POSIX || XPG3] (BUS_OBJERR): Likewise.
20796 [POSIX || XPG3] (CLD_EXITED): Likewise.
20797 [POSIX || XPG3] (CLD_KILLED): Likewise.
20798 [POSIX || XPG3] (CLD_DUMPED): Likewise.
20799 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20800 [POSIX || XPG3] (CLD_STOPPED): Likewise.
20801 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20802 [POSIX || XPG3] (POLL_IN): Likewise.
20803 [POSIX || XPG3] (POLL_OUT): Likewise.
20804 [POSIX || XPG3] (POLL_MSG): Likewise.
20805 [POSIX || XPG3] (POLL_ERR): Likewise.
20806 [POSIX || XPG3] (POLL_PRI): Likewise.
20807 [POSIX || XPG3] (POLL_HUP): Likewise.
20808 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20809 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20810 (SIG*): Do not allow.
20811 [XPG3] (si_*): Likewise.
20812 [XPG3] (SI_*): Likewise.
20813 [XPG3 || XPG4] (sigev_*): Likewise.
20814 [XPG3 || XPG4] (SIGEV_*): Likewise.
20815 [XPG3 || XPG4] (sival_*): Likewise.
20816 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20817 [POSIX || XPG3] (BUS_*): Likewise.
20818 [POSIX || XPG3] (CLD_*): Likewise.
20819 [POSIX || XPG3] (FPE_*): Likewise.
20820 [POSIX || XPG3] (ILL_*): Likewise.
20821 [POSIX || XPG3] (POLL_*): Likewise.
20822 [POSIX || XPG3] (SEGV_*): Likewise.
20823 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20824 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20825 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20826 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20827 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20828 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20829 Specify type and value.
20830 (TVERSLEN): Likewise.
20831 (REGTYPE): Likewise.
20832 (AREGTYPE): Likewise.
20833 (LNKTYPE): Likewise.
20834 (SYMTYPE): Likewise.
20835 (CHRTYPE): Likewise.
20836 (BLKTYPE): Likewise.
20837 (DIRTYPE): Likewise.
20838 (FIFOTYPE): Likewise.
20839 (CONTTYPE): Likewise.
20843 (TUREAD): Likewise.
20844 (TUWRITE): Likewise.
20845 (TUEXEC): Likewise.
20846 (TGREAD): Likewise.
20847 (TGWRITE): Likewise.
20848 (TGEXEC): Likewise.
20849 (TOREAD): Likewise.
20850 (TOWRITE): Likewise.
20851 (TOEXEC): Likewise.
20852 [POSIX] (TSVTX): Expect constant.
20854 2014-03-06 Joseph Myers <joseph@codesourcery.com>
20856 * Makefile (tests): Change dependencies to ....
20857 (tests-special): ... additions to this variable.
20858 (tests): Depend on $(tests-special).
20859 * Makerules (check-abi-list): New variable.
20860 (check-abi): Depend on $(check-abi-list).
20861 [$(subdir) = elf] (tests-special): Add
20862 $(objpfx)check-abi-libc.out.
20863 [$(build-shared) = yes && subdir] (tests-special): Add
20865 [$(build-shared) = yes && subdir] (tests): Do not depend on
20867 * Rules (tests): Depend on $(tests-special).
20868 (xtests): Depend on $(xtests-special).
20869 * catgets/Makefile (tests): Change dependencies to ....
20870 (tests-special): ... additions to this variable.
20871 * conform/Makefile (tests): Change dependencies to ....
20872 (tests-special): ... additions to this variable.
20873 * elf/Makefile (tests): Change dependencies to ....
20874 (tests-special): ... additions to this variable.
20875 * grp/Makefile (tests): Change dependencies to ....
20876 (tests-special): ... additions to this variable.
20877 * iconv/Makefile (xtests): Change dependencies to ....
20878 (xtests-special): ... additions to this variable.
20879 * iconvdata/Makefile (tests): Change dependencies to ....
20880 (tests-special): ... additions to this variable.
20881 * intl/Makefile (tests): Change dependencies to ....
20882 (tests-special): ... additions to this variable. Also add
20883 $(objpfx)tst-gettext.out.
20884 * io/Makefile (tests): Change dependencies to ....
20885 (tests-special): ... additions to this variable.
20886 * libio/Makefile (tests): Change dependencies to ....
20887 (tests-special): ... additions to this variable.
20888 * malloc/Makefile (tests): Change dependencies to ....
20889 (tests-special): ... additions to this variable.
20890 * misc/Makefile (tests): Change dependencies to ....
20891 (tests-special): ... additions to this variable.
20892 * nptl/Makefile (tests): Change dependencies to ....
20893 (tests-special): ... additions to this variable.
20894 * nptl_db/Makefile (tests): Change dependencies to ....
20895 (tests-special): ... additions to this variable.
20896 * posix/Makefile (tests): Change dependencies to ....
20897 (tests-special): ... additions to this variable.
20898 (xtests): Change dependencies to ....
20899 (xtests-special): ... additions to this variable.
20900 * resolv/Makefile (tests): Change dependencies to ....
20901 (tests-special): ... additions to this variable.
20902 (xtests): Change dependencies to ....
20903 (xtests-special): ... additions to this variable.
20904 * stdio-common/Makefile (tests): Change dependencies to ....
20905 (tests-special): ... additions to this variable.
20906 (do-tst-unbputc): Remove target.
20907 (do-tst-printf): Likewise.
20908 * stdlib/Makefile (tests): Change dependencies to ....
20909 (tests-special): ... additions to this variable.
20910 * string/Makefile (tests): Change dependencies to ....
20911 (tests-special): ... additions to this variable.
20912 * sysdeps/x86/Makefile (tests): Change dependencies to ....
20913 (tests-special): ... additions to this variable.
20915 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20917 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20919 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20920 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20922 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20923 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20924 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20925 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20926 * conform/data/libgen.h-data [XPG3]: Likewise.
20927 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20928 * conform/data/ndbm.h-data [XPG3]: Likewise.
20929 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20930 * conform/data/netdb.h-data [XPG3]: Likewise.
20931 * conform/data/netinet/in.h-data [XPG3]: Likewise.
20932 * conform/data/poll.h-data [XPG3]: Likewise.
20933 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20934 * conform/data/strings.h-data [XPG3]: Likewise.
20935 * conform/data/stropts.h-data [XPG3]: Likewise.
20936 * conform/data/sys/mman.h-data [XPG3]: Likewise.
20937 * conform/data/sys/resource.h-data [XPG3]: Likewise.
20938 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20940 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20941 * conform/data/sys/time.h-data [XPG3]: Likewise.
20942 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20943 * conform/data/sys/uio.h-data [XPG3]: Likewise.
20944 * conform/data/sys/un.h-data [XPG3]: Likewise.
20945 * conform/data/syslog.h-data [XPG3]: Likewise.
20946 * conform/data/ucontext.h-data [XPG3]: Likewise.
20947 * conform/data/utmpx.h-data [XPG3]: Likewise.
20948 * conform/data/varargs.h-data [UNIX98]: Enable file.
20950 * manual/Makefile (INSTALL_INFO): Remove variable setting.
20952 * math/libm-test.inc (struct test_f_f_data): Move expected results
20953 into structure for each rounding mode.
20954 (struct test_ff_f_data): Likewise.
20955 (struct test_ff_f_data_nexttoward): Likewise.
20956 (struct test_fi_f_data): Likewise.
20957 (struct test_fl_f_data): Likewise.
20958 (struct test_if_f_data): Likewise.
20959 (struct test_fff_f_data): Likewise.
20960 (struct test_c_f_data): Likewise.
20961 (struct test_f_f1_data): Likewise.
20962 (struct test_fF_f1_data): Likewise.
20963 (struct test_ffI_f1_data): Likewise.
20964 (struct test_c_c_data): Likewise.
20965 (struct test_cc_c_data): Likewise.
20966 (struct test_f_i_data): Likewise.
20967 (struct test_ff_i_data): Likewise.
20968 (struct test_f_l_data): Likewise.
20969 (struct test_f_L_data): Likewise.
20970 (struct test_fFF_11_data): Likewise.
20972 (RM_FE_DOWNWARD): Likewise.
20973 (RM_FE_TONEAREST): Likewise.
20974 (RM_FE_TOWARDZERO): Likewise.
20975 (RM_FE_UPWARD): Likewise.
20976 (RUN_TEST_LOOP_f_f): Update references to expected results.
20977 (RUN_TEST_LOOP_2_f): Likewise.
20978 (RUN_TEST_LOOP_fff_f): Likewise.
20979 (RUN_TEST_LOOP_c_f): Likewise.
20980 (RUN_TEST_LOOP_f_f1): Likewise.
20981 (RUN_TEST_LOOP_fF_f1): Likewise.
20982 (RUN_TEST_LOOP_fI_f1): Likewise.
20983 (RUN_TEST_LOOP_ffI_f1): Likewise.
20984 (RUN_TEST_LOOP_c_c): Likewise.
20985 (RUN_TEST_LOOP_cc_c): Likewise.
20986 (RUN_TEST_LOOP_f_i): Likewise.
20987 (RUN_TEST_LOOP_f_i_tg): Likewise.
20988 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20989 (RUN_TEST_LOOP_f_b): Likewise.
20990 (RUN_TEST_LOOP_f_b_tg): Likewise.
20991 (RUN_TEST_LOOP_f_l): Likewise.
20992 (RUN_TEST_LOOP_f_L): Likewise.
20993 (RUN_TEST_LOOP_fFF_11): Likewise.
20994 * math/gen-libm-test.pl (parse_args): Output four copies of
20995 expected results for each test.
20997 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20998 (__ASSUME_UTIMES): Remove.
20999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21000 (__ASSUME_UTIMES): Likewise.
21002 * math/gen-auto-libm-tests.c: Update comment on output format.
21003 (output_for_one_input_case): Generate before-rounding and
21004 after-rounding information as conditions on output flags not
21005 floating-point format.
21006 * math/auto-libm-test-out: Regenerated.
21007 * math/gen-libm-test.pl (cond_value): New function.
21008 (or_cond_value): Use cond_value.
21009 (generate_testfile): Handle conditional exceptions.
21011 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21013 * math/libm-test.inc (max_valid_error): New variable.
21014 (init_max_error): Take new argument specifying whether function
21015 results are exactly determined. Set max_valid_error and bound
21016 other variables for errors based on this argument.
21017 (set_max_error): Do not record results above max_valid_error.
21018 (check_float_internal): Only accept errors of up to 0.5ulps if
21019 also at most max_valid_error.
21020 (START): Take new argument EXACT and pass it to init_max_error.
21021 (acos_test): Update call to START.
21022 (acos_test_tonearest): Likewise.
21023 (acos_test_towardzero): Likewise.
21024 (acos_test_downward): Likewise.
21025 (acos_test_upward): Likewise.
21026 (acosh_test): Likewise.
21027 (asin_test): Likewise.
21028 (asin_test_tonearest): Likewise.
21029 (asin_test_towardzero): Likewise.
21030 (asin_test_downward): Likewise.
21031 (asin_test_upward): Likewise.
21032 (asinh_test): Likewise.
21033 (atan_test): Likewise.
21034 (atanh_test): Likewise.
21035 (atan2_test): Likewise.
21036 (cabs_test): Likewise.
21037 (cacos_test): Likewise.
21038 (cacosh_test): Likewise.
21039 (carg_test): Likewise.
21040 (casin_test): Likewise.
21041 (casinh_test): Likewise.
21042 (catan_test): Likewise.
21043 (catanh_test): Likewise.
21044 (cbrt_test): Likewise.
21045 (ccos_test): Likewise.
21046 (ccosh_test): Likewise.
21047 (ceil_test): Likewise.
21048 (cexp_test): Likewise.
21049 (cimag_test): Likewise.
21050 (clog_test): Likewise.
21051 (clog10_test): Likewise.
21052 (conj_test): Likewise.
21053 (copysign_test): Likewise.
21054 (cos_test): Likewise.
21055 (cos_test_tonearest): Likewise.
21056 (cos_test_towardzero): Likewise.
21057 (cos_test_downward): Likewise.
21058 (cos_test_upward): Likewise.
21059 (cosh_test): Likewise.
21060 (cosh_test_tonearest): Likewise.
21061 (cosh_test_towardzero): Likewise.
21062 (cosh_test_downward): Likewise.
21063 (cosh_test_upward): Likewise.
21064 (cpow_test): Likewise.
21065 (cproj_test): Likewise.
21066 (creal_test): Likewise.
21067 (csin_test): Likewise.
21068 (csinh_test): Likewise.
21069 (csqrt_test): Likewise.
21070 (ctan_test): Likewise.
21071 (ctan_test_tonearest): Likewise.
21072 (ctan_test_towardzero): Likewise.
21073 (ctan_test_downward): Likewise.
21074 (ctan_test_upward): Likewise.
21075 (ctanh_test): Likewise.
21076 (ctanh_test_tonearest): Likewise.
21077 (ctanh_test_towardzero): Likewise.
21078 (ctanh_test_downward): Likewise.
21079 (ctanh_test_upward): Likewise.
21080 (erf_test): Likewise.
21081 (erfc_test): Likewise.
21082 (exp_test): Likewise.
21083 (exp_test_tonearest): Likewise.
21084 (exp_test_towardzero): Likewise.
21085 (exp_test_downward): Likewise.
21086 (exp_test_upward): Likewise.
21087 (exp10_test): Likewise.
21088 (exp10_test_tonearest): Likewise.
21089 (exp10_test_towardzero): Likewise.
21090 (exp10_test_downward): Likewise.
21091 (exp10_test_upward): Likewise.
21092 (pow10_test): Likewise.
21093 (exp2_test): Likewise.
21094 (expm1_test): Likewise.
21095 (expm1_test_tonearest): Likewise.
21096 (expm1_test_towardzero): Likewise.
21097 (expm1_test_downward): Likewise.
21098 (expm1_test_upward): Likewise.
21099 (fabs_test): Likewise.
21100 (fdim_test): Likewise.
21101 (floor_test): Likewise.
21102 (fma_test): Likewise.
21103 (fma_test_towardzero): Likewise.
21104 (fma_test_downward): Likewise.
21105 (fma_test_upward): Likewise.
21106 (fmax_test): Likewise.
21107 (fmin_test): Likewise.
21108 (fmod_test): Likewise.
21109 (fpclassify_test): Likewise.
21110 (frexp_test): Likewise.
21111 (hypot_test): Likewise.
21112 (ilogb_test): Likewise.
21113 (isfinite_test): Likewise.
21114 (finite_test): Likewise.
21115 (isgreater_test): Likewise.
21116 (isgreaterequal_test): Likewise.
21117 (isinf_test): Likewise.
21118 (isless_test): Likewise.
21119 (islessequal_test): Likewise.
21120 (islessgreater_test): Likewise.
21121 (isnan_test): Likewise.
21122 (isnormal_test): Likewise.
21123 (issignaling_test): Likewise.
21124 (isunordered_test): Likewise.
21125 (j0_test): Likewise.
21126 (j1_test): Likewise.
21127 (jn_test): Likewise.
21128 (ldexp_test): Likewise.
21129 (lgamma_test): Likewise.
21130 (gamma_test): Likewise.
21131 (lrint_test): Likewise.
21132 (lrint_test_tonearest): Likewise.
21133 (lrint_test_towardzero): Likewise.
21134 (lrint_test_downward): Likewise.
21135 (lrint_test_upward): Likewise.
21136 (llrint_test): Likewise.
21137 (llrint_test_tonearest): Likewise.
21138 (llrint_test_towardzero): Likewise.
21139 (llrint_test_downward): Likewise.
21140 (llrint_test_upward): Likewise.
21141 (log_test): Likewise.
21142 (log10_test): Likewise.
21143 (log1p_test): Likewise.
21144 (log2_test): Likewise.
21145 (logb_test): Likewise.
21146 (logb_test_downward): Likewise.
21147 (lround_test): Likewise.
21148 (llround_test): Likewise.
21149 (modf_test): Likewise.
21150 (nearbyint_test): Likewise.
21151 (nextafter_test): Likewise.
21152 (nexttoward_test): Likewise.
21153 (pow_test): Likewise.
21154 (pow_test_tonearest): Likewise.
21155 (pow_test_towardzero): Likewise.
21156 (pow_test_downward): Likewise.
21157 (pow_test_upward): Likewise.
21158 (remainder_test): Likewise.
21159 (drem_test): Likewise.
21160 (remainder_test_tonearest): Likewise.
21161 (drem_test_tonearest): Likewise.
21162 (remainder_test_towardzero): Likewise.
21163 (drem_test_towardzero): Likewise.
21164 (remainder_test_downward): Likewise.
21165 (drem_test_downward): Likewise.
21166 (remainder_test_upward): Likewise.
21167 (drem_test_upward): Likewise.
21168 (remquo_test): Likewise.
21169 (rint_test): Likewise.
21170 (rint_test_tonearest): Likewise.
21171 (rint_test_towardzero): Likewise.
21172 (rint_test_downward): Likewise.
21173 (rint_test_upward): Likewise.
21174 (round_test): Likewise.
21175 (scalb_test): Likewise.
21176 (scalbn_test): Likewise.
21177 (scalbln_test): Likewise.
21178 (signbit_test): Likewise.
21179 (sin_test): Likewise.
21180 (sin_test_tonearest): Likewise.
21181 (sin_test_towardzero): Likewise.
21182 (sin_test_downward): Likewise.
21183 (sin_test_upward): Likewise.
21184 (sincos_test): Likewise.
21185 (sinh_test): Likewise.
21186 (sinh_test_tonearest): Likewise.
21187 (sinh_test_towardzero): Likewise.
21188 (sinh_test_downward): Likewise.
21189 (sinh_test_upward): Likewise.
21190 (sqrt_test): Likewise.
21191 (sqrt_test_tonearest): Likewise.
21192 (sqrt_test_towardzero): Likewise.
21193 (sqrt_test_downward): Likewise.
21194 (sqrt_test_upward): Likewise.
21195 (tan_test): Likewise.
21196 (tan_test_tonearest): Likewise.
21197 (tan_test_towardzero): Likewise.
21198 (tan_test_downward): Likewise.
21199 (tan_test_upward): Likewise.
21200 (tanh_test): Likewise.
21201 (tgamma_test): Likewise.
21202 (trunc_test): Likewise.
21203 (y0_test): Likewise.
21204 (y1_test): Likewise.
21205 (yn_test): Likewise.
21206 (significand_test): Likewise.
21208 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21209 individual tests in comment.
21210 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21211 (prev_max_error): New variable.
21212 (prev_real_max_error): Likewise.
21213 (prev_imag_max_error): Likewise.
21214 (compare_ulp_data): Don't refer to test names in comment.
21215 (find_test_ulps): Remove function.
21216 (find_function_ulps): Likewise.
21217 (find_complex_function_ulps): Likewise.
21218 (init_max_error): Take function name as argument. Look up ulps
21220 (print_ulps): Remove function.
21221 (print_max_error): Use prev_max_error instead of calling
21222 find_function_ulps.
21223 (print_complex_max_error): Use prev_real_max_error and
21224 prev_imag_max_error instead of calling find_complex_function_ulps.
21225 (check_float_internal): Take max_ulp parameter instead of calling
21226 find_test_ulps. Don't call print_ulps.
21227 (check_float): Update call to check_float_internal.
21228 (check_complex): Update calls to check_float_internal.
21229 (START): Pass argument to init_max_error.
21230 * math/gen-libm-test.pl (%results): Don't include "kind"
21232 (parse_ulps): Don't handle ulps of individual tests.
21233 (print_ulps_file): Likewise.
21234 (output_ulps): Likewise.
21235 * math/README.libm-test: Update.
21236 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21238 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21239 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21240 * sysdeps/arm/libm-test-ulps: Likewise.
21241 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21242 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21243 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21244 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21245 * sysdeps/microblaze/libm-test-ulps: Likewise.
21246 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21247 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21248 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21249 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21250 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21251 * sysdeps/sh/libm-test-ulps: Likewise.
21252 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21253 * sysdeps/tile/libm-test-ulps: Likewise.
21254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21256 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21258 * math/libm-test.inc (print_complex_max_error): Check separately
21259 whether real and imaginary errors are within allowed range and
21260 pass 0 to print_complex_function_ulps instead of value within
21263 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21265 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21267 (get_handles_fopen): Likewise.
21268 (do_write_test): Likewise.
21270 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21272 * libio/fileops.c (do_ftell): Use cached offset when
21274 * libio/iofwide.c (do_ftell_wide): Likewise.
21275 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21277 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21280 * libio/libioP.h (get_file_offset): New function.
21281 * libio/fileops.c (get_file_offset): Likewise.
21282 (do_ftell): Likewise.
21283 (_IO_new_file_seekoff): Split out ftell logic.
21284 * libio/wfileops.c (do_ftell_wide): Likewise.
21285 (_IO_wfile_seekoff): Split out ftell logic.
21286 * libio/tst-ftell-active-handler.c: New test case.
21287 * libio/Makefile (tests): Add it.
21289 2014-03-03 Roland McGrath <roland@hack.frob.com>
21291 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21292 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21294 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21297 * nscd/connections.c (nscd_init): Call do_exit.
21298 (start_threads): Call do_exit and notify_parent.
21299 (begin_drop_privileges): Call do_exit.
21300 (finish_drop_privileges): Likewise.
21301 * nscd/selinux.c (preserve_capabilities): Likewise.
21302 (install_real_capabilities): Likewise.
21303 (nscd_selinux_enabled): Likewise.
21304 (avc_create_thread): Likewise.
21305 (avc_alloc_lock): Likewise.
21306 (nscd_avc_init): Likewise.
21307 * nscd/nscd.c (parent_fd): New static variable.
21308 (main): Create a pipe between parent and child processes.
21309 Skip closing parent_fd.
21310 (monitor_child): New function.
21311 (do_exit): Likewise.
21312 (notify_parent): Likewise.
21313 * nscd/nscd.h (notify_parent): Likewise.
21314 (do_exit): Likewise.
21316 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21318 * malloc/malloc.c (__libc_calloc): Revert last change.
21320 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21324 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21326 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21330 (__libc_ifunc_impl_list): Likewise.
21331 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21332 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21333 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21334 * string/strrchr.c: Define STRRCHR.
21336 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21338 * benchtest/bench-strtok.c (simple_strtok): Delete.
21339 (strtok_string): Use as benchmark.
21340 * string/strtok (STRTOK): New macro.
21342 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21344 * manual/threads.texi: Add header and standard comments to all
21347 * elf/dl-lookup.c (check_match): New function.
21348 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21349 (do_lookup_x): Remove nested function check_match. Use non-nested
21350 function check_match.
21352 2014-02-28 Roland McGrath <roland@hack.frob.com>
21354 * csu/Makefile (generated, before-compile): Use += rather than =.
21355 * catgets/Makefile (generated, generated-dirs): Likewise.
21356 * debug/Makefile (generated): Likewise.
21357 * dlfcn/Makefile (generated): Likewise.
21358 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21359 * iconvdata/Makefile (before-compile, generated): Likewise.
21360 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21361 * libio/Makefile (generated): Likewise.
21362 * malloc/Makefile (generated): Likewise.
21363 * manual/Makefile (generated, generated-dirs): Likewise.
21364 * misc/Makefile (generated): Likewise.
21365 * posix/Makefile (generated): Likewise.
21366 * resolv/Makefile (generated): Likewise.
21367 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21368 * timezone/Makefile (generated, generated-dirs): Likewise.
21370 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21372 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21375 power8 implementation.
21376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21377 file: POWER8 llround ifunc implementation.
21378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21379 (__lllround): Add POWER8 implementation.
21380 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21381 POWER8 llround implementation.
21383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21384 power8 implementation.
21385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21386 file: POWER8 llrint ifunc implementation.
21387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21388 Add POWER8 implementation.
21389 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21390 POWER8 llrint implementation.
21392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21393 power8 implementation.
21394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21395 file: POWER8 finite ifunc implementation.
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21397 Add POWER8 implementation.
21398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21400 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21401 POWER8 finite implementation.
21402 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21405 power8 implementation.
21406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21407 file: POWER8 isinf ifunc implementation.
21408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21409 POWER8 implementation.
21410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21412 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21413 isinf implementation.
21414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21416 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21417 (INIT_ARCH): Add hwcap2 initialization.
21418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21419 power8 implementation.
21420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21421 file: POWER8 isnan ifunc implementation.
21422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21423 POWER8 implementation.
21424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21427 isnan implementation.
21428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21430 2014-02-27 Joey Ye <joey.ye@arm.com>
21432 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21433 (_FP_NANFRAC_Q): Set to zero.
21435 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21438 * math/auto-libm-test-in: New test inputs.
21439 * math/auto-libm-test-out: Regenerate.
21440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21443 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21445 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21447 * scripts/evaluate-test.sh: Take new argument indicating whether
21448 failure is expected.
21449 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21450 indicating whether failure is expected.
21451 * conform/Makefile (test-xfail-run-conformtest): New variable.
21452 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21454 * posix/Makefile (test-xfail-annexc): New variable.
21455 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21457 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21459 * argp/Makefile: Include Makeconfig immediately after defining
21461 * assert/Makefile: Likewise.
21462 * benchtests/Makefile: Likewise.
21463 * catgets/Makefile: Likewise.
21464 * conform/Makefile: Likewise.
21465 * crypt/Makefile: Likewise.
21466 * csu/Makefile: Likewise.
21467 (all): Remove target.
21468 * ctype/Makefile: Include Makeconfig immediately after defining
21470 * debug/Makefile: Likewise.
21471 * dirent/Makefile: Likewise.
21472 * dlfcn/Makefile: Likewise.
21473 * gmon/Makefile: Likewise.
21474 * gnulib/Makefile: Likewise.
21475 * grp/Makefile: Likewise.
21476 * gshadow/Makefile: Likewise.
21477 * hesiod/Makefile: Likewise.
21478 * hurd/Makefile: Likewise.
21479 (all): Remove target.
21480 * iconvdata/Makefile: Include Makeconfig immediately after
21482 * inet/Makefile: Likewise.
21483 * intl/Makefile: Likewise.
21484 * io/Makefile: Likewise.
21485 * libio/Makefile: Likewise.
21486 (all): Remove target.
21487 * locale/Makefile: Include Makeconfig immediately after defining
21489 * login/Makefile: Likewise.
21490 * mach/Makefile: Likewise.
21491 (all): Remove target.
21492 * malloc/Makefile: Include Makeconfig immediately after defining
21494 (all): Remove target.
21495 * manual/Makefile: Include Makeconfig immediately after defining
21497 * math/Makefile: Likewise.
21498 * misc/Makefile: Likewise.
21499 * nis/Makefile: Likewise.
21500 * nss/Makefile: Likewise.
21501 * po/Makefile: Likewise.
21502 (all): Remove target.
21503 * posix/Makefile: Include Makeconfig immediately after defining
21505 * pwd/Makefile: Likewise.
21506 * resolv/Makefile: Likewise.
21507 * resource/Makefile: Likewise.
21508 * rt/Makefile: Likewise.
21509 * setjmp/Makefile: Likewise.
21510 * shadow/Makefile: Likewise.
21511 * signal/Makefile: Likewise.
21512 * socket/Makefile: Likewise.
21513 * soft-fp/Makefile: Likewise.
21514 * stdio-common/Makefile: Likewise.
21515 * stdlib/Makefile: Likewise.
21516 * streams/Makefile: Likewise.
21517 * string/Makefile: Likewise.
21518 * sunrpc/Makefile: Likewise.
21519 (all): Remove target.
21520 * sysvipc/Makefile: Include Makeconfig immediately after defining
21522 * termios/Makefile: Likewise.
21523 * time/Makefile: Likewise.
21524 * timezone/Makefile: Likewise.
21525 (all): Remove target.
21526 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21528 * wctype/Makefile: Likewise.
21530 2014-02-26 Steve Ellcey <sellcey@mips.com>
21532 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21533 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21534 (libc_feholdexcept_setround_mips): Ditto.
21535 (libc_feholdsetround): New.
21536 (libc_feholdsetroundf): New.
21537 (libc_feholdsetroundl): New.
21538 (libc_feupdateenv_test_mips): New.
21539 (libc_feupdateenv_test): New.
21540 (libc_feupdateenv_testf): New.
21541 (libc_feupdateenv_testl): New.
21542 (libc_feresetround): New.
21543 (libc_feresetroundf): New.
21544 (libc_feresetroundl): New.
21545 (libc_fetestexcept_mips): New.
21546 (libc_fetestexcept): New.
21547 (libc_fetestexceptf): New.
21548 (libc_fetestexceptl): New.
21549 (HAVE_RM_CTX): New.
21550 (libc_feholdexcept_setround_mips_ctx): New.
21551 (libc_feholdexcept_setround_ctx): New.
21552 (libc_feholdexcept_setroundf_ctx): New.
21553 (libc_feholdexcept_setroundl_ctx): New.
21554 (libc_fesetenv_mips_ctx): New.
21555 (libc_fesetenv_ctx): New.
21556 (libc_fesetenv_ctxf): New.
21557 (libc_fesetenv_ctxl): New.
21558 (libc_feupdateenv_mips_ctx): New.
21559 (libc_feupdateenv_ctx): New.
21560 (libc_feupdateenvf_ctx): New.
21561 (libc_feupdateenvl_ctx): New.
21562 (libc_feholdsetround_mips_ctx): New.
21563 (libc_feholdsetround_ctx): New.
21564 (libc_feholdsetroundf_ctx): New.
21565 (libc_feholdsetroundl_ctx): New.
21566 (libc_feresetround_mips_ctx): New.
21567 (libc_feresetround_ctx): New.
21568 (libc_feresetroundf_ctx): New.
21569 (libc_feresetroundl_ctx): New.
21571 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21573 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21575 * manual/ipc.texi: New file.
21576 * manual/Makefile (chapters): Add ipc.
21577 * manual/job.texi: Add "Inter-Process Communication" to next.
21578 * manual/process.texi: Add "Inter-Process Communication" to prev.
21580 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21584 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21586 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21588 * manual/arith.texi: Fix spaces after sentences.
21589 * manual/charset.texi: Likewise.
21590 * manual/errno.texi: Likewise.
21591 * manual/install.texi: Likewise.
21592 * manual/llio.texi: Likewise.
21593 * manual/locale.texi: Likewise.
21594 * manual/maint.texi: Likewise.
21595 * manual/math.texi: Likewise.
21596 * manual/memory.texi: Likewise.
21597 * manual/message.texi: Likewise.
21598 * manual/probes.texi: Likewise.
21599 * manual/resource.texi: Likewise.
21600 * manual/signal.texi: Likewise.
21601 * manual/socket.texi: Likewise.
21602 * manual/stdio.texi: Likewise.
21603 * manual/string.texi: Likewise.
21604 * manual/time.texi: Likewise.
21605 * manual/users.texi: Likewise.
21607 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21610 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21611 _DEFAULT_SOURCE is defined.
21613 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21614 Carlos O'Donell <carlos@redhat.com>
21617 * elf/dl-tls.c (_dl_count_modids): New function.
21618 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21619 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21620 audit library and increment generation counter.
21621 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21622 * elf/tst-audit9.c: New file.
21623 * elf/tst-auditmod9a.c: New file.
21624 * elf/tst-auditmod9b.c: New file.
21625 * elf/Makefile: Add rules to build and run tst-audit9.
21627 2014-02-25 Florian Weimer <fweimer@redhat.com>
21630 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21632 2014-02-25 Will Newton <will.newton@linaro.org>
21634 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21635 (__longjmp): Restore sp and lr before restoring callee
21636 saved registers. Add longjmp and longjmp_target
21637 SystemTap probe point.
21638 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21639 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21640 Define to zero to match jmpbuf layout.
21641 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21642 (__sigsetjmp): Save sp and lr before saving callee
21643 saved registers. Add setjmp SystemTap probe point.
21645 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21647 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21649 2014-02-24 Andreas Schwab <schwab@suse.de>
21652 * elf/pldd.c (wait_for_ptrace_stop): New function.
21653 (main): Call it after attaching.
21655 2014-02-22 Roland McGrath <roland@hack.frob.com>
21657 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21658 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21659 Versions files is now verboten.
21660 * hurd/Versions (libc: GLIBC_2.0):
21661 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21662 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21663 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21664 * mach/Versions: Likewise.
21666 * csu/Versions: Remove unused %include.
21667 * resolv/Versions: Likewise.
21669 2014-02-21 Joseph Myers <joseph@codesourcery.com>
21671 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21672 ($(objpfx)check-local-headers.out): Likewise.
21673 ($(objpfx)begin-end-check.out): Likewise.
21674 * Makerules (check-abi-%.out): Likewise.
21675 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21676 ($(objpfx)test2.cat): Likewise.
21677 ($(objpfx)de/libc.cat): Likewise.
21678 ($(objpfx)test-gencat.out): Likewise.
21679 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21680 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21681 ($(objpfx)noload-mem): Likewise.
21682 ($(objpfx)tst-pathopt.out): Likewise.
21683 ($(objpfx)tst-rtld-load-self.out): Likewise.
21684 ($(objpfx)tst-array1-cmp.out): Likewise.
21685 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21686 ($(objpfx)tst-array2-cmp.out): Likewise.
21687 ($(objpfx)tst-array3-cmp.out): Likewise.
21688 ($(objpfx)tst-array4-cmp.out): Likewise.
21689 ($(objpfx)tst-array5-cmp.out): Likewise.
21690 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21691 ($(objpfx)check-textrel.out): Likewise.
21692 ($(objpfx)check-execstack.out): Likewise.
21693 ($(objpfx)check-localplt.out): Likewise.
21694 ($(objpfx)order2-cmp.out): Likewise.
21695 ($(objpfx)tst-leaks1-mem): Likewise.
21696 ($(objpfx)tst-leaks1-static-mem): Likewise.
21697 ($(objpfx)tst-initorder-cmp.out): Likewise.
21698 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21699 ($(objpfx)tst-unused-dep.out): Likewise.
21700 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21701 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21702 * iconv/Makefile (test-iconvconfig): Likewise.
21703 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21704 ($(objpfx)iconv-test.out): Likewise.
21705 ($(objpfx)tst-tables.out): Likewise.
21706 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21707 ($(objpfx)tst-gettext.out): Likewise.
21708 ($(objpfx)tst-translit.out): Likewise.
21709 ($(objpfx)tst-gettext2.out): Likewise.
21710 ($(objpfx)tst-gettext4.out): Likewise.
21711 ($(objpfx)tst-gettext6.out): Likewise.
21712 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21713 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21714 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21715 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21716 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21717 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21718 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21719 ($(objpfx)wordexp-tst.out): Likewise.
21720 ($(objpfx)annexc.out): Likewise.
21721 ($(objpfx)tst-fnmatch-mem): Likewise.
21722 ($(objpfx)bug-regex2-mem): Likewise.
21723 ($(objpfx)bug-regex14-mem): Likewise.
21724 ($(objpfx)bug-regex21-mem): Likewise.
21725 ($(objpfx)bug-regex31-mem): Likewise.
21726 ($(objpfx)tst-vfork3-mem): Likewise.
21727 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21728 ($(objpfx)tst-pcre-mem): Likewise.
21729 ($(objpfx)tst-boost-mem): Likewise.
21730 ($(objpfx)tst-getconf.out): Likewise.
21731 ($(objpfx)bug-ga2-mem): Likewise.
21732 ($(objpfx)bug-glob2-mem): Likewise.
21733 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21734 ($(objpfx)mtrace-tst-leaks2): Likewise.
21735 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21736 ($(objpfx)tst-printf.out): Likewise.
21737 ($(objpfx)tst-setvbuf1.out): Likewise.
21738 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21739 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21740 ($(objpfx)tst-fmtmsg.out): Likewise.
21741 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21742 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21744 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21745 * bits/sigaction.h [__USE_MISC]: Likewise.
21746 * bits/waitstatus.h: Update #endif comments.
21747 * ctype/ctype.h: Likewise.
21748 * dirent/dirent.h: Likewise.
21749 [__USE_MISC]: Remove redundant conditionals.
21750 * grp/grp.h: Update #endif comments.
21751 [__USE_GNU]: Remove redundant conditionals.
21752 [__USE_MISC]: Likewise.
21753 * inet/netinet/in.h [__USE_GNU]: Likewise.
21754 * io/sys/stat.h [__USE_MISC]: Likewise.
21755 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21756 * libio/bits/stdio.h: Update #endif comments.
21757 [__USE_MISC]: Remove redundant conditionals.
21758 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21759 * libio/stdio.h: Update #endif comments.
21760 [__USE_MISC]: Remove redundant conditionals.
21761 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21762 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21763 * math/math.h: Update #else and #endif comments.
21764 [__USE_MISC]: Remove redundant conditionals.
21765 * misc/sys/uio.h: Update #endif comments.
21766 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21767 * posix/glob.h [__USE_MISC]: Likewise.
21768 * posix/sys/types.h: Update #endif comments.
21769 [__USE_MISC]: Remove redundant conditionals.
21770 * posix/sys/wait.h: Update #endif comments.
21771 [__USE_MISC]: Remove redundant conditionals.
21772 * posix/unistd.h: Update #endif comments.
21773 [__USE_MISC]: Remove redundant conditionals.
21774 * pwd/pwd.h [__USE_GNU]: Likewise.
21775 [__USE_MISC]: Likewise.
21776 * resolv/netdb.h [__USE_GNU]: Likewise.
21777 * signal/signal.h: Update #endif comments.
21778 [__USE_MISC]: Remove redundant conditionals.
21779 * stdlib/stdlib.h: Update #else and #endif comments.
21780 [__USE_MISC]: Remove redundant conditionals.
21781 [__USE_GNU]: Likewise.
21782 * string/bits/string2.h [__USE_MISC]: Likewise.
21783 * string/string.h: Update #endif comments.
21784 [__USE_MISC]: Remove redundant conditionals.
21785 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21788 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21789 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21791 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21795 [__USE_MISC]: Remove redundant conditionals.
21796 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21797 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21798 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21799 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21800 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21802 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21803 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21805 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21806 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21808 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21810 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21811 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21813 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21815 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21816 * sysdeps/x86/bits/string.h: Update #endif comments.
21817 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21819 * time/sys/time.h: Update #endif comments.
21820 * time/time.h: Likewise.
21821 [__USE_MISC]: Remove redundant conditionals.
21823 2014-02-21 Yury Gribov <y.gribov@samsung.com>
21826 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21828 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
21830 * Versions.def (librt): Add GLIBC_2.17.
21832 2014-02-21 Adam Conrad <adconrad@0c3.net>
21834 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21835 synonym for _SYS_AUXV_H to allow direct inclusion.
21836 * sysdeps/sparc/bits/hwcap.h: Likewise.
21837 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21838 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21839 * sysdeps/sparc/sysdep.h: Likewise.
21841 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21843 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21845 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21847 * benchtests/bench-strrchr.c: Print length instead of position.
21849 2014-02-20 Joseph Myers <joseph@codesourcery.com>
21852 * sysdeps/unix/sysv/linux/kernel-features.h
21853 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21854 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21855 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21856 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21858 [__i386__ || __powerpc__ || __sh__ || __sparc__]
21859 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21860 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21861 (__ASSUME_SENDMMSG): Define instead of using previous
21862 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21863 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21864 (__ASSUME_SENDMMSG_SYSCALL): Define.
21865 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21866 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21868 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21869 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21872 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21874 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21875 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21876 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21877 [__ASSUME_SENDMMSG]: Change conditionals to
21878 [__ASSUME_SENDMMSG_SOCKETCALL].
21879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21880 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21883 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21885 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21886 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21887 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21888 [!__ASSUME_SENDMMSG]: Change conditional to
21889 [!__ASSUME_SENDMMSG_SOCKETCALL].
21890 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21891 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21895 * sysdeps/unix/sysv/linux/kernel-features.h
21896 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21897 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21898 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21899 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21900 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21901 [__i386__ || __sparc__]
21902 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21903 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21904 (__ASSUME_RECVMMSG): Define instead of using previous
21905 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21906 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21907 (__ASSUME_RECVMMSG_SYSCALL): Define.
21908 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21909 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21911 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21912 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21914 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21917 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21918 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21919 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21920 [__ASSUME_RECVMMSG]: Change condition to
21921 [__ASSUME_RECVMMSG_SOCKETCALL].
21922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21925 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21926 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21927 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21929 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21930 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21931 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21932 [!__ASSUME_RECVMMSG]: Change condition to
21933 [!__ASSUME_RECVMMSG_SOCKETCALL].
21934 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21935 (__ASSUME_RECVMMSG_SYSCALL): Define.
21938 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21939 __powerpc__ || __s390__ || __sh__ || __sparc__]
21940 (__ASSUME_SOCKETCALL): Define.
21941 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21942 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21943 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21944 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21945 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21946 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21947 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21948 (__ASSUME_ACCEPT4): Define instead of using previous
21949 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21950 __powerpc__ || __sparc__ || __s390__)] condition.
21951 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21952 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21953 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21954 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21955 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21956 [!__ASSUME_ACCEPT4]: Change condition to
21957 [!__ASSUME_ACCEPT4_SOCKETCALL].
21958 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21959 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
21960 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21961 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21962 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21963 __ASSUME_ACCEPT4_SYSCALL.
21964 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21965 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21966 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21967 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21968 __ASSUME_ACCEPT4_SYSCALL.
21969 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21970 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21971 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21972 [__ASSUME_ACCEPT4]: Change condition to
21973 [__ASSUME_ACCEPT4_SOCKETCALL].
21974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21975 (__ASSUME_SOCKETCALL): Define.
21976 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21978 (__ASSUME_SOCKETCALL): Define.
21979 (__ASSUME_ACCEPT4): Remove.
21980 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21982 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21983 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21985 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21986 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21988 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21990 (HWCAP_ARM_LPAE): Likewise.
21991 (HWCAP_ARM_EVTSTRM): Likewise.
21992 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21993 Add vpfd32, lpae and evtstrm.
21994 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21997 2014-02-19 Joseph Myers <joseph@codesourcery.com>
21999 * math/auto-libm-test-in: Add tests of clog10.
22000 * math/auto-libm-test-out: Regenerated.
22001 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22002 * sysdeps/i386/fpu/libm-test-ulps: Update.
22003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005 2014-02-18 Andreas Schwab <schwab@suse.de>
22008 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22009 Store non-zero if the second buffer was newly allocated.
22010 (send_dg): Likewise.
22011 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22012 to send_vc and send_dg.
22013 (res_nsend): Pass NULL for ansp2_malloced.
22014 * resolv/res_query.c (__libc_res_nquery): Add parameter
22015 answerp2_malloced and pass it down to __libc_res_nsend.
22016 (res_nquery): Pass additional NULL to __libc_res_nquery.
22017 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22018 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22019 second answer buffer if answerp2_malloced was set.
22020 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22021 (__libc_res_nquerydomain): Add parameter
22022 answerp2_malloced and pass it down to __libc_res_nquery.
22023 (res_nquerydomain): Pass additional NULL to
22024 __libc_res_nquerydomain.
22025 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22026 additional NULL to __libc_res_nsend and __libc_res_nquery.
22027 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22028 additional NULL to __libc_res_nsearch.
22029 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22030 parameter of __libc_res_nsearch to check for separately allocated
22032 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22034 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22035 additional NULL to __libc_res_nquery.
22036 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22037 __libc_res_nsearch.
22038 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22039 * include/resolv.h: Update prototypes of __libc_res_nquery,
22040 __libc_res_nsearch, __libc_res_nsend.
22042 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22044 * math/auto-libm-test-in: Add tests of fma.
22045 * math/auto-libm-test-out: Regenerated.
22046 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22047 (fma_towardzero_test_data): Likewise.
22048 (fma_downward_test_data): Likewise.
22049 (fma_upward_test_data): Likewise.
22050 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22052 (rounding_modes): Add values for new field.
22053 (func_calc_method): Add value mpfr_fff_f.
22054 (func_calc_desc): Add mpfr_fff_f union field.
22055 (test_function): Add field exact_args.
22056 (FUNC): Add macro argument EXACT_ARGS.
22057 (FUNC_mpfr_f_f): Update call to FUNC.
22058 (FUNC_mpfr_f_f): Likewise.
22059 (FUNC_mpfr_ff_f): Likewise.
22060 (FUNC_mpfr_if_f): Likewise.
22061 (FUNC_mpc_c_f): Likewise.
22062 (FUNC_mpc_c_c): Likewise.
22063 (test_functions): Add fma. Update calls to FUNC.
22064 (handle_input_arg): Add argument exact_args.
22065 (add_test): Update call to handle_input_arg.
22066 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22067 (output_for_one_input_case): Update call to calc_generic_results.
22068 Recalculate exact zero results in each rounding mode.
22070 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22071 non-negative before setting low bit.
22072 * math/auto-libm-test-in: Mark one asin test possibly having
22073 spurious underflow.
22074 * math/auto-libm-test-out: Regenerated.
22075 * sysdeps/i386/fpu/libm-test-ulps: Update.
22076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22078 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22080 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22081 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22082 ports/sysdeps/unix/sysv/linux/microblaze.
22083 * README: Add missing listing for microblaze*-*-linux-gnu.
22085 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22087 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22090 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22092 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22093 * sysdeps/unix/sysv/linux/ia64: Move directory from
22094 ports/sysdeps/unix/sysv/linux/ia64.
22095 * README: Update listing for ia64-*-linux-gnu.
22097 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22098 Joseph Myers <joseph@codesourcery.com>
22100 * Makeconfig (test-name): New variable.
22101 (evaluate-test): Likewise.
22102 * Makerules (do-test-clean): Remove .test-result files.
22103 (common-mostlyclean): Likewise.
22104 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22105 * scripts/evaluate-test.sh: New file.
22107 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22109 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22110 separate $(objpfx)tst-fopenloc-cmp.out and
22111 $(objpfx)tst-fopenloc-mem.out targets.
22112 (tests): Update dependencies.
22113 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22114 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22115 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22116 (tst-rxspencer-no-utf8-ARGS): New variable.
22117 (tst-rxspencer-no-utf8-ENV): Likewise.
22118 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22119 instead of $(objpfx)tst-rxspencer-mem.
22120 ($(objpfx)tst-rxspencer-mem): Change target to
22121 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22122 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22123 * posix/tst-rxspencer-no-utf8.c: New file.
22125 * elf/Makefile ($(objpfx)order.out): Remove rule.
22126 [$(run-built-tests) = yes] (tests): Depend on
22127 $(objpfx)order-cmp.out.
22128 ($(objpfx)order-cmp.out): New rule.
22129 [$(run-built-tests) = yes] (tests): Depend on
22130 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22131 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22132 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22133 $(objpfx)tst-array5-static-cmp.out.
22134 ($(objpfx)tst-array1.out): Remove rule.
22135 ($(objpfx)tst-array1-cmp.out): New rule.
22136 ($(objpfx)tst-array1-static.out): Remove rule.
22137 ($(objpfx)tst-array1-static-cmp.out): New rule.
22138 ($(objpfx)tst-array2.out): Remove rule.
22139 ($(objpfx)tst-array2-cmp.out): New rule.
22140 ($(objpfx)tst-array3.out): Remove rule.
22141 ($(objpfx)tst-array3-cmp.out): New rule.
22142 ($(objpfx)tst-array4.out): Remove rule.
22143 ($(objpfx)tst-array4-cmp.out): New rule.
22144 ($(objpfx)tst-array5.out): Remove rule.
22145 ($(objpfx)tst-array5-cmp.out): New rule.
22146 ($(objpfx)tst-array5-static.out): Remove rule.
22147 ($(objpfx)tst-array5-static-cmp.out): New rule.
22148 [$(run-built-tests) = yes] (tests): Depend on
22149 $(objpfx)order2-cmp.out.
22150 ($(objpfx)order2.out): Remove rule.
22151 ($(objpfx)order2-cmp.out): New rule.
22152 ($(objpfx)tst-initorder.out): Remove rule.
22153 [$(run-built-tests) = yes] (tests): Depend on
22154 $(objpfx)tst-initorder-cmp.out.
22155 ($(objpfx)tst-initorder-cmp.out): New rule.
22156 ($(objpfx)tst-initorder2.out): Remove rule.
22157 [$(run-built-tests) = yes] (tests): Depend on
22158 $(objpfx)tst-initorder2-cmp.out.
22159 ($(objpfx)tst-initorder2-cmp.out): New rule.
22160 [$(run-built-tests) = yes] (tests): Depend on
22161 $(objpfx)tst-unused-dep-cmp.out.
22162 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22163 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22164 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22165 on $(objpfx)tst-setvbuf1-cmp.out.
22166 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22167 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22168 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22169 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22170 ($(objpfx)tst-svc.out): Remove rule.
22171 ($(objpfx)tst-svc-cmp.out): New rule.
22173 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22175 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22176 * ctype/ctype.h [__USE_MISC]: Likewise.
22177 * dirent/dirent.h [__USE_MISC]: Likewise.
22178 * grp/grp.h [__USE_MISC]: Likewise.
22179 * io/fcntl.h [__USE_MISC]: Likewise.
22180 * io/sys/stat.h [__USE_MISC]: Likewise.
22181 * libio/stdio.h [__USE_MISC]: Likewise.
22182 * posix/unistd.h [__USE_MISC]: Likewise.
22183 * pwd/pwd.h [__USE_MISC]: Likewise.
22184 * stdlib.h [__USE_MISC]: Likewise.
22185 * string/bits/string2.h [__USE_MISC]: Likewise.
22186 * string/string.h [__USE_MISC]: Likewise.
22187 * time/time.h [__USE_MISC]: Likewise.
22189 2014-02-13 Andreas Schwab <schwab@suse.de>
22192 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22193 second answer buffer if it was separately allocated.
22195 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22197 * sysdeps/mips/math-tests.h: Include <features.h>.
22198 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22199 (ROUNDING_TESTS_long_double): Do not define.
22200 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22201 (EXCEPTION_TESTS_long_double): Likewise.
22202 * sysdeps/mips/mips64/libm-test-ulps: Update.
22204 * include/features.h (__USE_BSD): Remove macro definitions.
22205 (__USE_SVID): Likewise.
22206 (_BSD_SOURCE): Likewise.
22207 (_SVID_SOURCE): Likewise.
22208 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22209 from definition of _DEFAULT_SOURCE.
22210 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22212 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22213 * bits/mman.h [__USE_BSD]: Likewise.
22214 * bits/termios.h [__USE_BSD]: Likewise.
22215 * bits/waitstatus.h [__USE_BSD]: Likewise.
22216 * ctype/ctype.h [__USE_SVID]: Likewise.
22217 * dirent/dirent.h [__USE_BSD]: Likewise.
22218 * grp/grp.h [__USE_SVID]: Likewise.
22219 [__USE_BSD]: Likewise.
22220 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22221 * io/fcntl.h [__USE_BSD]: Likewise.
22222 * io/ftw.h [__USE_BSD]: Likewise.
22223 * io/sys/stat.h [__USE_BSD]: Likewise.
22224 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22225 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22226 * libio/stdio.h [__USE_SVID]: Likewise.
22227 [__USE_BSD]: Likewise.
22228 * math/math.h [__USE_SVID]: Likewise.
22229 [__USE_BSD]: Likewise.
22230 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22231 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22232 * misc/search.h [__USE_SVID]: Likewise.
22233 * misc/sys/mman.h [__USE_BSD]: Likewise.
22234 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22235 * misc/sys/uio.h [__USE_BSD]: Likewise.
22236 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22237 * posix/glob.h [__USE_BSD]: Likewise.
22238 * posix/regex.h [__USE_BSD]: Likewise.
22239 * posix/sys/types.h [__USE_BSD]: Likewise.
22240 [__USE_SVID]: Likewise.
22241 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22242 * posix/sys/wait.h [__USE_BSD]: Likewise.
22243 [__USE_SVID]: Likewise.
22244 * posix/unistd.h [__USE_BSD]: Likewise.
22245 [__USE_SVID]: Likewise.
22246 * pwd/pwd.h [__USE_SVID]: Likewise.
22247 * resolv/netdb.h [__USE_BSD]: Likewise.
22248 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22249 * signal/signal.h [__USE_BSD]: Likewise.
22250 [__USE_SVID]: Likewise.
22251 * socket/sys/socket.h [__USE_BSD]: Likewise.
22252 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22253 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22254 [__USE_SVID]: Likewise.
22255 * string/bits/string2.h [__USE_BSD]: Likewise.
22256 [__USE_SVID]: Likewise.
22257 * string/bits/string3.h [__USE_BSD]: Likewise.
22258 * string/endian.h [__USE_BSD]: Likewise.
22259 * string/string.h [__USE_SVID]: Likewise.
22260 [__USE_BSD]: Likewise.
22261 * string/strings.h [__USE_BSD]: Likewise.
22262 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22263 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22264 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22265 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22266 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22267 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22271 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22272 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22274 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22275 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22277 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22279 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22280 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22281 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22283 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22285 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22286 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22287 * termios/termios.h [__USE_BSD]: Likewise.
22288 * time/sys/time.h [__USE_BSD]: Likewise.
22289 * time/time.h [__USE_BSD]: Likewise.
22290 [__USE_SVID]: Likewise.
22292 * Makefile (subdir_targets): Remove subdir_lint.out.
22294 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22295 (do-tst-printf): Likewise.
22296 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22297 $(objpfx)tst-printf.out.
22299 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22301 * Makerules (check-abi-%): Change target to
22302 $(objpfx)check-abi-%.out.
22303 (check-abi target): Update dependencies.
22304 (check-abi-pattern variable): Redirect output of diff to $@.
22305 (check-abi variable): Likewise.
22306 * elf/Makefile (check-abi): Update dependencies.
22308 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22310 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22311 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22313 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22314 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22315 value has largest subnormal exponent.
22316 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22317 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22318 * sysdeps/aarch64/soft-fp/sfp-machine.h
22319 (_FP_TININESS_AFTER_ROUNDING): New macro.
22320 * sysdeps/alpha/soft-fp/sfp-machine.h
22321 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22322 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22324 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22325 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22326 * sysdeps/mips/soft-fp/sfp-machine.h
22327 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22328 * sysdeps/powerpc/soft-fp/sfp-machine.h
22329 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22330 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22333 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22336 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22339 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22342 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22345 2014-02-12 Richard Henderson <rth@redhat.com>
22347 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22348 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22349 * sysdeps/unix/sysv/linux/alpha: Move directory from
22350 ports/sysdeps/unix/sysv/linux/alpha.
22351 * README: Update listing for alpha-*-linux-gnu.
22353 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22355 * include/features.h: Update comment documenting feature test
22357 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22359 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22360 (_SVID_SOURCE): Likewise.
22361 (_DEFAULT_SOURCE): Update description of default features.
22362 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22364 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22365 (S_ISVTX): Likewise.
22366 * manual/math.texi (Mathematical Constants): Likewise.
22367 * manual/signal.texi (Interrupted Primitives): Likewise.
22368 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22369 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22370 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22371 Don't refer to _SVID_SOURCE in warning text.
22373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22375 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22377 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22378 * sysdeps/mips/dl-lookup.c: Remove.
22379 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22381 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22384 * math/auto-libm-test-in: Add testcase for expl.
22385 * math/auto-libm-test-out: Regenerate.
22386 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22387 calculation of unsafe.
22388 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22390 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22392 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22393 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22394 ports/sysdeps/unix/sysv/linux/aarch64.
22395 * README: Update listing for aarch64*-*-linux-gnu.
22397 2014-02-11 Will Newton <will.newton@linaro.org>
22399 * manual/probes.texi (Mathematical Function Probes): Use
22400 "triggered" instead of "hit".
22402 * manual/probes.texi (Internal Probes): Add documentation
22403 of setjmp, longjmp and longjmp_target probes.
22405 * include/stap-probe.h: Add comment about probe argument
22408 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22409 definition. (tr_where, tr_freehook, tr_mallochook,
22410 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22412 2014-02-11 David S. Miller <davem@davemloft.net>
22414 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22415 processing int_tests.
22417 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22419 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22420 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22421 * sysdeps/unix/sysv/linux/mips: Move directory from
22422 ports/sysdeps/unix/sysv/linux/mips.
22423 * README: Update listing for mips-*-linux-gnu and
22424 mips64-*-linux-gnu.
22426 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22428 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22429 * sysdeps/unix/sysv/linux/m68k: Move directory from
22430 ports/sysdeps/unix/sysv/linux/m68k.
22431 * README: Update listing for m68k-*-linux-gnu.
22433 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22435 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22436 * sysdeps/unix/sysv/linux/generic: Move directory from
22437 ports/sysdeps/unix/sysv/linux/generic.
22438 * sysdeps/unix/sysv/linux/tile: Move directory from
22439 ports/sysdeps/unix/sysv/linux/tile.
22440 * README: Update listing for tile*-*-linux-gnu.
22442 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22444 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22446 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22447 * catgets/open_catalog.c (__open_catalog): Likewise.
22448 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22449 * debug/confstr_chk.c: Likewise.
22450 * debug/fread_chk.c (__fread_chk): Likewise.
22451 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22452 * debug/getgroups_chk.c: Likewise.
22453 * debug/mbsnrtowcs_chk.c: Likewise.
22454 * debug/mbsrtowcs_chk.c: Likewise.
22455 * debug/mbstowcs_chk.c: Likewise.
22456 * debug/memcpy_chk.c: Likewise.
22457 * debug/memmove_chk.c: Likewise.
22458 * debug/mempcpy_chk.c: Likewise.
22459 * debug/memset_chk.c: Likewise.
22460 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22461 * debug/strcat_chk.c (__strcat_chk): Likewise.
22462 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22463 * debug/strncat_chk.c (__strncat_chk): Likewise.
22464 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22465 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22466 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22467 * debug/wcpncpy_chk.c: Likewise.
22468 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22469 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22470 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22471 * debug/wcsncpy_chk.c: Likewise.
22472 * debug/wcsnrtombs_chk.c: Likewise.
22473 * debug/wcsrtombs_chk.c: Likewise.
22474 * debug/wcstombs_chk.c: Likewise.
22475 * debug/wmemcpy_chk.c: Likewise.
22476 * debug/wmemmove_chk.c: Likewise.
22477 * debug/wmempcpy_chk.c: Likewise.
22478 * debug/wmemset_chk.c: Likewise.
22479 * dirent/scandirat.c (SCANDIRAT): Likewise.
22480 * dlfcn/dladdr1.c (dladdr1): Likewise.
22481 * dlfcn/dladdr.c (dladdr): Likewise.
22482 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22483 * dlfcn/dlerror.c (__dlerror): Likewise.
22484 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22485 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22486 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22487 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22488 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22489 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22490 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22491 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22493 * elf/dl-conflict.c: Likewise.
22494 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22495 * elf/dl-dst.h: Likewise.
22496 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22497 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22499 * elf/dl-init.c (call_init, _dl_init): Likewise.
22500 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22501 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22502 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22504 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22506 * elf/dl-minimal.c (__libc_memalign): Likewise.
22507 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22508 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22509 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22510 * elf/dl-sym.c (do_sym): Likewise.
22511 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22512 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22513 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22514 * elf/dl-writev.h (_dl_writev): Likewise.
22515 * elf/ldconfig.c (search_dir): Likewise.
22516 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22517 (dl_main): Likewise.
22518 * elf/setup-vdso.h (setup_vdso): Likewise.
22519 * grp/compat-initgroups.c (compat_call): Likewise.
22520 * grp/fgetgrent.c (fgetgrent): Likewise.
22521 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22522 * grp/putgrent.c (putgrent): Likewise.
22523 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22525 * hurd/hurdinit.c: Likewise.
22526 * iconvdata/8bit-gap.c (struct): Likewise.
22527 * iconvdata/ansi_x3.110.c : Likewise.
22528 * iconvdata/big5.c : Likewise.
22529 * iconvdata/big5hkscs.c : Likewise.
22530 * iconvdata/cp1255.c: Likewise.
22531 * iconvdata/cp1258.c : Likewise.
22532 * iconvdata/cp932.c : Likewise.
22533 * iconvdata/euc-cn.c: Likewise.
22534 * iconvdata/euc-jisx0213.c : Likewise.
22535 * iconvdata/euc-jp.c: Likewise.
22536 * iconvdata/euc-jp-ms.c : Likewise.
22537 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22538 * iconvdata/gb18030.c : Likewise.
22539 * iconvdata/gbbig5.c (const): Likewise.
22540 * iconvdata/gbgbk.c: Likewise.
22541 * iconvdata/gbk.c : Likewise.
22542 * iconvdata/ibm1364.c : Likewise.
22543 * iconvdata/ibm930.c : Likewise.
22544 * iconvdata/ibm932.c: Likewise.
22545 * iconvdata/ibm933.c : Likewise.
22546 * iconvdata/ibm935.c : Likewise.
22547 * iconvdata/ibm937.c : Likewise.
22548 * iconvdata/ibm939.c : Likewise.
22549 * iconvdata/ibm943.c: Likewise.
22550 * iconvdata/iso_11548-1.c: Likewise.
22551 * iconvdata/iso-2022-cn.c : Likewise.
22552 * iconvdata/iso-2022-cn-ext.c : Likewise.
22553 * iconvdata/iso-2022-jp-3.c: Likewise.
22554 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22555 * iconvdata/iso-2022-kr.c : Likewise.
22556 * iconvdata/iso646.c (gconv_end): Likewise.
22557 * iconvdata/iso_6937-2.c : Likewise.
22558 * iconvdata/iso_6937.c : Likewise.
22559 * iconvdata/iso8859-1.c: Likewise.
22560 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22561 * iconvdata/shift_jisx0213.c : Likewise.
22562 * iconvdata/sjis.c : Likewise.
22563 * iconvdata/t.61.c : Likewise.
22564 * iconvdata/tcvn5712-1.c : Likewise.
22565 * iconvdata/tscii.c: Likewise.
22566 * iconvdata/uhc.c : Likewise.
22567 * iconvdata/unicode.c (gconv_end): Likewise.
22568 * iconvdata/utf-16.c (gconv_end): Likewise.
22569 * iconvdata/utf-32.c (gconv_end): Likewise.
22570 * iconvdata/utf-7.c (base64): Likewise.
22571 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22572 * iconv/gconv_close.c (__gconv_close): Likewise.
22573 * iconv/gconv_open.c (__gconv_open): Likewise.
22574 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22575 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22576 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22577 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22578 (ucs4le_internal_loop_single): Likewise.
22579 * iconv/iconv.c (iconv): Likewise.
22580 * iconv/iconv_close.c: Likewise.
22581 * iconv/loop.c (SINGLE): Likewise.
22582 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22583 * include/atomic.h: Likewise.
22584 * inet/inet6_option.c (option_alloc): Likewise.
22585 * intl/bindtextdom.c (set_binding_values): Likewise.
22586 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22587 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22588 * intl/localealias.c (read_alias_file): Likewise.
22589 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22590 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22591 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22592 * libio/fmemopen.c (fmemopen): Likewise.
22593 * libio/iofgets.c (_IO_fgets): Likewise.
22594 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22595 * libio/iofgetws.c (fgetws): Likewise.
22596 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22597 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22598 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22599 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22600 * locale/findlocale.c (_nl_find_locale): Likewise.
22601 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22602 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22604 * locale/setlocale.c (setlocale): Likewise.
22605 * login/programs/pt_chown.c (main): Likewise.
22606 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22607 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22608 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22609 (mmap, mmap64, mremap, munmap): Likewise.
22610 * math/e_exp2l.c: Likewise.
22611 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22612 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22613 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22614 * math/s_catan.c (__catan): Likewise.
22615 * math/s_catanf.c (__catanf): Likewise.
22616 * math/s_catanh.c (__catanh): Likewise.
22617 * math/s_catanhf.c (__catanhf): Likewise.
22618 * math/s_catanhl.c (__catanhl): Likewise.
22619 * math/s_catanl.c (__catanl): Likewise.
22620 * math/s_ccosh.c (__ccosh): Likewise.
22621 * math/s_ccoshf.c (__ccoshf): Likewise.
22622 * math/s_ccoshl.c (__ccoshl): Likewise.
22623 * math/s_cexp.c (__cexp): Likewise.
22624 * math/s_cexpf.c (__cexpf): Likewise.
22625 * math/s_cexpl.c (__cexpl): Likewise.
22626 * math/s_clog10.c (__clog10): Likewise.
22627 * math/s_clog10f.c (__clog10f): Likewise.
22628 * math/s_clog10l.c (__clog10l): Likewise.
22629 * math/s_clog.c (__clog): Likewise.
22630 * math/s_clogf.c (__clogf): Likewise.
22631 * math/s_clogl.c (__clogl): Likewise.
22632 * math/s_csin.c (__csin): Likewise.
22633 * math/s_csinf.c (__csinf): Likewise.
22634 * math/s_csinh.c (__csinh): Likewise.
22635 * math/s_csinhf.c (__csinhf): Likewise.
22636 * math/s_csinhl.c (__csinhl): Likewise.
22637 * math/s_csinl.c (__csinl): Likewise.
22638 * math/s_csqrt.c (__csqrt): Likewise.
22639 * math/s_csqrtf.c (__csqrtf): Likewise.
22640 * math/s_csqrtl.c (__csqrtl): Likewise.
22641 * math/s_ctan.c (__ctan): Likewise.
22642 * math/s_ctanf.c (__ctanf): Likewise.
22643 * math/s_ctanh.c (__ctanh): Likewise.
22644 * math/s_ctanhf.c (__ctanhf): Likewise.
22645 * math/s_ctanhl.c (__ctanhl): Likewise.
22646 * math/s_ctanl.c (__ctanl): Likewise.
22647 * math/w_pow.c: Likewise.
22648 * math/w_powf.c: Likewise.
22649 * math/w_powl.c: Likewise.
22650 * math/w_scalb.c (sysv_scalb): Likewise.
22651 * math/w_scalbf.c (sysv_scalbf): Likewise.
22652 * math/w_scalbl.c (sysv_scalbl): Likewise.
22653 * misc/error.c (error_tail): Likewise.
22654 * misc/pselect.c (__pselect): Likewise.
22655 * nis/nis_callback.c (__nis_create_callback): Likewise.
22656 * nis/nis_call.c (__nisfind_server): Likewise.
22657 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22658 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22659 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22660 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22661 * nis/nis_lookup.c (nis_lookup): Likewise.
22662 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22663 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22664 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22665 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22666 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22667 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22668 * nis/nss_compat/compat-initgroups.c (add_group)
22669 (internal_getgrent_r): Likewise.
22670 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22671 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22672 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22673 (internal_getspnam_r): Likewise.
22674 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22675 (_nss_nis_getaliasbyname_r): Likewise.
22676 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22677 (_nss_nis_getntohost_r): Likewise.
22678 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22679 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22680 (_nss_nis_getgrgid_r): Likewise.
22681 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22682 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22683 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22684 (_nss_nis_gethostbyname4_r): Likewise.
22685 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22686 (initgroups_netid): Likewise.
22687 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
22688 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22689 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22690 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22691 (_nss_nis_getprotobynumber_r): Likewise.
22692 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22693 (_nss_nis_getsecretkey): Likewise.
22694 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22695 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22696 (_nss_nis_getpwuid_r): Likewise.
22697 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22698 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22699 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22700 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22701 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22702 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22703 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22705 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22706 (_nss_nisplus_getntohost_r): Likewise.
22707 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22708 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22709 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22710 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22712 * nis/nss_nisplus/nisplus-initgroups.c
22713 (_nss_nisplus_initgroups_dyn): Likewise.
22714 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22715 (_nss_nisplus_getnetbyaddr_r): Likewise.
22716 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22717 (_nss_nisplus_getprotobynumber_r): Likewise.
22718 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22719 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22720 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22722 * nis/nss_nisplus/nisplus-service.c
22723 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22724 (_nss_nisplus_getservbyport_r): Likewise.
22725 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22726 (_nss_nisplus_getspnam_r): Likewise.
22727 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22729 * nscd/aicache.c (addhstaiX): Likewise.
22730 * nscd/cache.c (cache_search, prune_cache): Likewise.
22731 * nscd/connections.c (register_traced_file, send_ro_fd)
22732 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22733 (main_loop_epoll): Likewise.
22734 * nscd/grpcache.c (addgrbyX): Likewise.
22735 * nscd/hstcache.c (addhstbyX): Likewise.
22736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22737 * nscd/mem.c (gc, mempool_alloc): Likewise.
22738 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22739 (addinnetgrX): Likewise.
22740 * nscd/nscd-client.h (__nscd_acquire_maplock)
22741 (__nscd_drop_map_ref): Likewise.
22742 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22743 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22746 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22748 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22749 (__nscd_get_map_ref): Likewise.
22750 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22751 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22753 * nscd/pwdcache.c (addpwbyX): Likewise.
22754 * nscd/selinux.c (preserve_capabilities): Likewise.
22755 * nscd/servicescache.c (addservbyX): Likewise.
22756 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22757 * posix/fnmatch.c (fnmatch): Likewise.
22758 * posix/getopt.c (_getopt_internal_r): Likewise.
22759 * posix/glob.c (glob, glob_in_dir): Likewise.
22760 * posix/wordexp.c (exec_comm_child): Likewise.
22761 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22762 (getanswer_r, gaih_getanswer_slice): Likewise.
22763 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22764 * resolv/res_init.c: Likewise.
22765 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22766 * resolv/res_query.c (__libc_res_nquery): Likewise.
22767 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22769 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22770 * stdio-common/perror.c (perror): Likewise.
22771 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22772 * stdio-common/tmpnam.c (tmpnam): Likewise.
22773 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22774 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22775 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22777 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22778 * stdlib/putenv.c (putenv): Likewise.
22779 * stdlib/setenv.c (__add_to_environ): Likewise.
22780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22781 * stdlib/strtol_l.c (INTERNAL): Likewise.
22782 * string/memmem.c (memmem): Likewise.
22783 * string/strerror.c (strerror): Likewise.
22784 * string/strnlen.c (__strnlen): Likewise.
22785 * string/test-memmem.c (simple_memmem): Likewise.
22786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22787 * sunrpc/pm_getport.c (__get_socket): Likewise.
22788 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22789 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22790 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22791 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22793 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22794 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22795 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22796 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22797 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22798 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22800 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22802 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22803 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22805 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22806 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22808 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22809 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22810 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22811 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22812 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22813 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22815 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22820 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22822 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22823 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22824 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22825 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22834 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22836 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22838 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22840 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22842 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22844 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22846 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22847 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22848 * sysdeps/posix/opendir.c (__opendirat): Likewise.
22849 * sysdeps/posix/sleep.c: Likewise.
22850 * sysdeps/posix/tempname.c: Likewise.
22851 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22852 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22854 * sysdeps/powerpc/powerpc32/dl-machine.h
22855 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22856 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22857 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22858 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22859 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22861 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22862 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22863 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22864 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22865 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22866 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22867 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22868 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22869 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22870 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22871 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22872 (elf_machine_lazy_rel): Likewise.
22873 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22875 (elf_machine_lazy_rel): Likewise.
22876 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22877 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22878 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22879 * sysdeps/unix/grantpt.c (grantpt): Likewise.
22880 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22881 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22882 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22885 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22886 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22887 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22888 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22889 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22890 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22891 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22892 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22893 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22894 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22895 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22897 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22898 (__posix_fallocate64_l64): Likewise.
22899 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22900 (posix_fallocate): Likewise.
22901 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22903 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22904 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22905 (getifaddrs_internal): Likewise.
22906 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22907 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22908 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22909 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22910 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22911 (__posix_fallocate64_l64): Likewise.
22912 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22914 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22915 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22916 (__get_clockfreq): Likewise.
22917 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22918 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22919 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22922 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22923 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22924 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22926 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22927 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22928 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22929 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22930 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22931 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22932 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22934 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22935 (posix_fallocate): Likewise.
22936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22937 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22938 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22939 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22940 (elf_machine_rela, elf_machine_rela_relative)
22941 (elf_machine_lazy_rel): Likewise.
22942 * time/asctime.c (asctime_internal): Likewise.
22943 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22944 * time/tzset.c (__tzset_parse_tz): Likewise.
22945 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22946 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22947 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22948 * wcsmbs/wcsmbsload.h: Likewise.
22951 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22953 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22954 (arena_get2): Remove THREAD_STATS conditionals.
22955 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22956 (__malloc_stats, int): Likewise.
22958 2014-02-08 Mike Frysinger <vapier@gentoo.org>
22960 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22961 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
22963 * manual/setjmp.texi: Fix typos/grammar errors.
22965 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22966 Only return early when n is <= 0. Delete unused return statement.
22968 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22969 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22970 * debug/tst-longjmp_chk3.c: New file.
22972 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22973 (test_main): Replace code with set_fortify_handler call.
22974 * debug/test-strcpy_chk.c: Likewise.
22975 * debug/tst-chk1.c: Likewise.
22976 * debug/tst-longjmp_chk.c: Likewise.
22977 * test-skeleton.c: Include fcntl.h & paths.h
22978 (set_fortify_handler): Define.
22980 * debug/tst-longjmp_chk.c: Add header comment and include
22981 ../test-skeleton.c.
22982 (do_test): Mark static.
22983 (TEST_FUNCTION): Define.
22985 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22986 (IP_PMTUDISC_INTERFACE): Likewise.
22987 (IP_MULTICAST_IF): Likewise.
22988 (IP_MULTICAST_TTL): Likewise.
22989 (IP_MULTICAST_LOOP): Likewise.
22990 (IP_ADD_MEMBERSHIP): Likewise.
22991 (IP_DROP_MEMBERSHIP): Likewise.
22992 (IP_UNBLOCK_SOURCE): Likewise.
22993 (IP_BLOCK_SOURCE): Likewise.
22994 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22995 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22996 (IP_MSFILTER): Likewise.
22997 (MCAST_JOIN_GROUP): Likewise.
22998 (MCAST_BLOCK_SOURCE): Likewise.
22999 (MCAST_UNBLOCK_SOURCE): Likewise.
23000 (MCAST_LEAVE_GROUP): Likewise.
23001 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23002 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23003 (MCAST_MSFILTER): Likewise.
23004 (IP_MULTICAST_ALL): Likewise.
23005 (IP_UNICAST_IF): Likewise.
23007 * timezone/Makefile: Delete $(have-ksh) check.
23008 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23009 * timezone/tzselect.ksh: Add +x mode bits.
23011 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23012 (ANON_INODE_FS_MAGIC): Likewise.
23013 (BDEVFS_MAGIC): Likewise.
23014 (BINFMTFS_MAGIC): Likewise.
23015 (BTRFS_TEST_MAGIC): Likewise.
23016 (CRAMFS_MAGIC_WEND): Likewise.
23017 (DEBUGFS_MAGIC): Likewise.
23018 (ECRYPTFS_SUPER_MAGIC): Likewise.
23019 (EXT3_SUPER_MAGIC): Likewise.
23020 (EXT4_SUPER_MAGIC): Likewise.
23021 (FUTEXFS_SUPER_MAGIC): Likewise.
23022 (HOSTFS_SUPER_MAGIC): Likewise.
23023 (HUGETLBFS_MAGIC): Likewise.
23024 (MINIX3_SUPER_MAGIC): Likewise.
23025 (MTD_INODE_FS_MAGIC): Likewise.
23026 (NILFS_SUPER_MAGIC): Likewise.
23027 (OPENPROM_SUPER_MAGIC): Likewise.
23028 (PIPEFS_MAGIC): Likewise.
23029 (PSTOREFS_MAGIC): Likewise.
23030 (QNX6_SUPER_MAGIC): Likewise.
23031 (RAMFS_MAGIC): Likewise.
23032 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23033 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23034 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23035 (SECURITYFS_MAGIC): Likewise.
23036 (SELINUX_MAGIC): Likewise.
23037 (SMACK_MAGIC): Likewise.
23038 (SOCKFS_MAGIC): Likewise.
23039 (SQUASHFS_MAGIC): Likewise.
23040 (STACK_END_MAGIC): Likewise.
23041 (TMPFS_MAGIC): Likewise.
23042 (USBDEVICE_SUPER_MAGIC): Likewise.
23043 (V9FS_MAGIC): Likewise.
23044 (XENFS_SUPER_MAGIC): Likewise.
23045 (CRAMFS_MAGIC): Fix typo in comment.
23046 (EXT2_SUPER_MAGIC): Update comment.
23047 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23049 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23051 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23052 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23053 * sysdeps/unix/sysv/linux/arm: Move directory from
23054 ports/sysdeps/unix/sysv/linux/arm.
23055 * README: Update listing for arm-*-linux-gnueabi.
23057 * README: Remove mention of am33.
23059 2014-02-07 Roland McGrath <roland@hack.frob.com>
23061 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23062 than the comma operator, to avoid "rhs of comma has no effect"
23064 (__sigfillset, __sigandset, __sigorset): Likewise.
23065 * include/signal.h (__sigemptyset): Likewise.
23066 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23068 2014-02-07 Allan McRae <allan@archlinux.org>
23070 * version.h (RELEASE): Set to "development".
23071 (VERSION): Set to "2.19.90"
23072 * NEWS: Add 2.20 section.
23074 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23077 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23079 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23081 * manual/contrib.texi: Update entry for Carlos O'Donell,
23082 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23084 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23086 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23088 * sysdeps/unix/sysv/linux/kernel-features.h
23089 [__LINUX_KERNEL_VERSION >= 0x020621]
23090 (__ASSUME_PROC_PID_TASK_COMM): Define.
23092 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23095 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23096 conversion when destination buffer does not have enough space.
23097 * libio/tst-ftell-partial-wide.c: New test case.
23098 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23100 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23101 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23102 Leonard and Allan McRae.
23104 2014-02-04 David S. Miller <davem@davemloft.net>
23106 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23109 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23138 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23140 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23141 * shlib-versions: Likewise.
23143 2014-02-04 Roland McGrath <roland@hack.frob.com>
23144 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23146 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23147 (abilist-pattern): New variable, set to %-le.abilist.
23149 * Makerules (abilist-pattern): New variable.
23150 (vpath): Use $(abilist-pattern) in place of %.abilist.
23151 (check-abi-% pattern rule): Likewise.
23152 (check-abi, update-abi): Likewise.
23154 2014-02-04 Eric Wong <normalperson@yhbt.net>
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23158 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23160 * manual/startup.texi: Add next, previous, and top entries for
23161 the `Program Arguments' and `Environment Variables' nodes.
23163 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23165 * manual/macros.texi: Add comments before MTASC-safety macros.
23167 * manual/users.texi: Document MTASC-safety properties.
23169 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23170 (pthread_getspecific, pthread_setspecific): Format with
23171 @deftypefun, and add @safety note.
23172 * manual/signal.texi: Move comments that analyze the above
23173 functions to their home place.
23175 2014-02-03 Allan McRae <allan@archlinux.org>
23177 * po/sl.po: Update Slovenian translation from translation project.
23179 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23181 * manual/time.texi (timegm): Add missing blank after @c.
23182 Reported by Joseph Myers <joseph@codesourcery.com>.
23184 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23186 * manual/check-safety.sh: New.
23187 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23189 * manual/terminal.texi: Document MTASC-safety properties.
23191 * manual/filesys.texi: Document MTASC-safety properties.
23193 * manual/errno.texi: Document MTASC-safety properties.
23195 * manual/intro.texi: Document safety identifiers and
23198 * manual/string.texi (wcstok): Fix prototype.
23199 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23201 * manual/time.texi: Document MTASC-safety properties.
23203 * manual/string.texi: Document MTASC-safety properties.
23205 * manual/threads.texi: Document MTASC-safety properties.
23207 * manual/stdio.texi: Document MTASC-safety properties.
23209 * manual/syslog.texi: Document MTASC-safety properties.
23211 * manual/sysinfo.texi: Document MTASC-safety properties.
23213 * manual/startup.texi: Document MTASC-safety properties.
23215 * manual/socket.texi: Document MTASC-safety properties.
23217 * manual/signal.texi: Document MTASC-safety properties.
23219 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23221 * manual/setjmp.texi: Document MTASC-safety properties.
23223 * manual/search.texi: Document MTASC-safety properties.
23225 * manual/resource.texi: Document MTASC-safety properties.
23227 * manual/process.texi: Document MTASC-safety properties.
23229 * manual/platform.texi: Document MTASC-safety properties.
23231 * manual/pipe.texi: Document MTASC-safety properties.
23233 * manual/pattern.texi: Document MTASC-safety properties.
23235 * manual/message.texi: Document MTASC-safety properties.
23238 * manual/memory.texi: Document MTASC-safety properties.
23240 * manual/math.texi: Document MTASC-safety properties.
23242 * manual/locale.texi: Document MTASC-safety properties.
23244 * manual/llio.texi: Document MTASC-safety properties.
23246 * manual/libdl.texi: New.
23248 * manual/lang.texi: Document MTASC-safety properties.
23250 * manual/job.texi: Document MTASC-safety properties.
23252 * manual/getopt.texi: Document MTASC-safety properties.
23254 * manual/ctype.texi: Document MTASC-safety properties.
23256 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23259 * csu/libc-tls.c (static_map): Remove variable.
23260 (__libc_setup_tls): Use main executable's link map for TLS data.
23261 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23262 casing for LM_ID_BASE and GL(dl_nns).
23263 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23264 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23265 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23266 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23267 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23269 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23272 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23274 * manual/debug.texi: Document MTASC-safety properties.
23276 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23279 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23280 of __x86_64__ when disabling x87 inline functions.
23282 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23284 * manual/charset.texi: Document MTASC-safety properties.
23286 * manual/crypt.texi: Document MTASC-safety properties.
23288 * manual/conf.texi: Document MTASC-safety properties.
23290 * manual/arith.texi: Document MTASC-safety properties.
23292 * manual/argp.texi: Document MTASC-safety properties.
23294 * manual/macros.texi: Introduce macros to document multi
23295 thread, asynchronous signal and asynchronous cancellation
23297 * manual/intro.texi: Introduce the properties themselves.
23299 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23301 * sysdeps/sh/sh4/Makefile: New file.
23303 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23305 * math/gen-libm-test.pl ($srcdir): New variable.
23306 ($auto_input): Use it.
23308 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23311 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23312 access beyond array bounds when parsing netgroups file.
23314 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23315 the old buffer before realloc.
23317 2014-01-27 Allan McRae <allan@archlinux.org>
23319 * po/fr.po: Update French translation from translation project.
23321 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23323 * sysdeps/sh/libm-test-ulps: Regenerate.
23325 2014-01-24 David S. Miller <davem@davemloft.net>
23327 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23329 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23331 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23332 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23334 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23337 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23338 string pointers after reallocation.
23340 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23342 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23343 __SH4A__ instead of __SH_FPU_ANY__.
23345 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23347 * sysdeps/sh/fpu_control.h: New file.
23348 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23349 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23350 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23351 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23352 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23353 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23354 * sysdeps/sh/sys/ucontext.h: Remove.
23355 * sysdeps/sh/sys: Remove directory.
23357 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23359 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23360 s390/sys/ucontext.h.
23361 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23362 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23364 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23367 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23369 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23373 Adjust the vDSO correctly for internal calls.
23374 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23376 2014-01-20 Allan McRae <allan@archlinux.org>
23378 * po/ca.po: Update Catalan translation from translation project.
23380 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23382 * sysdeps/s390/sotruss-lib.c: New file.
23384 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23388 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23389 local calls issues by not having a PLT stub required for IFUNC calls.
23390 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23392 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23394 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23395 * math/test-fpucw-static.c: Likewise.
23397 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23400 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23402 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23404 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23405 implementation for powerpc.
23407 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23410 * sysdeps/posix/system.c (__libc_system): Do not enable
23411 asynchronous cancellation.
23413 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23416 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23417 handling only for numbers special also in the IEEE case.
23419 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23421 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23423 2014-01-11 Allan McRae <allan@archlinux.org>
23425 * po/bg.po: Update Bulgarian translation from translation project.
23427 * po/de.po: Update German translation from translation project.
23429 2014-01-10 Roland McGrath <roland@hack.frob.com>
23431 * sysdeps/generic/gcc-compat.h: New file.
23433 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23435 * benchtests/asin-inputs: Correct slow inputs.
23436 * benchtests/acos-inputs: Likewise.
23438 2014-01-10 Allan McRae <allan@archlinux.org>
23440 * po:sv.po: Update Swedish translation from translation project.
23442 * po/vi.po: Update Vietnamese translation from translation project.
23444 * po/eo.po: Update Esperanto translation from translation project.
23446 * po/cs.po: Update Czech translation from translation project.
23448 * po/nl.po: Update Dutch translation from translation project.
23450 * po/pl.po: Update Polish translation from translation project.
23452 * po/ru.po: Update Russian translation from translation project.
23454 * po/uk.po: Update Ukrainian translation from translation project.
23456 2014-01-08 Brooks Moses <bmoses@google.com>
23458 * elf/dl-load.c: Fix comment typo.
23460 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23462 * po/header.pot: Rename to...
23463 * po/pot.header: ... this.
23464 * po/Makefile: Use pot.header.
23466 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23467 Maxim Kuvyrkov <maxim@kugelworks.com>
23470 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23471 SRC and DEST against LEN.
23473 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23476 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23480 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23484 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23487 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23488 for large positive arguments.
23490 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23492 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23494 * math/auto-libm-test-in: Mark various tests with
23495 xfail-rounding:ldbl-128ibm.
23496 * math/auto-libm-test-out: Regenerated.
23499 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23500 Increase overflow threshold.
23502 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23505 * stdio-common/vfprintf.c: Check for integer overflow.
23507 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23509 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23510 the first argument and return value of __tls_get_addr_internal.
23512 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23514 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23515 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23517 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23519 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23520 * sysdeps/s390/rtld-global-offsets.sym: New file.
23521 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23523 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23524 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23525 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23527 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23528 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23534 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23535 halfs of GPRs for high_gprs contexts.
23536 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23537 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23539 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23541 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23543 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23544 for high GPRs (uc_high_gprs) and for future extensions
23546 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23547 for future extensions (__reserved).
23548 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23550 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23551 SC_HIGHGPRS offset definition.
23552 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23553 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23555 * Versions.def: Add GLIBC_2.19 for libpthread.
23556 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23557 siglongjmp for libpthread with GLIBC_2.19 symver.
23558 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23559 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23560 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23561 * sysdeps/s390/__longjmp.c: New file.
23562 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23563 * sysdeps/s390/longjmp.c: New file.
23564 * sysdeps/s390/setjmp.S: New file.
23565 * sysdeps/s390/sigjmp.S: New file.
23566 * sysdeps/s390/v1-longjmp.c: New file.
23567 * sysdeps/s390/v1-setjmp.h: New file.
23568 * sysdeps/s390/v1-sigjmp.c: New file.
23569 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23570 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23571 GLIBC_2.19 version.
23572 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23573 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23574 versioned symbols for ____longjmp_chk.
23575 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23585 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23586 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23587 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23588 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23589 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23590 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23591 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23592 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23593 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23594 * sysdeps/s390/rtld-__longjmp.c: New file.
23595 * sysdeps/s390/rtld-setjmp.S: New file.
23597 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23601 Return -__logl (x) for small positive arguments without evaluating
23604 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23606 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23608 (__ptrace_peeksiginfo_args): ... this.
23609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23613 2014-01-06 Allan McRae <allan@archlinux.org>
23615 * inet/netinet/in.h: Fix typo in comment.
23617 2014-01-05 Andreas Jaeger <aj@suse.de>
23619 * sysdeps/i386/fpu/libm-test-ulps: Update.
23621 2014-01-05 Allan McRae <allan@archlinux.org>
23623 * po/libc.pot: Regenerated.
23625 * malloc/memusagestat.c: Fix gettext call formatting.
23627 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23629 * nscd/nscd.c: Improve usage() output.
23631 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23633 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23634 * sysdeps/unix/sysv/linux/configure: Regenerated.
23635 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23636 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23638 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23641 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23642 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23644 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23646 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23647 extra tokens at end of #undef directive.
23648 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23649 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23650 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23652 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23654 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23656 * math/auto-libm-test-in: Mark various tests with
23657 xfail-rounding:ldbl-128ibm.
23658 * math/auto-libm-test-out: Regenerated.
23660 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23664 numbers with subnormal high part when calculating exponent.
23667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23671 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23673 (__ieee754_acoshl): Use __log1pl not __log1p.
23675 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
23677 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23678 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23679 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23680 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23681 (reused_arena, arena_get2): Convert to GNU style.
23682 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23683 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23684 (memalign_check, __malloc_set_state): Likewise.
23685 * malloc/mallocbug.c (main): Likewise.
23686 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23687 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23688 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23689 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23690 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23691 (__posix_memalign, malloc_info): Likewise.
23692 * malloc/malloc.h: Likewise.
23693 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23694 (mallochook, memalignhook, reallochook, mabort): Likewise.
23695 * malloc/mcheck.h: Likewise.
23696 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23697 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23698 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23699 * malloc/morecore.c (__default_morecore): Likewise.
23700 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23701 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23702 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23703 (print_and_abort): Likewise.
23704 * malloc/obstack.h: Likewise.
23705 * malloc/set-freeres.c (__libc_freeres): Likewise.
23706 * malloc/tst-mallocstate.c (main): Likewise.
23707 * malloc/tst-mtrace.c (main): Likewise.
23708 * malloc/tst-realloc.c (do_test): Likewise.
23710 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23713 * nscd/netgroupcache.c (do_notfound): New function.
23714 (addgetnetgrentX): Use it.
23717 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23718 NSS_STATUS_NOTFOUND.
23720 2014-01-01 Joseph Myers <joseph@codesourcery.com>
23722 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23725 2014-01-01 Allan McRae <allan@archlinux.org>
23727 * scripts/update-copyrights: Update configure input file suffix.
23729 * NEWS: Update copyright year.
23730 * catgets/gencat.c: Likewise.
23731 * csu/version.c: Likewise.
23732 * debug/catchsegv.sh: Likewise.
23733 * debug/pcprofiledump.c: Likewise.
23734 * debug/xtrace.sh: Likewise.
23735 * elf/ldconfig.c: Likewise.
23736 * elf/ldd.bash.in: Likewise.
23737 * elf/pldd.c: Likewise.
23738 * elf/sotruss.ksh: Likewise.
23739 * elf/sprof.c: Likewise.
23740 * iconv/iconv_prog.c: Likewise.
23741 * iconv/iconvconfig.c: Likewise.
23742 * locale/programs/locale.c: Likewise.
23743 * locale/programs/localedef.c: Likewise.
23744 * login/programs/pt_chown.c: Likewise.
23745 * malloc/memusage.sh: Likewise.
23746 * malloc/memusagestat.c: Likewise.
23747 * malloc/mtrace.pl: Likewise.
23748 * manual/libc.texinfo: Likewise.
23749 * nscd/nscd.c: Likewise.
23750 * nss/getent.c: Likewise.
23751 * nss/makedb.c: Likewise.
23752 * posix/getconf.c: Likewise.
23753 * scripts/test-installation.pl: Likewise.
23755 * All files with FSF copyright notices: Update copyright dates
23756 using scripts/update-copyrights.
23757 * intl/plural.c: Regenerated.
23758 * locale/programs/charmap-kw.h: Likewise.
23759 * locale/programs/locfile-kw.h: Likewise.
23761 2013-12-31 Mike Frysinger <vapier@gentoo.org>
23763 * sysdeps/unix/sysv/linux/configure: Regenerated.
23764 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23765 the linux/fanotify.h header.
23766 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23767 HAVE_LINUX_FANOTIFY_H is defined.
23769 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23771 * benchtests/cos-inputs: New inputs.
23772 * benchtests/sin-inputs: Likewise.
23774 * benchtests/atan-inputs: New inputs. Fix name of multiple
23775 precision fallback inputs.
23777 * benchtests/atanh-inputs: New inputs.
23778 * benchtests/tanh-inputs: Likewise.
23780 * benchtests/acosh-inputs: New inputs.
23781 * benchtests/asinh-inputs: Likewise.
23783 * benchtests/cosh-inputs: New inputs.
23784 * benchtests/sinh-inputs: Likewise.
23786 * benchtests/acos-inputs: Add more inputs.
23787 * benchtests/asin-inputs: Likewise.
23789 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
23792 * manual/arith.texi: Fix spelling.
23793 * manual/charset.texi: Likewise.
23794 * manual/errno.texi: Likewise.
23795 * manual/filesys.texi: Likewise.
23796 * manual/lang.texi: Likewise.
23797 * manual/llio.texi: Likewise.
23798 * manual/locale.texi: Likewise.
23799 * manual/message.texi: Likewise.
23800 * manual/resource.texi: Likewise.
23801 * manual/search.texi: Likewise.
23802 * manual/setjmp.texi: Likewise.
23803 * manual/stdio.texi: Likewise.
23804 * manual/string.texi: Likewise.
23805 * manual/sysinfo.texi: Likewise.
23806 * manual/time.texi: Likewise.
23808 2013-12-27 Carlos O'Donell <carlos@redhat.com>
23810 * po/sl.po: New file.
23812 2013-12-27 Mike Frysinger <vapier@gentoo.org>
23814 * .gitignore: Add core/.gdbinit/.gdb_history.
23816 2013-12-27 Allan McRae <allan@archlinux.org>
23819 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23820 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23822 2013-12-24 Brooks Moses <bmoses@google.com>
23824 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23825 all compilers that claim C++98 compliance, not just GCC.
23826 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23829 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23831 * NEWS: Restore accidentally deleted bug-fix entries.
23833 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
23834 Ondřej Bílka <neleai@seznam.cz>
23837 * malloc/malloc.c (_int_free): Perform sanity check only if we
23840 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
23843 * manual/stdio.texi (String Input Conversions): Clarify that character
23844 classes are not supported.
23846 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23850 2013-12-22 Joseph Myers <joseph@codesourcery.com>
23853 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23854 Calculate results for small negative arguments directly rather
23855 than using reflection formula with special underflow handling.
23857 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23858 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23859 sysdeps/unix/bsd/bsd4.4/syscalls.list.
23860 (fchflags): Likewise.
23861 (revoke): Likewise.
23862 (setlogin): Likewise.
23863 (sigaltstack): Likewise.
23865 (sigblock): Remove.
23866 (sigsetmask): Likewise.
23868 (waitpid): Likewise.
23869 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23870 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23872 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23873 * sysdeps/unix/bsd/Makefile: ... here.
23874 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23875 * sysdeps/unix/bsd/Versions: ... here.
23876 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23877 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23878 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23879 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23880 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23881 * sysdeps/unix/bsd/sigblock.c: ... here.
23882 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23883 * sysdeps/unix/bsd/sigsetmask.c: ... here.
23884 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23885 * sysdeps/unix/bsd/sigvec.c: ... here.
23886 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23887 * sysdeps/unix/bsd/tcdrain.c: ... here.
23888 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23889 * sysdeps/unix/bsd/tcgetattr.c: ... here.
23890 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23891 * sysdeps/unix/bsd/tcsetattr.c: ... here.
23892 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23893 * sysdeps/unix/bsd/wait.c: ... here.
23894 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23895 * sysdeps/unix/bsd/wait3.c: ... here.
23896 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23897 * sysdeps/unix/bsd/waitpid.c: ... here.
23899 2013-12-21 Joseph Myers <joseph@codesourcery.com>
23902 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23903 round-to-nearest for [!USE_AS_EXPM1L].
23904 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23905 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
23906 more tests of exp and exp10. Expect some exp10 tests to miss
23907 exceptions or fail in directed rounding modes.
23908 * math/auto-libm-test-out: Regenerated.
23909 * math/libm-test.inc (exp10_tonearest_test_data): New array.
23910 (exp10_test_tonearest): New function.
23911 (exp10_towardzero_test_data): New array.
23912 (exp10_test_towardzero): New function.
23913 (exp10_downward_test_data): New array.
23914 (exp10_test_downward): New function.
23915 (exp10_upward_test_data): New array.
23916 (exp10_test_upward): New function.
23917 (main): Call the new functions.
23918 * sysdeps/i386/fpu/libm-test-ulps: Update.
23919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921 2013-12-20 Joseph Myers <joseph@codesourcery.com>
23923 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23924 asinh, atan, atan2, atanh, cbrt, cos and cosh.
23925 * math/auto-libm-test-out: Regenerated.
23926 * math/libm-test.inc (acosh_test_data): Add more tests.
23927 (atanh_test_data): Likewise.
23928 (ceil_test_data): Likewise.
23929 (copysign_test_data): Likewise.
23930 * sysdeps/i386/fpu/libm-test-ulps: Update.
23931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23933 * timezone/checktab.awk: Update from tzcode 2013i.
23934 * timezone/private.h: Likewise.
23935 * timezone/scheck.c: Likewise.
23936 * timezone/tzfile.h: Likewise.
23937 * timezone/tzselect.ksh: Likewise.
23938 * timezone/zdump.c: Likewise.
23939 * timezone/zic.c: Likewise.
23941 * math/auto-libm-test-in: Add tests of cpow.
23942 * math/auto-libm-test-out: Regenerated.
23943 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23946 (func_calc_desc): Add mpc_cc_c union field.
23947 (test_functions): Add cpow.
23948 (special_fill_2pi): New function.
23949 (special_real_inputs): Add 2pi.
23950 (calc_generic_results): Handle mpc_cc_c.
23951 * sysdeps/i386/fpu/libm-test-ulps: Update.
23952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23954 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23955 csqrt, ctan and ctanh.
23956 * math/auto-libm-test-out: Regenerated.
23957 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23958 (TEST_COND_x86): Likewise.
23959 (ccos_test_data): Use AUTO_TESTS_c_c.
23960 (ccosh_test_data): Likewise.
23961 (cexp_test_data): Likewise.
23962 (clog_test_data): Likewise.
23963 (csqrt_test_data): Likewise.
23964 (ctan_test_data): Likewise.
23965 (ctan_tonearest_test_data): Likewise.
23966 (ctan_towardzero_test_data): Likewise.
23967 (ctan_downward_test_data): Likewise.
23968 (ctan_upward_test_data): Likewise.
23969 (ctanh_test_data): Likewise.
23970 (ctanh_tonearest_test_data): Likewise.
23971 (ctanh_towardzero_test_data): Likewise.
23972 (ctanh_downward_test_data): Likewise.
23973 (ctanh_upward_test_data): Likewise.
23974 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23976 (func_calc_desc): Add mpc_c_c union field.
23977 (FUNC_mpc_c_c): New macro.
23978 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23979 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23981 (special_fill_min_subnorm_p120): New function.
23982 (special_real_inputs): Add min_subnorm_p120.
23983 (calc_generic_results): Handle mpc_c_c.
23984 * sysdeps/i386/fpu/libm-test-ulps: Update.
23985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23987 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23989 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23990 (do_sin_slow): New functions.
23991 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23992 (cslow2, csloww1, csloww2): Use the new functions.
23994 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23995 Use M to change sign of result instead of X. Assume X is
23997 (csloww1): Likewise.
24001 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24002 arguments A and DA.
24006 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24008 (sloww1): Don't adjust sign of DX.
24009 (csloww1): Likewise.
24010 (sloww2): Use X directly and don't adjust sign of DX.
24011 (csloww2): Likewise.
24013 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24015 * math/auto-libm-test-in: Add tests of cabs and carg.
24016 * math/auto-libm-test-out: Regenerated.
24017 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24018 (carg_test_data): Likewise.
24019 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24021 (func_calc_desc): Add mpc_c_f union field.
24022 (test_functions): Add cabs and carg.
24023 (calc_generic_results): Handle mpc_c_f.
24025 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24026 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24027 as a macro and a compat symbol.
24028 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24029 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24030 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24031 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24032 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24033 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24035 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24037 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24039 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24041 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24043 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24045 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24046 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24049 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24053 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24055 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24056 trailing whitespace removed.
24057 * scripts/config.guess: Update to version 2013-11-29.
24058 * scripts/config.sub: Update to version 2013-10-01.
24060 * math/auto-libm-test-in: Add tests of sincos.
24061 * math/auto-libm-test-out: Regenerated.
24062 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24063 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24065 (func_calc_desc): Add mpfr_f_11 union field.
24066 (test_functions): Add sincos.
24067 (calc_generic_results): Handle mpfr_f_11.
24068 * sysdeps/i386/fpu/libm-test-ulps: Update.
24069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24071 2013-12-19 Andreas Schwab <schwab@suse.de>
24073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24077 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24079 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24081 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24082 * sysdeps/i386/fpu/libm-test-ulps: Update.
24083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24086 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24087 round-to-nearest mode when using frndint.
24088 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24089 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24092 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24094 * math/auto-libm-test-out: Regenerated.
24095 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24096 (TEST_COND_x86): Likewise.
24097 (expm1_tonearest_test_data): New array.
24098 (expm1_test_tonearest): New function.
24099 (expm1_towardzero_test_data): New array.
24100 (expm1_test_towardzero): New function.
24101 (expm1_downward_test_data): New array.
24102 (expm1_test_downward): New function.
24103 (expm1_upward_test_data): New array.
24104 (expm1_test_upward): New function.
24105 (main): Run the new test functions.
24106 * sysdeps/i386/fpu/libm-test-ulps: Update.
24107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24109 * include/features.h: Update comment documenting feature test
24110 macros. Mention _DEFAULT_SOURCE in comment.
24111 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24112 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24113 _BSD_SOURCE and _SVID_SOURCE.
24114 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24115 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24116 !_SVID_SOURCE]: Likewise.
24117 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24118 (__USE_POSIX_IMPLICITLY): Define.
24119 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24120 (_POSIX_SOURCE): Undefine and redefine.
24121 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24122 (_POSIX_C_SOURCE): Likewise.
24123 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24124 (Feature Test Macros): Update documentation of default features.
24126 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24128 * benchtests/Makefile: Add bench-strtok.
24129 * benchtests/bench-strtok.c: New file: strtok benchtest.
24131 2013-12-19 Allan McRae <allan@archlinux.org>
24133 * manual/install.texi: Suppress menu for plain text output.
24134 * INSTALL: Regenerated.
24136 2013-12-18 Brooks Moses <bmoses@google.com>
24139 * misc/getauxval.c: Include errno.h.
24140 (__getauxval): Set errno to ENOENT if the requested type is not
24142 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24143 don't declare with __attribute_const__.
24144 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24145 * manual/startup.texi: Document that getauxval sets errno.
24147 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24149 * math/auto-libm-test-in: Add tests of jn and yn.
24150 * math/auto-libm-test-out: Regenerated.
24151 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24152 (yn_test_data): Likewise.
24153 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24155 (func_calc_desc): Add mpfr_if_f union field.
24156 (FUNC_mpfr_if_f): New macro.
24157 (test_functions): Add jn and yn.
24158 (calc_generic_results): Assert type of second input for
24159 mpfr_ff_f. Handle mpfr_if_f.
24160 (output_for_one_input_case): Disable all checking for arguments
24161 fitting floating-point types in case of an integer argument.
24162 * sysdeps/i386/fpu/libm-test-ulps: Update.
24163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24166 Don't expect fegetround reference in libm.so.
24168 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24170 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24171 $(config-cflags-nofma).
24173 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24175 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24176 * math/auto-libm-test-out: Regenerated.
24179 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24180 to determine exponent and adjust argument to have exponent of -1.
24181 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24183 * math/auto-libm-test-out: Regenerated.
24184 * sysdeps/i386/fpu/libm-test-ulps: Update.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24189 * manual/probes.texi: Remove cases when per-thread arenas are
24192 2013-12-18 Andreas Schwab <schwab@suse.de>
24194 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24195 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24196 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24197 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24198 * sysdeps/i386/i686/multiarch/Makefile: Update.
24199 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24201 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24203 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24204 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24206 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24209 Support TZ transition times < 00:00:00.
24210 This is needed for version-3 tz-format files; it supports time
24211 stamps past 2037 for America/Godthab (the only entry in the tz
24212 database for which this change is relevant).
24213 * manual/time.texi (TZ Variable): Document transition times
24214 from -167:59:59 through -00:00:01.
24215 * time/tzset.c (tz_rule): Time of day is now signed.
24216 (__tzset_parse_tz): Parse negative time of day.
24218 Document TZ transition times >= 25:00:00.
24219 * manual/time.texi (TZ Variable): Document transition times from
24220 25:00:00 through 167:59:59. These are already supported, and this
24221 support will help with version-3 tz-format files.
24223 * manual/time.texi (TZ Variable): Modernize North America example
24224 to reflect current (i.e., 2007-and-later) daylight saving rules.
24226 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24228 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24230 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24231 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24232 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24234 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24235 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24236 * sysdeps/unix/bsd/clock.c: Likewise.
24237 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24238 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24239 * sysdeps/unix/bsd/init-posix.c: Likewise.
24240 * sysdeps/unix/bsd/poll.c: Likewise.
24241 * sysdeps/unix/bsd/ptsname.c: Likewise.
24242 * sysdeps/unix/bsd/seekdir.c: Likewise.
24243 * sysdeps/unix/bsd/setegid.c: Likewise.
24244 * sysdeps/unix/bsd/seteuid.c: Likewise.
24245 * sysdeps/unix/bsd/setgid.c: Likewise.
24246 * sysdeps/unix/bsd/setrgid.c: Likewise.
24247 * sysdeps/unix/bsd/setruid.c: Likewise.
24248 * sysdeps/unix/bsd/setsid.c: Likewise.
24249 * sysdeps/unix/bsd/setuid.c: Likewise.
24250 * sysdeps/unix/bsd/sigaction.c: Likewise.
24251 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24252 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24253 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24254 * sysdeps/unix/bsd/telldir.c: Likewise.
24255 * sysdeps/unix/bsd/times.c: Likewise.
24256 * sysdeps/unix/bsd/usleep.c: Likewise.
24258 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24259 ($(objpfx)libbsd-compat.a): Remove rule.
24261 * include/features.h (__FAVOR_BSD): Do not define.
24262 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24263 features conflicting with POSIX.
24264 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24265 (_BSD_SOURCE): Remove description of not being a subset of other
24266 feature test macros.
24267 * manual/job.texi (getpgrp): Do not document BSD version.
24268 (getpgid): Do not document by reference to BSD getpgrp.
24269 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24270 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24271 * signal/signal.h [__FAVOR_BSD]: Likewise.
24272 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24273 instead of making contents conditional on [__FAVOR_BSD].
24274 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24276 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24280 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24283 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24284 values below 2**-450, not 2**-500.
24285 * math/auto-libm-test-in: Don't allow spurious underflow from
24287 * math/auto-libm-test-out: Regenerated.
24291 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24292 values of ha and hb and sort them after adjusting subnormal
24294 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24296 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24297 values of ea and eb and sort them after adjusting subnormal
24299 * math/auto-libm-test-in: Do not expect some hypot tests of
24300 subnormals to fail. Add more hypot tests.
24301 * math/auto-libm-test-out: Regenerated.
24303 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24306 * sysdeps/sh/s_fma.c: New file.
24307 * sysdeps/sh/s_fmaf.c: New file.
24308 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24310 * sysdeps/sh/Implies: Add sh/soft-fp.
24312 2013-12-16 Roland McGrath <roland@hack.frob.com>
24314 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24315 level of indirection to members `objname', `errstring', `malloced'.
24316 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24317 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24318 it as the __longjmp argument (just pass 1 instead).
24319 (_dl_catch_error): Initialize C with argument pointers and address of
24320 volatile local ERRCODE rather than copying values out of C at return.
24322 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24324 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24325 * math/auto-libm-test-out: Regenerated.
24326 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24327 (hypot_test_data): Likewise.
24328 (pow_test_data): Likewise.
24329 (pow_tonearest_test_data): Likewise.
24330 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24332 (func_calc_desc): Add mpfr_ff_f union field.
24333 (FUNC_mpfr_ff_f): New macro.
24334 (test_functions): Add atan2, hypot and pow.
24335 (special_fill_min): New function.
24336 (special_fill_minus_min): Likewise.
24337 (special_fill_min_subnorm): Likewise.
24338 (special_fill_minus_min_subnorm): Likewise.
24339 (special_real_inputs): Add min, -min, min_subnorm and
24341 (calc_generic_results): Handle mpfr_ff_f.
24342 * sysdeps/i386/fpu/libm-test-ulps: Update.
24343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24345 2013-12-16 Will Newton <will.newton@linaro.org>
24347 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24348 (Aligned Memory Blocks): Add documentation for aligned_alloc
24349 and suggest it as an alternative to posix_memalign.
24350 (Hooks for Malloc): Document __memalign_hook is also called
24351 for aligned_alloc. (Summary of Malloc): Add summary for
24352 aligned alloc. Document __memalign_hook is also called
24355 2013-12-16 Will Newton <will.newton@linaro.org>
24357 * manual/memory.texi (Malloc Examples): Clarify default
24358 alignment documentation. Suggest posix_memalign rather
24359 than memalign or valloc.
24360 (Aligned Memory Blocks): Remove suggestion to use memalign
24361 or valloc. Remove obsolete comment about BSD.
24362 Document memalign errno values and mark the function obsolete.
24363 Document posix_memalign returned error codes. Mark valloc
24364 as obsolete. (Hooks for Malloc): __memalign_hook is also
24365 called for posix_memalign and valloc.
24366 (Summary of Malloc): Add posix_memalign to function summary.
24367 __memalign_hook is also called for posix_memalign and valloc.
24369 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24371 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24375 (sloww): Use mynumber union. Expand ternary operator into
24376 if-else statements.
24377 (cslow): use mynumber union.
24379 2013-12-16 Allan McRae <allan@archlinux.org>
24381 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24382 * configure: Regenerated.
24384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24387 * configure.ac: Added --enable-maintainer-mode. Check for
24388 autoconf when enabled.
24389 * configure: Regenerated.
24391 * nscd/nscd.service: New file.
24392 * nscd/nscd.tmpfiles: New file.
24394 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24397 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24398 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24399 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24400 (strstr): Add __strstr_sse2_unaligned ifunc.
24401 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24402 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24403 (strcasestr): Remove __strcasestr_sse42 ifunc.
24404 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24408 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24410 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24411 * sysdeps/sh/bits/fenv.h: ... here.
24412 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24414 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24416 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24419 hypotf multiarch implementations.
24420 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24421 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24422 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24423 multiarch hypot for PPC64.
24424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24426 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24427 multiarch hypotf for PPC64.
24429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24430 modff multiarch implementations.
24431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24434 multiarch modf for PPC64.
24435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24438 multiarch modff for PPC64.
24440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24441 and logl multiarch implementations.
24442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24445 multiarch logb for PPC64.
24446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24449 multiarch logb for PPC64.
24450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24453 multiarch logb for PPC64.
24455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24456 isinff multiarch implementation.
24457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24461 multiarch isinf for PPC64.
24462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24465 multiarch isinff for PPC64.
24467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24468 finitef multiarch implementation.
24469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24473 multiarch finite for PPC64.
24474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24477 multiarch finitef for PPC64.
24479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24480 lrint multiarch implementation.
24481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24485 multiarch llrint for PPC64.
24486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24487 multiarch lrint for PPC64.
24489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24490 copysignf multiarch implementation.
24491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24496 multiarch copysign for PPC64.
24497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24498 multiarch copysignf for PPC64.
24500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24501 multiarch implementation.
24502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24510 multiarch llround for PPC64.
24511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24512 multiarch trunc for PPC64.
24513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24514 multiarch truncf for PPC64.
24516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24517 multiarch implementation.
24518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24526 multiarch llround for PPC64.
24527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24528 multiarch round for PPC64.
24529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24530 multiarch roundf for PPC64.
24532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24533 multiarch implementation.
24534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24542 multiarch llround for PPC64.
24543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24544 multiarch floor for PPC64.
24545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24546 multiarch floorf for PPC64.
24548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24549 multiarch implementation.
24550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24558 multiarch llround for PPC64.
24559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24560 multiarch ceil for PPC64.
24561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24562 multiarch ceilf for PPC64.
24564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24565 multiarch implementation.
24566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24573 multiarch llround for PPC64.
24574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24575 multiarch lround for PPC64.
24577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24578 multiarch implementation.
24579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24586 multiarch isnan for PPC64.
24587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24588 multiarch isnanf for PPC64.
24590 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24591 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24592 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24593 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24594 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24597 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24598 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24603 multiarch implementations.
24604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24605 (__libc_ifunc_impl_list): Likewise.
24606 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24607 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24608 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24609 multiarch stpcpy for PPC64.
24611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24612 multiarch implementations.
24613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24614 (__libc_ifunc_impl_list): Likewise.
24615 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24616 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24617 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24618 multiarch strcpy for PPC64.
24620 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24621 redefine function name.
24622 (_wordcopy_fwd_dest_aligned): Likewise.
24623 (_wordcopy_bwd_aligned): Likewise.
24624 (_wordcopy_bwd_dest_aligned): Likewise.
24625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24626 multiarch implementations.
24627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24628 (__libc_ifunc_impl_list): Likewise.
24629 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24631 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24632 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24633 multiarch wcscpy for PPC64.
24635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24636 multiarch implementations.
24637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24638 (__libc_ifunc_impl_list): Likewise.
24639 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24640 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24641 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24642 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24643 multiarch wcscpy for PPC64.
24645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24646 multiarch implementations.
24647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24648 (__libc_ifunc_impl_list): Likewise.
24649 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24650 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24651 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24652 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24653 multiarch wcsrchr for PPC64.
24655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24656 multiarch implementations.
24657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24658 (__libc_ifunc_impl_list): Likewise.
24659 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24660 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24661 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24662 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24663 multiarch wcschr for PPC64.
24665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24666 multiarch implementations.
24667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24668 (__libc_ifunc_impl_list): Likewise.
24669 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24670 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24671 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24672 multiarch strchrnul for PPC64.
24674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24677 (__libc_ifunc_impl_list): Likewise.
24678 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24679 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24680 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24681 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24687 (__libc_ifunc_impl_list): Likewise.
24688 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24689 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24690 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24691 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24695 multiarch implementations.
24696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24697 (__libc_ifunc_impl_list): Likewise.
24698 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24699 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24700 strncasecmp for PPC64.
24701 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24702 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24703 multiarch strncasecmp_l for PPC64.
24705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24706 multiarch implementations.
24707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24708 (__libc_ifunc_impl_list): Likewise.
24709 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24710 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24711 multiarch strcasecmp for PPC64.
24712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24714 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24715 multiarch strcasecmp_l for PPC64.
24717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24720 (__libc_ifunc_impl_list): Likewise.
24721 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24722 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24723 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24729 (__libc_ifunc_impl_list): Likewise.
24730 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24731 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24732 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24738 (__libc_ifunc_impl_list): Likewise.
24739 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24740 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24741 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24742 rawmemrchr for PPC64.
24744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24747 (__libc_ifunc_impl_list): Likewise.
24748 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24749 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24750 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24756 (__libc_ifunc_impl_list): Likewise.
24757 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24758 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24759 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24765 (__libc_ifunc_impl_list): Likewise.
24766 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24767 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24768 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24771 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24772 avoid cretion of __bzero symbol.
24773 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24775 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24777 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24780 multiarch implementations.
24781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24782 (__libc_ifunc_impl_list): Likewise.
24783 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24784 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24785 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24786 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24788 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24789 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24790 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24791 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24792 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24794 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24796 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24800 (__libc_ifunc_impl_list): Likewise.
24801 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24802 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24803 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24804 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24808 multiarch for POWER/PPC64.
24809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24810 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24811 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24812 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24813 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24817 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24820 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24821 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24822 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24823 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24824 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24825 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24826 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24827 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24828 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24829 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24830 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24831 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24832 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24833 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24834 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24843 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24847 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24849 * benchtests/Makefile (bench): Add exp2 and log2.
24850 (LDLIBS-bench-exp2): Add -lm.
24851 (LDLIBS-bench-log2): Likewise.
24852 * benchtests/exp2-inputs: New inputs file.
24853 * benchtests/log2-inputs: New inputs file.
24854 * benchtests/log-inputs: Add new inputs.
24855 * benchtests/tan-inputs: Likewise.
24857 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24859 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24861 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24862 (csloww2): ... from here.
24864 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24865 instead of structures.
24866 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24867 (POLYNOMIAL): Likewise.
24868 (TAYLOR_SLOW): Likewise.
24874 (sloww1); Likewise.
24875 (sloww2): Likewise.
24876 (bsloww1): Likewise.
24877 (bsloww2): Likewise.
24878 (cslow2): Likewise.
24879 (csloww): Likewise.
24880 (csloww1): Likewise.
24881 (csloww2): Likewise.
24883 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
24885 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24886 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24887 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24888 * malloc/hooks.c (realloc_check): Likewise.
24890 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24891 * malloc/arena.c: Remove PER_THREAD conditional.
24892 [!PER_THREAD]: Remove code.
24893 (ptmalloc_unlock_all2): Likewise.
24894 (ptmalloc_init): Likewise.
24895 (_int_new_arena): Likewise.
24896 (arena_get2): Likewise.
24897 * malloc/hooks.c (__malloc_get_state): Likewise.
24898 (__malloc_set_state): Likewise.
24899 * malloc/malloc.c: Likewise.
24900 (struct malloc_state): Likewise.
24901 (struct malloc_par): Likewise.
24902 (__libc_realloc): Likewise.
24903 (__libc_mallopt): Likewise.
24905 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24907 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24909 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
24911 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24912 macro to a function. Check for zero perturb_byte.
24913 (_int_malloc, _int_free): Remove zero perturb_byte checks.
24915 * malloc/malloc.c: (force_reg): Remove.
24916 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24917 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24918 force_reg by atomic_forced_read.
24919 * malloc/arena.c (ptmalloc_init): Likewise.
24920 * malloc/hooks.c (top_check): Likewise.
24922 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24926 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
24928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24930 2013-12-08 Joseph Myers <joseph@codesourcery.com>
24932 * math/auto-libm-test-in: Add tests of lgamma.
24933 * math/auto-libm-test-out: Regenerated.
24934 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24935 (M_LOG_2_SQRT_PIl): Likewise.
24936 (lgamma_test_data): Use AUTO_TESTS_f_f1.
24937 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24939 (func_calc_desc): Add mpfr_f_f1 union field.
24940 (ARGS1): New macro.
24948 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24949 (test_functions): Add lgamma.
24950 (calc_generic_results): Handle mpfr_f_f1.
24951 * sysdeps/i386/fpu/libm-test-ulps: Update.
24952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24954 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24956 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24957 __mpn_add_n for PowerPC64/POWER7.
24958 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24959 __mpn_sub_n for PowerPC64/POWER7.
24961 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24962 __mpn_addmul_1 for PowerPC64.
24963 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24964 __mpn_submul_1 for PowerPC64.
24965 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24967 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24970 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
24973 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24975 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24977 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24979 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24980 add multiarch folders.
24981 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24982 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24983 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24984 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24985 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24986 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24987 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24988 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24989 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24990 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24991 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25000 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25006 multiarch __ieee754_hypot for PowerPC32.
25007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25012 multiarch __ieee754_hypotf for PowerPC32.
25014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25015 long_double_symbol only if __logbl is defined.
25016 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25017 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25019 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25021 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25022 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25023 path for implementation.
25024 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25027 logb, and logbl multiarch implementations for PowerPC32.
25028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25033 multiarch logb for PowerPC32.
25034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25039 multiarch logbf for PowerPC32.
25040 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25044 multiarch logbl implementation for PowerPC32.
25046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25047 and modff multiarch implementations.
25048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25053 multiarch modf for PowerPC32.
25054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25059 multiarch modff for PowerPC32.
25061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25062 and lrintf multiarch implementations.
25063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25068 multiarch lrint for PowerPC32.
25069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25070 file: multiarch lrintf for PowerPC32.
25072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25073 and lroundf multiarch implementations.
25074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25081 multiarch lround for PowerPC32.
25082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25083 file: multiarch lroundf for PowerPC32.
25085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25086 copysign and copysignf multiarch implementations.
25087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25092 file: multiarch copysign for PowerPC32.
25093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25094 file: multiarch copysignf for PowerPC32.
25096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25097 and truncf multiarch implementations.
25098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25103 multiarch trunc for PowerPC32.
25104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25109 multiarch truncf for PowerPC32.
25111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25112 and roundf multiarch implementations.
25113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25118 multiarch round for PowerPC32.
25119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25124 multiarch roundf for PowerPC32.
25126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25127 and floorf multiarch implementations.
25128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25133 multiarch floor for PowerPC32.
25134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25139 multiarch floorf for PowerPC32.
25141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25142 and ceilf multiarch implementations.
25143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25148 multiarch ceil for PowerPC32.
25149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25154 multiarch ceilf for PowerPC32.
25156 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25158 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25159 FINITEF is defined.
25160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25161 and finitef multiarch implementations.
25162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25167 multiarch finite for PowerPC32.
25168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25171 file: multiarch finitef for PowerPC32.
25173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25174 and isinff multiarch implementations.
25175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25180 multiarch isinf for PowerPC32.
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25184 multiarch isinff for PowerPC32.
25186 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25187 alias when __isnan is defined.
25188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25189 and isnanf multiarch implementations.
25190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25199 multiarch isnan for PowerPC32.
25200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25205 multiarch isnanf for PowerPC32.
25207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25208 and sqrtf multiarch implementations.
25209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25214 multiarch sqrt for PowerPC32.
25215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25220 multiarch sqrtf for PowerPC32.
25222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25223 and llroundf multiarch implementations.
25224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25231 file: multiarch llround for PowerPC32.
25232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25233 file: multiarch llroundf for PowerPC32.
25235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25236 multiarch PowerPC32 fpu implementations.
25237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25242 multiarch llrint for PowerPC32.
25243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25252 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25254 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25256 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25258 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25259 multiarch wordcopy for PPC32.
25260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25263 (__libc_ifunc_impl_list): Likewise.
25264 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25265 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25266 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25267 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25269 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25271 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25279 multiarch wcscpy for PPC32.
25280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25283 (__libc_ifunc_impl_list): Likewise.
25284 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25285 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25286 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25287 sysdeps/powerpc/power6/wcscpy.c.
25289 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25297 multiarch wcsrchr for PPC32.
25298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25301 (__libc_ifunc_impl_list): Likewise.
25302 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25303 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25304 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25305 sysdeps/powerpc/power6/wcsrchr.c.
25307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25313 multiarch wcschr for PPc32.
25314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25317 (__libc_ifunc_impl_list): Likewise.
25318 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25319 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25320 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25321 sysdeps/powerpc/power6/wcschr.c.
25323 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25324 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25326 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25327 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25328 file: multiarch strchr for PPC32.
25329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25332 (__libc_ifunc_impl_list): Likewise.
25334 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25336 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25341 multiarch strchrnul for PPC32.
25342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25345 (__libc_ifunc_impl_list): Likewise.
25347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25349 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25350 multiarch strncasecmp for PPC32.
25351 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25354 multiarch strncasecmp_l for PPC32.
25355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25356 strncasecmp multiarch objects.
25357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25358 (__libc_ifunc_impl_list): Likewise.
25360 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25362 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25363 multiarch strncasecmp for PPC32.
25364 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25366 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25367 multiarch strcasecmp_l for PPC32.
25368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25371 (__libc_ifunc_impl_list): Likewise.
25373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25375 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25377 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25378 multiarch strncmp for PPC32.
25379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25382 (__libc_ifunc_impl_list): Likewise.
25384 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25385 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25387 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25388 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25392 (__libc_ifunc_impl_list): Likewise.
25394 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25396 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25398 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25402 (__libc_ifunc_impl_list): Likewise.
25404 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25406 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25408 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25409 multiarch rawmemchr for PPC32.
25410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25413 (__libc_ifunc_impl_list): Likewise.
25415 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25417 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25419 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25420 file: memrchr multiarch for PPC32.
25421 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25423 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25424 (__libc_ifunc_impl_list): Likewise.
25426 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25427 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25429 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25430 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25431 multiarch memchr for PPC32.
25432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25435 (__libc_ifunc_impl_list): Likewise.
25437 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25438 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25440 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25442 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25443 file: multiarch mempcpy for PPC32.
25444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25447 (__libc_ifunc_impl_list): Likewise.
25449 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25450 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25451 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25452 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25453 multiarch bzero for PPC32.
25454 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25456 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25458 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25459 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25460 file: multiarch memset for PPC32.
25461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25463 memset multiarch objects.
25464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25465 (__libc_ifunc_impl_list): Likewise.
25467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25469 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25470 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25472 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25476 (__libc_ifunc_impl_list): Likewise.
25478 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25480 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25487 multiarch memcpy for PPC32.
25488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25491 (__libc_ifunc_impl_list): Likewise.
25493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25494 support multiarch for POWER/PPC32.
25495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25497 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25499 Implies file to make multiarch folder appers before the fpu and
25500 default folder for power4 configuration.
25502 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25504 * scripts/bench.pl: Append volatile keyword to type.
25506 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25508 * sysdeps/sh/sotruss-lib.c: New file.
25509 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25511 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25515 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25518 * math/w_tgamma.c: Include <errno.h>.
25519 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25520 * math/w_tgammaf.c: Include <errno.h>.
25521 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25522 * math/w_tgammal.c: Include <errno.h>.
25523 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25524 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25525 underflow. Add more tgamma tests.
25526 * math/auto-libm-test-out: Regenerated.
25527 * sysdeps/i386/fpu/libm-test-ulps: Update.
25528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25530 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25531 sin, sinh, tan, tanh, tgamma, y0 and y1.
25532 * math/auto-libm-test-out: Regenerated.
25533 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25534 (TEST_COND_x86): Likewise.
25535 (M_E2l): Remove macro.
25537 (M_2_SQRT_PIl): Likewise.
25538 (M_SQRT_PIl): Likewise.
25539 (M_1_DIV_El): Likewise.
25540 (log_test_data): Use AUTO_TESTS_f_f.
25541 (log10_test_data): Likewise.
25542 (log1p_test_data): Likewise.
25543 (log2_test_data): Likewise.
25544 (sin_test_data): Likewise.
25545 (sin_tonearest_test_data): Likewise.
25546 (sin_towardzero_test_data): Likewise.
25547 (sin_downward_test_data): Likewise.
25548 (sin_upward_test_data): Likewise.
25549 (sinh_test_data): Likewise.
25550 (sinh_tonearest_test_data): Likewise.
25551 (sinh_towardzero_test_data): Likewise.
25552 (sinh_downward_test_data): Likewise.
25553 (sinh_upward_test_data): Likewise.
25554 (tan_test_data): Likewise.
25555 (tan_tonearest_test_data): Likewise.
25556 (tan_towardzero_test_data): Likewise.
25557 (tan_downward_test_data): Likewise.
25558 (tan_upward_test_data): Likewise.
25559 (tanh_test_data): Likewise.
25560 (tgamma_test_data): Likewise.
25561 (y0_test_data): Likewise.
25562 (y1_test_data): Likewise.
25563 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25564 (special_real_inputs): Add pi/4.
25565 * sysdeps/i386/fpu/libm-test-ulps: Update.
25566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25568 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25570 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25571 "longjmp_target" static probes.
25572 (__longjmp): Rename to __longjmp_symbol.
25573 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25574 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25575 on which longjmp to generate.
25576 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25577 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25579 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25580 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25581 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25582 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25583 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25584 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25586 __longjmp_symbol based on which __longjmp to generate.
25587 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25589 (setjmp): Rename to setjmp_symbol.
25590 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25591 (_setjmp): Rename to _setjmp_symbol.
25592 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25593 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25594 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25595 which setjmp to generate.
25596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25597 "longjmp_target" static probes.
25599 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25601 * benchtests/README: Add note about output arguments.
25602 * benchtests/bench-sincos.c: Remove file.
25603 * benchtests/sincos-inputs: New file.
25604 * scripts/bench.pl: Identify output arguments and define
25605 static variables for them.
25607 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25610 * Makefile (INSTALL): Add install-plain.texi as the primary
25612 * manual/install-plain.texi: New file.
25613 * manual/install.texi: Include node directive only for
25614 non-plaintext output.
25616 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25618 * stdlib/longlong.h: Update from GCC.
25622 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25623 * math/w_j0f.c (y0f): Likewise.
25624 * math/w_j0l.c (__y0l): Likewise.
25625 * math/w_j1.c (y1): Likewise.
25626 * math/w_j1f.c (y1f): Likewise.
25627 * math/w_j1l.c (__y1l): Likewise
25628 * math/w_jn.c (yn): Likewise.
25629 * math/w_jnf.c (ynf): Likewise.
25630 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25631 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25632 value for Bessel function domain errors outside _SVID_ mode.
25633 Adjust sign of return value for yn (negative integer, 0).
25634 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25635 by zero in return for negative x and set sign appropriately for
25637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25638 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25639 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25640 expectations in error cases.
25641 (y1_test_data): Likewise.
25642 (yn_test_data): Likewise.
25643 * sysdeps/i386/fpu/libm-test-ulps: Update.
25644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25646 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25648 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25649 "64" to "64-v1". Add "64-v2".
25650 (abi-64-options): Rename to ...
25651 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25652 (abi-64-condition): Rename to ...
25653 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25654 (abi-64-ld-soname): Rename to ...
25655 (abi-64-v1-ld-soname): ... this.
25656 (abi-64-v2-options): Define.
25657 (abi-64-v2-condition): Likewise.
25658 (abi-64-v2-ld-soname): Likewise.
25659 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25660 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25665 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25666 Alan Modra <amodra@gmail.com>
25668 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25669 New versions for use with the ELFv2 ABI.
25670 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25671 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25673 (struct La_ppc64v2_retval): Likewise.
25674 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25675 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25676 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25677 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25678 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25679 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25680 Do not save or restore CR.
25681 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25682 (_dl_profile_resolve): Do no save or restore CR. Support extended
25683 return values for ELFv2 ABI. Fix location of FPR return registers.
25684 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25685 updated values for _CALL_ELF == 2.
25686 (La_regs, La_retval, int_retval): Likewise.
25688 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25690 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25691 (FRAME_MIN_SIZE_PARM): Likewise.
25692 (FRAME_BACKCHAIN): Likewise.
25693 (FRAME_CR_SAVE): Likewise.
25694 (FRAME_LR_SAVE): Likewise.
25695 (FRAME_TOC_SAVE): Likewise.
25696 (FRAME_PARM_SAVE): Likewise.
25697 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25698 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25699 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25700 (call_mcount_parm_offset): New macro.
25701 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25702 (PROF): Use symbolic stack frame offsets.
25703 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25704 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25705 Redefine in terms of FRAME_MIN_SIZE.
25706 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25707 (_dl_profile_resolve): Likewise. Update comment.
25708 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25709 symbols stack frame offsets.
25710 (__sigsetjmp): Likewise.
25711 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25712 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25713 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25714 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25717 (FRAME_BACKCHAIN): Remove.
25718 (FRAME_CR_SAVE): Likewise.
25719 (FRAME_LR_SAVE): Likewise.
25720 (FRAME_COMPILER_DW): Likewise.
25721 (FRAME_LINKER_DW): Likewise.
25722 (FRAME_TOC_SAVE): Likewise.
25723 (FRAME_PARM_SAVE): Likewise.
25724 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25725 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25726 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25728 (CHECK_SP): Use symbolic stack frame offsets.
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25730 zone" instead of caller's parameter save area for temp storage.
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25732 Likewise. Also, use symbolic stack frame offsets.
25733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25734 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25735 our own stack frame instead of the caller's.
25736 (__socket): Use symbolic stack frame offsets.
25738 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25739 Alan Modra <amodra@gmail.com>
25741 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25743 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25744 (PPC64_LOCAL_ENTRY_OFFSET): Define.
25745 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25747 (elf_machine_fixup_plt): Call it.
25748 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25750 (elf_machine_rela): Update call to elf_machine_plt_conflict.
25751 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25752 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25753 r2 before calling target.
25755 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25756 Alan Modra <amodra@gmail.com>
25758 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25759 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25760 versions of macros to support ELFv2 ABI.
25761 (LOCALENTRY): New macro.
25762 (ENTRY, EALIGN): Use it.
25763 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25764 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25765 fall through into ENTRY entry point.
25766 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25767 Only define if _CALL_ELF != 2.
25769 (elf_machine_matches_host): Verify ABI version matches.
25770 (RTLD_START): Use LOCALENTRY.
25771 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25772 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25773 (PLT_ENTRY_WORDS): New macro.
25774 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25775 (elf_machine_runtime_setup): Support ELFv2 ABI.
25776 (elf_machine_fixup_plt): Likewise.
25777 (elf_machine_plt_conflict): Likewise.
25778 (resolve_ifunc): Likewise.
25779 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25780 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25783 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25785 (makecontext): Support ELFv2 ABI.
25786 * elf/elf.h (EF_PPC64_ABI): Define.
25788 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25790 * sysdeps/powerpc/powerpc64/sysdep.h
25791 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25792 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25793 (ENTRY) [ASSEMBLER]: ... but instead here ...
25794 (EALIGN) [ASSEMBLER]: ... and here.
25795 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25796 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25797 (ENTRY_2) [!ASSEMBLER]: Use it.
25798 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25799 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
25800 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25801 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25802 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25804 Use PPC64_LOAD_FUNCPTR.
25806 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25808 2013-12-04 Alan Modra <amodra@gmail.com>
25810 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25811 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25812 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25813 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25815 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25816 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25817 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25818 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25819 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25820 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25822 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25825 (__makecontext): Fix incorrect CFI when backtracing out of
25826 context created via makecontext.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25828 (__setcontext): Fix incorrect CFI during switch to new context.
25829 (__novec_setcontext): Likewise.
25831 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25834 * time/strptime_l.c (__strptime_internal): Allow modifiers
25836 * time/tst-strptime.c (day_tests): Add testcase.
25838 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25840 * scripts/bench.pl: Skip over blank lines.
25842 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
25845 * manual/time.texi (Calendar Time): Clarify what timezone functions
25848 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25852 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
25854 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25856 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25857 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25858 * debug/memset_chk.c (__memset_chk): Likewise.
25859 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25860 * debug/strncpy_chk.c: Likewise.
25862 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25866 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25867 (__ieee754_exp): For possibly underflowing results, check size of
25868 result and force underflow exception if required.
25869 * math/auto-libm-test-in: Add more tests of exp.
25870 * math/auto-libm-test-out: Regenerated.
25871 * sysdeps/i386/fpu/libm-test-ulps: Update.
25872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25875 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25876 * math/w_exp2f.c (__exp2f): Likewise.
25877 * math/w_exp2l.c (__exp2l): Likewise.
25878 * math/auto-libm-test-in: Do not allow missing errno on exp2
25880 * math/auto-libm-test-out: Regenerated.
25882 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
25885 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25886 handle filename validation.
25887 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25890 2013-12-03 Joseph Myers <joseph@codesourcery.com>
25893 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25894 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25895 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25897 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25899 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25901 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25902 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25903 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25904 * math/auto-libm-test-in: Don't allow missing errno from erfc.
25905 Add more erfc tests.
25906 * math/auto-libm-test-out: Regenerated.
25907 * sysdeps/i386/fpu/libm-test-ulps: Update.
25908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25910 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25911 exp2, expm1, j0 and j1.
25912 * math/auto-libm-test-out: Regenerated.
25913 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25914 (erfc_test_data): Likewise.
25915 (exp_test_data): Likewise.
25916 (exp_tonearest_test_data): Likewise.
25917 (exp_towardzero_test_data): Likewise.
25918 (exp_downward_test_data): Likewise.
25919 (exp_upward_test_data): Likewise.
25920 (exp10_test_data): Likewise.
25921 (exp2_test_data): Likewise.
25922 (expm1_test_data): Likewise.
25923 (j0_test_data): Likewise.
25924 (j1_test_data): Likewise.
25925 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25926 (input_flag_type): Add flag_xfail_rounding.
25927 (input_flags): Add xfail-rounding.
25928 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25929 (output_for_one_input_case): Handle flag_xfail_rounding.
25930 * sysdeps/i386/fpu/libm-test-ulps: Update.
25931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25933 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
25936 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25939 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25942 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25943 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25944 (STAP_PROBE0): New macro.
25945 (STAP_PROBE1): Likewise.
25946 (STAP_PROBE2): Likewise.
25947 (STAP_PROBE3): Likewise.
25948 (STAP_PROBE4): Likewise.
25950 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
25952 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25954 2013-12-02 Steve Ellcey <sellcey@mips.com>
25956 * benchtests/Makefile (bench): Add sqrt.
25957 (LDLIBS-bench-sqrt): New.
25958 * benchtests/sqrt-input: New.
25960 2013-12-02 Pavel Simerda <psimerda@redhat.com>
25962 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25963 (GAIH_EAI): Likewise.
25964 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25965 (gaih_inet): Likewise.
25966 (getaddrinfo): Don't use GAIH_EAI.
25968 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25969 (struct gaih): Remove definition.
25971 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25973 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25974 Use HERRNOP directly.
25976 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25980 2013-11-30 Joseph Myers <joseph@codesourcery.com>
25982 * math/gen-auto-libm-tests.c (test_functions): Add more
25983 single-argument functions.
25984 (special_fill_pi_2): New function.
25985 (special_fill_minus_pi_2): Likewise.
25986 (special_fill_pi_6): Likewise.
25987 (special_fill_minus_pi_6): Likewise.
25988 (special_fill_pi_3): Likewise.
25989 (special_fill_2pi_3): Likewise.
25990 (special_fill_e): Likewise.
25991 (special_fill_1_e): Likewise.
25992 (special_fill_e_minus_1): Likewise.
25993 (special_real_inputs): Add more special inputs.
25994 (output_for_one_input_case): Do not require ERANGE on underflow to
25995 zero if round-to-nearest result does not underflow to zero, unless
25996 exact results required.
25997 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25998 atan, atanh, cbrt, cos and cosh.
25999 * math/auto-libm-test-out: Regenerated.
26000 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26001 (acos_tonearest_test_data): Likewise.
26002 (acos_towardzero_test_data): Likewise.
26003 (acos_downward_test_data): Likewise.
26004 (acos_upward_test_data): Likewise.
26005 (acosh_test_data): Likewise.
26006 (asin_test_data): Likewise.
26007 (asin_tonearest_test_data): Likewise.
26008 (asin_towardzero_test_data): Likewise.
26009 (asin_upward_test_data): Likewise.
26010 (asinh_test_data): Likewise.
26011 (atan_test_data): Likewise.
26012 (atanh_test_data): Likewise.
26013 (cbrt_test_data): Likewise.
26014 (cos_test_data): Likewise.
26015 (cos_tonearest_test_data): Likewise.
26016 (cos_towardzero_test_data): Likewise.
26017 (cos_downward_test_data): Likewise.
26018 (cos_upward_test_data): Likewise.
26019 (cosh_test_data): Likewise.
26020 (cosh_tonearest_test_data): Likewise.
26021 (cosh_towardzero_test_data): Likewise.
26022 (cosh_downward_test_data): Likewise.
26023 (cosh_upward_test_data): Likewise.
26024 * sysdeps/i386/fpu/libm-test-ulps: Update.
26025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26027 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26030 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26031 * math/w_exp10f.c (__exp10f): Likewise.
26032 * math/w_exp10l.c (__exp10l): Likewise.
26033 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26034 errno settings in existing tests.
26037 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26038 precision control set to double precision.
26039 * sysdeps/i386/fpu/w_sqrt.c: New file.
26040 * math/auto-libm-test-in: Add more tests.
26041 * math/auto-libm-test-out: Update.
26043 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26044 (sqrt_test_tonearest): New function.
26045 (sqrt_towardzero_test_data): New variable.
26046 (sqrt_test_towardzero): New function.
26047 (sqrt_downward_test_data): New variable.
26048 (sqrt_test_downward): New function.
26049 (sqrt_upward_test_data): New variable.
26050 (sqrt_test_upward): New function.
26051 (main): Call the new functions.
26053 * math/gen-auto-libm-tests.c: New file.
26054 * math/auto-libm-test-in: Likewise.
26055 * math/auto-libm-test-out: New generated file.
26056 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26058 (%beautify): Add generated representations of zero.
26059 (top level): Set $auto_input and call parse_auto_input.
26060 (beautify): Remove trailing "f" from hex float constants.
26061 (parse_args): Handle XFAIL_TEST.
26062 (convert_condition): New function.
26063 (or_value): Likewise.
26064 (or_cond_value): Likewise.
26065 (generate_testfile): Handle AUTO_TESTS_* lines.
26066 (parse_auto_input): New function.
26067 * math/libm-test.inc (XFAIL_TEST): New macro.
26068 (ERRNO_UNCHANGED): Update value.
26069 (ERRNO_EDOM): Likewise.
26070 (ERRNO_ERANGE): Likewise.
26071 (IGNORE_RESULT): Likewise.
26072 (TEST_COND_flt_32): New macro.
26073 (TEST_COND_dbl_64): Likewise.
26074 (TEST_COND_ldbl_96_intel): Likewise.
26075 (TEST_COND_ldbl_96_m68k): Likewise.
26076 (TEST_COND_ldbl_128): Likewise.
26077 (TEST_COND_ldbl_128ibm): Likewise.
26078 (TEST_COND_long32): Likewise.
26079 (TEST_COND_long64): Likewise.
26080 (TEST_COND_before_rounding): Likewise.
26081 (TEST_COND_after_rounding): Likewise.
26082 (enable_test): Handle XFAIL_TEST flag.
26083 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26084 with finite results.
26085 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26086 auto-libm-test-out.
26088 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26089 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26092 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26093 __tls_get_addr_internal instead of __tls_get_offset in order to
26094 avoid GOT pointer dependency. Make rtld export
26095 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26096 __tls_get_addr since we are a __tls_get_offset platform.
26097 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26098 GOT pointer being set up before.
26099 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26101 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26103 * manual/math.texi (Errors in Math Functions): Document accuracy
26107 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26108 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26109 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26111 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26113 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26114 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26120 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26121 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26122 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26124 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26125 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26126 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26127 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26128 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26130 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26132 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26134 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26136 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26137 atomic-feupdateenv and flt-rounds.
26138 * sysdeps/powerpc/nofpu/Versions (libc): Add
26139 __atomic_feholdexcept, __atomic_feclearexcept,
26140 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26141 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26142 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26143 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26144 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26149 * manual/arith.texi (FP Exceptions): Document that exceptions may
26150 not be raised when matherr is used.
26151 (Math Error Reporting): Document overflow in directed rounding
26152 modes. Document that errno may not be set when finite values are
26153 returned on overflow. Document intent to set errno on underflow
26154 only for underflow to zero.
26157 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26158 round-to-nearest then adjust result for other rounding modes.
26159 * include/fenv.h (fegetround): Use libm_hidden_proto.
26160 * math/fegetround.c (fegetround): Use libm_hidden_def.
26161 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26162 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26163 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26164 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26166 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26167 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26168 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26169 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26171 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26174 * nss/Versions (libnss_files): Add
26175 _nss_files_gethostbyname3_r.
26176 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26178 (HOST_DB_LOOKUP): Remove macro.
26179 (_nss_files_gethostbyname_r): Implement function without the
26180 HOST_DB_LOOKUP macro.
26181 (_nss_files_gethostbyname2_r): Likewise.
26183 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26185 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26187 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26189 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26190 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26193 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26195 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26196 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26197 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26198 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26199 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26200 __fe_nomask_env_priv and attribute_hidden.
26201 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26202 (libc_feupdateenv_test_ppc): Likewise.
26203 (libc_feresetround_ppc): Likewise.
26204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26205 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26206 compat_symbol macro.
26207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26208 (__fe_nomask_env): Likewise.
26209 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26211 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26213 * string/Makefile: Remove ifunc tests.
26214 * string/test-string.h: Define TEST_IFUNC.
26215 * string/test-bcopy-ifunc.c: Remove.
26216 * string/test-bzero-ifunc.c: Likewise.
26217 * string/test-memccpy-ifunc.c: Likewise.
26218 * string/test-memchr-ifunc.c: Likewise.
26219 * string/test-memcmp-ifunc.c: Likewise.
26220 * string/test-memcpy-ifunc.c: Likewise.
26221 * string/test-memmem-ifunc.c: Likewise.
26222 * string/test-memmove-ifunc.c: Likewise.
26223 * string/test-mempcpy-ifunc.c: Likewise.
26224 * string/test-memrchr-ifunc.c: Likewise.
26225 * string/test-memset-ifunc.c: Likewise.
26226 * string/test-rawmemchr-ifunc.c: Likewise.
26227 * string/test-stpcpy-ifunc.c: Likewise.
26228 * string/test-stpncpy-ifunc.c: Likewise.
26229 * string/test-strcasecmp-ifunc.c: Likewise.
26230 * string/test-strcasestr-ifunc.c: Likewise.
26231 * string/test-strcat-ifunc.c: Likewise.
26232 * string/test-strchr-ifunc.c: Likewise.
26233 * string/test-strchrnul-ifunc.c: Likewise.
26234 * string/test-strcmp-ifunc.c: Likewise.
26235 * string/test-strcpy-ifunc.c: Likewise.
26236 * string/test-strcspn-ifunc.c: Likewise.
26237 * string/test-strlen-ifunc.c: Likewise.
26238 * string/test-strncasecmp-ifunc.c: Likewise.
26239 * string/test-strncat-ifunc.c: Likewise.
26240 * string/test-strncmp-ifunc.c: Likewise.
26241 * string/test-strncpy-ifunc.c: Likewise.
26242 * string/test-strnlen-ifunc.c: Likewise.
26243 * string/test-strpbrk-ifunc.c: Likewise.
26244 * string/test-strrchr-ifunc.c: Likewise.
26245 * string/test-strspn-ifunc.c: Likewise.
26246 * string/test-strstr-ifunc.c: Likewise.
26248 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26250 * benchtests/Makefile: Remove ifunc tests.
26251 * benchtests/bench-string.h: Define TEST_IFUNC.
26252 * benchtests/bench-bcopy-ifunc.c: Remove.
26253 * benchtests/bench-bzero-ifunc.c: Likewise.
26254 * benchtests/bench-memccpy-ifunc.c: Likewise.
26255 * benchtests/bench-memchr-ifunc.c: Likewise.
26256 * benchtests/bench-memcmp-ifunc.c: Likewise.
26257 * benchtests/bench-memcpy-ifunc.c: Likewise.
26258 * benchtests/bench-memmem-ifunc.c: Likewise.
26259 * benchtests/bench-memmove-ifunc.c: Likewise.
26260 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26261 * benchtests/bench-memrchr-ifunc.c: Likewise.
26262 * benchtests/bench-memset-ifunc.c: Likewise.
26263 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26264 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26265 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26266 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26267 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26268 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26269 * benchtests/bench-strcat-ifunc.c: Likewise.
26270 * benchtests/bench-strchr-ifunc.c: Likewise.
26271 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26272 * benchtests/bench-strcmp-ifunc.c: Likewise.
26273 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26274 * benchtests/bench-strcpy-ifunc.c: Likewise.
26275 * benchtests/bench-strcspn-ifunc.c: Likewise.
26276 * benchtests/bench-strlen-ifunc.c: Likewise.
26277 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26278 * benchtests/bench-strncat-ifunc.c: Likewise.
26279 * benchtests/bench-strncmp-ifunc.c: Likewise.
26280 * benchtests/bench-strncpy-ifunc.c: Likewise.
26281 * benchtests/bench-strnlen-ifunc.c: Likewise.
26282 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26283 * benchtests/bench-strrchr-ifunc.c: Likewise.
26284 * benchtests/bench-strsep-ifunc.c: Likewise.
26285 * benchtests/bench-strspn-ifunc.c: Likewise.
26286 * benchtests/bench-strstr-ifunc.c: Likewise.
26288 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26290 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26292 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26294 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26295 * rt/aio.h: Likewise.
26296 * sysdeps/gnu/bits/utmp.h: Likewise.
26297 * sysdeps/gnu/bits/utmpx.h: Likewise.
26298 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26299 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26300 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26301 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26302 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26303 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26304 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26305 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26306 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26307 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26308 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26309 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26310 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26312 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26313 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26314 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26315 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26316 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26317 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26318 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26319 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26320 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26321 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26322 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26324 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26325 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26326 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26327 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26328 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26329 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26330 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26331 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26332 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26333 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26334 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26335 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26336 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26337 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26338 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26339 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26341 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26344 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26345 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26347 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26349 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26350 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26353 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26356 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26357 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26358 (__fesetround): Remove define.
26359 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26360 rounding and exceptions handling.
26361 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26362 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26363 (__fe_nomask_env): Likewise.
26364 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26365 __fegetround instead of fegetround.
26366 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26369 2013-11-21 Roland McGrath <roland@hack.frob.com>
26371 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26374 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26376 2013-11-21 Meador Inge <meadori@codesourcery.com>
26379 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26380 (encrypt_r): Likewise.
26381 * malloc/obstack.h (obstack_free): Likewise.
26382 * posix/unistd.h (encrypt): Likewise.
26384 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26386 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26387 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26388 DL_CALL_DT_FINI() that call the functions directly.
26389 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26390 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26391 * elf/dl-fini.c: Likewise.
26393 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26395 * malloc/hooks.c (memalign_check): Add alignment rounding.
26396 * malloc/malloc.c (_mid_memalign): New function.
26397 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26398 Implement by calling _mid_memalign.
26399 * manual/probes.texi (Memory Allocation Probes): Remove
26400 memory_valloc_retry and memory_pvalloc_retry.
26402 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26404 * locale/programs/locarchive.c (open_archive): Add const
26405 qualifier to ARCHIVEFNAME and copy default fname to
26409 * libio/tst-widetext.input: Rename Oriya to Odia.
26410 * locale/iso-639.def: Likewise.
26412 * manual/probes.texi (Mathematical Function Probes): Add
26413 documentation for sin, cos, asin and acos probes.
26414 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26415 (__sin32): Add slowasin probe.
26416 (__cos32): Add slowacos probe.
26417 (__mpsin): Add slowsin probe.
26418 (__mpcos): Add slowcos probe.
26420 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26423 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26424 thread-local __sim_exceptions_thread and global
26425 __sim_exceptions_global.
26426 (__sim_disabled_exceptions): Change to thread-local
26427 __sim_disabled_exceptions_thread and global
26428 __sim_disabled_exceptions_global.
26429 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26430 and global __sim_round_mode_global.
26431 (__simulate_exceptions): Use thread-local floating-point state and
26432 set global state from it as needed.
26433 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26434 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26435 __sim_round_mode_thread.
26436 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26437 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26438 and global __sim_exceptions_global.
26439 (__sim_disabled_exceptions): Change to thread-local
26440 __sim_disabled_exceptions_thread and global
26441 __sim_disabled_exceptions_global.
26442 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26443 and global __sim_round_mode_global.
26444 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26445 (SIM_SET_GLOBAL): Likewise.
26446 * sysdeps/powerpc/soft-fp/sfp-machine.h
26447 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26448 __sim_round_mode_thread.
26449 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26450 __sim_disabled_exceptions_thread.
26451 (__sim_exceptions): Change to __sim_exceptions_thread.
26452 (__sim_disabled_exceptions): Change to
26453 __sim_disabled_exceptions_thread.
26454 (__sim_round_mode): Change to __sim_round_mode_thread.
26455 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26456 thread-local floating-point state and set global state from it as
26458 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26459 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26460 (__sim_disabled_exceptions): Remove extern declaration.
26461 (feenableexcept): Use thread-local floating-point state and set
26462 global state from it as needed.
26463 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26464 extern declaration.
26465 (__sim_disabled_exceptions): Likewise.
26466 (__sim_round_mode): Likewise.
26467 (__fegetenv): Use thread-local floating-point state.
26468 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26469 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26470 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26471 floating-point state and set global state from it as needed.
26472 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26473 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26474 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26476 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26477 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26479 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26480 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26481 Use __sim_round_mode_thread.
26482 * math/test-fenv-tls.c: New file.
26483 * math/Makefile (tests): Add test-fenv-tls.
26484 ($(objpfx)test-fenv-tls): Depend on
26485 $(common-objpfx)nptl/libpthread.so.
26487 2013-11-19 Andreas Schwab <schwab@suse.de>
26489 * locale/programs/locale.c (show_info): Decode wordarray elements.
26490 * locale/categories.def (LC_MONETARY): Add element for
26491 _NL_MONETARY_CRNCYSTR.
26492 * locale/C-monetary.c (conversion_rate): New variable.
26493 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26496 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26498 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26499 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26501 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26503 * elf/Makefile (tst-auxv): New test.
26504 * elf/tst-auxv.c: New
26505 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26507 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26509 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26510 (hidden_proto): Caller changed.
26511 (hidden_tls_proto): New macro.
26512 (libc_hidden_tls_proto): Likewise.
26513 (rtld_hidden_tls_proto): Likewise.
26514 (libm_hidden_tls_proto): Likewise.
26515 (libresolv_hidden_tls_proto): Likewise.
26516 (librt_hidden_tls_proto): Likewise.
26517 (libdl_hidden_tls_proto): Likewise.
26518 (libnss_files_hidden_tls_proto): Likewise.
26519 (libnsl_hidden_tls_proto): Likewise.
26520 (libnss_nisplus_hidden_tls_proto): Likewise.
26521 (libutil_hidden_tls_proto): Likewise.
26523 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26526 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26527 (decompose_rpath): Defer expansion to fillin_rpath.
26528 (_dl_init_paths): Pass linkmap to fillin_rpath.
26530 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26532 * benchtests/Makefile: Add strsep.
26533 * benchtests/bench-strsep.c: New file: strsep benchtest.
26534 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26536 2013-11-18 Andreas Schwab <schwab@suse.de>
26538 * locale/programs/locale.c (show_info) [case byte]: Check for
26539 '\377' instead of '\177'.
26540 * locale/C-monetary.c (not_available): Always use "\377".
26541 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26542 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26543 detect unavailable sign_posn locale elements.
26544 * locale/localeconv.c (__localeconv): For grouping and
26545 mon_grouping handle "\177" and "\377" like no grouping.
26546 (INT_ELEM): New macro. Use it to set all numeric members.
26547 * locale/programs/ld-monetary.c (monetary_read)
26548 <tok_mon_grouping>: Normalize single -1 to the empty string.
26549 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26552 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26556 when we match (nil).
26557 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26559 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26561 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26562 (NO_TEST_INLINE): Update value.
26563 (ERRNO_UNCHANGED): Likewise.
26564 (ERRNO_EDOM): Likewise.
26565 (ERRNO_ERANGE): Likewise.
26566 (IGNORE_RESULT): Likewise.
26567 (check_float_internal): Check signs of NaN results if
26568 TEST_NAN_SIGN used.
26569 (check_complex): Pass TEST_NAN_SIGN flag through to second
26570 check_float_internal call.
26571 (copysign_test_data): Add tests with quiet NaNs as second
26572 argument. Use TEST_NAN_SIGN.
26573 (fabs_test_data): Add test of negative quiet NaN argument. Use
26575 (signbit_test_data): Add tests of quiet NaN argument.
26576 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26578 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26580 (parse_args): Handle function results specified as IGNORE.
26581 * math/libm-test.inc (IGNORE_RESULT): New macro.
26582 (check_float_internal): Do not check numerical result if flag
26584 (check_complex): Pass through IGNORE_RESULT to second
26585 check_float_internal call.
26586 (check_int): Do not check numerical result if flag IGNORE_RESULT
26588 (check_long): Likewise.
26589 (check_bool): Likewise.
26590 (check_longlong): Likewise.
26591 (lrint_test_data): Add tests of infinite and NaN arguments.
26592 (lrint_tonearest_test_data): Likewise.
26593 (lrint_towardzero_test_data): Likewise.
26594 (lrint_downward_test_data): Likewise.
26595 (lrint_upward_test_data): Likewise.
26596 (llrint_test_data): Likewise.
26597 (llrint_tonearest_test_data): Likewise.
26598 (llrint_towardzero_test_data): Likewise.
26599 (llrint_downward_test_data): Likewise.
26600 (llrint_upward_test_data): Likewise.
26601 (lround_test_data): Likewise.
26602 (llround_test_data): Likewise.
26604 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26605 (ERRNO_UNCHANGED): Update value.
26606 (ERRNO_EDOM): Likewise.
26607 (ERRNO_ERANGE): Likewise.
26608 (NO_TEST_INLINE_FLOAT): New macro.
26609 (NO_TEST_INLINE_DOUBLE): Likewise.
26610 (enable_test): New function.
26611 (RUN_TEST_f_f): Check enable_test before running test.
26612 (RUN_TEST_2_f): Likewise.
26613 (RUN_TEST_fff_f): Likewise.
26614 (RUN_TEST_c_f): Likewise.
26615 (RUN_TEST_f_f1): Likewise.
26616 (RUN_TEST_fF_f1): Likewise.
26617 (RUN_TEST_fI_f1): Likewise.
26618 (RUN_TEST_ffI_f1): Likewise.
26619 (RUN_TEST_c_c): Likewise.
26620 (RUN_TEST_cc_c): Likewise.
26621 (RUN_TEST_f_i): Likewise.
26622 (RUN_TEST_f_i_tg): Likewise.
26623 (RUN_TEST_ff_i_tg): Likewise.
26624 (RUN_TEST_f_b): Likewise.
26625 (RUN_TEST_f_b_tg): Likewise.
26626 (RUN_TEST_f_l): Likewise.
26627 (RUN_TEST_f_L): Likewise.
26628 (RUN_TEST_fFF_11): Likewise.
26629 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26631 (cosh_test_data): Likewise.
26632 (exp_test_data): Likewise.
26633 (expm1_test_data): Likewise.
26634 (hypot_test_data): Likewise.
26635 (pow_test_data): Likewise.
26636 (sinh_test_data): Likewise.
26637 (tanh_test_data): Likewise.
26638 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26641 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26642 tests with quiet NaN input and output.
26643 (acosh_test_data): Likewise.
26644 (asin_test_data): Likewise.
26645 (asinh_test_data): Likewise.
26646 (atan_test_data): Likewise.
26647 (atanh_test_data): Likewise.
26648 (atan2_test_data): Likewise.
26649 (cbrt_test_data): Likewise.
26650 (cos_test_data): Likewise.
26651 (cosh_test_data): Likewise.
26652 (erf_test_data): Likewise.
26653 (erfc_test_data): Likewise.
26654 (exp_test_data): Likewise.
26655 (exp10_test_data): Likewise.
26656 (exp2_test_data): Likewise.
26657 (expm1_test_data): Likewise.
26658 (hypot_test_data): Likewise.
26659 (j0_test_data): Likewise.
26660 (j1_test_data): Likewise.
26661 (jn_test_data): Likewise.
26662 (lgamma_test_data): Likewise.
26663 (log_test_data): Likewise.
26664 (log10_test_data): Likewise.
26665 (log1p_test_data): Likewise.
26666 (log2_test_data): Likewise.
26667 (pow_test_data): Likewise.
26668 (scalb_test_data): Likewise.
26669 (sin_test_data): Likewise.
26670 (sincos_test_data): Likewise.
26671 (sinh_test_data): Likewise.
26672 (tan_test_data): Likewise.
26673 (tanh_test_data): Likewise.
26674 (tgamma_test_data): Likewise.
26675 (y0_test_data): Likewise.
26676 (y1_test_data): Likewise.
26677 (yn_test_data): Likewise.
26680 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26681 argument being NaN and avoid computations with second argument in
26683 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26684 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26685 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26687 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26689 * locale/iso-639.def: Add Chitwani Tharu (the).
26691 2013-11-14 Andreas Schwab <schwab@suse.de>
26693 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26694 word instead of empty string.
26696 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26699 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26701 (__fe_nomask_env): Likewise.
26703 2013-11-13 Steve Ellcey <sellcey@mips.com>
26705 * benchtests/bench-timing.h: Include time.h.
26707 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26710 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26712 * sysdeps/unix/sysv/linux/configure: Regenerated.
26714 2013-11-13 Joseph Myers <joseph@codesourcery.com>
26717 * stdlib/strtod_l.c (round_and_return): Do not consider
26718 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26719 exponent one less than half the least subnormal exponent.
26720 * stdlib/test-strtod-round-data: Add more tests.
26721 * stdlib/tst-strtod-round.c (tests): Regenerated.
26723 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26726 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26727 (__fe_mask_env): Likewise.
26728 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26729 libm_hidden_proto and add function prototype.
26730 (__fe_mask_env): Add function prototype.
26731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26732 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26734 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26736 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26738 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26740 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26741 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26743 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26745 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26746 of htab_find_slot().
26748 2013-11-11 David S. Miller <davem@davemloft.net>
26751 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26752 symbol in the non-vis3 case in static builds.
26753 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26754 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26755 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26756 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26758 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26761 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26764 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26766 * benchtests/Makefile: Add bench-strtod.
26767 * benchtests/bench-strtod.c: New file: strtod benchtest
26769 2013-11-11 Andreas Schwab <schwab@suse.de>
26772 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26773 terminating NUL in key length.
26775 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26777 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26778 Add artificial ODP entry for vDSO symbol for PPC64.
26779 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26780 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26782 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26785 * nss/getent.c (services_keys): Recognize services starting with digit.
26787 2013-11-06 David S. Miller <davem@davemloft.net>
26790 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26791 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26793 2013-11-06 Will Newton <will.newton@linaro.org>
26795 * manual/memory.texi (Malloc Examples): Remove register
26796 keyword from examples.
26798 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
26800 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26802 2013-11-04 Joseph Myers <joseph@codesourcery.com>
26805 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26806 depending on [__GCC_IEC_559 > 0].
26807 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26808 depending on [__GCC_IEC_559_COMPLEX > 0].
26810 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
26812 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26815 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
26817 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26819 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
26822 * malloc/malloc (malloc_info): Do not handle first bin as
26825 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
26827 * locale/iso-639.def: Add Central Nahuatl (nhn).
26829 2013-11-01 Bruno Haible <bruno@clisp.org>
26832 * manual/math.texi (BSD Random): Specify range upper bound as
26835 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
26837 * locale/iso-639.def: Add Meadow Mari (mhr).
26839 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
26841 [BZ #14752], [BZ #15763]
26842 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26844 * rt/tst_shm.c: Add test for escaping directory.
26846 2013-10-31 Andreas Schwab <schwab@suse.de>
26849 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26850 followed by 'x' as part of digit sequence.
26851 * stdio-common/tst-sscanf.c (double_tests2): New tests.
26853 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26856 * configure.ac: allow GNU Make 4.0 and greater.
26857 * configure: Regenerated.
26859 2013-10-30 Will Newton <will.newton@linaro.org>
26862 * malloc/hooks.c (memalign_check): Limit alignment to the
26863 maximum representable power of two.
26864 * malloc/malloc.c (__libc_memalign): Likewise.
26865 * malloc/tst-memalign.c (do_test): Add test for very
26866 large alignment values.
26867 * malloc/tst-posix_memalign.c (do_test): Likewise.
26869 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26872 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26873 (munmap_chunk): Likewise.
26874 (mremap_chunk): Likewise.
26876 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
26879 * stdlib/div.c (div): Remove obsolete code.
26880 * stdlib/ldiv.c (ldiv): Likewise.
26881 * stdlib/lldiv.c (lldiv): Likewise.
26883 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26886 * nss/nss_files/files-XXX.c (get_contents_ret): New
26888 (get_contents): New function.
26889 (internal_getent): Use it. Expand size of LINEBUFLEN.
26891 2013-10-30 Mike Frysinger <vapier@gentoo.org>
26893 * configure.in: Moved to ...
26894 * configure.ac: ... here. Change reference to configure.in
26896 * sysdeps/arm/preconfigure.ac: ... here.
26897 configure.in to configure.ac.
26898 * sysdeps/gnu/configure.in: Moved to ...
26899 * sysdeps/gnu/configure.ac: ... here.
26900 * sysdeps/i386/configure.in: Moved to ...
26901 * sysdeps/i386/configure.ac: ... here.
26902 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26903 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26904 * sysdeps/mach/configure.in: Moved to ...
26905 * sysdeps/mach/configure.ac: ... here.
26906 * sysdeps/mach/hurd/configure.in: Moved to ...
26907 * sysdeps/mach/hurd/configure.ac: ... here.
26908 * sysdeps/powerpc/configure.in: Moved to ...
26909 * sysdeps/powerpc/configure.ac: ... here.
26910 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26911 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26912 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26913 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26914 * sysdeps/s390/s390-32/configure.in: Moved to ...
26915 * sysdeps/s390/s390-32/configure.ac: ... here.
26916 * sysdeps/s390/s390-64/configure.in: Moved to ...
26917 * sysdeps/s390/s390-64/configure.ac: ... here.
26918 * sysdeps/sh/configure.in: Moved to ...
26919 * sysdeps/sh/configure.ac: ... here.
26920 * sysdeps/sparc/configure.in: Moved to ...
26921 * sysdeps/sparc/configure.ac: ... here.
26922 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26923 * sysdeps/unix/sysv/linux/configure.ac: ... here.
26924 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26925 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26926 * sysdeps/x86_64/configure.in: Moved to ...
26927 * sysdeps/x86_64/configure.ac: ... here.
26928 * sysdeps/x86_64/preconfigure.in: Moved to ...
26929 * sysdeps/x86_64/preconfigure.ac: ... here.
26930 * aclocal.m4: Change reference to configure.in to configure.ac.
26931 * config.h.in: Likewise.
26932 * manual/install.texi: Likewise.
26933 * manual/maint.texi: Likewise.
26934 * Makefile: Likewise.
26935 * malloc/Makefile: Likewise.
26936 * nscd/Makefile: Likewise.
26937 * Makeconfig: Change reference to configure.in and
26938 preconfigure.in to configure.ac and preconfigure.ac
26940 * INSTALL: Regenerated.
26941 * configure: Likewise.
26942 * sysdeps/gnu/configure: Likewise.
26943 * sysdeps/i386/configure: Likewise.
26944 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26945 * sysdeps/mach/configure: Likewise.
26946 * sysdeps/mach/hurd/configure: Likewise.
26947 * sysdeps/powerpc/configure: Likewise.
26948 * sysdeps/powerpc/powerpc32/configure: Likewise.
26949 * sysdeps/powerpc/powerpc64/configure: Likewise.
26950 * sysdeps/s390/s390-32/configure: Likewise.
26951 * sysdeps/s390/s390-64/configure: Likewise.
26952 * sysdeps/sh/configure: Likewise.
26953 * sysdeps/sparc/configure: Likewise.
26954 * sysdeps/unix/sysv/linux/configure: Likewise.
26955 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26956 * sysdeps/x86_64/configure: Likewise.
26957 * sysdeps/x86_64/preconfigure: Likewise.
26959 2013-10-29 Andreas Schwab <schwab@suse.de>
26961 * stdio-common/Makefile (tst-swscanf-ENV): Define.
26963 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26965 * benchtests/pow-inputs: Add new inputs.
26967 * benchtests/exp-inputs: Add new inputs.
26969 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26970 conditional check for return value.
26971 (__cos32): Likewise.
26973 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26975 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26976 to provide a boost for large inputs with word alignment.
26977 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26978 implementation based on optimized PPC64 strcpy.
26979 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26980 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26981 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26982 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26984 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26987 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26989 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26992 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26993 * time/tst-strptime.c (day_tests): Add testcase.
26995 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
26998 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27000 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27003 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27004 MAP_FAILED on error.
27006 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27009 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27010 heap for large requests.
27012 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27015 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27016 result if the result has no associated interface.
27017 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27018 interface for all 127.X.Y.Z addresses.
27020 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27022 * locale/iso-639.def: Add Ligurian (lij)
27024 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27027 * sunrpc/rpc_main.c: Document rpcgen -5.
27029 2013-10-19 Michael Stahl <mstahl@redhat.com>
27031 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27033 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27036 * posix/glob.c: Match only directories when trailing slash is present.
27037 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27038 (main): Add testcase.
27040 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27043 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27045 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27047 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27048 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27049 AUTH_DES and cindex for FIPS 140-2.
27050 (DES Encryption): Add cindex FIPS 46-3.
27052 * locale/locarchive.h (struct locarhandle): Add fname.
27053 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27054 if an optional argument was specified to --list-archive,
27056 * locale/programs/locarchive.c (show_archive_content): Take new
27057 argument fname and pass it via ah.fname to open_archive.
27058 * locale/programs/localedef.h: Update decl.
27059 (open_archive): If AH->fname is non-null, open that file
27060 rather than the default file name, and don't ignore ENOENT.
27061 (create_archive): Set AH.fname to NULL.
27062 (delete_locales_from_archive): Likewise.
27063 (add_locales_to_archive): Likewise.
27064 * locale/programs/locfile.c (write_all_categories): Likewise.
27066 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27067 Aldy Hernandez <aldyh@redhat.com>
27069 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27070 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27071 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27072 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27073 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27074 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27075 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27076 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27077 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27078 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27079 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27080 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27081 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27082 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27083 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27085 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27087 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27089 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27091 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27092 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27094 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27095 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27096 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27097 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27099 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27100 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27101 * sysdeps/powerpc/preconfigure: Likewise.
27102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27104 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27105 Replace contents of file by #include of <fenv_libc.h>.
27106 * sysdeps/powerpc/soft-fp/sfp-machine.h
27107 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27109 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27110 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27111 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27112 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27113 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27115 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27122 Allow copysignl PLT reference to be missing.
27124 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27125 Joseph Myers <joseph@codesourcery.com
27128 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27130 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27132 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27134 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27135 * elf/tst-tls1.c: Likewise.
27136 * elf/tst-tls10.h: Likewise.
27137 * elf/tst-tls14.c: Likewise.
27138 * elf/tst-tls2.c: Likewise.
27139 * elf/tst-tls3.c: Likewise.
27140 * elf/tst-tls4.c: Likewise.
27141 * elf/tst-tls5.c: Likewise.
27142 * elf/tst-tls6.c: Likewise.
27143 * elf/tst-tls7.c: Likewise.
27144 * elf/tst-tls8.c: Likewise.
27145 * elf/tst-tls9.c: Likewise.
27146 * elf/tst-tlsmod1.c: Likewise.
27147 * elf/tst-tlsmod13.c: Likewise.
27148 * elf/tst-tlsmod13a.c: Likewise.
27149 * elf/tst-tlsmod14a.c: Likewise.
27150 * elf/tst-tlsmod16a.c: Likewise.
27151 * elf/tst-tlsmod16b.c: Likewise.
27152 * elf/tst-tlsmod2.c: Likewise.
27153 * elf/tst-tlsmod3.c: Likewise.
27154 * elf/tst-tlsmod4.c: Likewise.
27155 * elf/tst-tlsmod5.c: Likewise.
27156 * elf/tst-tlsmod6.c: Likewise.
27158 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27161 * malloc/malloc.c: remove checks for statistics.
27163 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27166 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27167 * inet/tst-network.c: Add testcase.
27169 2013-10-17 Andreas Schwab <schwab@suse.de>
27172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27173 to determine canonical name.
27175 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27177 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27178 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27189 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27194 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27196 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27201 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27202 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27208 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27209 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27211 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27212 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27213 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27236 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27239 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27240 make result into a quiet NaN.
27242 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27244 * soft-fp/adddf3.c: Fix horizontal whitespace.
27245 * soft-fp/addsf3.c: Likewise.
27246 * soft-fp/addtf3.c: Likewise.
27247 * soft-fp/divdf3.c: Likewise.
27248 * soft-fp/divsf3.c: Likewise.
27249 * soft-fp/divtf3.c: Likewise.
27250 * soft-fp/double.h: Likewise.
27251 * soft-fp/eqdf2.c: Likewise.
27252 * soft-fp/eqsf2.c: Likewise.
27253 * soft-fp/eqtf2.c: Likewise.
27254 * soft-fp/extenddftf2.c: Likewise.
27255 * soft-fp/extended.h: Likewise.
27256 * soft-fp/extendsfdf2.c: Likewise.
27257 * soft-fp/extendsftf2.c: Likewise.
27258 * soft-fp/extendxftf2.c: Likewise.
27259 * soft-fp/fixdfdi.c: Likewise.
27260 * soft-fp/fixdfsi.c: Likewise.
27261 * soft-fp/fixdfti.c: Likewise.
27262 * soft-fp/fixsfdi.c: Likewise.
27263 * soft-fp/fixsfsi.c: Likewise.
27264 * soft-fp/fixsfti.c: Likewise.
27265 * soft-fp/fixtfdi.c: Likewise.
27266 * soft-fp/fixtfsi.c: Likewise.
27267 * soft-fp/fixtfti.c: Likewise.
27268 * soft-fp/fixunsdfdi.c: Likewise.
27269 * soft-fp/fixunsdfsi.c: Likewise.
27270 * soft-fp/fixunsdfti.c: Likewise.
27271 * soft-fp/fixunssfdi.c: Likewise.
27272 * soft-fp/fixunssfsi.c: Likewise.
27273 * soft-fp/fixunssfti.c: Likewise.
27274 * soft-fp/fixunstfdi.c: Likewise.
27275 * soft-fp/fixunstfsi.c: Likewise.
27276 * soft-fp/fixunstfti.c: Likewise.
27277 * soft-fp/floatdidf.c: Likewise.
27278 * soft-fp/floatdisf.c: Likewise.
27279 * soft-fp/floatditf.c: Likewise.
27280 * soft-fp/floatsidf.c: Likewise.
27281 * soft-fp/floatsisf.c: Likewise.
27282 * soft-fp/floatsitf.c: Likewise.
27283 * soft-fp/floattidf.c: Likewise.
27284 * soft-fp/floattisf.c: Likewise.
27285 * soft-fp/floattitf.c: Likewise.
27286 * soft-fp/floatundidf.c: Likewise.
27287 * soft-fp/floatundisf.c: Likewise.
27288 * soft-fp/floatunditf.c: Likewise.
27289 * soft-fp/floatunsidf.c: Likewise.
27290 * soft-fp/floatunsisf.c: Likewise.
27291 * soft-fp/floatunsitf.c: Likewise.
27292 * soft-fp/floatuntidf.c: Likewise.
27293 * soft-fp/floatuntisf.c: Likewise.
27294 * soft-fp/floatuntitf.c: Likewise.
27295 * soft-fp/fmadf4.c: Likewise.
27296 * soft-fp/fmasf4.c: Likewise.
27297 * soft-fp/fmatf4.c: Likewise.
27298 * soft-fp/gedf2.c: Likewise.
27299 * soft-fp/gesf2.c: Likewise.
27300 * soft-fp/getf2.c: Likewise.
27301 * soft-fp/ledf2.c: Likewise.
27302 * soft-fp/lesf2.c: Likewise.
27303 * soft-fp/letf2.c: Likewise.
27304 * soft-fp/muldf3.c: Likewise.
27305 * soft-fp/mulsf3.c: Likewise.
27306 * soft-fp/multf3.c: Likewise.
27307 * soft-fp/negdf2.c: Likewise.
27308 * soft-fp/negsf2.c: Likewise.
27309 * soft-fp/negtf2.c: Likewise.
27310 * soft-fp/op-1.h: Likewise.
27311 * soft-fp/op-2.h: Likewise.
27312 * soft-fp/op-4.h: Likewise.
27313 * soft-fp/op-8.h: Likewise.
27314 * soft-fp/op-common.h: Likewise.
27315 * soft-fp/quad.h: Likewise.
27316 * soft-fp/single.h: Likewise.
27317 * soft-fp/soft-fp.h: Likewise.
27318 * soft-fp/sqrtdf2.c: Likewise.
27319 * soft-fp/sqrtsf2.c: Likewise.
27320 * soft-fp/sqrttf2.c: Likewise.
27321 * soft-fp/subdf3.c: Likewise.
27322 * soft-fp/subsf3.c: Likewise.
27323 * soft-fp/subtf3.c: Likewise.
27324 * soft-fp/truncdfsf2.c: Likewise.
27325 * soft-fp/trunctfdf2.c: Likewise.
27326 * soft-fp/trunctfsf2.c: Likewise.
27327 * soft-fp/trunctfxf2.c: Likewise.
27328 * soft-fp/unorddf2.c: Likewise.
27329 * soft-fp/unordsf2.c: Likewise.
27330 * soft-fp/unordtf2.c: Likewise.
27332 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27334 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27335 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27337 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27339 * elf/dl-libc.c: Clear initfini list after freeing.
27341 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27343 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27344 * soft-fp/addsf3.c: Likewise.
27345 * soft-fp/addtf3.c: Likewise.
27346 * soft-fp/divdf3.c: Likewise.
27347 * soft-fp/divsf3.c: Likewise.
27348 * soft-fp/divtf3.c: Likewise.
27349 * soft-fp/double.h: Likewise.
27350 * soft-fp/eqdf2.c: Likewise.
27351 * soft-fp/eqsf2.c: Likewise.
27352 * soft-fp/eqtf2.c: Likewise.
27353 * soft-fp/extenddftf2.c: Likewise.
27354 * soft-fp/extended.h: Likewise.
27355 * soft-fp/extendsfdf2.c: Likewise.
27356 * soft-fp/extendsftf2.c: Likewise.
27357 * soft-fp/extendxftf2.c: Likewise.
27358 * soft-fp/fixdfdi.c: Likewise.
27359 * soft-fp/fixdfsi.c: Likewise.
27360 * soft-fp/fixdfti.c: Likewise.
27361 * soft-fp/fixsfdi.c: Likewise.
27362 * soft-fp/fixsfsi.c: Likewise.
27363 * soft-fp/fixsfti.c: Likewise.
27364 * soft-fp/fixtfdi.c: Likewise.
27365 * soft-fp/fixtfsi.c: Likewise.
27366 * soft-fp/fixtfti.c: Likewise.
27367 * soft-fp/fixunsdfdi.c: Likewise.
27368 * soft-fp/fixunsdfsi.c: Likewise.
27369 * soft-fp/fixunsdfti.c: Likewise.
27370 * soft-fp/fixunssfdi.c: Likewise.
27371 * soft-fp/fixunssfsi.c: Likewise.
27372 * soft-fp/fixunssfti.c: Likewise.
27373 * soft-fp/fixunstfdi.c: Likewise.
27374 * soft-fp/fixunstfsi.c: Likewise.
27375 * soft-fp/fixunstfti.c: Likewise.
27376 * soft-fp/floatdidf.c: Likewise.
27377 * soft-fp/floatdisf.c: Likewise.
27378 * soft-fp/floatditf.c: Likewise.
27379 * soft-fp/floatsidf.c: Likewise.
27380 * soft-fp/floatsisf.c: Likewise.
27381 * soft-fp/floatsitf.c: Likewise.
27382 * soft-fp/floattidf.c: Likewise.
27383 * soft-fp/floattisf.c: Likewise.
27384 * soft-fp/floattitf.c: Likewise.
27385 * soft-fp/floatundidf.c: Likewise.
27386 * soft-fp/floatundisf.c: Likewise.
27387 * soft-fp/floatunsidf.c: Likewise.
27388 * soft-fp/floatunsisf.c: Likewise.
27389 * soft-fp/floatuntidf.c: Likewise.
27390 * soft-fp/floatuntisf.c: Likewise.
27391 * soft-fp/floatuntitf.c: Likewise.
27392 * soft-fp/fmadf4.c: Likewise.
27393 * soft-fp/fmasf4.c: Likewise.
27394 * soft-fp/fmatf4.c: Likewise.
27395 * soft-fp/gedf2.c: Likewise.
27396 * soft-fp/gesf2.c: Likewise.
27397 * soft-fp/getf2.c: Likewise.
27398 * soft-fp/ledf2.c: Likewise.
27399 * soft-fp/lesf2.c: Likewise.
27400 * soft-fp/letf2.c: Likewise.
27401 * soft-fp/muldf3.c: Likewise.
27402 * soft-fp/mulsf3.c: Likewise.
27403 * soft-fp/multf3.c: Likewise.
27404 * soft-fp/negdf2.c: Likewise.
27405 * soft-fp/negsf2.c: Likewise.
27406 * soft-fp/negtf2.c: Likewise.
27407 * soft-fp/op-1.h: Likewise.
27408 * soft-fp/op-2.h: Likewise.
27409 * soft-fp/op-4.h: Likewise.
27410 * soft-fp/op-8.h: Likewise.
27411 * soft-fp/op-common.h: Likewise.
27412 * soft-fp/quad.h: Likewise.
27413 * soft-fp/single.h: Likewise.
27414 * soft-fp/soft-fp.h: Likewise.
27415 * soft-fp/sqrtdf2.c: Likewise.
27416 * soft-fp/sqrtsf2.c: Likewise.
27417 * soft-fp/sqrttf2.c: Likewise.
27418 * soft-fp/subdf3.c: Likewise.
27419 * soft-fp/subsf3.c: Likewise.
27420 * soft-fp/subtf3.c: Likewise.
27421 * soft-fp/truncdfsf2.c: Likewise.
27422 * soft-fp/trunctfdf2.c: Likewise.
27423 * soft-fp/trunctfsf2.c: Likewise.
27424 * soft-fp/trunctfxf2.c: Likewise.
27425 * soft-fp/unorddf2.c: Likewise.
27426 * soft-fp/unordsf2.c: Likewise.
27427 * soft-fp/unordtf2.c: Likewise.
27429 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27432 * misc/error.c (error_tail): Fix possible buffer overflow.
27434 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27437 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27440 2013-10-14 P. J. McDermott <pj@pehjota.net>
27443 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27444 testing pipefail option.
27446 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27448 * soft-fp/double.h: Indent preprocessor directives inside #if.
27449 * soft-fp/extended.h: Likewise.
27450 * soft-fp/op-2.h: Likewise.
27451 * soft-fp/op-4.h: Likewise.
27452 * soft-fp/op-common.h: Likewise.
27453 * soft-fp/quad.h: Likewise.
27454 * soft-fp/single.h: Likewise.
27455 * soft-fp/soft-fp.h: Likewise.
27457 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27459 * iconv/iconv_prog.c: Fix typos.
27460 * stdio-common/psiginfo-data.h: Likewise.
27462 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27465 * locale/setlocale.c: Fix typo.
27467 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27470 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27471 signaling NaN arguments.
27472 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27473 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27476 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27477 unordered operands.
27478 * soft-fp/gesf2.c (__gesf2): Likewise.
27479 * soft-fp/getf2.c (__getf2): Likewise.
27480 * soft-fp/ledf2.c (__ledf2): Likewise.
27481 * soft-fp/lesf2.c (__lesf2): Likewise.
27482 * soft-fp/letf2.c (__letf2): Likewise.
27484 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27485 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27486 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27487 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27488 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27489 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27490 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27491 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27492 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27493 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27494 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27495 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27496 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27497 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27498 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27499 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27500 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27501 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27502 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27503 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27504 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27505 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27506 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27507 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27508 * soft-fp/floattidf.c (__floattidf): Likewise.
27509 * soft-fp/floattisf.c (__floattisf): Likewise.
27510 * soft-fp/floattitf.c (__floattitf): Likewise.
27511 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27512 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27513 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27514 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27515 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27516 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27517 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27518 * soft-fp/gesf2.c (__gesf2): Likewise.
27519 * soft-fp/getf2.c (__getf2): Likewise.
27520 * soft-fp/ledf2.c (__ledf2): Likewise.
27521 * soft-fp/lesf2.c (__lesf2): Likewise.
27522 * soft-fp/letf2.c (__letf2): Likewise.
27524 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27525 Undefine and redefine.
27526 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27527 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27528 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27529 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27530 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27531 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27532 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27533 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27534 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27535 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27536 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27537 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27538 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27539 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27540 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27543 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27544 without decrementing exponent if mantissa >= that for the
27545 denominator, not >.
27546 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27547 denominator, not >. Decrement exponent in < case instead of
27548 incrementing in >= case.
27549 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27550 without decrementing exponent if mantissa >= that for the
27551 denominator, not >.
27553 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27554 computing saturated result for unsigned overflow.
27556 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27557 Jeff Law <law@redhat.com>
27559 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27560 (atan2Mp): Add systemtap probe marker.
27561 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27562 (__ieee754_log): Add systemtap probe marker.
27563 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27564 (atanMp): Add systemtap probe marker.
27565 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27566 (tanMp): Add systemtap probe marker.
27567 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27568 (__slowexp): Add systemtap probe marker.
27569 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27570 (__slowpow): Add systemtap probe marker.
27571 * manual/probes.texi: Document probes.
27573 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27576 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27578 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27580 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27581 written to buffer but not flushed.
27582 * libio/iofwrite_u.c: Likewise.
27583 * libio/iopadn.c: Return bytes returned even if EOF was
27585 * libio/iowpadn.c: Likewise.
27586 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27587 if _IO_padn does not write the whole buffer.
27588 [!COMPILE_WPRINTF] (PAD): Likewise.
27590 2013-10-10 David S. Miller <davem@davemloft.net>
27592 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27595 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27597 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27598 instead of FSF address.
27599 * soft-fp/fixdfti.c: Likewise.
27600 * soft-fp/fixsfti.c: Likewise.
27601 * soft-fp/fixtfti.c: Likewise.
27602 * soft-fp/fixunsdfti.c: Likewise.
27603 * soft-fp/fixunssfti.c: Likewise.
27604 * soft-fp/fixunstfti.c: Likewise.
27605 * soft-fp/floattidf.c: Likewise.
27606 * soft-fp/floattisf.c: Likewise.
27607 * soft-fp/floattitf.c: Likewise.
27608 * soft-fp/floatuntidf.c: Likewise.
27609 * soft-fp/floatuntisf.c: Likewise.
27610 * soft-fp/floatuntitf.c: Likewise.
27611 * soft-fp/trunctfxf2.c: Likewise.
27613 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27614 * soft-fp/fixdfti.c: Likewise.
27615 * soft-fp/fixsfti.c: Likewise.
27616 * soft-fp/fixtfti.c: Likewise.
27617 * soft-fp/fixunsdfti.c: Likewise.
27618 * soft-fp/fixunssfti.c: Likewise.
27619 * soft-fp/fixunstfti.c: Likewise.
27620 * soft-fp/floattidf.c: Likewise.
27621 * soft-fp/floattisf.c: Likewise.
27622 * soft-fp/floattitf.c: Likewise.
27623 * soft-fp/floatuntidf.c: Likewise.
27624 * soft-fp/floatuntisf.c: Likewise.
27625 * soft-fp/floatuntitf.c: Likewise.
27626 * soft-fp/trunctfxf2.c: Likewise.
27628 2013-10-10 David S. Miller <davem@davemloft.net>
27630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27632 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27634 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27635 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27636 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27637 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27638 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27639 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27640 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27643 for NaNs before doing comparisons on argument.
27644 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27647 2013-10-10 Will Newton <will.newton@linaro.org>
27649 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27650 passed to _int_memalign does not overflow.
27652 2013-10-10 Torvald Riegel <triegel@redhat.com>
27654 * scripts/bench.pl: Add include-sources directive.
27655 * benchtests/README: Update documentation.
27657 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27659 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27660 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27661 instead of FP_INIT_ROUNDMODE.
27662 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27663 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27666 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27667 copy class of input value.
27668 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27669 not handle exceptions.
27670 * soft-fp/negsf2.c (__negsf2): Likewise.
27671 * soft-fp/negtf2.c (__negtf2): Likewise.
27672 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27674 2013-10-09 Joseph Myers <joseph@codesourcery.com>
27676 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27677 semicolon. From Linux kernel.
27679 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27681 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27683 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27686 * manual/socket.texi: Added statement about buffer
27687 for gethostbyname2_r.
27689 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
27691 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27692 Use .p2align directive instead, throughout.
27693 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27694 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27695 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27698 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27699 * sysdeps/x86_64/strchr.S: Likewise.
27700 * sysdeps/x86_64/strrchr.S: Likewise.
27702 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27704 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27706 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27708 * sysdeps/generic/math_private.h (__mpsin1): Remove
27710 (__mpcos1): Likewise.
27711 (__mpsin): New argument __range_reduce.
27712 (__mpcos): Likewise.
27713 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27714 (slow): Use __mpsin and __mpcos.
27718 (sloww1): Likewise.
27719 (sloww2): Likewise.
27720 (bsloww): Likewise.
27721 (bsloww1): Likewise.
27722 (bsloww2): Likewise.
27723 (cslow2): Likewise.
27724 (csloww): Likewise.
27725 (csloww1): Likewise.
27726 (csloww2): Likewise.
27727 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27728 range_reduce. Merge in __mpsin1.
27729 (__mpcos): Likewise.
27730 (__mpsin1): Remove.
27731 (__mpcos1): Likewise.
27733 2013-10-07 Joseph Myers <joseph@codesourcery.com>
27735 * locale/loadlocale.c (_nl_intern_locale_data): Use
27737 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27738 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27739 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27740 obstack data is appropriately aligned.
27741 (obstack_int32_grow_fast): Likewise.
27742 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27743 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27744 (add_locale_uint32_array): Likewise.
27746 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27748 * benchtests/Makefile: Remove ARGLIST and RET variables.
27749 ($(objpfx)bench-%.c): Pass only function name to the script.
27750 * benchtests/README: Update documentation.
27751 * benchtests/acos-inputs: Add new directives.
27752 * benchtests/acosh-inputs: Likewise.
27753 * benchtests/asin-inputs: Likewise.
27754 * benchtests/asinh-inputs: Likewise.
27755 * benchtests/atan-inputs: Likewise.
27756 * benchtests/atanh-inputs: Likewise.
27757 * benchtests/cos-inputs: Likewise.
27758 * benchtests/cosh-inputs: Likewise.
27759 * benchtests/exp-inputs: Likewise.
27760 * benchtests/log-inputs: Likewise.
27761 * benchtests/pow-inputs: Likewise.
27762 * benchtests/rint-inputs: Likewise.
27763 * benchtests/sin-inputs: Likewise.
27764 * benchtests/sinh-inputs: Likewise.
27765 * benchtests/tan-inputs: Likewise.
27766 * benchtests/tanh-inputs: Likewise.
27767 * scripts/bench.pl: Add support for new directives.
27769 2013-10-07 Alan Modra <amodra@gmail.com>
27771 * README: Fix careless merge.
27773 2013-10-05 Alan Modra <amodra@gmail.com>
27775 * NEWS: Mention powerpc64le support and bugs fixed.
27776 * README: Both big-endian and little-endian powerpc64 supported.
27778 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27780 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27781 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27782 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27783 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27785 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
27787 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27790 2013-10-04 Joseph Myers <joseph@codesourcery.com>
27792 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27793 Move -mhard-float appending from
27794 ports/sysdeps/powerpc/powerpc32/Makefile.
27795 [$(with-fp) = yes] (ASFLAGS): Likewise.
27796 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27797 * sysdeps/powerpc/nofpu: Move directory from
27798 ports/sysdeps/powerpc/nofpu.
27799 * sysdeps/powerpc/soft-fp: Move directory from
27800 ports/sysdeps/powerpc/soft-fp.
27801 * sysdeps/powerpc/powerpc32/405: Move directory from
27802 ports/sysdeps/powerpc/powerpc32/405.
27803 * sysdeps/powerpc/powerpc32/440: Move directory from
27804 ports/sysdeps/powerpc/powerpc32/440.
27805 * sysdeps/powerpc/powerpc32/464: Move directory from
27806 ports/sysdeps/powerpc/powerpc32/464.
27807 * sysdeps/powerpc/powerpc32/476: Move directory from
27808 ports/sysdeps/powerpc/powerpc32/476.
27809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27810 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27812 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27814 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27816 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27818 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27819 * README: Update for powerpc-*-linux-gnu software floating point
27822 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27823 case to powerpc/powerpc32*.
27824 * sysdeps/unix/sysv/linux/configure: Regenerated.
27826 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27827 (_FPU_MASK_OM): Define as 0x04.
27828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27836 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27839 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27842 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27843 and setcontext_e500.
27845 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
27847 * locale/iso-3166.def: Update iso-1366.def and related occurrences
27849 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27851 * manual/threads.texi (Default Thread Attributes): Fix typo.
27853 2013-10-04 Will Newton <will.newton@linaro.org>
27855 * malloc/Makefile: Add tst-memalign.
27856 * malloc/tst-memalign.c: New file.
27858 * malloc/tst-posix_memalign.c: Add comments.
27859 (do_test): Add comments and call free on all potentially
27860 allocated pointers. Add space after cast.
27862 * malloc/tst-pvalloc.c: Add comments.
27863 (do_test): Add comments and call free on all potentially
27864 allocated pointers. Remove duplicate check for NULL pointer.
27865 Add space after cast.
27867 * malloc/tst-valloc.c: Add comments.
27868 (do_test): Add comments and call free on all potentially
27869 allocated pointers. Remove duplicate check for NULL pointer.
27870 Add space after cast.
27872 2013-10-04 Alan Modra <amodra@gmail.com>
27874 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27875 Use stdint types in rather than __attribute__((mode())).
27876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27878 2013-10-04 Alan Modra <amodra@gmail.com>
27880 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27881 Correct handling of unaligned relocs for little-endian.
27882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27884 2013-10-04 Alan Modra <amodra@gmail.com>
27886 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27887 * configure: Regenerate.
27888 * nptl/shlib-versions: Powerpc*le starts at 2.18.
27889 * shlib-versions: Likewise.
27891 2013-10-04 Alan Modra <amodra@gmail.com>
27893 * string/tester.c (test_memrchr): Increment reported test cycle.
27895 2013-10-04 Alan Modra <amodra@gmail.com>
27897 * string/test-memcpy.c (do_one_test): When reporting errors, print
27898 string address and don't overrun end of string.
27900 2013-10-04 Alan Modra <amodra@gmail.com>
27902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27903 insrdi. Make better use of reg selection to speed exit slightly.
27904 Schedule entry path a little better. Remove useless "are we done"
27905 checks on entry to main loop. Handle wrapping around zero address.
27906 Correct main loop count. Handle single left-over word from main
27907 loop inline rather than by using loop_small. Remove extra word
27908 case in loop_small caused by wrong loop count. Add little-endian
27910 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
27913 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27914 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27915 support. Avoid rlwimi.
27916 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27918 2013-10-04 Alan Modra <amodra@gmail.com>
27920 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27921 insrdi. Formatting.
27922 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27923 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27924 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27925 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27926 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27927 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27929 2013-10-04 Alan Modra <amodra@gmail.com>
27931 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27932 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27933 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27934 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27935 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27936 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27938 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27939 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
27940 use of regs. Use power7 mtocrf. Tidy function tails.
27942 2013-10-04 Alan Modra <amodra@gmail.com>
27944 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27945 Formatting. Consistently use rXXX register defines or rN defines.
27946 Use early exit labels that avoid restoring unused non-volatile regs.
27947 Make cr field use more consistent with rWORDn compares. Rename
27948 regs used as shift registers for unaligned loop, using rN defines
27949 for short lifetime/multiple use regs.
27950 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27951 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
27952 addi 1,1,64 to pop stack frame. Simplify return value code.
27953 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27955 2013-10-04 Alan Modra <amodra@gmail.com>
27957 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27958 support. Correct typos, formatting. Optimize tail. Use insrdi
27959 rather than rlwimi.
27960 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27961 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27962 little-endian support. Correct typos.
27963 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
27964 rather than rlwimi.
27965 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
27966 in loop and entry code to keep "and." results.
27967 (strchr): Add little-endian support. Comment. Move cntlzd
27969 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27971 2013-10-04 Alan Modra <amodra@gmail.com>
27973 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27974 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27975 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27976 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27978 2013-10-04 Alan Modra <amodra@gmail.com>
27980 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27981 (rTMP): Define as r11.
27982 (strcmp): Add little-endian support. Optimise tail.
27983 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27984 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27985 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27987 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27991 2013-10-04 Alan Modra <amodra@gmail.com>
27993 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27994 little-endian support. Remove unnecessary "are we done" tests.
27995 Handle "s" wrapping around zero and extremely large "size".
27996 Correct main loop count. Handle single left-over word from main
27997 loop inline rather than by using small_loop. Correct comments.
27998 Delete "zero" tail, use "end_max" instead.
27999 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28001 2013-10-04 Alan Modra <amodra@gmail.com>
28003 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28004 support. Don't branch over align.
28005 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28006 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28007 support. Rearrange tmp reg use to suit. Comment.
28008 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28010 2013-10-04 Alan Modra <amodra@gmail.com>
28012 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28014 2013-10-04 Alan Modra <amodra@gmail.com>
28016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28017 conditional form of branch and link when obtaining pc.
28018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28020 2013-10-04 Alan Modra <amodra@gmail.com>
28022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28027 2013-10-04 Alan Modra <amodra@gmail.com>
28029 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28030 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28031 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28032 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28033 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28034 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28035 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28036 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28037 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28038 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28040 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28041 Alistair Popple <alistair@ozlabs.au.ibm.com>
28042 Alan Modra <amodra@gmail.com>
28045 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28046 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28047 _dl_hwcap access for little-endian.
28048 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28049 destroy vmx regs when saving unaligned.
28050 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28052 destroy vmx regs when saving unaligned.
28054 2013-10-04 Alan Modra <amodra@gmail.com>
28056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28057 Don't use a union to pack hi/low value.
28059 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28061 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28063 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28065 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28066 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28067 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28069 2013-10-04 Alan Modra <amodra@gmail.com>
28071 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28072 constants to usual value for .cst8 section, and remove redundant
28074 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28075 constant for 0x1p52. Load little-endian words of double from
28076 correct stack offsets.
28078 2013-10-04 Alan Modra <amodra@gmail.com>
28080 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28081 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28082 words of double from correct stack offsets.
28083 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28084 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28085 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28087 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28088 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28090 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28091 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28092 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28093 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28094 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28095 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28096 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28097 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28098 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28099 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28101 2013-10-04 Alan Modra <amodra@gmail.com>
28103 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28104 64-bit int/double union.
28105 (_FPU_SETCW): Likewise.
28106 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28107 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28109 2013-10-04 Alan Modra <amodra@gmail.com>
28111 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28112 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28114 2013-10-04 Alan Modra <amodra@gmail.com>
28116 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28117 use vector int constants.
28118 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28120 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28122 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28123 array with long long.
28124 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28125 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28126 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28127 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28128 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28129 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28130 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28131 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28132 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28133 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28134 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28135 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28136 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28138 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28140 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28141 (__signbit): Likewise. Correct for little-endian.
28142 (__signbitl): Call __signbit.
28143 (lrint): Correct for little-endian.
28144 (lrintf): Call lrint.
28146 2013-10-04 Alan Modra <amodra@gmail.com>
28148 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28149 union 32-bit int array member with 64-bit int array.
28150 (t515, tm256): Double rather than long double.
28151 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28153 2013-10-04 Alan Modra <amodra@gmail.com>
28155 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28157 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28158 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28159 version of math_ldbl.h.
28161 2013-10-04 Alan Modra <amodra@gmail.com>
28163 [BZ #15734], [BZ #15735]
28164 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28165 all uses of ieee875 long double macros and unions. Simplify test
28166 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28167 ldbl_extract_mantissa value for ix,iy exponents. Properly
28168 normalize after ldbl_extract_mantissa, and don't add hidden bit
28169 already handled. Don't treat low word of ieee854 mantissa like
28170 low word of IBM long double and mask off bit when testing for
28172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28173 all uses of ieee875 long double macros and unions. Simplify tests
28174 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28175 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28176 two1022, instead use their values. Recognise that tests for large
28177 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28179 Rewrite all uses of ieee875 long double macros and unions. Simplify
28180 test for 0.0L and nan. Correct negation.
28181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28182 ieee875 long double macros and unions. Correct output for large
28183 magnitude x. Correct absolute value calculation.
28184 (__erfcl): Likewise.
28185 * math/libm-test.inc: Add tests for errors discovered in IBM long
28186 double versions of fmodl, remainderl, erfl and erfcl.
28188 2013-10-04 Alan Modra <amodra@gmail.com>
28190 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28191 all uses of ieee854 long double macros and unions. Simplify tests
28192 for long doubles that are fully specified by the high double.
28193 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28195 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28196 Remove dead code too.
28197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28198 (__ieee754_ynl): Likewise.
28199 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28202 Remove dead code too.
28203 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28204 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28205 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28206 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28208 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28210 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28211 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28212 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28213 Comment on variable precision.
28214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28217 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28220 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28221 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28223 2013-10-04 Alan Modra <amodra@gmail.com>
28225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28227 all uses of ieee854 long double macros and unions.
28228 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28229 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28230 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28231 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28232 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28233 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28239 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28240 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28241 Simplify sign and nan test too.
28242 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28243 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28244 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28245 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28247 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28248 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28251 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28252 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28253 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28254 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28257 2013-10-04 Alan Modra <amodra@gmail.com>
28259 * stdio-common/printf_size.c (__printf_size): Don't use
28260 union ieee854_long_double in fpnum union.
28261 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28262 signbit macro to retrieve sign from long double.
28263 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28264 retrieve sign from long double.
28265 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28266 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28267 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28268 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28269 * math/test-misc.c (main): Don't use union ieee854_long_double.
28271 2013-10-04 Alan Modra <amodra@gmail.com>
28274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28275 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28276 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28277 calculation. Remove unnecessary test for denormal exponent.
28278 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28279 Correct handling of denormals. Avoid undefined shift behaviour.
28280 Correct normalisation of low mantissa when low double is denormal.
28281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28282 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28283 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28284 Correct normalisation of low mantissa. Test for overflow of high
28285 mantissa and normalise.
28286 (ldbl_nearbyint): Use more readable constant for two52.
28287 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28288 (__mpn_construct_long_double): Fix test for overflow of high
28289 mantissa and correct normalisation. Avoid undefined shift.
28291 2013-10-04 Alan Modra <amodra@gmail.com>
28293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28294 (union ibm_extended_long_double): Define as an array of ieee754_double.
28295 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28296 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28297 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28298 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28307 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28309 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28310 page size instead of calling getpagesize.
28312 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28313 (LOCFILE_ALIGN_MASK): Likewise.
28314 (LOCFILE_ALIGN_UP): Likewise.
28315 (LOCFILE_ALIGNED_P): Likewise.
28316 * locale/programs/ld-collate.c (collate_output): Use the new
28317 macros instead of __alignof__ (int32_t).
28318 * locale/weight.h (findidx): Likewise.
28320 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28323 * manual/string.texi: Fix strncat and wcsncat.
28325 2013-10-03 Brooks Moses <bmoses@google.com>
28328 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28329 * Makerules: ...here, and adjust associated comments.
28331 2013-10-02 Will Newton <will.newton@linaro.org>
28333 * malloc/Makefile: Add tst-pvalloc.
28334 * malloc/tst-pvalloc.c: New file.
28336 2013-10-02 Will Newton <will.newton@linaro.org>
28338 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28339 improve test coverage.
28341 2013-10-02 Will Newton <will.newton@linaro.org>
28343 * malloc/Makefile: Add tst-posix_memalign.
28344 * malloc/tst-posix_memalign.c: New file.
28346 2013-10-01 Eric Blake <eblake@redhat.com>
28348 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28349 Use __THROWNL rather than __THROW on static functions.
28351 2013-09-30 Petr Machata <pmachata@redhat.com>
28353 * elf/elf.h (R_AARCH64_ABS16): New macro.
28354 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28355 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28356 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28357 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28358 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28359 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28360 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28361 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28362 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28363 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28364 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28365 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28366 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28367 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28368 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28369 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28370 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28371 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28372 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28373 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28374 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28375 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28376 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28377 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28378 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28379 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28380 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28381 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28382 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28383 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28384 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28385 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28386 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28387 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28388 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28389 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28390 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28391 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28392 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28393 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28394 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28395 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28396 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28397 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28398 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28399 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28400 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28401 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28402 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28403 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28404 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28405 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28406 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28407 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28408 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28409 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28410 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28411 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28412 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28413 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28414 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28415 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28416 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28417 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28418 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28419 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28420 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28421 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28422 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28423 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28424 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28425 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28426 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28427 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28428 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28429 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28430 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28431 (R_AARCH64_TLSDESC_LDR): Likewise.
28432 (R_AARCH64_TLSDESC_ADD): Likewise.
28433 (R_AARCH64_TLSDESC_CALL): Likewise.
28435 2013-09-30 Andreas Schwab <schwab@suse.de>
28438 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28439 the nss database lookup.
28440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28443 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28445 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28447 2013-09-28 P. J. McDermott <pj@pehjota.net>
28449 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28450 ${Bash-specific parameter/pattern/string} parameter expansion.
28451 * sysdeps/unix/make-syscalls.sh: Likewise.
28453 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28455 * sysdeps/sh/stackguard-macros.h: New file.
28457 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28461 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28462 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28463 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28464 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28466 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28468 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28469 Fix thread ID register.
28471 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28473 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28474 [POSIX || UNIX98]: Require rather than permitting all symbols from
28476 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28477 element of struct sched_param.
28478 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28479 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28480 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28481 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28484 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28486 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28487 argument calculation.
28489 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28491 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28493 [POSIX] (pthread_attr_t): Do not require type.
28494 [POSIX] (pthread_cond_t): Likewise.
28495 [POSIX] (pthread_condattr_t): Likewise.
28496 [POSIX] (pthread_key_t): Likewise.
28497 [POSIX] (pthread_mutex_t): Likewise.
28498 [POSIX] (pthread_mutexattr_t): Likewise.
28499 [POSIX] (pthread_once_t): Likewise.
28500 [POSIX] (pthread_t): Likewise.
28501 [POSIX-based standards] (pthread_atfork): Expect function.
28503 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28504 Richard Sandiford <richard@codesourcery.com>
28506 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28507 (swap_endianness_p): New extern variable.
28508 (set_big_endian): New inline function.
28509 (maybe_swap_uint32): Likewise.
28510 (maybe_swap_uint32_array): Likewise.
28511 (maybe_swap_uint32_obstack): Likewise.
28512 * locale/programs/locfile.c: Include <stdbool.h>.
28513 (swap_endianness_p): New variable.
28514 (add_locale_uint32): Call maybe_swap_uint32.
28515 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28516 (write_locale_data): Call maybe_swap_uint32_array.
28517 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28519 (obstack_int32_grow_fast): Likewise.
28520 (output_weightwc): Call maybe_swap_uint32_obstack.
28521 (collate_output): Likewise.
28522 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28523 (OPT_LITTLE_ENDIAN): Likewise.
28524 (options): Add --little-endian and --big-endian options.
28525 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28526 * locale/programs/locarchive.c: Include "locfile.h".
28530 (create_archive): Use the new macros to access fields of
28531 structures directly mapped from or written to locale archives.
28532 (oldlocrecentcmp): Likewise.
28533 (enlarge_archive): Likewise.
28534 (insert_name): Likewise.
28535 (add_alias): Likewise.
28536 (add_locale): Likewise.
28537 (delete_locales_from_archive): Likewise.
28538 (show_archive_content): Likewise.
28539 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28542 2013-09-24 Roland McGrath <roland@hack.frob.com>
28544 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28545 http://www.gnu.org/doc/freemanuals.texi.
28546 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28548 2013-09-24 Will Newton <will.newton@linaro.org>
28550 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28553 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28555 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28558 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28560 * manual/threads.texi (POSIX Threads): Fix a typo.
28562 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28565 * string/tst-strcoll-overflow.c: New test case.
28566 * string/Makefile (xtests): Add tst-strcoll-overflow.
28567 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28568 cache if string sizes may cause integer overflow.
28571 * string/strcoll_l.c (coll_seq): New members rule, idx,
28572 save_idx and back_us.
28573 (get_next_seq_nocache): New function.
28574 (do_compare_nocache): New function.
28575 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28578 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28581 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28582 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28583 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28586 * elf/Makefile (tests): Add tst-ptrguard1.
28587 (tests-static): Add tst-ptrguard1-static.
28588 (tst-ptrguard1-ARGS): Define.
28589 (tst-ptrguard1-static-ARGS): Define.
28590 * elf/tst-ptrguard1.c: New file.
28591 * elf/tst-ptrguard1-static.c: New file.
28592 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28593 * sysdeps/i386/stackguard-macros.h: Likewise.
28594 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28595 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28596 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28597 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28598 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28599 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28601 2013-09-23 Hector Marco <hecmargi@upv.es>
28602 Ismael Ripoll <iripoll@disca.upv.es>
28603 Carlos O'Donell <carlos@redhat.com>
28606 * sysdeps/generic/stackguard-macros.h: Define
28607 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28608 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28609 Define __pointer_chk_guard_local.
28610 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28611 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28613 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28616 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28618 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28620 * include/string.h (__ffs): Declare as hidden.
28621 * string/ffs.c (__ffs): Define as hidden.
28622 * sysdeps/i386/ffs.c (__ffs): Likewise.
28623 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28624 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28625 * sysdeps/s390/ffs.c (__ffs): Likewise.
28626 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28628 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28630 * NEWS: Mention malloc probes.
28632 * malloc/arena.c (new_heap): New memory_heap_new probe.
28633 (grow_heap): New memory_heap_more probe.
28634 (shrink_heap): New memory_heap_less probe.
28635 (heap_trim): New memory_heap_free probe.
28636 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28637 (systrim): New memory_sbrk_less probe.
28638 * manual/probes.texi: Document them.
28640 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28641 * manual/probes.texi: Document it.
28643 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28644 (__libc_realloc): Add memory_realloc_retry probe.
28645 (__libc_memalign): Add memory_memalign_retry probe.
28646 (__libc_valloc): Add memory_valloc_retry probe.
28647 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28648 (__libc_calloc): Add memory_calloc_retry probe.
28649 * manual/probes.texi: Document them.
28651 * malloc/arena.c (get_free_list): Add probe
28652 memory_arena_reuse_free_list.
28653 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28654 and memory_arena_reuse.
28655 (arena_get2) [!PER_THREAD]: Likewise.
28656 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28657 memory_arena_reuse_realloc.
28658 * manual/probes.texi: Document them.
28660 * malloc/malloc.c (__libc_free): Add
28661 memory_mallopt_free_dyn_thresholds probe.
28662 (__libc_mallopt): Add multiple memory_mallopt probes.
28663 * manual/probes.texi: Document them.
28665 * malloc/malloc.c: Include stap-probe.h.
28666 (__libc_mallopt): Add memory_mallopt probe.
28667 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28668 * manual/probes.texi: New.
28669 * manual/Makefile (chapters): Add probes.
28670 * manual/threads.texi: Set next node.
28672 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
28674 [BZ #15963, #13985]
28675 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28676 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28677 Add `Chinese' to `nan' entry name.
28679 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28681 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28682 (POLYNOMIAL): Likewise.
28683 (TAYLOR_SINCOS): Likewise.
28684 (TAYLOR_SLOW): Likewise.
28685 (__sin): Use TAYLOR_SINCOS.
28687 (slow): Use TAYLOR_SLOW.
28689 (bsloww): Likewise.
28690 (csloww): Likewise.
28692 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28694 * stdlib/strtod_l.c: Fix buffer overrun.
28696 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28698 * benchtests/Makefile (bench): Add sincos.
28699 * benchtests/bench-sincos.c: New file.
28701 * math/libm-test.inc (cos_test_data): New test inputs.
28702 (sin_test_data): Likewise.
28704 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28710 (sloww1): Likewise.
28711 (sloww2): Likewise.
28712 (bsloww1): Likewise.
28713 (bsloww2): Likewise.
28714 (cslow2): Likewise.
28715 (csloww1): Likewise.
28716 (csloww2): Likewise.
28718 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28723 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28727 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28729 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28730 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28731 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28732 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28733 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28734 * elf/cache.c (print_entry): Handle the new cache flags.
28736 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28737 Aldy Hernandez <aldyh@redhat.com>
28739 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28740 Change condition to [_SOFT_FLOAT].
28741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28753 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28756 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28759 2013-09-18 Joseph Myers <joseph@codesourcery.com>
28761 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28762 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28763 (__longjmp): Use LOAD_GP to load saved GPRs.
28764 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28765 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28766 (__sigsetjmp): Use SAVE_GP to save GPRs.
28768 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28769 Do not append -msoft-float.
28770 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28772 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28774 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28776 2013-09-17 Joseph Myers <joseph@codesourcery.com>
28779 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28780 (_FPU_GETCW): Use initial "__" on variable and field names but not
28781 on macro parameter name.
28782 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
28783 parentheses around reference to macro parameter.
28785 2013-09-13 Richard Sandiford <richard@codesourcery.com>
28787 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28789 (ctype_startup): Use uint32_t in cast and sizeof for
28792 2013-09-11 Jia Liu <proljc@gmail.com>
28794 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28796 [__FreeBSD__]: Likewise.
28798 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
28800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28801 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28802 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28803 (strchr): Remove __strchr_sse42 ifunc selection.
28804 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28805 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28807 2013-09-11 Will Newton <will.newton@linaro.org>
28809 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28810 parameter to RES. Remove hardcoded 1000 value.
28811 * benchtests/bench-skeleton.c (main): Pass RES parameter
28812 to TIMING_INIT and multiply result by 1000.
28814 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28818 2013-09-11 Andreas Schwab <schwab@suse.de>
28820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28822 (O_TMPFILE) [__USE_GNU]: Define.
28823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28826 2013-09-11 Will Newton <will.newton@linaro.org>
28829 * malloc/malloc.c (__libc_memalign): Check the value of bytes
28832 2013-09-11 Will Newton <will.newton@linaro.org>
28835 * malloc/malloc.c (__libc_valloc): Check the value of bytes
28838 2013-09-11 Will Newton <will.newton@linaro.org>
28841 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28844 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
28846 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28847 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28852 2013-09-10 Allan McRae <allan@archlinux.org>
28855 * manual/arith.texi (Parsing of Floats): Clarify
28859 * manual/install.texi (Running make install): Mention
28861 * INSTALL: Regenerated.
28863 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
28865 * csu/init-first.c (_init): Remove the !SHARED condition around
28866 FPU control word initialization.
28867 * elf/dl-support.c (_dl_fpu_control): New variable.
28868 (_dl_aux_init) <AT_FPUCW>: Initialize it.
28869 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28870 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28871 * math/test-fpucw-static.c: New file.
28872 * math/test-fpucw-ieee.c: New file.
28873 * math/test-fpucw-ieee-static.c: New file.
28874 * math/Makefile (tests): Add `test-fpucw-ieee' and
28876 (tests-static): New variable.
28877 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28879 [($(build-shared),yes)]
28880 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28882 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28885 2013-09-09 Allan McRae <allan@archlinux.org>
28888 * manual/string.texi (Collation Functions): Fix typo in
28890 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28893 * stdlib/isomac.c (get_null_defines): Fix memory leak.
28896 * libio/memstream.c (open_memstream): Fix memory leak.
28897 * libio/wmemstream.c (open_wmemstream): Likewise.
28900 * nscd/netgroupcache.c: Fix nesting of ifdefs.
28902 2013-09-09 Will Newton <will.newton@linaro.org>
28904 * malloc/Makefile: Add tst-realloc to tests.
28905 * malloc/tst-realloc.c: New file.
28907 2013-09-09 Allan McRae <allan@archlinux.org>
28910 * COPYING: Update from GNU website to fix FSF address.
28911 * COPYING.LIB: Likewise.
28913 2013-09-06 David S. Miller <davem@davemloft.net>
28915 * po/zh_TW.po: Update Chinese (traditional) translation from
28916 translation project.
28918 2013-09-06 Richard Sandiford <richard@codesourcery.com>
28919 Joseph Myers <joseph@codesourcery.com>
28921 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28923 (obstack_chunk_alloc): New macro.
28924 (obstack_chunk_free): Likewise.
28925 (record_offset): New function.
28926 (init_locale_data): Likewise.
28927 (align_locale_data): Likewise.
28928 (add_locale_empty): Likewise.
28929 (add_locale_raw_data): Likewise.
28930 (add_locale_raw_obstack): Likewise.
28931 (add_locale_string): Likewise.
28932 (add_locale_wstring): Likewise.
28933 (add_locale_uint32): Likewise.
28934 (add_locale_uint32_array): Likewise.
28935 (add_locale_char): Likewise.
28936 (start_locale_structure): Likewise.
28937 (end_locale_structure): Likewise.
28938 (start_locale_prelude): Likewise.
28939 (end_locale_prelude): Likewise.
28940 (write_locale_data): Take locale_file structure rather than an
28942 * locale/programs/locfile.h: Include "obstack.h".
28943 (struct locale_file): Change to store locale file contents instead
28945 (init_locale_data): New prototype.
28946 (align_locale_data): Likewise.
28947 (add_locale_empty): Likewise.
28948 (add_locale_raw_data): Likewise.
28949 (add_locale_raw_obstack): Likewise.
28950 (add_locale_string): Likewise.
28951 (add_locale_wstring): Likewise.
28952 (add_locale_uint32): Likewise.
28953 (add_locale_uint32_array): Likewise.
28954 (add_locale_char): Likewise.
28955 (start_locale_structure): Likewise.
28956 (end_locale_structure): Likewise.
28957 (start_locale_prelude): Likewise.
28958 (end_locale_prelude): Likewise.
28959 (write_locale_data): Update prototype.
28960 * locale/programs/3level.h (struct TABLE): Remove result field.
28961 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28962 Use new locale_file interface.
28963 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28964 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28965 * locale/programs/ld-address.c (address_output): Use new
28966 locale_file interface.
28967 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28969 (collate_finish): Don't call collseq_table_finalize.
28970 (collate_output): Use new locale_file interface.
28971 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28973 (NO_FINALIZE): Change to NO_ADD_LOCALE.
28974 (TABLE): Move defines earlier in file.
28975 (ELEMENT): Likewise.
28976 (DEFAULT): Likewise.
28977 (wctrans_table_add): Move macro and inline function earlier in
28979 (struct wctype_table): Move type earlier in file.
28980 (add_locale_wctype_table): New static prototype.
28981 (struct locale_ctype_t): Use logical types instead of struct iovec
28982 pointers for members.
28983 (ctype_output): Use new locale_file interface.
28984 (wctype_table_finalize): Change to add_locale_wctype_table. Use
28985 new locale_file interface.
28986 (allocate_arrays): Update for use of new locale_file interface.
28987 * locale/programs/ld-identification.c (identification_output): Use
28988 new locale_file interface.
28989 * locale/programs/ld-measurement.c (measurement_output): Likewise.
28990 * locale/programs/ld-messages.c (messages_output): Likewise.
28991 * locale/programs/ld-monetary.c (monetary_output): Likewise.
28992 * locale/programs/ld-name.c (name_output): Likewise.
28993 * locale/programs/ld-numeric.c (numeric_output): Likewise.
28994 * locale/programs/ld-paper.c (paper_output): Likewise.
28995 * locale/programs/ld-telephone.c (telephone_output): Likewise.
28996 * locale/programs/ld-time.c (time_output): Likewise.
28998 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29000 * benchtests/Makefile: Add memrchr benchmark.
29001 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29002 benchmark as memrchr.
29003 * benchtests/bench-memrchr-ifunc.c: New file.
29004 * benchtests/bench-memrchr.c: New file.
29006 2013-09-06 Will Newton <will.newton@linaro.org>
29008 * benchtests/Makefile (string-bench): Add memcpy.
29010 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29011 Cong Wang <amwang@redhat.com>
29014 * sysdeps/unix/sysv/linux/bits/in.h
29015 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29016 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29017 before __USE_KERNEL_IPV6_DEFS uses.
29018 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29020 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29021 sockaddr_in6, or ipv6_mreq.
29023 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29025 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29026 memory access for final bytes in some large inputs.
29027 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29029 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29031 * string/test-memrchr.c: New file.
29032 * string/test-memrchr-ifunc.c: New file.
29033 * string/Makefile: Add new memrchr testcase.
29035 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29037 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29038 fanotify_init returns EPERM.
29040 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29042 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29044 (top level): Treat second token from macro or constant entries for
29045 allowed headers as allowed.
29046 * include/complex.h: Condition internal declarations on
29048 * include/fenv.h: Condition include of <stdbool.h> and internal
29049 declarations on [!_ISOMAC].
29051 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29054 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29056 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29058 * configure.in (--enable-versioning): Remove configure option.
29059 (libc_cv_asm_symver_directive): Remove configure test.
29060 (libc_cv_ld_version_script_option): Likewise.
29061 (VERSIONING): Remove variable and AC_SUBST.
29062 (DO_VERSIONING): Remove AC_DEFINE.
29063 * configure: Regenerated.
29064 * config.h.in (DO_VERSIONING): Remove macro.
29065 * Makerules [$(versioning) = yes]: Change conditionals to
29066 [$(build-shared) = yes].
29067 * config.make.in (versioning): Remove variable.
29068 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29069 [$(build-shared) = yes].
29070 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29071 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29072 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29073 [$(build-shared) = yes].
29074 * extra-lib.mk [$(versioning) = yes]: Likewise.
29075 * hurd/Makefile [$(versioning) = yes]: Likewise.
29076 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29078 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29080 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29081 [SHARED && !NO_HIDDEN].
29082 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29084 [SHARED && DO_VERSIONING]: Likewise..
29085 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29086 [$(build-shared) = yes].
29087 * manual/install.texi (--disable-versioning): Remove
29089 * INSTALL: Regenerated.
29090 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29092 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29093 [$(build-shared) = yes].
29094 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29095 * sysdeps/i386/i686/multiarch/strstr-c.c
29096 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29097 [SHARED && !NO_HIDDEN].
29098 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29099 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29100 * sysdeps/powerpc/powerpc32/dl-machine.c
29101 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29102 * sysdeps/powerpc/powerpc32/sysdep.h
29103 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29104 to [SHARED && PIC && !NO_HIDDEN].
29105 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29106 conditional to [SHARED].
29108 2013-09-04 Will Newton <will.newton@linaro.org>
29110 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29111 * benchtests/bench-string.h: Include bench-timing.h instead
29112 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29113 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29114 call to HP_TIMING_DIFF_INIT.
29115 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29116 instead of hp-timing.h macros.
29117 * benchtests/bench-memchr.c: Likewise.
29118 * benchtests/bench-memcmp.c: Likewise.
29119 * benchtests/bench-memcpy.c: Likewise.
29120 * benchtests/bench-memmem.c: Likewise.
29121 * benchtests/bench-memmove.c: Likewise.
29122 * benchtests/bench-memset.c: Likewise.
29123 * benchtests/bench-rawmemchr.c: Likewise.
29124 * benchtests/bench-strcasecmp.c: Likewise.
29125 * benchtests/bench-strcasestr.c: Likewise.
29126 * benchtests/bench-strcat.c: Likewise.
29127 * benchtests/bench-strchr.c: Likewise.
29128 * benchtests/bench-strcmp.c: Likewise.
29129 * benchtests/bench-strcpy.c: Likewise.
29130 * benchtests/bench-strcpy_chk.c: Likewise.
29131 * benchtests/bench-strlen.c: Likewise.
29132 * benchtests/bench-strncasecmp.c: Likewise.
29133 * benchtests/bench-strncat.c: Likewise.
29134 * benchtests/bench-strncmp.c: Likewise.
29135 * benchtests/bench-strncpy.c: Likewise.
29136 * benchtests/bench-strnlen.c: Likewise.
29137 * benchtests/bench-strpbrk.c: Likewise.
29138 * benchtests/bench-strrchr.c: Likewise.
29139 * benchtests/bench-strspn.c: Likewise.
29140 * benchtests/bench-strstr.c: Likewise.
29142 2013-09-04 Will Newton <will.newton@linaro.org>
29144 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29146 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29149 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29150 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29151 * math/libm-test.inc (lgamma_test_data): Add more tests.
29152 * sysdeps/i386/fpu/libm-test-ulps: Update.
29153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29155 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29157 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29161 Add strcmp-sse2-unaligned
29162 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29164 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29166 * Versions.def (libc): Add GLIBC_2.19.
29168 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29170 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29171 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29173 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29176 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29177 intermediate calculations in recurrence.
29178 (__ieee754_ynf): Likewise.
29179 * math/libm-test.inc (jn_test_data): Do not allow spurious
29180 underflow exception. Add more tests.
29181 (yn_test_data): Add more tests.
29182 * sysdeps/i386/fpu/libm-test-ulps: Update.
29183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29185 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29187 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29189 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29191 * csu/init-first.c: Fix then/than typos.
29192 * locale/programs/ld-collate.c: Likewise.
29193 * locale/programs/linereader.h: Likewise.
29194 * manual/charset.texi: Likewise.
29195 * manual/filesys.texi: Likewise.
29196 * manual/stdio.texi: Likewise.
29197 * manual/string.texi: Likewise.
29198 * stdlib/fmtmsg.c: Likewise.
29199 * sysdeps/i386/stpncpy.S: Likewise.
29200 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29201 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29202 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29203 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29205 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29207 * elf/dl-open.c: Fix typos.
29208 * iconvdata/gbbig5.c: Likewise.
29209 * iconvdata/iso-2022-jp.c: Likewise.
29210 * iconv/gconv_int.h: Likewise.
29211 * iconv/loop.c: Likewise.
29212 * nis/rpcsvc/nis.h: Likewise.
29213 * resolv/ns_name.c: Likewise.
29214 * stdio-common/vfscanf.c: Likewise.
29215 * streams/stropts.h: Likewise.
29216 * sunrpc/rpc_thread.c: Likewise.
29217 * sysdeps/i386/strpbrk.S: Likewise.
29218 * sysdeps/ieee754/k_standard.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29221 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29222 * sysdeps/mach/hurd/profil.c: Likewise.
29223 * sysdeps/s390/dl-procinfo.h: Likewise.
29224 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29225 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29226 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29227 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29228 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29230 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29232 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29235 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29237 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29238 aix specific files.
29239 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29240 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29241 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29242 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29243 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29244 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29245 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29246 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29248 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29249 Roland McGrath <roland@hack.frob.com>
29251 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29252 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29254 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29256 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29257 __executable_start symbol instead of _start.
29259 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29261 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29262 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29264 * sysdeps/gnu/ldsodefs.h: ... this new file.
29266 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29267 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29268 instead of ELFOSABI_LINUX.
29270 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29271 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29272 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29273 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29275 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29276 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29277 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29279 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29280 (ibm_extended_long_double): Add ieee_nan member.
29281 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29282 (do_test): New function.
29284 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29286 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29287 functions, renamed from truncdfsf_test, trunctfsf_test,
29289 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29291 (do_test): Run all these.
29293 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29295 * argp/argp-help.c: Fix typos.
29296 * argp/argp-parse.c: Likewise.
29297 * debug/backtracesyms.c: Likewise.
29298 * elf/elf.h: Likewise.
29299 * malloc/malloc.c: Likewise.
29300 * nis/nis_print.c: Likewise.
29301 * resolv/res_comp.c: Likewise.
29302 * stdlib/stdlib.h: Likewise.
29303 * sunrpc/clnt_tcp.c: Likewise.
29304 * sunrpc/clnt_udp.c: Likewise.
29305 * sunrpc/clnt_unix.c: Likewise.
29306 * sysdeps/unix/bsd/ptsname.c: Likewise.
29307 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29308 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29315 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29317 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29319 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29322 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29325 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29326 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29327 ($(objpfx)bug-dl-leaf): New rule.
29328 ($(objpfx)bug-dl-leaf.so): Likewise.
29329 ($(objpfx)bug-dl-leaf.out): Likewise.
29330 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29331 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29332 * dlfcn/bug-dl-leaf.c: New test.
29333 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29334 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29335 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29336 (dlclose): Likewise.
29337 (dlmopen): Likewise.
29339 2013-08-27 Roland McGrath <roland@hack.frob.com>
29341 * include/netdb.h [!_ISOMAC]:
29342 Don't include <tls.h>.
29343 (h_errno, __libc_h_errno): Move declaration and macros out of
29346 * include/resolv.h [_RESOLV_H_]:
29347 Don't include <tls.h>.
29348 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29349 * resolv/res_libc.c: Don't include <tls.h>.
29350 (_res): Use __attribute__ ((nocommon)) in place of
29351 __attribute__ ((section (".bss"))).
29353 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29354 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29356 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29358 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29359 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29361 * resolv/res_mkquery.c: Include <sys/time.h>.
29363 * inet/ifreq.c: Moved to ...
29364 * sysdeps/unix/ifreq.c: ... here.
29365 * inet/ifreq.c: New file, true stub version.
29367 * socket/sa_len.c: New file.
29368 * socket/Makefile (aux): Add it.
29369 * sysdeps/unix/sysv/linux/Makefile
29370 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29371 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29372 and #include <socket/sa_len.c>.
29373 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29374 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29376 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29377 * bits/socket.h: ... here.
29379 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29380 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29381 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29383 2013-08-27 Andreas Schwab <schwab@suse.de>
29386 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29387 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29388 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29389 * string/test-strcasecmp.c (test_main): Run tests in several
29391 * string/test-strncasecmp.c (test_main): Likewise.
29393 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29394 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29395 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29396 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29397 (__strncasecmp_ssse3) [PIC]: Likewise.
29399 2013-08-26 Roland McGrath <roland@hack.frob.com>
29401 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29403 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29404 instead of explicitly declaring xdecrypt.
29405 * nis/nss_nis/nis-publickey.c: Likewise.
29407 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29410 * nscd/aicache.c: Include res_hconf.h.
29411 (addhstaiX): Initialize res_hconf.
29413 2013-08-26 Andreas Schwab <schwab@suse.de>
29415 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29416 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29418 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29420 * nscd/aicache.c (addhstaiX): Fix indentation.
29422 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29424 * configure.ac: Quote $build_pt_chown test.
29425 * configure: Regenerated.
29427 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29430 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29431 * math/s_cexpf.c (__cexpf): Likewise.
29432 * math/s_cexpl.c (__cexpl): Likewise.
29433 * math/libm-test.inc (cexp_test_data): Correct expected return
29434 value for NaN + i0. Add another test.
29436 2013-08-22 David S. Miller <davem@davemloft.net>
29438 * po/ca.po: Update Catalan translation from translation project.
29439 * po/uk.po: Add Ukrainian translations from translation project.
29441 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29444 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29445 is infinite, not alongside NaN test.
29446 * math/s_fdimf.c (__fdimf): Likewise.
29447 * math/s_fdiml.c (__fdiml): Likewise.
29448 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29449 errno is unchanged.
29451 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29453 * argp/argp-help.c: Fix typos.
29454 * crypt/speeds.c: Likewise.
29455 * csu/check_fds.c: Likewise.
29456 * elf/dl-load.c: Likewise.
29457 * elf/dl-open.c: Likewise.
29458 * elf/reldep3.c: Likewise.
29459 * elf/reldep.c: Likewise.
29460 * elf/sprof.c: Likewise.
29461 * iconv/iconv_charmap.c: Likewise.
29462 * iconv/skeleton.c: Likewise.
29463 * iconv/strtab.c: Likewise.
29464 * io/lockf64.c: Likewise.
29465 * libio/libioP.h: Likewise.
29466 * resolv/gai_notify.c: Likewise.
29467 * resolv/ns_name.c: Likewise.
29468 * resolv/ns_samedomain.c: Likewise.
29469 * resolv/res_send.c: Likewise.
29470 * stdlib/random.c: Likewise.
29471 * sunrpc/rpc/xdr.h: Likewise.
29472 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29474 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29475 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29476 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29477 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29479 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29480 * sysdeps/mach/hurd/check_fds.c: Likewise.
29481 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29482 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29484 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29485 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29487 * sysdeps/pthread/aio_notify.c: Likewise.
29488 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29489 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29490 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29491 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29492 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29494 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29496 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29497 version if bit_Slow_SSE4_2 is set.
29498 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29501 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29504 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29505 trampoline stack frame information.
29506 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29507 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29508 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29509 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29510 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29511 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29512 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29513 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29515 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29516 interrupting a syscall and set with option SA_SIGINFO.
29518 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29521 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29522 argument is infinite.
29523 * math/s_cprojf.c (__cprojf): Likewise.
29524 * math/s_cprojl.c (__cprojl): Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29526 * math/libm-test.inc (cproj_test_data): Add more tests.
29528 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29530 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29531 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29532 size. Use __ffs to determine corresponding shift.
29534 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29535 Roland McGrath <roland@hack.frob.com>
29537 * Makefile (INSTALL): Remove trailing blank lines from output of
29540 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29542 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29543 Align 32 bit compat elf_greg to 8 bytes.
29545 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29547 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29549 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29551 * string/strcoll_l.c (coll_seq): New structure.
29552 (get_next_seq_cached): New function.
29553 (get_next_seq): New function.
29554 (do_compare): New function.
29555 (STRCOLL): Use GNU style definition. Simplify implementation
29556 by using get_next_seq, get_next_seq_cached and do_compare.
29558 2013-08-16 Florian Weimer <fweimer@redhat.com>
29562 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29564 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29566 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29567 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29568 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29570 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29571 GETDENTS_64BIT_ALIGNED.
29572 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29573 * manual/filesys.texi (Reading/Closing Directory): Document
29574 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29576 * manual/conf.texi (Limits for Files): Add portability note to
29577 NAME_MAX, PATH_MAX.
29578 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29580 2013-08-13 Andreas Schwab <schwab@suse.de>
29583 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29585 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29586 LDBL_MAX_EXP >= 16384]: Add tests for it.
29588 2013-08-12 David S. Miller <davem@davemloft.net>
29590 * version.h (RELEASE): Set to "development".
29591 (VERSION): Set to "2.18.90".
29592 * NEWS: Add 2.19 section.
29594 2013-08-03 David S. Miller <davem@davemloft.net>
29596 * po/ko.po: Update Korean translation from translation project.
29598 2013-08-01 David S. Miller <davem@davemloft.net>
29600 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29601 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29604 2013-07-30 David S. Miller <davem@davemloft.net>
29606 * po/fr.po: Update French translation from translation project.
29608 2013-07-28 David S. Miller <davem@davemloft.net>
29610 * po/cs.po: Update Czech translation from translation project.
29612 * po/sv.po: Update Swedish translation from translation project.
29614 2013-07-27 David S. Miller <davem@davemloft.net>
29616 * po/eo.po: Update Esperanto translation from translation project.
29618 * po/vi.po: Update Vietnamese translation from translation project.
29620 * po/de.po: Update German translation from translation project.
29622 2013-07-26 David S. Miller <davem@davemloft.net>
29624 * po/bg.po: Update Bulgarian translation from translation project.
29626 * po/nl.po: Update Dutch translation from translation project.
29627 * po/pl.po: Update Polish translation from translation project.
29628 * po/ru.po: Update Russian translation from translation project.
29630 2013-07-24 David S. Miller <davem@davemloft.net>
29632 * po/libc.pot: Update.
29634 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29636 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29637 variable page size.
29638 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29639 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29640 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29642 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29644 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29646 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29647 Andreas Schwab <schwab@suse.de>
29648 Roland McGrath <roland@hack.frob.com>
29649 Joseph Myers <joseph@codesourcery.com>
29650 Carlos O'Donell <carlos@redhat.com>
29653 * config.h.in: Define HAVE_PT_CHOWN.
29654 * config.make.in (build-pt-chown): New variable.
29655 * configure.in (--enable-pt_chown): New configure option.
29656 * configure: Regenerate.
29657 * login/Makefile: Include Makeconfig. Build pt_chown only if
29658 build-pt-chown is enabled.
29659 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29660 pt_chown to fix pty ownership.
29661 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29663 * manual/install.texi (Configuring and compiling): Mention
29664 --enable-pt_chown. Add @findex for grantpt.
29665 * INSTALL: Regenerate.
29667 2013-07-20 David S. Miller <davem@davemloft.net>
29669 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29670 difference between 32-bit and 64-bit.
29672 2013-07-15 Carlos O'Donell <carlos@redhat.com>
29675 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29676 Avoid system header dependency with -ffreestanding.
29677 ($(objpfx)bits/syscall%d): Likewise.
29679 2013-07-13 David S. Miller <davem@davemloft.net>
29681 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29682 underflows from atanl/atan2l due to bug 15319.
29683 (casinh_test_data): Likewise.
29685 2013-07-07 David S. Miller <davem@davemloft.net>
29687 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29689 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29691 * sysdeps/i386/fpu/libm-test-ulps: Update.
29692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29694 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29696 * configure.in (--enable-lock-elision): Fix message text.
29697 * INSTALL: Regenerate.
29698 * configure: Regenerate.
29700 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29704 2013-07-03 Andreas Jaeger <aj@suse.de>
29706 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29708 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29709 (ptrace_peeksiginfo_args): Add.
29710 (__ptrace_peeksiginfo_flags): Add.
29711 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29712 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29715 2013-07-03 Allan McRae <allan@archlinux.org>
29717 * sysdeps/i386/fpu/libm-test-ulps: Update.
29719 2013-07-02 David S. Miller <davem@davemloft.net>
29721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29723 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29727 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29729 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29732 2013-07-02 Andi Kleen <ak@linux.intel.com>
29734 * config.h.in (ENABLE_LOCK_ELISION): Add.
29735 * configure.in (--enable-lock-elision): Add option.
29736 * manual/install.texi: Document --enable lock elision.
29737 * configure: Regenerate
29738 * INSTALL: Regenerate.
29740 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29742 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29743 SSE4.2 strcasecmp for libc.a.
29744 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29746 2013-07-02 Joseph Myers <joseph@codesourcery.com>
29749 * soft-fp/op-common.h (_FP_FMA): New macro.
29750 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29751 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29752 (_FP_MUL_MEAT_1_imm): ... here.
29753 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29754 (_FP_MUL_MEAT_1_wide): ... here.
29755 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29756 (_FP_MUL_MEAT_1_hard): ... here.
29757 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29758 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29759 (_FP_MUL_MEAT_2_wide): ... here.
29760 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29761 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29762 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29763 (_FP_MUL_MEAT_2_gmp): ... here.
29764 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29765 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29766 (_FP_MUL_MEAT_4_wide): ... here.
29767 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29768 (_FP_MUL_MEAT_4_gmp): ... here.
29769 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29770 (_FP_WFRACBITS_DW_S): Likewise.
29771 (_FP_WFRACXBITS_DW_S): Likewise.
29772 (_FP_HIGHBIT_DW_S): Likewise.
29773 (FP_FMA_S): Likewise.
29774 (_FP_FRAC_HIGH_DW_S): Likewise.
29775 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29776 (_FP_WFRACBITS_DW_D): Likewise.
29777 (_FP_WFRACXBITS_DW_D): Likewise.
29778 (_FP_HIGHBIT_DW_D): Likewise.
29779 (FP_FMA_D): Likewise.
29780 (_FP_FRAC_HIGH_DW_D): Likewise.
29781 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29782 (_FP_WFRACBITS_DW_E): Likewise.
29783 (_FP_WFRACXBITS_DW_E): Likewise.
29784 (_FP_HIGHBIT_DW_E): Likewise.
29785 (FP_FMA_E): Likewise.
29786 (_FP_FRAC_HIGH_DW_E): Likewise.
29787 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29788 (_FP_WFRACBITS_DW_Q): Likewise.
29789 (_FP_WFRACXBITS_DW_Q): Likewise.
29790 (_FP_HIGHBIT_DW_Q): Likewise.
29791 (FP_FMA_Q): Likewise.
29792 (_FP_FRAC_HIGH_DW_Q): Likewise.
29793 * soft-fp/fmasf4.c: New file.
29794 * soft-fp/fmadf4.c: Likewise.
29795 * soft-fp/fmatf4.c: Likewise.
29797 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29800 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29804 (index_Slow_SSE4_2): Likewise.
29805 (index_Prefer_PMINUB_for_stringop): Likewise.
29806 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29807 bit_Slow_SSE4_2 is set.
29808 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29809 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29811 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29813 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29814 rtld_global._dl_hwcap2.
29815 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29817 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29818 POWER8 feature descriptions defined in _dl_hwcap2.
29819 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29820 string handling for POWER8 feature bits.
29821 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29822 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29823 _dl_powerpc_cap_flags.
29824 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29825 * sysdeps/powerpc/rtld-global-offsets.sym
29826 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29827 _dl_hwcap2 in the rtld_global_ro structure.
29829 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29831 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29832 hardware capabilities in support of AT_HWCAP2.
29833 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29834 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29836 (_dl_show_auxv): Add support for calling _dl_procinfo to display
29837 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
29838 explicitly the unknown a_type display mechanism is used.
29839 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29840 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29842 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29843 to macro prototype for AT_HWCAP2 support.
29844 * sysdeps/i386/dl-procinfo.h: Likewise.
29845 * sysdeps/s390/dl-procinfo.h: Likewise.
29846 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29847 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
29848 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
29849 return -1 for unknown a_type display fallback.
29850 * sysdeps/sparc/dl-procinfo.h: Likewise.
29851 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29852 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29854 2013-06-28 Joseph Myers <joseph@codesourcery.com>
29856 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29857 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29859 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
29862 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29863 mprotect making __stack_prot writable.
29865 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
29866 Joseph Myers <joseph@codesourcery.com>
29868 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29869 as being properly aligned.
29871 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
29873 * dlfcn/modstatic5.c: New file.
29874 * dlfcn/tststatic5.c: New file.
29875 * dlfcn/Makefile (tests): Add tststatic5.
29876 (tests-static): Likewise.
29877 (modules-names): Add modstatic5.
29878 (tststatic5-ENV): New variable.
29879 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29882 * elf/dl-support.c (_dl_main_map): New variable.
29883 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29884 (_dl_nns, _dl_load_adds): Set to 1.
29885 (_dl_initial_searchlist): Refer to _dl_main_map.
29886 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29887 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29888 call to _dl_get_origin.
29889 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29891 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29892 * dlfcn/modstatic3.c: New file.
29893 * dlfcn/tststatic3.c: New file.
29894 * dlfcn/tststatic4.c: New file.
29895 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29896 (tests-static): Likewise.
29897 (modules-names): Add modstatic3.
29898 (tststatic3-ENV, tststatic4-ENV): New variables.
29899 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29900 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29902 2013-06-26 Joseph Myers <joseph@codesourcery.com>
29904 * configure.in (CC): Require GCC version 4.4 or later.
29905 * configure: Regenerated.
29906 * manual/install.texi (Tools for Compilation): Update GCC version
29908 * INSTALL: Regenerated.
29910 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29913 * string/test-memcmp.c (check2): New.
29914 (main): Call check2.
29916 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29918 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
29921 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29923 (dl_open_worker) [!SHARED]: ... here.
29925 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29927 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29929 2013-06-25 Richard Henderson <rth@redhat.com>
29931 * locale/programs/locarchive.c: Include <libc-internal.h>
29933 2013-06-25 Joseph Myers <joseph@codesourcery.com>
29935 * manual/texinfo.tex: Update to version 2013-06-21.17, with
29936 trailing whitespace removed.
29938 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29941 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29942 * locale/programs/locarchive.c: Include libc-mmap.h.
29943 (prepare_address_space): Take two new outputs (the mmap base and len).
29944 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
29946 (create_archive): Declare new mmap base and len values for
29947 prepare_address_space, and store the result in ah.
29948 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29949 (enlarge_archive): If ah->mmap_base is not NULL, use that and
29950 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29951 Declare new mmap base and len values for
29952 prepare_address_space, and store the result in new_ah.
29953 (open_archive): Declare new mmap base and len values for
29954 prepare_address_space, and store the result in ah.
29955 (close_archive): If ah->mmap_base is not NULL, use that and
29956 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29957 * sysdeps/generic/libc-mmap.h: New file.
29959 2013-06-24 Mike Frysinger <vapier@gentoo.org>
29961 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29962 (ALIGN_UP): Likewise.
29963 (PTR_ALIGN_DOWN): Likewise.
29964 (PTR_ALIGN_UP): Likewise.
29966 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29968 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29969 entry mapped to PPC_PLATFORM_POWER8.
29970 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29972 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29973 (_dl_string_platform): Add case for exporting platform position for
29975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29976 search path to sysdeps/powerpc/powerpc32/power8 directory.
29977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29978 search path to sysdeps/powerpc/powerpc64/power8 directory.
29979 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29980 power7 directories.
29981 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29982 power7 directories.
29984 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29986 * INSTALL: Regenerate.
29988 * nscd/connections.c (nscd_init): Fix comment.
29990 2013-06-22 Joseph Myers <joseph@codesourcery.com>
29992 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29995 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29996 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29998 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30000 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30002 (DL_DST_REQ_STATIC): Remove macro.
30004 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30007 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30008 with a shift of 0 bits.
30010 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30012 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30015 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30018 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30020 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30022 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30023 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30024 accepts -fno-tree-loop-distribute-patterns.
30025 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30026 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30028 * string/memset.c (memset): Likewise.
30029 * string/test-memmove.c (simple_memmove): Disable loop transformation
30031 * string/test-memset.c (simple_memset): Likewise.
30032 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30033 * benchtests/bench-memset.c (simple_memset): Likewise.
30034 * configure: Regenerated.
30036 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30038 * math/test-misc.c (main): Ignore fesetround failure when failures
30039 of subsequent rounding tests would be ignored.
30042 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30043 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30044 * math/fegetenv.c (__fegetenv): Return 0.
30045 * math/fegetexcept.c (fegetexcept): Return 0.
30046 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30048 * math/feholdexcpt.c (feholdexcept): Return 0.
30049 * math/fesetenv.c (__fesetenv): Return 0.
30050 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30051 argument FE_TONEAREST.
30052 * math/feupdateenv.c (__feupdateenv): Return 0.
30053 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30055 2013-06-18 Roland McGrath <roland@hack.frob.com>
30057 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30058 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30059 ($(objpfx)rtld-%.os rules): Use them.
30061 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30063 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30066 2013-06-17 Roland McGrath <roland@hack.frob.com>
30068 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30069 length of target pattern, then descending length of dependency pattern.
30070 * configure.in (AWK): Require gawk 3.1.2 or newer.
30071 * manual/install.texi (Tools for Compilation): Say that we do.
30072 * configure: Regenerated.
30074 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30075 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30076 * scripts/sysd-rules.awk: ... this new script.
30077 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30078 than a glob-style pattern.
30080 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30082 * math/test-misc.c (main): Do not treat incorrectly rounded
30083 conversions as failure unless ROUNDING_TESTS passes.
30085 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30089 restore exception state around main square root computation, then
30090 check for inexactness explicitly.
30092 * math/libm-test.inc (fma_test_data): Add another test.
30094 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30096 * manual/threads.texi (Non-POSIX Extensions): New document
30097 node. Document pthread_getattr_default_np and
30098 pthread_setattr_default_np.
30100 * Versions.def (libpthread): Add GLIBC_2.18.
30101 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30110 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30121 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30124 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30126 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30127 H.J. Lu <hjl.tools@gmail.com>
30130 * sysdeps/x86_64/rtld-memset.c: Remove file.
30131 * sysdeps/x86_64/rtld-memset.S: New file.
30133 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30135 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30136 (test_in_one_mode): Take arguments for whether the rounding mode
30137 is supported for each floating-point type.
30138 (do_test): Pass new arguments to test_in_one_mode using
30141 2013-06-13 Roland McGrath <roland@hack.frob.com>
30143 * posix/tst-waitid.c (do_test): Distinguish different instances of
30144 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30145 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30146 before entering the kernel for waitpid.
30148 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30150 * NEWS: Fix note on clock function precision. Text by Roland
30153 2013-06-13 Roland McGrath <roland@hack.frob.com>
30155 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30156 it into place only when and if the sanity check passes.
30158 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30160 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30161 output for whether conversion result is exact. Take argument
30162 indicating whether type is IBM long double.
30163 (round_for_all): Change need_exact field to ibm_ld.
30164 * stdlib/tst-strtod-round.c (struct exactness): New type.
30165 (struct test): Change bool ld_ok field to struct exactness exact.
30166 (TEST): Update all definitions for change to field.
30167 (tests): Regenerate array contents.
30168 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30169 field value. Check for IBM long double here.
30170 (do_test): Update calls to test_in_one_mode.
30172 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30175 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30176 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30178 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30181 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30182 generated by the compiler on loop optimizations.
30183 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30184 general definitions.
30186 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30188 * math/bug-nextafter.c: Include <math-tests.h>.
30189 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30191 * math/bug-nexttoward.c: Include <math-tests.h>.
30192 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30194 * math/test-misc.c: Include <math-tests.h>.
30195 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30198 2013-06-12 Andreas Jaeger <aj@suse.de>
30200 * po/ia.po: Update Interlingua translation from translation
30203 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30205 * include/fenv.h: Include stdbool.h.
30206 (struct rm_ctx): New structure.
30207 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30209 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30210 (SET_RESTORE_ROUNDF): Likewise.
30211 (SET_RESTORE_ROUNDL): Likewise.
30212 (SET_RESTORE_ROUND_NOEX): Likewise.
30213 (SET_RESTORE_ROUND_NOEXF): Likewise.
30214 (SET_RESTORE_ROUND_NOEXL): Likewise.
30215 (SET_RESTORE_ROUND_53BIT): Likewise.
30216 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30217 (libc_feresetround_noexf_ctx): Likewise.
30218 (libc_feresetround_noexl_ctx): Likewise.
30219 (libc_feholdsetround_53bit_ctx): Likewise.
30220 (libc_feresetround_53bit_ctx): Likewise.
30221 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30222 (libc_feholdexcept_setround_sse_ctx): New function.
30223 (libc_fesetenv_sse_ctx): Likewise.
30224 (libc_feupdateenv_sse_ctx): Likewise.
30225 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30226 (libc_feholdexcept_setround_387_ctx): Likewise.
30227 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30228 (libc_feholdsetround_387_prec_ctx): Likewise.
30229 (libc_feholdsetround_387_ctx): Likewise.
30230 (libc_feholdsetround_387_53bit_ctx): Likewise.
30231 (libc_feholdsetround_sse_ctx): Likewise.
30232 (libc_feresetround_sse_ctx): Likewise.
30233 (libc_feresetround_387_ctx): Likewise.
30234 (libc_feupdateenv_387_ctx): Likewise.
30235 (libc_feholdexcept_setroundf_ctx): Define macro.
30236 (libc_fesetenvf_ctx): Likewise.
30237 (libc_feupdateenvf_ctx): Likewise.
30238 (libc_feholdsetroundf_ctx): Likewise.
30239 (libc_feresetroundf_ctx): Likewise.
30240 (libc_feholdexcept_setround_ctx): Likewise.
30241 (libc_fesetenv_ctx): Likewise.
30242 (libc_feupdateenv_ctx): Likewise.
30243 (libc_feholdsetround_ctx): Likewise.
30244 (libc_feresetround_ctx): Likewise.
30245 (libc_feholdexcept_setroundl_ctx): Likewise.
30246 (libc_feupdateenvl_ctx): Likewise.
30247 (libc_feholdsetroundl_ctx): Likewise.
30248 (libc_feresetroundl_ctx): Likewise.
30249 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30250 (libc_feresetround_53bit_ctx): Likewise.
30252 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30254 * locale/iso-639.def: Convert to UTF-8.
30256 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30258 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30259 (EXCEPTION_TESTS_double): Likewise.
30260 (EXCEPTION_TESTS_long_double): Likewise.
30261 (EXCEPTION_TESTS): Likewise.
30262 * math/libm-test.inc (test_exceptions): Only test exceptions if
30263 EXCEPTION_TESTS (FLOAT).
30265 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30267 * benchtests/Makefile (string-bench): Add strcpy_chk and
30269 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30270 * benchtests/bench-stpcpy_chk.c: New file.
30271 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30272 * benchtests/bench-strcpy_chk.c: New file.
30273 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30275 (do_test): Likewise.
30277 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30279 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30280 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30281 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30282 with tabs where appropriate.
30283 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30285 [PPC_PLATFORM_PPC440]: Likewise.
30286 [PPC_PLATFORM_PPC464]: Likewise.
30287 [PPC_PLATFORM_PPC476]: Likewise.
30288 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30289 ppc464, and ppc476 platform strings merging from ports/
30292 2013-06-11 Andreas Schwab <schwab@suse.de>
30295 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30296 (from_ucs4_idx): Regenerate.
30297 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30298 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30299 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30300 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30301 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30302 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30303 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30304 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30305 from FROM_LOOP and TO_LOOP specific macros.
30306 (BODY): Handle combining characters.
30307 * iconvdata/BIG5HKSCS.irreversible: Update.
30308 * iconvdata/BIG5HKSCS.precomposed: New file.
30309 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30311 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30313 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30315 * include/sys/time.h: Fix indentation and add copyright header.
30317 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30318 (do_test): Likewise.
30319 * string/test-memchr.c (do_one_test): Likewise.
30320 (do_test): Likewise.
30321 * string/test-memcmp.c (do_one_test): Likewise.
30322 (do_test): Likewise.
30323 * string/test-memcpy.c (do_one_test): Likewise.
30324 (do_test): Likewise.
30325 * string/test-memmem.c (do_one_test): Likewise.
30326 (do_test): Likewise.
30327 (do_random_tests): Likewise.
30328 * string/test-memmove.c (do_one_test): Likewise.
30329 (do_test): Likewise.
30330 * string/test-memset.c (do_one_test): Likewise.
30331 (do_test): Likewise.
30332 * string/test-rawmemchr.c (do_one_test): Likewise.
30333 (do_test): Likewise.
30334 * string/test-strcasecmp.c (do_one_test): Likewise.
30335 (do_test): Likewise.
30336 * string/test-strcasestr.c (do_one_test): Likewise.
30337 (do_test): Likewise.
30338 * string/test-strcat.c (do_one_test): Likewise.
30339 (do_test): Likewise.
30340 * string/test-strchr.c (do_one_test): Likewise.
30341 (do_test): Likewise.
30342 * string/test-strcmp.c (do_one_test): Likewise.
30343 (do_test): Likewise.
30344 * string/test-strcpy.c (do_one_test): Likewise.
30345 (do_test): Likewise.
30346 * string/test-string.h: Likewise.
30347 (test_init): Likewise.
30348 * string/test-strlen.c (do_one_test): Likewise.
30349 (do_test): Likewise.
30350 * string/test-strncasecmp.c (do_one_test): Likewise.
30351 (do_test): Likewise.
30352 * string/test-strncat.c (do_one_test): Likewise.
30353 (do_test): Likewise.
30354 * string/test-strncmp.c (do_one_test): Likewise.
30355 (do_test_limit): Likewise.
30356 (do_test): Likewise.
30357 * string/test-strncpy.c (do_one_test): Likewise.
30358 (do_test): Likewise.
30359 * string/test-strnlen.c (do_one_test): Likewise.
30360 (do_test): Likewise.
30361 * string/test-strpbrk.c (do_one_test): Likewise.
30362 (do_test): Likewise.
30363 * string/test-strrchr.c (do_one_test): Likewise.
30364 (do_test): Likewise.
30365 * string/test-strspn.c (do_one_test): Likewise.
30366 (do_test): Likewise.
30367 * string/test-strstr.c (do_one_test): Likewise.
30368 (do_test): Likewise.
30370 * benchtests/Makefile (string-bench): Add string benchmarks.
30371 * benchtests/bench-bcopy-ifunc.c: New file.
30372 * benchtests/bench-bcopy.c: New file.
30373 * benchtests/bench-bzero-ifunc.c: New file.
30374 * benchtests/bench-bzero.c: New file.
30375 * benchtests/bench-memccpy-ifunc.c: New file.
30376 * benchtests/bench-memccpy.c: New file.
30377 * benchtests/bench-memchr-ifunc.c: New file.
30378 * benchtests/bench-memchr.c: New file.
30379 * benchtests/bench-memcmp-ifunc.c: New file.
30380 * benchtests/bench-memcmp.c: New file.
30381 * benchtests/bench-memmem-ifunc.c: New file.
30382 * benchtests/bench-memmem.c: New file.
30383 * benchtests/bench-memmove-ifunc.c: New file.
30384 * benchtests/bench-memmove.c: New file.
30385 * benchtests/bench-mempcpy-ifunc.c: New file.
30386 * benchtests/bench-mempcpy.c: New file.
30387 * benchtests/bench-memset-ifunc.c: New file.
30388 * benchtests/bench-memset.c: New file.
30389 * benchtests/bench-rawmemchr-ifunc.c: New file.
30390 * benchtests/bench-rawmemchr.c: New file.
30391 * benchtests/bench-stpcpy-ifunc.c: New file.
30392 * benchtests/bench-stpcpy.c: New file.
30393 * benchtests/bench-stpncpy-ifunc.c: New file.
30394 * benchtests/bench-stpncpy.c: New file.
30395 * benchtests/bench-strcasecmp-ifunc.c: New file.
30396 * benchtests/bench-strcasecmp.c: New file.
30397 * benchtests/bench-strcasestr-ifunc.c: New file.
30398 * benchtests/bench-strcasestr.c: New file.
30399 * benchtests/bench-strcat-ifunc.c: New file.
30400 * benchtests/bench-strcat.c: New file.
30401 * benchtests/bench-strchr-ifunc.c: New file.
30402 * benchtests/bench-strchr.c: New file.
30403 * benchtests/bench-strchrnul-ifunc.c: New file.
30404 * benchtests/bench-strchrnul.c: New file.
30405 * benchtests/bench-strcmp-ifunc.c: New file.
30406 * benchtests/bench-strcmp.c: New file.
30407 * benchtests/bench-strcpy-ifunc.c: New file.
30408 * benchtests/bench-strcpy.c: New file.
30409 * benchtests/bench-strcspn-ifunc.c: New file.
30410 * benchtests/bench-strcspn.c: New file.
30411 * benchtests/bench-strlen-ifunc.c: New file.
30412 * benchtests/bench-strlen.c: New file.
30413 * benchtests/bench-strncasecmp-ifunc.c: New file.
30414 * benchtests/bench-strncasecmp.c: New file.
30415 * benchtests/bench-strncat-ifunc.c: New file.
30416 * benchtests/bench-strncat.c: New file.
30417 * benchtests/bench-strncmp-ifunc.c: New file.
30418 * benchtests/bench-strncmp.c: New file.
30419 * benchtests/bench-strncpy-ifunc.c: New file.
30420 * benchtests/bench-strncpy.c: New file.
30421 * benchtests/bench-strnlen-ifunc.c: New file.
30422 * benchtests/bench-strnlen.c: New file.
30423 * benchtests/bench-strpbrk-ifunc.c: New file.
30424 * benchtests/bench-strpbrk.c: New file.
30425 * benchtests/bench-strrchr-ifunc.c: New file.
30426 * benchtests/bench-strrchr.c: New file.
30427 * benchtests/bench-strspn-ifunc.c: New file.
30428 * benchtests/bench-strspn.c: New file.
30429 * benchtests/bench-strstr-ifunc.c: New file.
30430 * benchtests/bench-strstr.c: New file.
30432 * benchtests/Makefile: Disable parallel execution of targets.
30433 (string-bench): Add memcpy.
30434 (benchset): New variable to store a list of benchmark sets.
30435 (bench-func): Renamed from bench.
30436 (bench-set): New target.
30437 (bench): Depend on bench-func and bench-set.
30438 * benchtests/README: Add section on benchmark sets.
30439 * benchtests/bench-memcpy-ifunc.c: New file.
30440 * benchtests/bench-memcpy.c: New file.
30441 * benchtests/bench-string.h: New file.
30443 2013-06-11 Andreas Schwab <schwab@suse.de>
30446 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30447 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30448 values in the triple.
30449 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30450 terminator in the group key.
30452 2013-06-11 Andreas Jaeger <aj@suse.de>
30454 * po/zh_TW.po: Update Chinese (traditional) translation from
30455 translation project.
30457 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30459 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30460 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30461 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30463 (clock_getcpuclockid): Likewise.
30464 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30465 Add weak_alias and libc_hidden_def.
30466 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30467 * rt/clock_gettime.c (clock_gettime): Rename to
30468 __clock_gettime. Add weak_alias and libc_hidden_def.
30469 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30470 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30471 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30472 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30473 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30475 * rt/clock_settime.c (clock_settime): Rename to
30476 __clock_settime. Add weak_alias and libc_hidden_def.
30477 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30479 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30481 * mach/err_boot.sub: Remove trailing whitespace.
30482 * mach/err_ipc.sub: Likewise.
30483 * mach/err_mach.sub: Likewise.
30485 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30486 (ROUNDING_TESTS_double): Likewise.
30487 (ROUNDING_TESTS_long_double): Likewise.
30488 (ROUNDING_TESTS): Likewise.
30489 * math/libm-test.inc: Include <math-tests.h>.
30490 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30491 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30492 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30493 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30495 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30497 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30500 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30502 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30503 otherwise empty TRANS lines.
30504 * sysdeps/gnu/errlist.c: Regenerated.
30506 * catgets/gencat.c (error_print): Use (void) in function
30508 * crypt/crypt_util.c (__init_des): Likewise.
30509 * crypt/speeds.c (Stop): Likewise.
30511 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30512 * inet/ruserpass.c (token): Likewise.
30513 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30514 * intl/localealias.c (extend_alias_table): Likewise.
30515 * intl/plural-exp.c (init_germanic_plural): Likewise.
30516 * libio/fcloseall.c (__fcloseall): Likewise.
30517 * libio/genops.c (_IO_flush_all): Likewise.
30518 (_IO_flush_all_linebuffered): Likewise.
30519 (_IO_cleanup): Likewise.
30520 (_IO_iter_begin): Likewise.
30521 (_IO_iter_end): Likewise.
30522 (_IO_list_lock): Likewise.
30523 (_IO_list_unlock): Likewise.
30524 (_IO_list_resetlock): Likewise.
30525 * libio/getchar.c (getchar): Likewise.
30526 * libio/getchar_u.c (getchar_unlocked): Likewise.
30527 * libio/getwchar.c (getwchar): Likewise.
30528 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30529 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30530 * login/getpt.c (__getpt): Likewise.
30531 * login/tst-utmp.c (main): Likewise.
30532 * malloc/hooks.c (__malloc_check_init): Likewise.
30533 * malloc/malloc.c (__malloc_stats): Likewise.
30534 * malloc/mtrace.c (tr_break): Likewise.
30535 (mtrace): Likewise.
30536 (muntrace): Likewise.
30537 * misc/fstab.c (endfsent): Likewise.
30538 * misc/getclktck.c (__getclktck): Likewise.
30539 * misc/getdtsz.c (__getdtablesize): Likewise.
30540 * misc/gethostid.c (gethostid): Likewise.
30541 * misc/getpagesize.c (__getpagesize): Likewise.
30542 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30543 (__get_nprocs): Likewise.
30544 (__get_phys_pages): Likewise.
30545 (__get_avphys_pages): Likewise.
30546 * misc/getttyent.c (getttyent): Likewise.
30547 (setttyent): Likewise.
30548 (endttyent): Likewise.
30549 * misc/getusershell.c (getusershell): Likewise.
30550 (endusershell): Likewise.
30551 (setusershell): Likewise.
30552 (initshells): Likewise.
30553 * misc/hsearch.c (__hdestroy): Likewise.
30554 * misc/sync.c (sync): Likewise.
30555 * misc/syslog.c (closelog_internal): Likewise.
30556 (closelog): Likewise.
30557 * misc/ttyslot.c (ttyslot): Likewise.
30558 * misc/vhangup.c (vhangup): Likewise.
30559 * posix/fork.c (__fork): Likewise.
30560 * posix/getegid.c (__getegid): Likewise.
30561 * posix/geteuid.c (__geteuid): Likewise.
30562 * posix/getgid.c (__getgid): Likewise.
30563 * posix/getpid.c (__getpid): Likewise.
30564 * posix/getppid.c (__getppid): Likewise.
30565 * posix/getuid.c (__getuid): Likewise.
30566 * posix/pause.c (pause): Likewise.
30567 * posix/setpgrp.c (setpgrp): Likewise.
30568 * posix/setsid.c (__setsid): Likewise.
30569 * posix/test-vfork.c (noop): Likewise.
30570 * resolv/gethnamaddr.c (_endhtent): Likewise.
30571 (_gethtent): Likewise.
30572 (ht_endhostent): Likewise.
30573 (gethostent): Likewise.
30574 (dns_service): Likewise.
30575 * stdlib/drand48.c (drand48): Likewise.
30576 * stdlib/lrand48.c (lrand48): Likewise.
30577 * stdlib/mrand48.c (mrand48): Likewise.
30578 * stdlib/rand.c (rand): Likewise.
30579 * stdlib/random.c (__random): Likewise.
30580 * stdlib/setenv.c (clearenv): Likewise.
30581 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30582 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30583 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30584 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30585 (__get_nprocs): Likewise.
30586 (__get_phys_pages): Likewise.
30587 (__get_avphys_pages): Likewise.
30588 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30589 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30590 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30591 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30592 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30593 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30594 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30595 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30596 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30597 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30598 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30599 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30600 * sysdeps/posix/clock.c (clock): Likewise.
30601 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30602 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30603 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30604 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30605 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30607 (__get_nprocs_conf): Likewise.
30608 (__get_phys_pages): Likewise.
30609 (__get_avphys_pages): Likewise.
30610 * time/clock.c (clock): Likewise.
30611 * time/tzset.c (__tzname_max): Likewise.
30613 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30615 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30616 (__bswap_32): Do not use "register".
30617 * crypt/crypt.c (_ufc_doit_r): Likewise.
30618 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30619 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30620 * gmon/gmon.c (__monstartup): Likewise.
30621 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30622 * hurd/hurdmalloc.c (more_memory): Likewise.
30623 (malloc): Likewise.
30625 (realloc): Likewise.
30626 (malloc_fork_prepare): Likewise.
30627 (malloc_fork_parent): Likewise.
30628 (malloc_fork_child): Likewise.
30629 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30630 (_svcauth_des): Likewise.
30631 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30632 * inet/inet_net.c (inet_network): Likewise.
30633 * inet/inet_netof.c (inet_netof): Likewise.
30634 * inet/rcmd.c (__validuser2_sa): Likewise.
30635 * io/fts.c (fts_open): Likewise.
30636 (fts_load): Likewise.
30637 (fts_close): Likewise.
30638 (fts_read): Likewise.
30639 (fts_children): Likewise.
30640 (fts_build): Likewise.
30641 (fts_stat): Likewise.
30642 (fts_sort): Likewise.
30643 (fts_alloc): Likewise.
30644 (fts_lfree): Likewise.
30645 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30646 (_IO_file_xsgetn): Likewise.
30647 (_IO_file_xsgetn_mmap): Likewise.
30648 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30649 (_IO_cookie_write): Likewise.
30650 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30651 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30652 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30653 * malloc/obstack.c (_obstack_begin): Likewise.
30654 (_obstack_begin_1): Likewise.
30655 (_obstack_newchunk): Likewise.
30656 (_obstack_allocated_p): Likewise.
30657 (obstack_free): Likewise.
30658 (_obstack_memory_used): Likewise.
30659 * misc/getttyent.c (getttynam): Likewise.
30660 (getttyent): Likewise.
30663 * misc/getusershell.c (initshells): Likewise.
30664 * misc/syslog.c (__vsyslog_chk): Likewise.
30665 * misc/ttyslot.c (ttyslot): Likewise.
30666 * nis/nis_hash.c (__nis_hash): Likewise.
30667 * posix/fnmatch_loop.c (FCT): Likewise.
30668 * posix/getconf.c (print_all): Likewise.
30670 * posix/getopt.c (exchange): Likewise.
30671 * posix/glob.c (globfree): Likewise.
30672 (prefix_array): Likewise.
30673 (__glob_pattern_type): Likewise.
30674 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30675 (NS_GET32): Likewise.
30676 (NS_PUT16): Likewise.
30677 (NS_PUT32): Likewise.
30678 * resolv/gethnamaddr.c (getanswer): Likewise.
30679 (gethostbyname2): Likewise.
30680 (gethostbyaddr): Likewise.
30681 (_gethtent): Likewise.
30682 (_gethtbyname2): Likewise.
30683 (_gethtbyaddr): Likewise.
30684 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30685 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30686 * resolv/res_init.c (__res_vinit): Likewise.
30687 (net_mask): Likewise.
30688 * resolv/res_mkquery.c (outchar): Likewise.
30690 * stdio-common/printf_fp.c (outchar): Likewise.
30692 * stdio-common/printf_fphex.c (outchar): Likewise.
30694 * stdio-common/printf_size.c (outchar): Likewise.
30696 * stdio-common/test_rdwr.c (main): Likewise.
30697 * stdio-common/tfformat.c (matches): Likewise.
30698 * stdio-common/vfprintf.c (outchar): Likewise.
30699 (printf_unknown): Likewise.
30700 (buffered_vfprintf): Likewise.
30701 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30702 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30703 (ReadFile): Likewise.
30704 * stdlib/qsort.c (SWAP): Likewise.
30705 (_quicksort): Likewise.
30706 * stdlib/setenv.c (__add_to_environ): Likewise.
30707 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30708 * stdlib/strtol_l.c (__strtol_l): Likewise.
30709 * stdlib/tst-strtod.c (main): Likewise.
30710 * stdlib/tst-strtol.c (main): Likewise.
30711 * stdlib/tst-strtoll.c (main): Likewise.
30712 * string/bits/string2.h (__strcmp_cc): Likewise.
30713 (__strcmp_cg): Likewise.
30714 (__strcspn_c1): Likewise.
30715 (__strcspn_c2): Likewise.
30716 (__strcspn_c3): Likewise.
30717 (__strspn_c1): Likewise.
30718 (__strspn_c2): Likewise.
30719 (__strspn_c3): Likewise.
30720 (__strsep_1c): Likewise.
30721 (__strsep_2c): Likewise.
30722 (__strsep_3c): Likewise.
30723 * string/memccpy.c (__memccpy): Likewise.
30724 * string/stpcpy.c (__stpcpy): Likewise.
30725 * string/strcmp.c (strcmp): Likewise.
30726 * string/strrchr.c (strrchr): Likewise.
30727 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30729 * sysdeps/mach/hurd/getcwd.c
30730 (_hurd_canonicalize_directory_name_internal): Likewise.
30731 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30732 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30733 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30734 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30735 Likewise, in both definitions.
30736 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30738 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30739 64] (__bswap_64): Likewise.
30740 * time/test_time.c (main): Likewise.
30741 * time/tzfile.c (__tzfile_read): Likewise.
30742 (__tzfile_compute): Likewise.
30743 * time/tzset.c (__tzset_parse_tz): Likewise.
30744 (tzset_internal): Likewise.
30745 (compute_change): Likewise.
30746 * wcsmbs/wcscat.c (__wcscat): Likewise.
30747 * wcsmbs/wcschr.c (wcschr): Likewise.
30748 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30749 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30750 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30751 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30752 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30753 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30754 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30755 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30756 * wcsmbs/wmemset.c (wmemset): Likewise.
30758 2013-06-06 Joseph Myers <joseph@codesourcery.com>
30760 * scripts/config.guess: Update to version 2013-05-16.
30761 * scripts/config.sub: Update to version 2013-04-24.
30762 * scripts/install-sh: Update to version 2011-11-20.07.
30763 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30764 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30766 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
30768 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30769 * elf/sln.c: Likewise.
30770 * hurd/hurd/ioctl.h: Likewise.
30771 * hurd/hurdmalloc.c: Likewise.
30772 * hurd/xattr.c: Likewise.
30773 * include/shlib-compat.h: Likewise.
30774 * inet/ruserpass.c: Likewise.
30775 * libio/iofgets_u.c: Likewise.
30776 * libio/iofgetws_u.c: Likewise.
30777 * locale/programs/ld-identification.c: Likewise.
30778 * locale/programs/ld-time.c: Likewise.
30779 * mach/msg-destroy.c: Likewise.
30780 * nss/nss_files/files-netgrp.c: Likewise.
30781 * resolv/res_data.c: Likewise.
30782 * soft-fp/op-1.h: Likewise.
30783 * soft-fp/op-2.h: Likewise.
30784 * soft-fp/op-4.h: Likewise.
30785 * soft-fp/op-common.h: Likewise.
30786 * stdio-common/printf_fphex.c: Likewise.
30787 * stdlib/strtod_l.c: Likewise.
30788 * sunrpc/rpc/clnt.h: Likewise.
30789 * sysdeps/generic/framestate.c: Likewise.
30790 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30791 * sysdeps/i386/bsd-setjmp.S: Likewise.
30792 * sysdeps/i386/__longjmp.S: Likewise.
30793 * sysdeps/i386/setjmp.S: Likewise.
30794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30795 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30812 * sysdeps/ieee754/support.c: Likewise.
30813 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30814 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30815 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30816 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30817 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30818 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30819 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30820 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30821 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30822 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30823 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30824 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30825 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30826 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30827 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30828 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30829 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30832 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
30834 * posix/transbug.c: Remove executable mode.
30836 2013-06-05 Joseph Myers <joseph@codesourcery.com>
30838 * crypt/speeds.c: Remove trailing whitespace.
30839 * dlfcn/default.c: Likewise.
30840 * elf/ifuncdep2.c: Likewise.
30841 * elf/ifuncmain1.c: Likewise.
30842 * elf/ifuncmain1vis.c: Likewise.
30843 * elf/testobj.h: Likewise.
30844 * elf/tst-stackguard1.c: Likewise.
30845 * gmon/sys/gmon.h: Likewise.
30846 * hurd/hurdmsg.c: Likewise.
30847 * hurd/new-fd.c: Likewise.
30848 * hurd/ports-get.c: Likewise.
30849 * iconvdata/ibm1008_420.c: Likewise.
30850 * inet/tst-getni1.c: Likewise.
30851 * inet/tst-getni2.c: Likewise.
30852 * libio/ioungetc.c: Likewise.
30853 * libio/wfiledoalloc.c: Likewise.
30854 * manual/libm-err-tab.pl: Likewise.
30855 * math/w_dremf.c: Likewise.
30856 * misc/ftruncate.c: Likewise.
30857 * posix/bug-glob2.c: Likewise.
30858 * posix/tst-pcre.c: Likewise.
30859 * posix/wait4.c: Likewise.
30860 * resolv/README: Likewise.
30861 * resolv/res_debug.h: Likewise.
30862 * resolv/tst-inet_ntop.c: Likewise.
30863 * setjmp/bug269-setjmp.c: Likewise.
30864 * soft-fp/extended.h: Likewise.
30865 * soft-fp/op-1.h: Likewise.
30866 * soft-fp/op-2.h: Likewise.
30867 * soft-fp/op-4.h: Likewise.
30868 * soft-fp/op-8.h: Likewise.
30869 * soft-fp/testit.c: Likewise.
30870 * stdio-common/bug16.c: Likewise.
30871 * stdlib/random.c: Likewise.
30872 * sunrpc/rpcsvc/rquota.x: Likewise.
30873 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30874 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30875 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30878 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30879 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30883 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30884 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30885 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30886 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30888 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30889 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30891 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30896 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30900 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30902 * sysdeps/ieee754/s_lib_version.c: Likewise.
30903 * sysdeps/mach/hurd/check_fds.c: Likewise.
30904 * sysdeps/mach/hurd/getsockname.c: Likewise.
30905 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30906 * sysdeps/mach/hurd/recvfrom.c: Likewise.
30907 * sysdeps/powerpc/bits/link.h: Likewise.
30908 * sysdeps/powerpc/dl-procinfo.c: Likewise.
30909 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30910 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30911 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30912 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30913 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30914 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30915 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30916 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30917 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30918 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30919 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30920 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30921 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30922 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30923 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30924 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30925 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30926 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30927 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30929 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30931 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30932 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30933 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30934 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30935 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30939 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30941 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30942 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30943 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30944 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30945 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30946 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30947 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30948 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30949 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30950 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30951 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30952 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30953 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30954 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30955 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30956 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30957 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30960 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30961 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30962 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30963 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30964 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30965 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30966 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30967 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30968 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30969 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30970 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30971 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30972 * sysdeps/powerpc/sysdep.h: Likewise.
30973 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30974 * sysdeps/s390/s390-64/sub_n.S: Likewise.
30975 * sysdeps/sh/dl-trampoline.S: Likewise.
30976 * sysdeps/sh/memset.S: Likewise.
30977 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30978 * sysdeps/sh/strlen.S: Likewise.
30979 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30980 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30981 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30982 * sysdeps/sparc/sparc32/rem.S: Likewise.
30983 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30984 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30985 * sysdeps/sparc/sparc32/strchr.S: Likewise.
30986 * sysdeps/sparc/sparc32/udiv.S: Likewise.
30987 * sysdeps/sparc/sparc32/urem.S: Likewise.
30988 * sysdeps/sparc/sparc64/add_n.S: Likewise.
30989 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30990 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30991 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30992 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30993 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30994 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30995 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30996 * sysdeps/unix/bsd/times.c: Likewise.
30997 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30998 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31002 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31003 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31004 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31005 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31006 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31007 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31008 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31009 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31010 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31011 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31012 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31013 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31014 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31015 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31016 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31017 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31018 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31019 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31020 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31021 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31022 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31023 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31024 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31025 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31026 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31027 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31028 * sysdeps/x86_64/strcspn.S: Likewise.
31030 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31032 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31033 generated file. Regenerate properly from gen-translit.pl.
31034 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31035 locale/C-translit.h.
31037 2013-06-05 Andreas Schwab <schwab@suse.de>
31040 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31041 week as 6 instead of -1.
31042 * time/tst-strptime.c (day_tests): Add test case.
31044 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31046 * sysdeps/generic/math_private.h
31047 (libc_feholdexcept_setround_53bit): Replace with
31048 libc_feholdsetround_53bit.
31049 (libc_feupdateenv_53bit): Replace with
31050 libc_feresetround_53bit.
31051 (SET_RESTORE_ROUND_53BIT): Adjust.
31053 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31055 * string/test-strchrnul.c: Add copyright header.
31057 * posix/tst-getaddrinfo4.c: Increase test timeout.
31059 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31062 * math/libm-test.inc (MAX_EXP): Remove
31064 (ulp): Use MIN_EXP - MANT_DIG.
31065 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31067 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31069 * po/be.po: Revert last change.
31070 * po/zh_CN.po: Likewise.
31071 * po/header.pot: Likewise.
31073 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31075 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31076 link-libc-deps to empty as target-specific variable.
31077 * Makerules (link-libc-args): New variable.
31078 (libc-for-link): Likewise.
31079 (link-libc-deps): Likewise.
31080 (lib%.so): Depend on $(link-libc-deps). Link with
31082 (build-module): Link with $(link-libc-args).
31083 (build-module-asneeded): Likewise.
31084 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31086 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31087 target-specific variable.
31088 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31089 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31090 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31092 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31094 ($(objpfx)libpcprofile.so): Likewise.
31095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31097 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31098 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31099 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31101 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31102 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31103 * login/Makefile ($(objpfx)libutil.so): Likewise.
31104 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31105 * math/Makefile ($(objpfx)libm.so): Likewise.
31106 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31107 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31108 variable instead of depending directly on libc.
31109 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31110 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31112 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31114 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31115 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31116 ($(objpfx)libanl.so): Likewise.
31117 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31119 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31121 * sysdeps/i386/fpu/Makefile: Remove file.
31122 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31123 ($(objpfx)libm.so): Remove dependency on ld.so.
31125 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31128 * nis/yp_xdr.c (XDRMAXNAME): Define.
31129 (XDRMAXRECORD): Define.
31130 (xdr_domainname): Use XDRMAXNAME.
31131 (xdr_mapname): Likewise.
31132 (xdr_peername): Likewise.
31133 (xdr_keydat): Use XDRMAXRECORD.
31134 (xdr_valdat): Likewise.
31136 2013-05-30 Jeff Law <law@redhat.com>
31139 * manual/errno.texi (ESTALE): Update to account for more than
31140 just NFS file systems.
31141 * sysdeps/gnu/errlist.c: Regenerated.
31143 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31146 * elf/Makefile (tests): Add tst-null-argv.
31147 (modules-names): Add tst-null-argv-lib.
31148 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31149 (tst-null-argv-ENV): Set environment for tst-null-argv.
31150 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31151 (RTLD_PROGNAME): New macro.
31152 * elf/tst-null-argv.c: New test case.
31153 * elf/tst-null-argv-lib.c: Library for test case.
31154 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31155 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31156 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31157 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31158 * elf/dl-init.c (call_init): Likewise.
31159 (_dl_init): Likewise.
31160 * elf/dl-load.c (print_search_path): Likewise.
31161 (_dl_map_object): Likewise.
31162 * elf/dl-lookup.c (do_lookup_x): Likewise.
31163 (add_dependency): Likewise.
31164 (_dl_lookup_symbol_x): Likewise.
31165 (_dl_debug_bindings): Likewise.
31166 * elf/dl-open.c (_dl_show_scope): Likewise.
31167 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31168 * elf/dl-version.c (match_symbol): Likewise.
31169 (_dl_check_map_versions): Likewise.
31170 * elf/rtld.c (dl_main): Likewise.
31171 (print_unresolved): Use RTLD_PROGNAME.
31172 (print_missing_version): Likewise.
31173 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31174 (elf_machine_rela): Likewise.
31175 * sysdeps/powerpc/powerpc32/dl-machine.c
31176 (__process_machine_rela): Likewise.
31177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31179 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31181 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31183 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31188 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31190 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31192 * po/be.po: Add descriptive title.
31193 * po/zh_CN.po: Likewise.
31194 * po/header.pot: Likewise.
31196 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31198 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31200 (enlarge_archive): Likewise.
31202 2013-05-28 Ben North <ben@redfrontdoor.org>
31204 * manual/arith.texi (frexp): It is the magnitude of the return
31205 value which lies in [0.5, 1), not the return value itself.
31207 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31211 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31213 * stdio-common/bug26.c (main): Correct fscanf template.
31215 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31216 declare _dl_skip_args.
31218 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31221 * manual/platform.texi: Add missing @end deftypefun.
31223 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31226 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31227 bit of mantissa of 2^16382.
31228 * math/libm-test.inc (hypot_test_data): Add more tests.
31230 * math/libm-test.inc: Add drem and pow10 to list of tested
31232 (pow10_test): New function.
31233 (drem_test): Likewise.
31234 (drem_test_tonearest): Likewise.
31235 (drem_test_towardzero): Likewise.
31236 (drem_test_downward): Likewise.
31237 (drem_test_upward): Likewise.
31238 (main): Call the new functions.
31240 * math/libm-test.inc (finite_test_data): Remove.
31241 (finite_test): Run tests from isfinite_test_data.
31242 (gamma_test_data): Remove.
31243 (gamma_test): Run tests from lgamma_test_data.
31244 * sysdeps/i386/fpu/libm-test-ulps: Update.
31245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31247 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31249 * manual/platform.texi: Add PowerPC PPR function set documentation.
31250 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31253 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31255 * math/libm-test.inc (MAX_EXP): Define.
31257 (ulp): New function.
31258 (check_float_internal): Use ULPDIFF.
31259 (cpow_test): Disable failing test.
31260 (check_ulp): Test ulp() implemetnation.
31261 (main): Call check_ulp before starting tests.
31263 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31265 * math/gen-libm-test.pl (generate_testfile): Do not handle
31266 START_DATA and END_DATA.
31267 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31269 (acos_tonearest_test_data): Likewise.
31270 (acos_towardzero_test_data): Likewise.
31271 (acos_downward_test_data): Likewise.
31272 (acos_upward_test_data): Likewise.
31273 (acosh_test_data): Likewise.
31274 (asin_test_data): Likewise.
31275 (asin_tonearest_test_data): Likewise.
31276 (asin_towardzero_test_data): Likewise.
31277 (asin_downward_test_data): Likewise.
31278 (asin_upward_test_data): Likewise.
31279 (asinh_test_data): Likewise.
31280 (atan_test_data): Likewise.
31281 (atanh_test_data): Likewise.
31282 (atan2_test_data): Likewise.
31283 (cabs_test_data): Likewise.
31284 (cacos_test_data): Likewise.
31285 (cacosh_test_data): Likewise.
31286 (carg_test_data): Likewise.
31287 (casin_test_data): Likewise.
31288 (casinh_test_data): Likewise.
31289 (catan_test_data): Likewise.
31290 (catanh_test_data): Likewise.
31291 (cbrt_test_data): Likewise.
31292 (ccos_test_data): Likewise.
31293 (ccosh_test_data): Likewise.
31294 (ceil_test_data): Likewise.
31295 (cexp_test_data): Likewise.
31296 (cimag_test_data): Likewise.
31297 (clog_test_data): Likewise.
31298 (clog10_test_data): Likewise.
31299 (conj_test_data): Likewise.
31300 (copysign_test_data): Likewise.
31301 (cos_test_data): Likewise.
31302 (cos_tonearest_test_data): Likewise.
31303 (cos_towardzero_test_data): Likewise.
31304 (cos_downward_test_data): Likewise.
31305 (cos_upward_test_data): Likewise.
31306 (cosh_test_data): Likewise.
31307 (cosh_tonearest_test_data): Likewise.
31308 (cosh_towardzero_test_data): Likewise.
31309 (cosh_downward_test_data): Likewise.
31310 (cosh_upward_test_data): Likewise.
31311 (cpow_test_data): Likewise.
31312 (cproj_test_data): Likewise.
31313 (creal_test_data): Likewise.
31314 (csin_test_data): Likewise.
31315 (csinh_test_data): Likewise.
31316 (csqrt_test_data): Likewise.
31317 (ctan_test_data): Likewise.
31318 (ctan_tonearest_test_data): Likewise.
31319 (ctan_towardzero_test_data): Likewise.
31320 (ctan_downward_test_data): Likewise.
31321 (ctan_upward_test_data): Likewise.
31322 (ctanh_test_data): Likewise.
31323 (ctanh_tonearest_test_data): Likewise.
31324 (ctanh_towardzero_test_data): Likewise.
31325 (ctanh_downward_test_data): Likewise.
31326 (ctanh_upward_test_data): Likewise.
31327 (erf_test_data): Likewise.
31328 (erfc_test_data): Likewise.
31329 (exp_test_data): Likewise.
31330 (exp_tonearest_test_data): Likewise.
31331 (exp_towardzero_test_data): Likewise.
31332 (exp_downward_test_data): Likewise.
31333 (exp_upward_test_data): Likewise.
31334 (exp10_test_data): Likewise.
31335 (exp2_test_data): Likewise.
31336 (expm1_test_data): Likewise.
31337 (fabs_test_data): Likewise.
31338 (fdim_test_data): Likewise.
31339 (finite_test_data): Likewise.
31340 (floor_test_data): Likewise.
31341 (fma_test_data): Likewise.
31342 (fma_towardzero_test_data): Likewise.
31343 (fma_downward_test_data): Likewise.
31344 (fma_upward_test_data): Likewise.
31345 (fmax_test_data): Likewise.
31346 (fmin_test_data): Likewise.
31347 (fmod_test_data): Likewise.
31348 (fpclassify_test_data): Likewise.
31349 (frexp_test_data): Likewise.
31350 (gamma_test_data): Likewise.
31351 (hypot_test_data): Likewise.
31352 (ilogb_test_data): Likewise.
31353 (isfinite_test_data): Likewise.
31354 (isgreater_test_data): Likewise.
31355 (isgreaterequal_test_data): Likewise.
31356 (isinf_test_data): Likewise.
31357 (isless_test_data): Likewise.
31358 (islessequal_test_data): Likewise.
31359 (islessgreater_test_data): Likewise.
31360 (isnan_test_data): Likewise.
31361 (isnormal_test_data): Likewise.
31362 (issignaling_test_data): Likewise.
31363 (isunordered_test_data): Likewise.
31364 (j0_test_data): Likewise.
31365 (j1_test_data): Likewise.
31366 (jn_test_data): Likewise.
31367 (ldexp_test_data): Likewise.
31368 (lgamma_test_data): Likewise.
31369 (lrint_test_data): Likewise.
31370 (lrint_tonearest_test_data): Likewise.
31371 (lrint_towardzero_test_data): Likewise.
31372 (lrint_downward_test_data): Likewise.
31373 (lrint_upward_test_data): Likewise.
31374 (llrint_test_data): Likewise.
31375 (llrint_tonearest_test_data): Likewise.
31376 (llrint_towardzero_test_data): Likewise.
31377 (llrint_downward_test_data): Likewise.
31378 (llrint_upward_test_data): Likewise.
31379 (log_test_data): Likewise.
31380 (log10_test_data): Likewise.
31381 (log1p_test_data): Likewise.
31382 (log2_test_data): Likewise.
31383 (logb_test_data): Likewise.
31384 (logb_downward_test_data): Likewise.
31385 (lround_test_data): Likewise.
31386 (llround_test_data): Likewise.
31387 (modf_test_data): Likewise.
31388 (nearbyint_test_data): Likewise.
31389 (nextafter_test_data): Likewise.
31390 (nexttoward_test_data): Likewise.
31391 (pow_test_data): Likewise.
31392 (pow_tonearest_test_data): Likewise.
31393 (pow_towardzero_test_data): Likewise.
31394 (pow_downward_test_data): Likewise.
31395 (pow_upward_test_data): Likewise.
31396 (remainder_test_data): Likewise.
31397 (remainder_tonearest_test_data): Likewise.
31398 (remainder_towardzero_test_data): Likewise.
31399 (remainder_downward_test_data): Likewise.
31400 (remainder_upward_test_data): Likewise.
31401 (remquo_test_data): Likewise.
31402 (rint_test_data): Likewise.
31403 (rint_tonearest_test_data): Likewise.
31404 (rint_towardzero_test_data): Likewise.
31405 (rint_downward_test_data): Likewise.
31406 (rint_upward_test_data): Likewise.
31407 (round_test_data): Likewise.
31408 (scalb_test_data): Likewise.
31409 (scalbn_test_data): Likewise.
31410 (scalbln_test_data): Likewise.
31411 (signbit_test_data): Likewise.
31412 (sin_test_data): Likewise.
31413 (sin_tonearest_test_data): Likewise.
31414 (sin_towardzero_test_data): Likewise.
31415 (sin_downward_test_data): Likewise.
31416 (sin_upward_test_data): Likewise.
31417 (sincos_test_data): Likewise.
31418 (sinh_test_data): Likewise.
31419 (sinh_tonearest_test_data): Likewise.
31420 (sinh_towardzero_test_data): Likewise.
31421 (sinh_downward_test_data): Likewise.
31422 (sinh_upward_test_data): Likewise.
31423 (sqrt_test_data): Likewise.
31424 (tan_test_data): Likewise.
31425 (tan_tonearest_test_data): Likewise.
31426 (tan_towardzero_test_data): Likewise.
31427 (tan_downward_test_data): Likewise.
31428 (tan_upward_test_data): Likewise.
31429 (tanh_test_data): Likewise.
31430 (tgamma_test_data): Likewise.
31431 (trunc_test_data): Likewise.
31432 (y0_test_data): Likewise.
31433 (y1_test_data): Likewise.
31434 (yn_test_data): Likewise.
31435 (significand_test_data): Likewise.
31437 * math/gen-libm-test.pl (@functions): Remove variable.
31438 (generate_testfile): Don't handle START and END lines.
31439 * math/libm-test.inc (START): New macro.
31441 (END_COMPLEX): Likewise.
31442 (acos_test): Use END macro without arguments.
31443 (acos_test_tonearest): Likewise.
31444 (acos_test_towardzero): Likewise.
31445 (acos_test_downward): Likewise.
31446 (acos_test_upward): Likewise.
31447 (acosh_test): Likewise.
31448 (asin_test): Likewise.
31449 (asin_test_tonearest): Likewise.
31450 (asin_test_towardzero): Likewise.
31451 (asin_test_downward): Likewise.
31452 (asin_test_upward): Likewise.
31453 (asinh_test): Likewise.
31454 (atan_test): Likewise.
31455 (atanh_test): Likewise.
31456 (atan2_test): Likewise.
31457 (cabs_test): Likewise.
31458 (cacos_test): Use END_COMPLEX macro without arguments.
31459 (cacosh_test): Likewise.
31460 (carg_test): Use END macro without arguments.
31461 (casin_test): Use END_COMPLEX macro without arguments.
31462 (casinh_test): Likewise.
31463 (catan_test): Likewise.
31464 (catanh_test): Likewise.
31465 (cbrt_test): Use END macro without arguments.
31466 (ccos_test): Use END_COMPLEX macro without arguments.
31467 (ccosh_test): Likewise.
31468 (ceil_test): Use END macro without arguments.
31469 (cexp_test): Use END_COMPLEX macro without arguments.
31470 (cimag_test): Use END macro without arguments.
31471 (clog_test): Use END_COMPLEX macro without arguments.
31472 (clog10_test): Likewise.
31473 (conj_test): Likewise.
31474 (copysign_test): Use END macro without arguments.
31475 (cos_test): Likewise.
31476 (cos_test_tonearest): Likewise.
31477 (cos_test_towardzero): Likewise.
31478 (cos_test_downward): Likewise.
31479 (cos_test_upward): Likewise.
31480 (cosh_test): Likewise.
31481 (cosh_test_tonearest): Likewise.
31482 (cosh_test_towardzero): Likewise.
31483 (cosh_test_downward): Likewise.
31484 (cosh_test_upward): Likewise.
31485 (cpow_test): Use END_COMPLEX macro without arguments.
31486 (cproj_test): Likewise.
31487 (creal_test): Use END macro without arguments.
31488 (csin_test): Use END_COMPLEX macro without arguments.
31489 (csinh_test): Likewise.
31490 (csqrt_test): Likewise.
31491 (ctan_test): Likewise.
31492 (ctan_test_tonearest): Likewise.
31493 (ctan_test_towardzero): Likewise.
31494 (ctan_test_downward): Likewise.
31495 (ctan_test_upward): Likewise.
31496 (ctanh_test): Likewise.
31497 (ctanh_test_tonearest): Likewise.
31498 (ctanh_test_towardzero): Likewise.
31499 (ctanh_test_downward): Likewise.
31500 (ctanh_test_upward): Likewise.
31501 (erf_test): Use END macro without arguments.
31502 (erfc_test): Likewise.
31503 (exp_test): Likewise.
31504 (exp_test_tonearest): Likewise.
31505 (exp_test_towardzero): Likewise.
31506 (exp_test_downward): Likewise.
31507 (exp_test_upward): Likewise.
31508 (exp10_test): Likewise.
31509 (exp2_test): Likewise.
31510 (expm1_test): Likewise.
31511 (fabs_test): Likewise.
31512 (fdim_test): Likewise.
31513 (finite_test): Likewise.
31514 (floor_test): Likewise.
31515 (fma_test): Likewise.
31516 (fma_test_towardzero): Likewise.
31517 (fma_test_downward): Likewise.
31518 (fma_test_upward): Likewise.
31519 (fmax_test): Likewise.
31520 (fmin_test): Likewise.
31521 (fmod_test): Likewise.
31522 (fpclassify_test): Likewise.
31523 (frexp_test): Likewise.
31524 (gamma_test): Likewise.
31525 (hypot_test): Likewise.
31526 (ilogb_test): Likewise.
31527 (isfinite_test): Likewise.
31528 (isgreater_test): Likewise.
31529 (isgreaterequal_test): Likewise.
31530 (isinf_test): Likewise.
31531 (isless_test): Likewise.
31532 (islessequal_test): Likewise.
31533 (islessgreater_test): Likewise.
31534 (isnan_test): Likewise.
31535 (isnormal_test): Likewise.
31536 (issignaling_test): Likewise.
31537 (isunordered_test): Likewise.
31538 (j0_test): Likewise.
31539 (j1_test): Likewise.
31540 (jn_test): Likewise.
31541 (ldexp_test): Likewise.
31542 (lgamma_test): Likewise.
31543 (lrint_test): Likewise.
31544 (lrint_test_tonearest): Likewise.
31545 (lrint_test_towardzero): Likewise.
31546 (lrint_test_downward): Likewise.
31547 (lrint_test_upward): Likewise.
31548 (llrint_test): Likewise.
31549 (llrint_test_tonearest): Likewise.
31550 (llrint_test_towardzero): Likewise.
31551 (llrint_test_downward): Likewise.
31552 (llrint_test_upward): Likewise.
31553 (log_test): Likewise.
31554 (log10_test): Likewise.
31555 (log1p_test): Likewise.
31556 (log2_test): Likewise.
31557 (logb_test): Likewise.
31558 (logb_test_downward): Likewise.
31559 (lround_test): Likewise.
31560 (llround_test): Likewise.
31561 (modf_test): Likewise.
31562 (nearbyint_test): Likewise.
31563 (nextafter_test): Likewise.
31564 (nexttoward_test): Likewise.
31565 (pow_test): Likewise.
31566 (pow_test_tonearest): Likewise.
31567 (pow_test_towardzero): Likewise.
31568 (pow_test_downward): Likewise.
31569 (pow_test_upward): Likewise.
31570 (remainder_test): Likewise.
31571 (remainder_test_tonearest): Likewise.
31572 (remainder_test_towardzero): Likewise.
31573 (remainder_test_downward): Likewise.
31574 (remainder_test_upward): Likewise.
31575 (remquo_test): Likewise.
31576 (rint_test): Likewise.
31577 (rint_test_tonearest): Likewise.
31578 (rint_test_towardzero): Likewise.
31579 (rint_test_downward): Likewise.
31580 (rint_test_upward): Likewise.
31581 (round_test): Likewise.
31582 (scalb_test): Likewise.
31583 (scalbn_test): Likewise.
31584 (scalbln_test): Likewise.
31585 (signbit_test): Likewise.
31586 (sin_test): Likewise.
31587 (sin_test_tonearest): Likewise.
31588 (sin_test_towardzero): Likewise.
31589 (sin_test_downward): Likewise.
31590 (sin_test_upward): Likewise.
31591 (sincos_test): Likewise.
31592 (sinh_test): Likewise.
31593 (sinh_test_tonearest): Likewise.
31594 (sinh_test_towardzero): Likewise.
31595 (sinh_test_downward): Likewise.
31596 (sinh_test_upward): Likewise.
31597 (sqrt_test): Likewise.
31598 (tan_test): Likewise.
31599 (tan_test_tonearest): Likewise.
31600 (tan_test_towardzero): Likewise.
31601 (tan_test_downward): Likewise.
31602 (tan_test_upward): Likewise.
31603 (tanh_test): Likewise.
31604 (tgamma_test): Likewise.
31605 (trunc_test): Likewise.
31606 (y0_test): Likewise.
31607 (y1_test): Likewise.
31608 (yn_test): Likewise.
31609 (significand_test): Likewise.
31611 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31614 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31616 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31619 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31620 __ppc_mdoio and __ppc_mdoom.
31621 * manual/platform.texi: Document new functions __ppc_yield,
31622 __ppc_mdoio and __ppc_mdoom.
31624 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31626 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31627 (main): Mention "tls" pseudo-hwcap is legacy.
31628 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31630 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31632 * math/gen-libm-test.pl (parse_args): Output only string of
31633 arguments as text for test name, not full call or descriptions of
31634 tests for extra outputs.
31635 (generate_testfile): Do not pass function name to parse_args.
31636 Generate this_func variable from START.
31637 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31639 (struct test_ff_f_data): Likewise.
31640 (test_ff_f_data_nexttoward): Likewise.
31641 (struct test_fi_f_data): Likewise.
31642 (struct test_fl_f_data): Likewise.
31643 (struct test_if_f_data): Likewise.
31644 (struct test_fff_f_data): Likewise.
31645 (struct test_c_f_data): Likewise.
31646 (struct test_f_f1_data): Likewise. Remove field extra_name.
31647 (struct test_fF_f1_data): Likewise.
31648 (struct test_ffI_f1_data): Likewise.
31649 (struct test_c_c_data): Rename test_name field to arg_str.
31650 (struct test_cc_c_data): Likewise.
31651 (struct test_f_i_data): Likewise.
31652 (struct test_ff_i_data): Likewise.
31653 (struct test_f_l_data): Likewise.
31654 (struct test_f_L_data): Likewise.
31655 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31657 (COMMON_TEST_SETUP): New macro.
31658 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31659 (COMMON_TEST_CLEANUP): Likewise.
31660 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31661 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31663 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31664 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31666 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31667 (RUN_TEST_fff_f): Take argument string. Call new setup and
31669 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31670 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31672 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31673 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31675 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31676 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31678 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31679 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31681 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31682 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31684 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31685 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31687 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31688 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31690 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31691 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31693 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31694 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31696 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31697 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31699 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31700 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31702 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31703 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31705 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31706 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31708 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31709 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31711 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31712 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31714 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31716 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31718 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31719 to _sifields.sigfault.
31720 (si_addr_lsb): Define new macro.
31721 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31722 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31723 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31725 2013-05-03 Carlos O'Donell <carlos at redhat.com>
31728 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31730 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31732 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31733 loading the domain.
31735 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31737 * math/gen-libm-test.pl (parse_args): Do not include expected
31738 result in test name.
31739 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31740 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31741 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31742 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31743 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31746 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31748 * benchtests/Makefile: Sort function entries.
31750 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31751 tanh, asinh, acosh, atanh.
31752 * benchtests/acos-inputs: New file.
31753 * benchtests/acosh-inputs: New file.
31754 * benchtests/asin-inputs: New file.
31755 * benchtests/asinh-inputs: New file.
31756 * benchtests/atanh-inputs: New file.
31757 * benchtests/cosh-inputs: New file.
31758 * benchtests/log-inputs: New file.
31759 * benchtests/sinh-inputs: New file.
31760 * benchtests/tanh-inputs: New file.
31762 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31765 * posix/tst-getaddrinfo4.c: New test.
31766 * posix/Makefile (tests): Add it.
31768 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31771 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31772 when no services were used.
31773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31774 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31776 2013-05-21 Andreas Schwab <schwab@suse.de>
31779 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31780 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31782 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31783 redundant variable declarations and reallocation of buffer when
31784 parsing as IPv6 address. Always set NSS status when called from
31785 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
31786 buffer too small. Correct computation of needed size.
31787 * nss/Makefile (tests): Add test-digits-dots.
31788 * nss/test-digits-dots.c: New test.
31790 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31792 * benchtests/Makefile: Remove instructions for adding
31794 * benchtests/README: New file to explain how to execute and
31795 enhance the benchmark tests.
31797 2013-05-21 Andreas Schwab <schwab@suse.de>
31800 * setjmp/Makefile (tests): Add tst-sigsetjmp.
31801 * setjmp/tst-sigsetjmp.c: New test.
31803 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31805 * sysdeps/x86_64/memset.S (memset): New implementation.
31806 (__bzero): Likewise.
31807 (__memset_tail): New function.
31809 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
31811 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31812 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31813 __memcpy_sse2_unaligned ifunc selection.
31814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31815 Add memcpy-sse2-unaligned.S.
31816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31817 Add: __memcpy_sse2_unaligned.
31819 2013-05-19 Joseph Myers <joseph@codesourcery.com>
31822 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31823 math_force_eval before restoring floating-point envrionment.
31824 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31825 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31827 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31829 (__nearbyintl): Use math_force_eval before restoring
31830 floating-point environment.
31831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31833 * math/gen-libm-test.pl (special_functions): Remove.
31834 (parse_args): Don't handle TEST_extra. Handle functions with no
31836 * math/libm-test.inc (struct test_sincos_data): Replace with
31837 struct test_fFF_11_data.
31838 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31839 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31840 (sincos_test_data): Change element type to struct
31841 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
31842 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31843 RUN_TEST_LOOP_sincos.
31844 * math/README.libm-test: Don't mention special handling of
31845 individual functions.
31846 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31847 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31848 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31849 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31850 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31853 * math/gen-libm-test.pl (get_variable): Remove function.
31854 (parse_args): Don't show pointer parameters to call in test
31855 names. Use "extra output N" in test names for extra outputs
31856 rather than naming variables.
31858 2013-05-18 Joseph Myers <joseph@codesourcery.com>
31861 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31862 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31863 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31865 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31867 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31870 * math/gen-libm-test.pl (@tests): Remove variable.
31871 ($count): Likewise.
31872 (new_test): Remove function.
31873 (show_exceptions): New function.
31874 (special_functions): Use show_exceptions instead of new_test.
31875 (parse_args): Likewise.
31876 (generate_testfile): Pass only function name in generated call to
31877 print_max_error or print_complex_max_error.
31878 (get_ulps): Do not handle complex tests specially.
31879 (output_test): Rename to ...
31880 (get_all_ulps_for_test): ... this. Return a string rather than
31881 printing to a file. Require ulps to be present.
31882 (output_ulps): Generate arrays rather than #defines.
31883 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31884 (struct ulp_data): New type.
31885 (BUILD_COMPLEX_ULP): Remove macro.
31886 (compare_ulp_data): New function.
31887 (find_ulps): Likewise.
31888 (find_test_ulps): Likewise.
31889 (find_function_ulps): Likewise.
31890 (find_complex_function_ulps): Likewise.
31891 (print_max_error): Determine allowed ulps using
31892 find_function_ulps.
31893 (print_complex_max_error): Determine allowed ulps using
31894 find_complex_function_ulps.
31895 (check_float_internal): Determine max ulps using find_test_ulps.
31896 (check_float): Do not take max_ulp parameter. Update call to
31897 check_float_internal.
31898 (check_complex): Likewise.
31899 (check_int): Do not take max_ulp parameter.
31900 (check_long): Likewise.
31901 (check_bool): Likewise.
31902 (check_longlong): Likewise.
31903 (struct test_f_f_data): Remove max_ulp field.
31904 (struct test_ff_f_data): Likewise.
31905 (struct test_ff_f_data_nexttoward): Likewise.
31906 (struct test_fi_f_data): Likewise.
31907 (struct test_fl_f_data): Likewise.
31908 (struct test_if_f_data): Likewise.
31909 (struct test_fff_f_data): Likewise.
31910 (struct test_c_f_data): Likewise.
31911 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31912 (struct test_fF_f1_data): Likewise.
31913 (struct test_ffI_f1_data): Likewise.
31914 (struct test_c_c_data): Remove max_ulp field.
31915 (struct test_cc_c_data): Likewise.
31916 (struct test_f_i_data): Likewise.
31917 (struct test_ff_i_data): Likewise.
31918 (struct test_f_l_data): Likewise.
31919 (struct test_f_L_data): Likewise.
31920 (struct test_sincos_data): Likewise.
31921 (RUN_TEST_f_f): Do not handle ulps.
31922 (RUN_TEST_LOOP_f_f): Likewise.
31923 (RUN_TEST_2_f): Likewise.
31924 (RUN_TEST_LOOP_2_f): Likewise.
31925 (RUN_TEST_fff_f): Likewise.
31926 (RUN_TEST_LOOP_fff_f): Likewise.
31927 (RUN_TEST_c_f): Likewise.
31928 (RUN_TEST_LOOP_c_f): Likewise.
31929 (RUN_TEST_f_f1): Likewise.
31930 (RUN_TEST_LOOP_f_f1): Likewise.
31931 (RUN_TEST_fF_f1): Likewise.
31932 (RUN_TEST_LOOP_fF_f1): Likewise.
31933 (RUN_TEST_fI_f1): Likewise.
31934 (RUN_TEST_LOOP_fI_f1): Likewise.
31935 (RUN_TEST_ffI_f1): Likewise.
31936 (RUN_TEST_LOOP_ffI_f1): Likewise.
31937 (RUN_TEST_c_c): Likewise.
31938 (RUN_TEST_LOOP_c_c): Likewise.
31939 (RUN_TEST_cc_c): Likewise.
31940 (RUN_TEST_LOOP_cc_c): Likewise.
31941 (RUN_TEST_f_i): Likewise.
31942 (RUN_TEST_LOOP_f_i): Likewise.
31943 (RUN_TEST_f_i_tg): Likewise.
31944 (RUN_TEST_LOOP_f_i_tg): Likewise.
31945 (RUN_TEST_ff_i_tg): Likewise.
31946 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31947 (RUN_TEST_f_b): Likewise.
31948 (RUN_TEST_LOOP_f_b): Likewise.
31949 (RUN_TEST_f_b_tg): Likewise.
31950 (RUN_TEST_LOOP_f_b_tg): Likewise.
31951 (RUN_TEST_f_l): Likewise.
31952 (RUN_TEST_LOOP_f_l): Likewise.
31953 (RUN_TEST_f_L): Likewise.
31954 (RUN_TEST_LOOP_f_L): Likewise.
31955 (RUN_TEST_sincos): Likewise.
31956 (RUN_TEST_LOOP_sincos): Likewise.
31958 2013-05-17 Joseph Myers <joseph@codesourcery.com>
31962 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31963 main case of finite arguments, set rounding mode to FE_TONEAREST
31964 and discard exceptions.
31965 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31967 (remainder_tonearest_test_data): New variable.
31968 (remainder_test_tonearest): New function.
31969 (remainder_towardzero_test_data): New variable.
31970 (remainder_test_towardzero): New function.
31971 (remainder_downward_test_data): New variable.
31972 (remainder_test_downward): New function.
31973 (remainder_upward_test_data): New variable.
31974 (remainder_test_upward): New function.
31975 (main): Call the new test functions.
31977 * math/libm-test.inc (struct test_f_f1_data): Remove field
31979 (struct test_fF_f1_data): Likewise.
31980 (struct test_ffI_f1_data): Likewise.
31981 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
31982 based on value of EXTRA_EXPECTED.
31983 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31984 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
31985 EXTRA_VAR based on value of EXTRA_EXPECTED.
31986 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31987 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
31988 EXTRA_VAR based on value of EXTRA_EXPECTED.
31989 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31990 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
31991 EXTRA_VAR based on value of EXTRA_EXPECTED.
31992 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31993 * math/gen-libm-test.pl (parse_args): Don't output initializers
31994 for extra output values.
31996 * math/libm-test.inc (check_int): Expect result to be exactly
31997 equal to expected value and do not handle ulps.
31998 (check_long): Likewise.
31999 (check_longlong): Likewise.
32001 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32003 (cimag_test_data): Likewise.
32004 (conj_test_data): Likewise.
32005 (copysign_test_data): Likewise.
32006 (cproj_test_data): Likewise.
32007 (creal_test_data): Likewise.
32008 (fabs_test_data): Likewise.
32009 (fdim_test_data): Likewise.
32010 (finite_test_data): Likewise.
32011 (floor_test_data): Likewise.
32012 (fmax_test_data): Likewise.
32013 (fmin_test_data): Likewise.
32014 (fmod_test_data): Likewise.
32015 (fpclassify_test_data): Likewise.
32016 (frexp_test_data): Likewise.
32017 (ilogb_test_data): Likewise.
32018 (isfinite_test_data): Likewise.
32019 (isgreater_test_data): Likewise.
32020 (isgreaterequal_test_data): Likewise.
32021 (isinf_test_data): Likewise.
32022 (isless_test_data): Likewise.
32023 (islessequal_test_data): Likewise.
32024 (islessgreater_test_data): Likewise.
32025 (isnan_test_data): Likewise.
32026 (isnormal_test_data): Likewise.
32027 (issignaling_test_data): Likewise.
32028 (isunordered_test_data): Likewise.
32029 (ldexp_test_data): Likewise.
32030 (lrint_test_data): Likewise.
32031 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32032 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32033 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32034 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32035 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32036 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32038 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32039 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32040 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32041 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32043 (lrint_downward_test_data): Test for "inexact" exceptions.
32044 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32045 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32046 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32048 (lrint_upward_test_data): Test for "inexact" exceptions.
32049 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32051 (llrint_test_data): Test for "inexact" exceptions.
32052 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32053 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32054 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32055 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32056 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32057 (llrint_downward_test_data): Test for "inexact" exceptions.
32058 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32059 (llrint_upward_test_data): Test for "inexact" exceptions.
32060 (logb_test_data): Likewise.
32061 (logb_downward_test_data): Likewise.
32062 (nextafter_test_data): Likewise.
32063 (nexttoward_test_data): Likewise.
32064 (remainder_test_data): Likewise.
32065 (remquo_test_data): Likewise.
32066 (scalbn_test_data): Likewise.
32067 (scalbln_test_data): Likewise.
32068 (signbit_test_data): Likewise.
32069 (sqrt_test_data): Likewise.
32070 (significand_test_data): Likewise.
32072 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32075 * benchtests/bench-modf.c (struct args): Mark arg0 as
32077 * scripts/bench.pl: Mark members of struct args as volatile.
32079 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32082 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32083 negative infinity on POWER6 or lower.
32084 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32086 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32089 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32090 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32091 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32092 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32093 (_FP_SETQNAN): New macro.
32094 (_FP_SETQNAN_SEMIRAW): Likewise.
32095 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32096 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32097 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32098 (FP_EXTEND): Use _FP_FRAC_SNANP.
32099 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32100 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32102 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32104 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32107 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32109 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32110 with DIVIDE_BY_ZERO_EXCEPTION.
32111 (gamma_test_data): Likewise.
32112 (lgamma_test_data): Likewise.
32113 (log_test_data): Likewise.
32114 (log10_test_data): Likewise.
32115 (log2_test_data): Likewise.
32116 (tgamma_test_data): Likewise.
32118 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32119 (acos_test_tonearest): Likewise.
32120 (acos_test_towardzero): Likewise.
32121 (acos_test_downward): Likewise.
32122 (acos_test_upward): Likewise.
32123 (acosh_test): Likewise.
32124 (asin_test): Likewise.
32125 (asin_test_tonearest): Likewise.
32126 (asin_test_towardzero): Likewise.
32127 (asin_test_downward): Likewise.
32128 (asin_test_upward): Likewise.
32129 (asinh_test): Likewise.
32130 (atan_test): Likewise.
32131 (atanh_test): Likewise.
32132 (atan2_test): Likewise.
32133 (cabs_test): Likewise.
32134 (cacos_test): Likewise.
32135 (cacosh_test): Likewise.
32136 (casin_test): Likewise.
32137 (casinh_test): Likewise.
32138 (catan_test): Likewise.
32139 (catanh_test): Likewise.
32140 (cbrt_test): Likewise.
32141 (ccos_test): Likewise.
32142 (ccosh_test): Likewise.
32143 (cexp_test): Likewise.
32144 (clog_test): Likewise.
32145 (clog10_test): Likewise.
32146 (cos_test): Likewise.
32147 (cos_test_tonearest): Likewise.
32148 (cos_test_towardzero): Likewise.
32149 (cos_test_downward): Likewise.
32150 (cos_test_upward): Likewise.
32151 (cosh_test): Likewise.
32152 (cosh_test_tonearest): Likewise.
32153 (cosh_test_towardzero): Likewise.
32154 (cosh_test_downward): Likewise.
32155 (cosh_test_upward): Likewise.
32156 (cpow_test): Likewise.
32157 (csin_test): Likewise.
32158 (csinh_test): Likewise.
32159 (csqrt_test): Likewise.
32160 (ctan_test): Likewise.
32161 (ctan_test_tonearest): Likewise.
32162 (ctan_test_towardzero): Likewise.
32163 (ctan_test_downward): Likewise.
32164 (ctan_test_upward): Likewise.
32165 (ctanh_test): Likewise.
32166 (ctanh_test_tonearest): Likewise.
32167 (ctanh_test_towardzero): Likewise.
32168 (ctanh_test_downward): Likewise.
32169 (ctanh_test_upward): Likewise.
32170 (erf_test): Likewise.
32171 (erfc_test): Likewise.
32172 (exp_test): Likewise.
32173 (exp_test_tonearest): Likewise.
32174 (exp_test_towardzero): Likewise.
32175 (exp_test_downward): Likewise.
32176 (exp_test_upward): Likewise.
32177 (exp10_test): Likewise.
32178 (exp2_test): Likewise.
32179 (expm1_test): Likewise.
32180 (fmod_test): Likewise.
32181 (gamma_test): Likewise.
32182 (hypot_test): Likewise.
32183 (j0_test): Likewise.
32184 (j1_test): Likewise.
32185 (jn_test): Likewise.
32186 (lgamma_test): Likewise.
32187 (log_test): Likewise.
32188 (log10_test): Likewise.
32189 (log1p_test): Likewise.
32190 (log2_test): Likewise.
32191 (logb_test_downward): Likewise.
32192 (pow_test): Likewise.
32193 (pow_test_tonearest): Likewise.
32194 (pow_test_towardzero): Likewise.
32195 (pow_test_downward): Likewise.
32196 (pow_test_upward): Likewise.
32197 (remainder_test): Likewise.
32198 (remquo_test): Likewise.
32199 (sin_test): Likewise.
32200 (sin_test_tonearest): Likewise.
32201 (sin_test_towardzero): Likewise.
32202 (sin_test_downward): Likewise.
32203 (sin_test_upward): Likewise.
32204 (sincos_test): Likewise.
32205 (sinh_test): Likewise.
32206 (sinh_test_tonearest): Likewise.
32207 (sinh_test_towardzero): Likewise.
32208 (sinh_test_downward): Likewise.
32209 (sinh_test_upward): Likewise.
32210 (sqrt_test): Likewise.
32211 (tan_test): Likewise.
32212 (tan_test_tonearest): Likewise.
32213 (tan_test_towardzero): Likewise.
32214 (tan_test_downward): Likewise.
32215 (tan_test_upward): Likewise.
32216 (tanh_test): Likewise.
32217 (tgamma_test): Likewise.
32218 (y0_test): Likewise.
32219 (y1_test): Likewise.
32220 (yn_test): Likewise.
32222 * math/gen-libm-test.pl (adjust_arg): Remove function.
32223 (special_function): Remove argument $in_func. Only handle
32224 generating output for tables of tests, not inside functions.
32225 (parse_args): Likewise.
32226 (generate_testfile): Remove variable $in_func. Update call to
32228 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32229 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32230 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32231 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32232 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32233 (MAX_VALUE_INIT): Rename macro to max_value.
32234 (MIN_VALUE_INIT): Rename macro to min_value.
32235 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32236 (plus_zero): Remove variable.
32237 (minus_zero): Likewise.
32238 (plus_infty): Likewise.
32239 (minus_infty): Likewise.
32240 (qnan_value): Likewise.
32241 (max_value): Likewise.
32242 (min_value): Likewise.
32243 (min_subnorm_value): Likewise.
32245 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32247 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32248 uint64_t or uint32_t usage.
32249 * crypt/sha256-block.c: Likewise.
32250 * crypt/sha256-crypt.c: Likewise.
32251 * crypt/sha256.c: Likewise.
32252 * crypt/sha512-block.c: Likewise.
32253 * crypt/sha512-crypt.c: Likewise.
32254 * crypt/sha512.c: Likewise.
32255 * debug/backtrace-tst.c: Likewise.
32256 * debug/pcprofiledump.c: Likewise.
32257 * elf/cache.c: Likewise.
32258 * elf/dl-cache.c: Likewise.
32259 * elf/dl-misc.c: Likewise.
32260 * elf/dl-profile.c: Likewise.
32261 * elf/dl-support.c: Likewise.
32262 * elf/ldconfig.c: Likewise.
32263 * elf/sprof.c: Likewise.
32264 * iconv/dummy-repertoire.c: Likewise.
32265 * iconv/iconv_charmap.c: Likewise.
32266 * iconv/skeleton.c: Likewise.
32267 * iconvdata/8bit-generic.c: Likewise.
32268 * iconvdata/cp737.h: Likewise.
32269 * iconvdata/cp775.h: Likewise.
32270 * iconvdata/ibm1008.h: Likewise.
32271 * iconvdata/ibm1025.h: Likewise.
32272 * iconvdata/ibm1046.h: Likewise.
32273 * iconvdata/ibm1097.h: Likewise.
32274 * iconvdata/ibm1112.h: Likewise.
32275 * iconvdata/ibm1122.h: Likewise.
32276 * iconvdata/ibm1123.h: Likewise.
32277 * iconvdata/ibm1124.h: Likewise.
32278 * iconvdata/ibm1129.h: Likewise.
32279 * iconvdata/ibm1130.h: Likewise.
32280 * iconvdata/ibm1132.h: Likewise.
32281 * iconvdata/ibm1133.h: Likewise.
32282 * iconvdata/ibm1137.h: Likewise.
32283 * iconvdata/ibm1140.h: Likewise.
32284 * iconvdata/ibm1141.h: Likewise.
32285 * iconvdata/ibm1142.h: Likewise.
32286 * iconvdata/ibm1143.h: Likewise.
32287 * iconvdata/ibm1144.h: Likewise.
32288 * iconvdata/ibm1145.h: Likewise.
32289 * iconvdata/ibm1146.h: Likewise.
32290 * iconvdata/ibm1147.h: Likewise.
32291 * iconvdata/ibm1148.h: Likewise.
32292 * iconvdata/ibm1149.h: Likewise.
32293 * iconvdata/ibm1153.h: Likewise.
32294 * iconvdata/ibm1154.h: Likewise.
32295 * iconvdata/ibm1155.h: Likewise.
32296 * iconvdata/ibm1156.h: Likewise.
32297 * iconvdata/ibm1157.h: Likewise.
32298 * iconvdata/ibm1158.h: Likewise.
32299 * iconvdata/ibm1160.h: Likewise.
32300 * iconvdata/ibm1161.h: Likewise.
32301 * iconvdata/ibm1162.h: Likewise.
32302 * iconvdata/ibm1163.h: Likewise.
32303 * iconvdata/ibm1164.h: Likewise.
32304 * iconvdata/ibm1166.h: Likewise.
32305 * iconvdata/ibm1167.h: Likewise.
32306 * iconvdata/ibm12712.h: Likewise.
32307 * iconvdata/ibm1390.h: Likewise.
32308 * iconvdata/ibm1399.h: Likewise.
32309 * iconvdata/ibm16804.h: Likewise.
32310 * iconvdata/ibm4517.h: Likewise.
32311 * iconvdata/ibm4899.h: Likewise.
32312 * iconvdata/ibm4909.h: Likewise.
32313 * iconvdata/ibm4971.h: Likewise.
32314 * iconvdata/ibm5347.h: Likewise.
32315 * iconvdata/ibm803.h: Likewise.
32316 * iconvdata/ibm856.h: Likewise.
32317 * iconvdata/ibm901.h: Likewise.
32318 * iconvdata/ibm902.h: Likewise.
32319 * iconvdata/ibm9030.h: Likewise.
32320 * iconvdata/ibm9066.h: Likewise.
32321 * iconvdata/ibm921.h: Likewise.
32322 * iconvdata/ibm922.h: Likewise.
32323 * iconvdata/ibm9448.h: Likewise.
32324 * iconvdata/isiri-3342.h: Likewise.
32325 * iconvdata/jis0201.h: Likewise.
32326 * include/link.h: Likewise.
32327 * include/netdb.h: Likewise.
32328 * inet/check_native.c: Likewise.
32329 * inet/check_pf.c: Likewise.
32330 * inet/getipv4sourcefilter.c: Likewise.
32331 * inet/getnameinfo.c: Likewise.
32332 * inet/getsourcefilter.c: Likewise.
32333 * inet/htonl.c: Likewise.
32334 * inet/setipv4sourcefilter.c: Likewise.
32335 * inet/setsourcefilter.c: Likewise.
32336 * inet/test-inet6_opt.c: Likewise.
32337 * inet/tst-network.c: Likewise.
32338 * locale/C-collate.c: Likewise.
32339 * locale/C-ctype.c: Likewise.
32340 * locale/C-time.c: Likewise.
32341 * locale/C-translit.h: Likewise.
32342 * locale/loadarchive.c: Likewise.
32343 * locale/programs/3level.h: Likewise.
32344 * locale/programs/charmap.c: Likewise.
32345 * locale/programs/charmap.h: Likewise.
32346 * locale/programs/ld-address.c: Likewise.
32347 * locale/programs/ld-collate.c: Likewise.
32348 * locale/programs/ld-ctype.c: Likewise.
32349 * locale/programs/ld-identification.c: Likewise.
32350 * locale/programs/ld-measurement.c: Likewise.
32351 * locale/programs/ld-messages.c: Likewise.
32352 * locale/programs/ld-monetary.c: Likewise.
32353 * locale/programs/ld-name.c: Likewise.
32354 * locale/programs/ld-numeric.c: Likewise.
32355 * locale/programs/ld-paper.c: Likewise.
32356 * locale/programs/ld-telephone.c: Likewise.
32357 * locale/programs/ld-time.c: Likewise.
32358 * locale/programs/linereader.c: Likewise.
32359 * locale/programs/locale.c: Likewise.
32360 * locale/programs/locarchive.c: Likewise.
32361 * locale/programs/locfile.h: Likewise.
32362 * locale/programs/repertoire.c: Likewise.
32363 * locale/programs/simple-hash.c: Likewise.
32364 * locale/programs/simple-hash.h: Likewise.
32365 * malloc/memusage.c: Likewise.
32366 * malloc/memusagestat.c: Likewise.
32367 * nis/nis_defaults.c: Likewise.
32368 * nis/nis_hash.c: Likewise.
32369 * nis/nis_print.c: Likewise.
32370 * nis/nis_xdr.c: Likewise.
32371 * nscd/connections.c: Likewise.
32372 * nscd/hstcache.c: Likewise.
32373 * nscd/nscd_gethst_r.c: Likewise.
32374 * nscd/nscd_getserv_r.c: Likewise.
32375 * nscd/nscd_helper.c: Likewise.
32376 * nscd/servicescache.c: Likewise.
32377 * nss/makedb.c: Likewise.
32378 * nss/nss_db/db-XXX.c: Likewise.
32379 * nss/nss_db/db-initgroups.c: Likewise.
32380 * nss/nss_db/db-netgrp.c: Likewise.
32381 * nss/nss_files/files-network.c: Likewise.
32382 * nss/nss_files/files-parse.c: Likewise.
32383 * posix/bug-regex5.c: Likewise.
32384 * posix/fnmatch_loop.c: Likewise.
32385 * posix/regcomp.c: Likewise.
32386 * posix/regexec.c: Likewise.
32387 * posix/tst-rfc3484-2.c: Likewise.
32388 * posix/tst-rfc3484-3.c: Likewise.
32389 * posix/tst-rfc3484.c: Likewise.
32390 * resolv/nss_dns/dns-canon.c: Likewise.
32391 * resolv/nss_dns/dns-network.c: Likewise.
32392 * resolv/res_init.c: Likewise.
32393 * resolv/res_mkquery.c: Likewise.
32394 * resolv/tst-aton.c: Likewise.
32395 * stdlib/cxa_atexit.c: Likewise.
32396 * stdlib/cxa_finalize.c: Likewise.
32397 * stdlib/gen-fpioconst.c: Likewise.
32398 * stdlib/strtol_l.c: Likewise.
32399 * string/tst-endian.c: Likewise.
32400 * sunrpc/auth_des.c: Likewise.
32401 * sunrpc/clnt_udp.c: Likewise.
32402 * sunrpc/rtime.c: Likewise.
32403 * sunrpc/svcauth_des.c: Likewise.
32404 * sunrpc/xdr.c: Likewise.
32405 * sunrpc/xdr_intXX_t.c: Likewise.
32406 * sunrpc/xdr_rec.c: Likewise.
32407 * sysdeps/generic/ldconfig.h: Likewise.
32408 * sysdeps/generic/ldsodefs.h: Likewise.
32409 * sysdeps/generic/memusage.h: Likewise.
32410 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32413 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32418 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32420 * sysdeps/posix/getaddrinfo.c: Likewise.
32421 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32422 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32423 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32424 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32425 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32426 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32427 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32428 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32429 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32430 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32431 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32432 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32433 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32434 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32435 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32436 * sysdeps/x86_64/dl-tls.h: Likewise.
32437 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32438 * time/alt_digit.c: Likewise.
32439 * time/era.c: Likewise.
32440 * wcsmbs/tst-c16c32-1.c: Likewise.
32442 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32444 * math/libm-test.inc (struct test_sincos_data): New type.
32445 (RUN_TEST_LOOP_sincos): New macro.
32446 (sincos_test_data): New variable.
32447 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32449 2013-05-16 Richard Henderson <rth@redhat.com>
32451 * math/atest-exp2.c (LIMB64): New macro.
32452 (CONSTSZ): New macro.
32453 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32455 (print_mpn_fp): ... to function scope.
32456 (read_mpn_hex): Remove.
32457 (get_log2): Remove.
32458 (exp2_mpn): Use mp_log2.
32459 (main): Use mp_exp1.
32461 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32463 * math/libm-test.inc: Remove comment about not testing "inexact"
32465 (INEXACT_EXCEPTION): New macro.
32466 (NO_INEXACT_EXCEPTION): Likewise.
32467 (INVALID_EXCEPTION_OK): Update value.
32468 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32469 (OVERFLOW_EXCEPTION_OK): Likewise.
32470 (UNDERFLOW_EXCEPTION_OK): Likewise.
32471 (IGNORE_ZERO_INF_SIGN): Likewise.
32472 (ERRNO_UNCHANGED): Likewise.
32473 (ERRNO_EDOM): Likewise.
32474 (ERRNO_ERANGE): Likewise.
32475 (test_exceptions): Handle testing "inexact" exceptions.
32476 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32477 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32478 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32479 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32481 (rint_towardzero_test_data): Likewise.
32482 (rint_downward_test_data): Likewise.
32483 (rint_upward_test_data): Likewise.
32485 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32486 with OVERFLOW_EXCEPTION.
32487 (exp10_test_data): Likewise.
32488 (exp2_test_data): Likewise.
32489 (expm1_test_data): Likewise.
32490 (lgamma_test_data): Likewise.
32491 (pow_test_data): Likewise.
32492 (tgamma_test_data): Likewise.
32493 (yn_test_data): Remove duplicate test of overflow.
32495 * math/libm-test.inc (struct test_cc_c_data): New type.
32496 (RUN_TEST_LOOP_cc_c): New macro.
32497 (cpow_test_data): New variable.
32498 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32500 * math/libm-test.inc (struct test_f_L_data): New type.
32501 (RUN_TEST_LOOP_f_L): New macro.
32502 (llrint_test_data): New variable.
32503 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32504 (llrint_tonearest_test_data): New variable.
32505 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32506 (llrint_towardzero_test_data): New variable.
32507 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32508 (llrint_downward_test_data): New variable.
32509 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32510 (llrint_upward_test_data): New variable.
32511 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32512 (llround_test_data): New variable.
32513 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32515 2013-05-13 Peter Collingbourne <pcc@google.com>
32517 * math/atest-exp2.c (get_log2): Remove const attribute.
32519 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32521 * math/libm-test.inc (struct test_f_l_data): New type.
32522 (RUN_TEST_LOOP_f_l): New macro.
32523 (lrint_test_data): New variable.
32524 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32525 (lrint_tonearest_test_data): New variable.
32526 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32527 (lrint_towardzero_test_data): New variable.
32528 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32529 (lrint_downward_test_data): New variable.
32530 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32531 (lrint_upward_test_data): New variable.
32532 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32533 (lround_test_data): New variable.
32534 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32536 2013-05-15 Peter Collingbourne <pcc@google.com>
32538 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32539 (EXTRACT_WORDS64) Use where appropriate.
32540 (INSERT_WORDS64) Likewise.
32542 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32543 constraints with x constraints.
32544 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32546 * malloc/obstack.c (_obstack_compat): Add initializer.
32548 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32550 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32551 si_trapno and add si_addr_lsb to _sifields.sigfault.
32552 (si_trapno): Remove macro.
32553 (si_addr_lsb): Define new macro.
32554 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32556 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32558 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32559 instead of TEST_f_l.
32560 (llrint_test_tonearest): Likewise.
32561 (llrint_test_towardzero): Likewise.
32562 (llrint_test_downward): Likewise.
32563 (llrint_test_upward): Likewise.
32564 (llround_test): Likewise.
32566 * math/libm-test.inc (struct test_f_i_data): Add comment.
32567 (RUN_TEST_LOOP_f_b): New macro.
32568 (RUN_TEST_LOOP_f_b_tg): Likewise.
32569 (finite_test_data): New variable.
32570 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32571 (isfinite_test_data): New variable.
32572 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32573 (isinf_test_data): New variable.
32574 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32575 (isnan_test_data): New variable.
32576 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32577 (isnormal_test_data): New variable.
32578 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32579 (issignaling_test_data): New variable.
32580 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32581 (signbit_test_data): New variable.
32582 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32584 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32585 with INVALID_EXCEPTION.
32586 (acosh_test_data): Likewise.
32587 (asin_test_data): Likewise.
32588 (atanh_test_data): Likewise.
32589 (fmod_test_data): Likewise.
32590 (log_test_data): Likewise.
32591 (log10_test_data): Likewise.
32592 (log2_test_data): Likewise.
32593 (pow_test_data): Likewise.
32594 (sqrt_test_data): Likewise.
32595 (y0_test_data): Likewise.
32596 (y1_test_data): Likewise.
32597 (yn_test_data): Likewise.
32599 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32602 * math/libm-test.inc (struct test_ff_i_data): New type.
32603 (RUN_TEST_LOOP_ff_i_tg): New macro.
32604 (isgreater_test_data): New variable.
32605 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32606 (isgreaterequal_test_data): New variable.
32607 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32608 (isless_test_data): New variable.
32609 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32610 (islessequal_test_data): New variable.
32611 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32612 (islessgreater_test_data): New variable.
32613 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32614 (isunordered_test_data): New variable.
32615 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32617 2013-05-14 David S. Miller <davem@davemloft.net>
32619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32621 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32623 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32625 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32627 (struct test_f_i_data): Change type of max_ulp to int.
32629 * math/libm-test.inc (test_ffI_f1_data): New type.
32630 (RUN_TEST_LOOP_ffI_f1): New macro.
32631 (remquo_test_data): New variable.
32632 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32634 * setjmp/tst-setjmp-fp.c: New file.
32635 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32636 (link-libm): New variable.
32637 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32639 * math/libm-test.inc (struct test_f_i_data): New type.
32640 (RUN_TEST_LOOP_f_i): New macro.
32641 (RUN_TEST_LOOP_f_i_tg): Likewise.
32642 (fpclassify_test_data): New variable.
32643 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32644 (ilogb_test_data): New variable.
32645 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32647 * math/libm-test.inc (scalbln_test): Correct function name in END
32650 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32651 (RUN_TEST_LOOP_fI_f1): New macro.
32652 (frexp_test_data): New variable.
32653 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32655 * math/libm-test.inc (struct test_fF_f1_data): New type.
32656 (RUN_TEST_LOOP_fF_f1): New macro.
32657 (modf_test_data): New variable.
32658 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32660 * math/libm-test.inc (struct test_f_f1_data): New type.
32661 (RUN_TEST_LOOP_f_f1): New macro.
32662 (gamma_test_data): New variable.
32663 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32664 (lgamma_test_data): New variable.
32665 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32667 2013-05-13 Carlos O'Donell <carlos@redhat.com>
32669 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32670 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32671 (main): Comment "tls" pseudo-hwcap.
32673 2013-05-13 Joseph Myers <joseph@codesourcery.com>
32675 * math/libm-test.inc (struct test_fl_f_data): New type.
32676 (RUN_TEST_LOOP_fl_f): New variable.
32677 (scalbln_test_data): New variable.
32678 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32680 * math/libm-test.inc (struct test_fi_f_data): New type.
32681 (RUN_TEST_LOOP_fi_f): New macro.
32682 (ldexp_test_data): New variable.
32683 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32684 (scalbn_test_data): New variable.
32685 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32687 * math/libm-test.inc (struct test_c_f_data): New type.
32688 (RUN_TEST_LOOP_c_f): New macro.
32689 (cabs_test_data): New variable.
32690 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32691 (carg_test_data): New variable.
32692 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32693 (cimag_test_data): New variable.
32694 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32695 (creal_test_data): New variable.
32696 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32698 * math/libm-test.inc (struct test_if_f_data): New type.
32699 (RUN_TEST_LOOP_if_f): New macro.
32700 (jn_test_data): New variable.
32701 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32702 (yn_test_data): New variable.
32703 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32705 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32707 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32709 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32710 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32712 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32714 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32715 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32716 (bench-deps): Add bench-timing.h.
32717 * benchtests-bench-skeleton.c: Include bench-timing.h.
32718 (main): Use TIMING_* macros instead of clock_gettime.
32719 * benchtests/bench-timing.h: New file.
32722 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32723 Renamed from _LIB_VERSION.
32724 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32726 2013-05-12 Joseph Myers <joseph@codesourcery.com>
32728 * math/libm-test.inc (struct test_fff_f_data): New type.
32729 (RUN_TEST_LOOP_fff_f): New macro.
32730 (fma_test_data): New variable.
32731 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32732 (fma_towardzero_test_data): New variable.
32733 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32734 (fma_downward_test_data): New variable.
32735 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32736 (fma_upward_test_data): New variable.
32737 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32739 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32740 (struct test_c_c_data): New type.
32741 (RUN_TEST_LOOP_c_c): New macro.
32742 (cacos_test_data): New variable.
32743 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32744 (cacosh_test_data): New variable.
32745 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32746 (casin_test_data): New variable.
32747 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32748 (casinh_test_data): New variable.
32749 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32750 (catan_test_data): New variable.
32751 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32752 (catanh_test_data): New variable.
32753 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32754 (ccos_test_data): New variable.
32755 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32756 (ccosh_test_data): New variable.
32757 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32758 (cexp_test_data): New variable.
32759 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32760 (clog_test_data): New variable.
32761 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32762 (clog10_test_data): New variable.
32763 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32764 (conj_test_data): New variable.
32765 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32766 (cproj_test_data): New variable.
32767 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32768 (csin_test_data): New variable.
32769 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32770 (csinh_test_data): New variable.
32771 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32772 (csqrt_test_data): New variable.
32773 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32774 (ctan_test_data): New variable.
32775 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32776 (ctan_tonearest_test_data): New variable.
32777 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32778 (ctan_towardzero_test_data): New variable.
32779 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32780 (ctan_downward_test_data): New variable.
32781 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32782 (ctan_upward_test_data): New variable.
32783 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32784 (ctanh_test_data): New variable.
32785 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32786 (ctanh_tonearest_test_data): New variable.
32787 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32788 (ctanh_towardzero_test_data): New variable.
32789 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32790 (ctanh_downward_test_data): New variable.
32791 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32792 (ctanh_upward_test_data): New variable.
32793 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32794 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32797 * math/libm-test.inc (struct test_ff_f_data): New type.
32798 (struct test_ff_f_data_nexttoward): Likewise.
32799 (RUN_TEST_LOOP_2_f): New macro.
32800 (RUN_TEST_LOOP_ff_f): Likewise.
32801 (atan2_test_data): New variable.
32802 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32803 (copysign_test_data): New variable.
32804 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32805 (fdim_test_data): New variable.
32806 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32807 (fmax_test_data): New variable.
32808 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32809 (fmin_test_data): New variable.
32810 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32811 (fmod_test_data): New variable.
32812 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32813 (hypot_test_data): New variable.
32814 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32815 (nextafter_test_data): New variable.
32816 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32817 (nexttoward_test_data): New variable.
32818 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32819 (pow_test_data): New variable.
32820 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32821 (pow_tonearest_test_data): New variable.
32822 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32823 (pow_towardzero_test_data): New variable.
32824 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32825 (pow_downward_test_data): New variable.
32826 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32827 (pow_upward_test_data): New variable.
32828 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32829 (remainder_test_data): New variable.
32830 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32831 (scalb_test_data): New variable.
32832 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32833 * sysdeps/i386/fpu/libm-test-ulps: Update.
32835 2013-05-11 Joseph Myers <joseph@codesourcery.com>
32837 * math/libm-test.inc (fma_test): Use max_value instead of local
32839 (nextafter_test): Likewise.
32841 * math/libm-test.inc (acos_towardzero_test_data): New variable.
32842 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32843 (acos_downward_test_data): New variable.
32844 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32845 (acos_upward_test_data): New variable.
32846 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32847 (acosh_test_data): New variable.
32848 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32849 (asin_test_data): New variable.
32850 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32851 (asin_tonearest_test_data): New variable.
32852 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32853 (asin_towardzero_test_data): New variable.
32854 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32855 (asin_downward_test_data): New variable.
32856 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32857 (asin_upward_test_data): New variable.
32858 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32859 (asinh_test_data): New variable.
32860 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32861 (atan_test_data): New variable.
32862 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32863 (atanh_test_data): New variable.
32864 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32865 (cbrt_test_data): New variable.
32866 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32867 (ceil_test_data): New variable.
32868 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32869 (cos_test_data): New variable.
32870 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32871 (cos_tonearest_test_data): New variable.
32872 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32873 (cos_towardzero_test_data): New variable.
32874 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32875 (cos_downward_test_data): New variable.
32876 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32877 (cos_upward_test_data): New variable.
32878 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32879 (cosh_test_data): New variable.
32880 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32881 (cosh_tonearest_test_data): New variable.
32882 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32883 (cosh_towardzero_test_data): New variable.
32884 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32885 (cosh_downward_test_data): New variable.
32886 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32887 (cosh_upward_test_data): New variable.
32888 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32889 (erf_test_data): New variable.
32890 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32891 (erfc_test_data): New variable.
32892 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32893 (exp_test_data): New variable.
32894 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32895 (exp_tonearest_test_data): New variable.
32896 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32897 (exp_towardzero_test_data): New variable.
32898 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32899 (exp_downward_test_data): New variable.
32900 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32901 (exp_upward_test_data): New variable.
32902 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32903 (exp10_test_data): New variable.
32904 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32905 (exp2_test_data): New variable.
32906 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32907 (expm1_test_data): New variable.
32908 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32909 (fabs_test_data): New variable.
32910 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32911 (floor_test_data): New variable.
32912 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32913 (j0_test_data): New variable.
32914 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32915 (j1_test_data): New variable.
32916 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32917 (log_test_data): New variable.
32918 (log_test): Run tests with RUN_TEST_LOOP_f_f.
32919 (log10_test_data): New variable.
32920 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32921 (log1p_test_data): New variable.
32922 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32923 (log2_test_data): New variable.
32924 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32925 (logb_test_data): New variable.
32926 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32927 (logb_downward_test_data): New variable.
32928 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32929 (nearbyint_test_data): New variable.
32930 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32931 (rint_test_data): New variable.
32932 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32933 (rint_tonearest_test_data): New variable.
32934 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32935 (rint_towardzero_test_data): New variable.
32936 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32937 (rint_downward_test_data): New variable.
32938 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32939 (rint_upward_test_data): New variable.
32940 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32941 (round_test_data): New variable.
32942 (round_test): Run tests with RUN_TEST_LOOP_f_f.
32943 (sin_test_data): New variable.
32944 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32945 (sin_tonearest_test_data): New variable.
32946 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32947 (sin_towardzero_test_data): New variable.
32948 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32949 (sin_downward_test_data): New variable.
32950 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32951 (sin_upward_test_data): New variable.
32952 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32953 (sinh_test_data): New variable.
32954 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32955 (sinh_tonearest_test_data): New variable.
32956 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32957 (sinh_towardzero_test_data): New variable.
32958 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32959 (sinh_downward_test_data): New variable.
32960 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32961 (sinh_upward_test_data): New variable.
32962 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32963 (sqrt_test_data): New variable.
32964 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32965 (tan_test_data): New variable.
32966 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32967 (tan_tonearest_test_data): New variable.
32968 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32969 (tan_towardzero_test_data): New variable.
32970 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32971 (tan_downward_test_data): New variable.
32972 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32973 (tan_upward_test_data): New variable.
32974 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32975 (tanh_test_data): New variable.
32976 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32977 (tgamma_test_data): New variable.
32978 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32979 (trunc_test_data): New variable.
32980 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32981 (y0_test_data): New variable.
32982 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32983 (y1_test_data): New variable.
32984 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32985 (significand_test_data): New variable.
32986 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32988 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
32991 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32993 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
32995 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32997 2013-05-10 Andreas Jaeger <aj@suse.de>
33000 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33001 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33003 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33005 * math/gen-libm-test.pl (adjust_arg): New function.
33006 (special_functions): Handle generating output in both functions
33008 (parse_args): Likewise.
33009 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33010 $in_func argument to parse_args.
33011 * math/libm-test.inc (struct test_f_f_data): New type.
33012 (IF_ROUND_INIT_): New macro.
33013 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33014 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33015 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33016 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33017 (ROUND_RESTORE_): Likewise.
33018 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33019 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33020 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33021 (ROUND_RESTORE_FE_UPWARD): Likewise.
33022 (RUN_TEST_LOOP_f_f): New macro.
33023 (acos_test_data): New variable.
33024 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33025 (acos_tonearest_test_data): New variable.
33026 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33028 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33030 * benchtests/bench-skeleton.c (startup): Fix coding style.
33032 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33035 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33036 negative infinity argument.
33037 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33038 negative infinity argument.
33039 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33040 negative infinity argument.
33041 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33044 2013-05-10 Florian Weimer <fweimer@redhat.com>
33046 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33047 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33048 * iconv/iconv_prog.c (main): Likewise.
33049 * locale/programs/charmap-dir.c (charmap_readdir)
33050 (fopen_uncompressed): Likewise.
33051 * locale/programs/locfile.c (siblings_uncached)
33052 (write_locale_data): Use lstat64 instead of lstat.
33053 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33056 2013-05-10 Andreas Jaeger <aj@suse.de>
33059 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33061 Include <locale.h>.
33063 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33065 * elf/dl-close.c (_dl_close_worker): Add comments.
33067 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33070 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33072 (__ieee754_rem_pio2l): Update comments.
33075 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33077 (__ieee754_rem_pio2l): Update comments.
33079 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33080 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33082 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33085 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33086 (M_PI_34_LOG10El): Likewise.
33087 (M_PI2_LOG10El): Likewise.
33088 (M_PI4_LOG10El): Likewise.
33089 (M_PI_LOG10El): Likewise.
33091 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33095 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33097 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33098 (MINUS_ZERO_INIT): Likewise.
33099 (PLUS_INFTY_INIT): Likewise.
33100 (MINUS_INFTY_INIT): Likewise.
33101 (QNAN_VALUE_INIT): Likewise.
33102 (MAX_VALUE_INIT): Likewise.
33103 (MIN_VALUE_INIT): Likewise.
33104 (MIN_SUBNORM_VALUE_INIT): Likewise.
33105 (plus_zero): Initialize with PLUS_ZERO_INIT.
33106 (minus_zero): Initialize with MINUS_ZERO_INIT.
33107 (plus_infty): Initialize with PLUS_INFTY_INIT.
33108 (minus_infty): Initialize with MINUS_INFTY_INIT.
33109 (qnan_value): Initialize with QNAN_VALUE_INIT.
33110 (max_value): Initialize with MAX_VALUE_INIT.
33111 (min_value): Initialize with MIN_VALUE_INIT.
33112 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33114 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33115 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33116 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33117 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33119 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33120 (RUN_TEST_2_f): Likewise.
33121 (RUN_TEST_ff_f): Likewise.
33122 (RUN_TEST_fi_f): Likewise.
33123 (RUN_TEST_fl_f): Likewise.
33124 (RUN_TEST_fff_f): Likewise.
33125 (RUN_TEST_c_f): Likewise.
33126 (RUN_TEST_f_f1): Likewise.
33127 (RUN_TEST_fF_f1): Likewise.
33128 (RUN_TEST_fI_f1): Likewise.
33129 (RUN_TEST_ffI_f1): Likewise.
33130 (RUN_TEST_c_c): Likewise.
33131 (RUN_TEST_cc_c): Likewise.
33132 (RUN_TEST_f_i): Likewise.
33133 (RUN_TEST_f_i_tg): Likewise.
33134 (RUN_TEST_ff_i_tg): Likewise.
33135 (RUN_TEST_f_b): Likewise.
33136 (RUN_TEST_f_b_tg): Likewise.
33137 (RUN_TEST_f_l): Likewise.
33138 (RUN_TEST_f_L): Likewise.
33139 (RUN_TEST_sincos): Likewise.
33140 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33141 whether to show exceptions. Do not include ");\n" in return
33143 (special_functions): Output call to RUN_TEST_sincos instead of
33144 check_float calls. Update calls to new_test.
33145 (parse_args): Output call to single RUN_TEST_* macro instead of
33146 check_* calls and other assignments. Update calls to new_test.
33152 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33153 input to result for tgamma overflow.
33154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33155 (gamma_coeff): New variable.
33156 (NCOEFF): New macro.
33157 (gamma_positive): New function.
33158 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33159 underflow here. Use gamma_positive instead of exp (lgamma) for
33161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33162 (gamma_coeff): New variable.
33163 (NCOEFF): New macro.
33164 (gammaf_positive): New function.
33165 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33166 underflow here. Use gamma_positive instead of exp (lgamma) for
33168 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33169 (gamma_coeff): New variable.
33170 (NCOEFF): New macro.
33171 (gammal_positive): New function.
33172 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33173 underflow here. Use gamma_positive instead of exp (lgamma) for
33175 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33176 (gamma_coeff): New variable.
33177 (NCOEFF): New macro.
33178 (gammal_positive): New function.
33179 (__ieee754_gammal_r): Handle positive infinity, overflow and
33180 underflow here. Handle NaN the same as positive infinity. Remove
33181 check x < 0xffffffff for negative integers. Use gamma_positive
33182 instead of exp (lgamma) for other arguments.
33183 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33184 (gamma_coeff): New variable.
33185 (NCOEFF): New macro.
33186 (gammal_positive): New function.
33187 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33188 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33192 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33193 * sysdeps/generic/math_private.h (__gamma_productf): New
33195 (__gamma_product): Likewise.
33196 (__gamma_productl): Likewise.
33197 * math/Makefile (libm-calls): Add gamma_product.
33198 * math/libm-test.inc (tgamma_test): Add more tests.
33199 * sysdeps/i386/fpu/libm-test-ulps: Update.
33200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33202 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33204 * benchtests/bench-skeleton.c (main): Preheat CPU.
33206 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33208 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33210 2013-05-07 Roland McGrath <roland@hack.frob.com>
33212 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33213 and _dl_skip_args_internal.
33215 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33217 * manual/message.texi (Message Translation): Talk about users.
33218 Message to key mapping impacts design.
33220 2013-05-06 Roland McGrath <roland@hack.frob.com>
33222 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33224 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33226 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33227 * sysdeps/wordsize-64/glob64.c: ... here.
33229 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33230 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33233 * debug/getlogin_r_chk.c: Moved to ...
33234 * login/getlogin_r_chk.c: ... here.
33235 * debug/Makefile (routines): Move getlogin_r_chk to ...
33236 * login/Makefile (routines): ... here.
33237 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33238 * login/Versions (libc: GLIBC_2.4): ... here.
33240 * io/poll.c (__poll): Renamed from poll.
33241 Add libc_hidden_def.
33242 (poll): Define as weak alias.
33244 * debug/ptsname_r_chk.c: Moved to ...
33245 * login/ptsname_r_chk.c: ... here.
33246 * debug/Makefile (routines): Move ptsname_r_chk to ...
33247 * login/Makefile (routines): ... here.
33248 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33249 * login/Versions (libc: GLIBC_2.4): ... here.
33251 * posix/getlogin.c: Moved to ...
33252 * login/getlogin.c: ... here.
33253 * posix/getlogin_r.c: Moved to ...
33254 * login/getlogin_r.c: ... here.
33255 * posix/getlogin_r.c: Moved to ...
33256 * login/getlogin_r.c: ... here.
33257 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33258 * login/Makefile (routines): ... here.
33259 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33260 * login/Versions (libc: GLIBC_2.0): ... here.
33262 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33263 (setrlimit): Define as weak alias.
33265 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33266 Call __ names for open, ftruncate, and close.
33267 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33268 (truncate): Define as weak alias.
33270 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33272 * math/gen-libm-test.pl (parse_args): Initialize x before each
33273 test of frexp, modf and remquo.
33275 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33276 test signgam value.
33278 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33282 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33286 2013-05-06 Roland McGrath <roland@hack.frob.com>
33288 * elf/dl-writev.h: New file.
33289 * elf/dl-misc.c: Include it.
33290 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33291 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33293 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33295 * math/libm-test.inc (noXFails): Remove variable.
33296 (noXPasses): Likewise.
33297 (BUILD_COMPLEX_INT): Remove macro.
33298 (print_screen): Remove xfail argument.
33299 (print_screen_max_error): Likewise.
33300 (update_stats): Likewise.
33301 (print_max_error): Likewise. Update calls to other affected
33303 (print_complex_max_error): Likewise.
33304 (test_single_exception): Update calls to print_screen.
33305 (test_single_errno): Likewise.
33306 (check_float_internal): Remove xfail argument. Update calls to
33307 other affected functions.
33308 (check_float): Likewise.
33309 (check_complex): Likewise.
33310 (check_int): Likewise.
33311 (check_long): Likewise.
33312 (check_bool): Likewise.
33313 (check_longlong): Likewise.
33314 (main): Don't print noXFails and noXPasses.
33315 * math/gen-libm-test.pl (top level): Don't mention expected
33316 failure handling in comment.
33317 (new_test): Don't handle expected failures.
33318 (parse_args): Don't mention expected failure handling in comment.
33319 (generate_testfile): Don't handle expected failures.
33320 (parse_ulps): Likewise.
33321 (print_ulps_file): Likewise.
33322 (get_failure): Remove function.
33323 (output_test): Don't handle expected failures.
33324 * make/README.libm-test: Don't mention expected failure handling.
33326 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33327 (minus_zero): Likewise.
33328 (plus_infty): Likewise.
33329 (minus_infty): Likewise.
33330 (qnan_value): Likewise.
33331 (max_value): Likewise.
33332 (min_value): Likewise.
33333 (min_subnorm_value): Likewise.
33334 (initialize): Do not initialize those variables dynamically.
33336 2013-05-03 Roland McGrath <roland@hack.frob.com>
33338 * io/open.c (__open_2): Moved to ...
33339 * io/open_2.c: ... this new file.
33340 * io/open64.c (__open64_2): Moved to ...
33341 * io/open64_2.c: ... this new file.
33342 * io/openat.c (__openat_2): Moved to ...
33343 * io/openat_2.c: ... this new file.
33344 * io/openat64.c (__openat64_2): Moved to ...
33345 * io/openat64_2.c: ... this new file.
33346 * io/Makefile (routines): Add them.
33347 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33348 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33349 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33350 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33351 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33352 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33353 (__openat64): Add hidden_ver.
33354 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33355 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33357 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33358 Separately conditionalize setting of GLRO(dl_sysinfo) so
33359 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33360 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33362 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33364 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33367 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33368 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33369 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33370 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33371 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33373 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33375 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33376 test signgam value.
33378 * math/libm-test.inc (hypot_test): Do not use
33379 IGNORE_ZERO_INF_SIGN.
33381 2013-05-03 Andreas Jaeger <aj@suse.de>
33383 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33385 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33386 (PF_MAX): Adjust for VSOCK change.
33388 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33392 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33395 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33396 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33397 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33399 2013-05-02 David S. Miller <davem@davemloft.net>
33401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33403 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33405 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33407 2013-05-01 Roland McGrath <roland@hack.frob.com>
33409 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33411 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33414 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33415 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33416 Use __attribute__ ((__gnu_inline__)).
33417 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33418 Don't use __attribute__ ((__gnu_inline__)).
33420 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33423 * math/s_catan.c (__catan): Handle small real or imaginary part of
33424 input specially to avoid spurious underflow.
33425 * math/s_catanf.c (__catanf): Likewise.
33426 * math/s_catanh.c (__catanh): Likewise.
33427 * math/s_catanhf.c (__catanhf): Likewise.
33428 * math/s_catanhl.c (__catanhl): Likewise.
33429 * math/s_catanl.c (__catanl): Likewise.
33430 * math/libm-test.inc (catan_test): Add more tests.
33431 (catanh_test): Likewise.
33432 * sysdeps/i386/fpu/libm-test-ulps: Update.
33433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33435 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33439 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33442 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33443 accurately for denominator in atan2.
33444 * math/s_catanf.c (__catanf): Likewise.
33445 * math/s_catanh.c (__catanh): Likewise.
33446 * math/s_catanhf.c (__catanhf): Likewise.
33447 * math/s_catanhl.c (__catanhl): Likewise.
33448 * math/s_catanl.c (__catanl): Likewise.
33449 * math/libm-test.inc (catan_test): Add more tests.
33450 (catanh_test): Likewise.
33451 * sysdeps/i386/fpu/libm-test-ulps: Update.
33452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33454 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33456 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33458 * benchtests/Makefile (bench): Remove slow benchmarks.
33459 * benchtests/atan-inputs: Add slow benchmark inputs.
33460 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33461 (BENCH_FUNC): Accept variant offset.
33463 * benchtests/bench-skeleton.c (main): Run benchmark for each
33465 * benchtests/cos-inputs: Add slow benchmark inputs.
33466 * benchtests/exp-inputs: Likewise.
33467 * benchtests/pow-inputs: Likewise.
33468 * benchtests/sin-inputs: Likewise.
33469 * benchtests/slowatan-inputs: Remove.
33470 * benchtests/slowatan.c: Remove.
33471 * benchtests/slowcos-inputs: Remove.
33472 * benchtests/slowcos.c: Remove.
33473 * benchtests/slowexp-inputs: Remove.
33474 * benchtests/slowexp.c: Remove.
33475 * benchtests/slowpow-inputs: Remove.
33476 * benchtests/slowpow.c: Remove.
33477 * benchtests/slowsin-inputs: Remove.
33478 * benchtests/slowsin.c: Remove.
33479 * benchtests/slowtan-inputs: Remove.
33480 * benchtests/slowtan.c: Remove.
33481 * benchtests/tan-inputs: Add slow benchmark inputs.
33482 * scripts/bench.pl: Parse comments and directives.
33484 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33486 ($(objpfx)bench-%.c): Remove *-ITER.
33487 * benchtests/bench-modf.c: Remove definition of ITER.
33488 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33489 (main): Loop for DURATION seconds instead of fixed number of
33491 * scripts/bench.pl: Don't expect iterations in parameters.
33493 2013-04-29 Roland McGrath <roland@hack.frob.com>
33495 * io/fchdir.c (__fchdir): Renamed from fchdir.
33496 (fchdir): Define as weak alias.
33498 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33500 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33501 (ERRNO_EDOM): Likewise.
33502 (ERRNO_ERANGE): Likewise.
33503 (noErrnoTests): New variable.
33504 (init_max_error): Set errno to 0.
33505 (test_single_errno): New function.
33506 (test_errno): Likewise.
33507 (check_float_internal): Call test_errno. Set errno to 0.
33508 (check_complex): Refer to errno tests in comment.
33509 (check_int): Call test_errno. Set errno to 0.
33510 (check_long): Likewise.
33511 (check_bool): Likewise.
33512 (check_longlong): Likewise.
33513 (cos_test): Use ERRNO_* flags for errno tests instead of
33515 (expm1_test): Likewise.
33516 (fmod_test): Likewise.
33517 (ilogb_test): Likewise.
33518 (lgamma_test): Likewise.
33519 (pow_test): Likewise.
33520 (remainder_test): Likewise.
33521 (sin_test): Likewise.
33522 (tan_test): Likewise.
33523 (yn_test): Likewise.
33524 (initialize): Set errno to 0.
33525 (main): Print number of errno tests.
33526 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33528 2013-04-29 Andreas Jaeger <aj@suse.de>
33531 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33535 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33536 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33540 * stdlib/random.c (__initstate): Return NULL if
33544 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33545 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33548 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33552 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33554 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33555 of individual tests.
33556 (casin_test): Likewise.
33557 (casinh_test): Likewise.
33559 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33562 * math/s_catan.c (__catan): Handle arguments with large real or
33563 imaginary part separately without squaring.
33564 * math/s_catanf.c (__catanf): Likewise.
33565 * math/s_catanh.c (__catanh): Likewise.
33566 * math/s_catanhf.c (__catanhf): Likewise.
33567 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33569 (__catanhl): Handle arguments with large real or imaginary part
33570 separately without squaring.
33571 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33573 (__catanl): Handle arguments with large real or imaginary part
33574 separately without squaring.
33575 * math/libm-test.inc (catan_test): Add more tests.
33576 (catanh_test): Likewise.
33577 * sysdeps/i386/fpu/libm-test-ulps: Update.
33578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33580 2013-04-27 Andreas Jaeger <aj@suse.de>
33583 * stdlib/stdlib.h: Update guards for qecvt.
33584 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33587 2013-04-27 Allan McRae <allan@archlinux.org>
33589 * sysdeps/i386/fpu/libm-test-ulps: Update.
33591 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33594 * math/s_catan.c: Include <float.h>.
33595 (__catan): Ensure underflow exception occurs for underflowed
33597 * math/s_catanf.c: Include <float.h>.
33598 (__catanf): Ensure underflow exception occurs for underflowed
33600 * math/s_catanh.c: Include <float.h>.
33601 (__catanh): Ensure underflow exception occurs for underflowed
33603 * math/s_catanhf.c: Include <float.h>.
33604 (__catanhf): Ensure underflow exception occurs for underflowed
33606 * math/s_catanhl.c: Include <float.h>.
33607 (__catanhl): Ensure underflow exception occurs for underflowed
33609 * math/s_catanl.c: Include <float.h>.
33610 (__catanl): Ensure underflow exception occurs for underflowed
33612 * math/libm-test.inc (catan_test): Add more tests.
33613 (catanh_test): Likewise.
33616 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33617 underflowed result.
33618 * math/s_ccoshf.c (__ccoshf): Likewise.
33619 * math/s_ccoshl.c (__ccoshl): Likewise.
33620 * math/s_csin.c (__csin): Likewise.
33621 * math/s_csinf.c (__csinf): Likewise.
33622 * math/s_csinh.c (__csinh): Likewise.
33623 * math/s_csinhf.c (__csinhf): Likewise.
33624 * math/s_csinhl.c (__csinhl): Likewise.
33625 * math/s_csinl.c (__csinl): Likewise.
33626 * math/libm-test.inc (ccos_test): Add more tests.
33627 (ccosh_test): Likewise.
33628 (csin_test): Likewise.
33629 (csinh_test): Likewise.
33631 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33633 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33634 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33635 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33636 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33637 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33638 powerpc/power5+/fpu folders.
33639 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33642 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33646 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33648 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33649 additions to variable.
33650 [$(config-machine) = x86_64] (modules-names): Likewise.
33651 ($(objpfx)tst-audit3): Remove dependency.
33652 ($(objpfx)tst-audit3.out): Likewise.
33653 ($(objpfx)tst-audit4): Likewise.
33654 ($(objpfx)tst-audit4.out): Likewise.
33655 ($(objpfx)tst-audit5): Likewise.
33656 ($(objpfx)tst-audit5.out): Likewise.
33657 ($(objpfx)tst-audit6): Likewise.
33658 ($(objpfx)tst-audit6.out): Likewise.
33659 ($(objpfx)tst-audit7): Likewise.
33660 ($(objpfx)tst-audit7.out): Likewise.
33661 (tst-audit3-ENV): Remove variable.
33662 (tst-audit4-ENV): Likewise.
33663 (tst-audit5-ENV): Likewise.
33664 (tst-audit6-ENV): Likewise.
33665 (tst-audit7-ENV): Likewise.
33666 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33667 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33668 addition to variable.
33669 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33670 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33671 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33672 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33674 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33675 tst-audit3, tst-audit4 and tst-audit5.
33676 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33677 tst-audit6 and tst-audit7.
33678 [$(subdir) = elf] (modules-names): Add audit modules for those
33680 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33681 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33682 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33683 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33684 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33685 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33686 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33687 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33688 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33689 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33690 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33691 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33692 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33693 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33694 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33695 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33697 [$(subdir) = elf && $(config-cflags-avx) = yes]
33698 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33699 [$(subdir) = elf && $(config-cflags-avx) = yes]
33700 (CFLAGS-tst-auditmod4a.c): Likewise.
33701 [$(subdir) = elf && $(config-cflags-avx) = yes]
33702 (CFLAGS-tst-auditmod4b.c): Likewise.
33703 [$(subdir) = elf && $(config-cflags-avx) = yes]
33704 (CFLAGS-tst-auditmod6b.c): Likewise.
33705 [$(subdir) = elf && $(config-cflags-avx) = yes]
33706 (CFLAGS-tst-auditmod6c.c): Likewise.
33707 [$(subdir) = elf && $(config-cflags-avx) = yes]
33708 (CFLAGS-tst-auditmod7b.c): Likewise.
33709 * elf/tst-audit3.c: Move to ...
33710 * sysdeps/x86_64/tst-audit3.c: ... here.
33711 * elf/tst-audit4.c: Move to ...
33712 * sysdeps/x86_64/tst-audit4.c: ... here.
33713 * elf/tst-audit5.c: Move to ...
33714 * sysdeps/x86_64/tst-audit5.c: ... here.
33715 * elf/tst-audit6.c: Move to ...
33716 * sysdeps/x86_64/tst-audit6.c: ... here.
33717 * elf/tst-audit7.c: Move to ...
33718 * sysdeps/x86_64/tst-audit7.c: ... here.
33719 * elf/tst-auditmod3a.c: Move to ...
33720 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33721 * elf/tst-auditmod3b.c: Move to ...
33722 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33723 * elf/tst-auditmod4a.c: Move to ...
33724 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33725 * elf/tst-auditmod4b.c: Move to ...
33726 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33727 * elf/tst-auditmod5a.c: Move to ...
33728 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33729 * elf/tst-auditmod5b.c: Move to ...
33730 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33731 * elf/tst-auditmod6a.c: Move to ...
33732 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33733 * elf/tst-auditmod6b.c: Move to ...
33734 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33735 * elf/tst-auditmod6c.c: Move to ...
33736 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33737 * elf/tst-auditmod7a.c: Move to ...
33738 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33739 * elf/tst-auditmod7b.c: Move to ...
33740 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33742 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33745 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33746 define unconditionally.
33747 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33748 define unconditionally.
33749 (INT8_C, INT16_C, etc.): Likewise.
33751 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33753 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33754 __ehdr_start with hidden visibility.
33756 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33758 2013-04-24 Carlos O'Donell <carlos@redhat.com>
33760 * math/libm-test.inc (cos_test): Use accurate hex constants.
33761 (sincost_test): Likewise.
33763 2013-04-24 Joseph Myers <joseph@codesourcery.com>
33765 * math/libm-test.inc (catan_test): Add more tests.
33766 (catanh_test): Likewise.
33768 * math/s_catanf.c (__catanf): Use suffixed floating-point
33770 * math/s_catanhf.c (__catanhf): Likewise.
33771 * math/s_catanhl.c (__catanhl): Likewise.
33772 * math/s_catanl.c (__catanl): Likewise.
33775 * math/s_catan.c (__catan): Calculate imaginary part of result
33776 with log1p not log unless computing log of number close to 0.
33777 * math/s_catanf.c (__catanf): Likewise.
33778 * math/s_catanl.c (__catanl): Likewise.
33779 * math/s_catanh.c (__catanh): Calculate real part of result with
33780 log1p not log unless computing log of number close to 0.
33781 * math/s_catanhf.c (__catanhf): Likewise.
33782 * math/s_catanhl.c (__catanhl): Likewise.
33783 * math/libm-test.inc (catan_test): Add more tests.
33784 (catanh_test): Likewise.
33785 * sysdeps/i386/fpu/libm-test-ulps: Update.
33786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33788 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33790 * benchtests/Makefile: Mention files in which fast and slow
33791 paths of math functions are implemented.
33793 2013-04-23 Roland McGrath <roland@hack.frob.com>
33795 * sysdeps/posix/timespec_get.c: New file.
33797 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33799 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33801 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33803 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33804 powerpc/power5/fpu folders.
33805 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33806 * benchtests/Makefile: Add modf testcase.
33807 * benchtests/bench-modf.c: New file: Benchmark test for mo
33809 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33812 * time/Makefile (tests): Add tst-strptime-whitespace.
33813 * time/strptime_l.c (get_number): Use ISSPACE.
33814 (__strptime_internal): Likewise.
33815 * time/tst-strptime-whitespace.c: New test case.
33817 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
33819 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33821 (_nss_files_init): Set it here.
33823 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
33825 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33826 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33829 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
33831 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33833 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33835 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33838 2013-04-21 David S. Miller <davem@davemloft.net>
33840 * po/ru.po: Update Russion translation from translation project.
33842 2013-04-17 Adam Conrad <adconrad@0c3.net>
33844 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33847 2013-04-17 Carlos O'Donell <carlos@redhat.com>
33849 * configure.in: Remove i386 configure warning. Remove i386 case.
33850 * configure: Regenerate.
33851 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33852 Add example to error message.
33853 * sysdeps/i386/configure: Regenerate.
33855 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33857 * benchtests/Makefile (bench): Add cos, tan, slowcos and
33859 * benchtests/cos-inputs: New file.
33860 * benchtests/slowcos-inputs: New file.
33861 * benchtests/slowcos.c: New file.
33862 * benchtests/slowtan-inputs: New file.
33863 * benchtests/slowtan.c: New file.
33864 * benchtests/tan-inputs: New file.
33866 2013-04-16 Roland McGrath <roland@hack.frob.com>
33868 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33871 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33873 * benchtests/Makefile: Include cppflags-iterator.mk to add
33874 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33876 * Makefile.in (bench-clean): New target.
33877 * benchtests/Makefile (bench-clean): Likewise.
33879 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
33881 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33883 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
33885 * stdio-common/tstdiomisc.c: Fix coding-style violation.
33887 2013-04-15 Andreas Schwab <schwab@suse.de>
33889 * nscd/grpcache.c (cache_addgr): Properly check for short write.
33890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33891 * nscd/pwdcache.c (cache_addpw): Likewise.
33892 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
33895 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33897 * benchtests/Makefile (bench): Write all output to
33898 bench-out.tmp together.
33900 2013-04-15 Andreas Schwab <schwab@suse.de>
33902 * nscd/nscd.c (main): Don't fork again after closing files.
33904 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33906 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33908 * benchtests/Rules (bench-deps): Collect dependencies into a
33909 single variable. Add Makefile to dependencies.
33910 ($(objpfx)bench-%.c): Depend on bench-deps.
33912 2013-04-12 Roland McGrath <roland@hack.frob.com>
33913 Xavier Roche <roche+kml2@exalead.com>
33916 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33917 just that it's a file descriptor.
33918 * manual/llio.texi (Synchronizing AIO Operations): Update description
33919 for EBADF error from aio_fsync.
33921 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33923 * Rules (bench): Move target definition...
33924 * benchtests/Makefile: ... here.
33926 2013-04-11 Carlos O'Donell <carlos@redhat.com>
33928 * math/libm-test.inc (cos_test): Fix PI/2 test.
33929 (sincos_test): Likewise.
33930 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33931 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33933 2013-04-11 Andreas Schwab <schwab@suse.de>
33936 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33937 accept exponent character only when digits were seen.
33938 * stdio-common/Makefile (tests): Add bug26.
33939 * stdio-common/bug26.c: New file.
33942 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33945 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33947 * Makeconfig (rtld-prefix): Define built linker prefix.
33948 * Rules (run-bench): Use it.
33949 * math/Makefile (run-regen-ulps): Likewise.
33951 * Rules (bench): Remove eval.
33953 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33954 Roland McGrath <roland@hack.frob.com>
33955 Ondrej Bilka <neleai@seznam.cz>
33958 * time/getdate.c: Include ctype.h and alloca.h.
33959 (__getdate_r): Trim leading and trailing spaces of input.
33960 * time/tst-getdate.c (tests): Add tests with leading and
33963 2013-04-08 Roland McGrath <roland@hack.frob.com>
33966 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33967 when computing value.
33969 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33971 * math/README.libm-test (How can I generate "libm-test-ulps"?):
33972 Use testrun.sh to run libm tests.
33975 * elf/dl-open.c (dl_open_worker): memset all of seen array.
33977 2013-04-06 Marko Myllynen <myllynen@redhat.com>
33980 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33982 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33984 * Makefile.in (regen-ulps): New target.
33985 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33986 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33987 [ifneq (no,$(PERL)] (regen-ulps): New target.
33988 [ifeq (no,$(PERL)] (regen-ulps): New target.
33989 * math/libm-test.inc (ulps_file_name): Define.
33990 (output_dir): New variable.
33991 (options): Add "output-dir" option.
33992 (parse_opt): Handle 'o' case.
33993 (main): If output_dir is non-NULL use it as a prefix
33995 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33997 2013-04-06 Carlos O'Donell <carlos@redhat.com>
33999 [BZ #10060, #10062]
34000 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34001 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34002 fail configure if __sync_val_compare_and_swap is not inlined.
34003 * sysdeps/i386/configure: Regenerate.
34004 * configure.in: Build for i686 when configured for i386.
34005 * configure: Regenerate.
34006 * README: Remove i386 reference.
34008 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34010 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34011 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34013 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34015 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34016 (lmsnanval): New variables.
34017 (F): Add conversion tests.
34018 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34019 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34021 * stdio-common/tstdiomisc.c (F): Properly collect individual
34024 [BZ #14686, #15336]
34025 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34026 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34027 Instead, use input NaN values or generate a qNaN by arithmetic
34028 operation. Also fix bugs to comply with the standard.
34029 * math/libm-test.inc (remainder_test): Add more tests.
34031 [BZ #15335, #15342]
34032 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34034 input NaN values or generate a qNaN by arithmetic operation.
34036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34039 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34042 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34045 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34046 underflowed result.
34047 * math/s_cexpf.c (__cexpf): Likewise.
34048 * math/s_cexpl.c (__cexpl): Likewise.
34049 * math/libm-test.inc (cexp_test): Add more tests.
34051 2013-04-03 Andreas Schwab <schwab@suse.de>
34054 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34055 order arrays from heap if bigger than alloca cutoff.
34057 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34059 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34060 (SNAN_TESTS_double): Refer to GCC PR56831.
34061 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34064 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34066 * Rules (bench): Move bench.out after the run is complete.
34068 * Rules (bench): Echo currently running benchmark.
34070 * benchtests/Makefile (bench): Add atan and slowatan.
34071 * benchtests/atan-inputs: New file.
34072 * benchtests/slowatan-inputs: New file.
34073 * benchtests/slowatan.c: New file.
34075 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34076 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34080 * sysdeps/unix/sysv/linux/kernel-features.h
34081 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34082 __ASSUME_XFS_RESTRICTED_CHOWN.
34083 * sysdeps/unix/sysv/linux/pathconf.c
34084 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34085 Save and restore errno.
34087 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34090 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34091 arguments using __kernel_casinh.
34092 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34093 arguments using __kernel_casinhf.
34094 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34095 arguments using __kernel_casinhl.
34096 * math/libm-test.inc (cacosh_test): Add more tests.
34097 * sysdeps/i386/fpu/libm-test-ulps: Update.
34098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34100 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34102 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34105 * bench/Makefile (bench): Add sin and slowsin.
34106 * benchtests/sin-inputs: New file.
34107 * benchtests/slowsin-inputs: New file.
34108 * benchtests/slowsin.c: New file.
34110 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34111 (bench): Add slowexp and slowpow.
34112 (exp-ITER): Increase iterations.
34113 (pow-ITER): Likewise.
34114 * benchtests/exp-inputs: Change input.
34115 * benchtests/pow-inputs: Likewise.
34116 * benchtests/slowexp-inputs: New file.
34117 * benchtests/slowexp.c: New file.
34118 * benchtests/slowpow-inputs: New file.
34119 * benchtests/slowpow.c: New file.
34121 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34123 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34125 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34126 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34127 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34128 * benchtests/Makefile: Add rint benchtest.
34129 * benchtests/rint-inputs: Input for rint benchtest.
34131 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34133 * Versions.def (libm): Add GLIBC_2.18.
34134 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34135 hidden libm prototypes.
34136 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34137 * math/Makefile (libm-calls): Add s_issignaling.
34138 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34139 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34140 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34142 * math/math.h [__USE_GNU] (issignaling): New macro.
34143 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34144 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34145 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34146 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34149 * manual/arith.texi (issignaling): New section.
34150 * manual/libm-err-tab.pl (@all_functions): Update comment.
34151 * math/gen-libm-test.pl (parse_args): Apply special handling for
34153 * math/libm-test.inc (print_float, issignaling_test): New
34155 (check_float_internal): Add issignaling checks.
34156 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34157 default definition.
34158 * sysdeps/powerpc/math-tests.h: New file.
34159 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34161 * math/test-snan.c (TEST_FUNC): Likewise.
34163 2013-03-30 David S. Miller <davem@davemloft.net>
34165 * po/de.po: Update from translation team.
34167 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34170 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34171 imaginary part less than 1.0 and real part less than 0.5
34173 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34174 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34175 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34176 (cacos_test): Add more tests.
34177 (casin_test): Likewise.
34178 (casinh_test): Likewise.
34179 * sysdeps/i386/fpu/libm-test-ulps: Update.
34180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34182 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34184 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34185 ONE with its value.
34187 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34188 (__pow_mp): Replace ONE and MONE with their values.
34189 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34191 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34192 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34193 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34194 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34196 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34198 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34199 (__pow_mp): Replace ZERO and MZERO with their values.
34200 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34201 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34202 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34204 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34205 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34208 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34210 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34212 2013-03-28 Roland McGrath <roland@hack.frob.com>
34214 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34215 Declare with __attribute__ ((weak)).
34216 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34217 Call __call_tls_dtors only if it's not NULL.
34219 2013-03-28 Roland McGrath <roland@hack.frob.com>
34221 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34222 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34223 magic __ehdr_start linker symbol if it's defined.
34224 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34225 them up here if it was already done.
34227 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34228 (_dl_aux_init): Use const in cast when setting it.
34229 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34230 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34231 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34233 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34235 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34236 * csu/libc-tls.c: Nor here.
34237 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34239 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34240 (__libc_message): Never call vsyslog.
34242 2013-03-28 Alan Modra <amodra@gmail.com>
34244 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34246 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34249 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34252 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34256 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34259 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34260 Don't add gid passed as argument.
34262 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34264 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34267 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34268 imaginary part between 1.0 and 1.5 and real part less than 0.5
34270 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34271 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34272 * math/libm-test.inc (cacos_test): Add more tests.
34273 (casin_test): Likewise.
34274 (casinh_test): Likewise.
34275 * sysdeps/i386/fpu/libm-test-ulps: Update.
34276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34278 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34280 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34283 (denorm): Likewise.
34284 (__dbl_mp): Likewise.
34285 (add_magnitudes): Likewise.
34286 (sub_magnitudes): Likewise.
34294 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34296 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34297 (__dubcos): Likewise.
34298 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34299 (__ieee754_acos): Likewise.
34300 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34301 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34302 (__exp1): Likewise.
34303 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34304 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34306 (my_log2): Likewise.
34307 (checkint): Likewise.
34308 * sysdeps/ieee754/dbl-64/e_remainder.c
34309 (__ieee754_remainder): Likewise.
34310 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34311 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34312 (bsloww): Likewise.
34313 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34315 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34317 MANTISSA_STORE_T to store computations on mantissa. Use
34318 macros for rounding and division.
34319 (denorm): Likewise.
34320 (__dbl_mp): Likewise.
34321 (add_magnitudes): Likewise.
34322 (sub_magnitudes): Likewise.
34325 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34326 powers of two in terms of TWOPOW macro.
34327 (mp_no): Make type of mantissa as MANTISSA_T.
34328 [!RADIXI]: Define RADIXI.
34329 [!TWO52]: Define TWO52.
34330 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34332 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34334 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34335 llroundl symbol when building for PPC32.
34337 2013-03-24 Mark H Weaver <mhw@netris.org>
34339 * manual/arith.texi (Normalization Functions): Fix prototypes for
34340 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34342 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34346 high value to check if expl overflow.
34347 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34348 to check for underflow and overflow.
34349 * math/libm-test.inc: Add exp test.
34351 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34354 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34357 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34359 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34362 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34364 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34365 wrap blocks consisting of several statements.
34367 * sysdeps/generic/math-tests.h: New file.
34368 * sysdeps/i386/fpu/math-tests.h: Likewise.
34369 * math/test-snan.c: Include it.
34370 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34372 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34375 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34376 (__ieee754_j0l): Do not improve calculations using cos of twice
34377 input for inputs above LDBL_MAX / 2.0L.
34378 (__ieee754_y0l): Likewise.
34379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34380 (__ieee754_j1l): Do not improve calculations using cos of twice
34381 input for inputs above LDBL_MAX / 2.0L.
34382 (__ieee754_y1l): Likewise.
34383 * math/libm-test.inc (j0_test): Add another test.
34384 (j1_test): Likewise.
34385 (y0_test): Likewise.
34386 (y1_test): Likewise.
34387 * sysdeps/i386/fpu/libm-test-ulps: Update.
34389 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34391 * Rules ($(objpfx)bench-%.c): Include code from a C source
34394 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34397 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34398 imaginary part 1.0 and real part less than 0.5 specially.
34399 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34400 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34401 * math/libm-test.inc (cacos_test): Add more tests.
34402 (casin_test): Likewise.
34403 (casinh_test): Likewise.
34404 * sysdeps/i386/fpu/libm-test-ulps: Update.
34405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34409 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34410 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34412 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34414 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34415 * config.make.in (config-cflags-sse4): Remove variable.
34416 (config-cflags-avx): Likewise.
34417 (config-cflags-sse2avx): Likewise.
34418 (config-cflags-novzeroupper): Likewise.
34419 (config-asflags-i686): Likewise.
34420 (have-mfma4): Likewise.
34421 (have-as-vis3): Likewise.
34423 * configure.in (MIG): Do not AC_SUBST.
34424 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34425 (libc_cv_cc_sse4): Do not AC_SUBST.
34426 (libc_cv_cc_avx): Likewise.
34427 (libc_cv_cc_sse2avx): Likewise.
34428 (libc_cv_cc_novzeroupper): Likewise.
34429 (libc_cv_cc_fma4): Likewise.
34430 (libc_cv_as_i686): Likewise.
34431 (libc_cv_sparc_as_vis3): Likewise.
34432 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34434 (config-asflags-i686): Likewise.
34435 (config-cflags-avx): Likewise.
34436 (config-cflags-sse2avx): Likewise.
34437 (have-mfma4): Likewise.
34438 (config-cflags-novzeroupper): Likewise.
34439 * sysdeps/mach/configure.in (MIG): Likewise.
34440 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34441 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34443 (config-cflags-avx): Likewise.
34444 (config-cflags-sse2avx): Likewise.
34445 (have-mfma4): Likewise.
34446 (config-cflags-novzeroupper): Likewise.
34447 * configure: Regenerated.
34448 * sysdeps/i386/configure: Likewise.
34449 * sysdeps/mach/configure: Likewise.
34450 * sysdeps/sparc/configure: Likewise.
34451 * sysdeps/x86_64/configure: Likewise.
34453 2013-03-20 Roland McGrath <roland@hack.frob.com>
34456 * locale/programs/localedef.c (options): Put N_ translation marker
34457 on argument names, not just descriptions.
34459 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34461 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34463 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34466 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34468 2013-03-19 Roland McGrath <roland@hack.frob.com>
34470 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34471 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34472 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34473 [!BEFORE_ABORT] (before_abort): New function.
34474 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34475 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34476 (writev_for_fatal): New function.
34477 (WRITEV_FOR_FATAL): New macro; call that.
34478 (backtrace_and_maps): New function.
34479 (BEFORE_ABORT): New macro; call that.
34480 (struct str_list): Type removed.
34481 (__libc_message, __libc_fatal): Functions removed.
34482 Include <sysdeps/posix/libc_fatal.c> instead.
34484 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34486 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34488 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34491 2013-03-19 Andreas Schwab <schwab@suse.de>
34493 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34494 * sysdeps/gnu/configure: Regenerate.
34496 * configure.in: Substitute libc_cv_rtlddir.
34497 * configure: Regenerate.
34498 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34499 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34500 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34501 * elf/Makefile (install-others, CFLAGS-interp.c)
34502 (ldso_install, common-ldd-rewrite): Likewise.
34503 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34504 $(inst_slibdir)/$(rtld-installed-name).
34505 * scripts/rellns-sh: Add -p option.
34506 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34509 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34511 * manual/nptl.texi: Renamed to ...
34512 * manual/threads.texi: ... this.
34513 * manual/Makefile (chapters): Update.
34515 2013-03-18 Roland McGrath <roland@hack.frob.com>
34518 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34519 on argument names, not just descriptions.
34520 * malloc/memusagestat.c (options): Likewise.
34521 * nss/getent.c (options): Likewise.
34523 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34526 * iconv/iconv_prog.c (options): Put N_ translation marker
34527 on argument names, not just descriptions.
34528 * iconv/iconvconfig.c (options): Likewise.
34530 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34532 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34533 implementation which is faster on all x86_64 architectures.
34534 Tested on AMD, Intel Nehalem, SNB, IVB.
34535 * sysdeps/x86_64/strnlen.S: Likewise.
34537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34538 Remove all multiarch strlen and strnlen versions.
34539 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34540 Remove strlen and strnlen related parts.
34542 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34543 Inline strlen part.
34544 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34546 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34547 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34548 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34549 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34550 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34551 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34553 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34555 * manual/memory.texi (Malloc Tunable Parameters):
34556 Sort parameters alphabetically. Add comments for missing entries.
34558 2013-03-17 David S. Miller <davem@davemloft.net>
34560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34562 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34565 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34566 for arguments at most half maximum finite value.
34567 * math/libm-test.inc (j0_test): Add more tests.
34568 (j1_test): Likewise.
34569 (y0_test): Likewise.
34570 (y1_test): Likewise.
34571 * sysdeps/i386/fpu/libm-test-ulps: Update.
34572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34575 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34576 1 / x and functions P and Q for arguments above 0x1p256L.
34577 (__ieee754_y0l): Likewise.
34578 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34579 (__ieee754_y1l): Likewise.
34580 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34581 (j1_test): Likewise.
34582 (y0_test): Likewise.
34583 (y1_test): Likewise.
34585 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34587 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34590 2013-03-15 Roland McGrath <roland@hack.frob.com>
34592 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34593 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34594 zero since it's initialized to EXEC_PAGESIZE.
34596 * sysdeps/unix/sysv/linux/ldsodefs.h
34597 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34598 * sysdeps/generic/ldsodefs.h: ... here.
34600 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34602 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34604 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34606 * math/test-snan.c: Renamed from
34607 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34608 * math/Makefile (tests): Add test-snan.
34609 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34612 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34613 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34615 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34616 __builtin_nan family of functions.
34617 * math/libm-test.inc (initialize): Initialize qnan_value with
34618 __builtin_nan family of functions.
34619 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34621 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34623 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34624 storage class. Initialize qNaN_var and sNaN_var with
34625 __builtin_nan and __builtin_nans families of functions,
34628 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34629 (sqrt_test): Remove duplicate test with qNaN input.
34630 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34631 (round_test, signbit_test, significand_test): Note missing +/-Inf
34632 as well as qNaN tests.
34634 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34635 qNaN_var. Fix a few strings, too.
34636 * math/libm-test.inc (nan_value): Rename to qnan_value.
34637 * math/gen-libm-test.pl (%beautify): Adjust to that.
34638 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34639 * math/test-misc.c (main): Likewise.
34640 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34641 to __qnan_bytes, and __qnan_union, respectively.
34642 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34644 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34645 and lqnanval, respectively.
34646 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34647 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34648 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34649 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34651 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34652 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34655 * math/test-misc.c (main): Fix copy'n'pastos.
34656 * misc/tst-efgcvt.c (special): Likewise.
34658 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34659 Remove declarations.
34661 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34663 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34664 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34665 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34666 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34668 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34670 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34671 macro to return vdso values correctly in IFUNC implementations.
34672 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34673 Optimization by using IFUNC.
34675 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34676 Richard Henderson <rth@redhat.com>
34677 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34679 * Makefile.in (bench): New target.
34680 * NEWS: Mention the benchmark framework.
34681 * Rules (bench): Likewise.
34682 (binaries-bench): Generate binaries for functions to
34684 * benchtests/Makefile: New makefile for benchmark tests.
34685 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34687 * benchtests/exp-inputs: New input file for EXP function.
34688 * benchtests/pow-inputs: New input file for POW function.
34689 * scripts/bench.pl: New script to generate source files for
34690 benchmark programs.
34692 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34694 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34695 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34696 computations on mantissa. Use macros for rounding and
34698 (denorm): Likewise.
34699 (__dbl_mp): Likewise.
34700 (add_magnitudes): Likewise.
34701 (sub_magnitudes): Likewise.
34704 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34705 powers of two in terms of TWOPOW macro.
34706 (mp_no): Make type of mantissa as MANTISSA_T.
34707 [!RADIXI]: Define RADIXI.
34708 [!TWO52]: Define TWO52.
34709 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34711 * manual/nptl.texi (cindex): Modify threads to pthreads.
34713 2013-03-15 Joseph Myers <joseph@codesourcery.com>
34715 * sysdeps/x86_64/preconfigure: Regenerated.
34717 2013-03-14 Joseph Myers <joseph@codesourcery.com>
34720 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34722 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34723 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34725 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34726 * math/libm-test.inc (j0_test): Do not allow one spurious
34727 underflow exception.
34728 (y1_test): Likewise.
34730 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34732 * manual/Makefile (chapters): Add nptl.
34733 * manual/debug.texi (Debugging Support): Add link to Threads
34735 * manual/nptl.texi: New file.
34737 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34739 2013-03-14 Petr Baudis <pasky@ucw.cz>
34741 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34742 for non-NULL pointer before the memory validity test. Pointed
34743 out by Holger Brunck <holger.brunck@keymile.com>.
34745 2013-03-13 Andreas Schwab <schwab@suse.de>
34747 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34750 2013-03-13 Joseph Myers <joseph@codesourcery.com>
34752 * timezone/zic.c: Update from tzcode 2013b.
34754 2013-03-12 Carlos O'Donell <carlos@redhat.com>
34756 * manual/install.texi (Configuring and compiling):
34757 Mention i686 and i586.
34758 * INSTALL: Regenerate.
34760 2013-03-12 Roland McGrath <roland@hack.frob.com>
34762 * sysdeps/init_array/elf-init.c: New file.
34764 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34765 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34767 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34768 __gmon_start__ as global, but as static with a .preinit_array pointer.
34769 * sysdeps/init_array/gmon-start.c: New file. Use that.
34770 * sysdeps/init_array/crti.S: New file, empty except for comments.
34771 * sysdeps/init_array/crtn.S: Likewise.
34773 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
34775 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34778 Remove Prefer_SSE_for_memop.
34779 * sysdeps/x86_64/multiarch/init-arch.h: Remove
34780 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34781 HAS_PREFER_SSE_FOR_MEMOP.
34782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34785 Remove bzero, memset ifunc support.
34786 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34787 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34788 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34789 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34791 2013-03-11 Andreas Schwab <schwab@suse.de>
34794 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34797 (GLIBC_2.16): Remove pthread_atfork.
34799 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
34801 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34802 (ptestcases.h): Likewise.
34804 2013-03-08 Roland McGrath <roland@hack.frob.com>
34806 * Makeconfig ($(common-objpfx)config.status): Depend on
34807 sysdeps/*/preconfigure{,.in} too.
34809 2013-03-08 Joseph Myers <joseph@codesourcery.com>
34811 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34812 (__free_hook): Use void * instead of __malloc_ptr_t.
34813 (__malloc_hook): Likewise.
34814 (__realloc_hook): Likewise.
34815 (__memalign_hook): Likewise.
34816 (__after_morecore_hook): Likewise.
34817 * malloc/arena.c (save_malloc_hook): Likewise.
34818 (save_free_hook): Likewise.
34819 * malloc/hooks.c (malloc_hook_ini): Likewise.
34820 (realloc_hook_ini): Likewise.
34821 (memalign_hook_ini): Likewise.
34822 * malloc/malloc.c (malloc_hook_ini): Likewise.
34823 (realloc_hook_ini): Likewise.
34824 (memalign_hook_ini): Likewise.
34825 (__free_hook): Likewise.
34826 (__malloc_hook): Likewise.
34827 (__realloc_hook): Likewise.
34828 (__memalign_hook): Likewise.
34829 (__libc_malloc): Likewise.
34830 (__libc_free): Likewise.
34831 (__libc_realloc): Likewise.
34832 (__libc_memalign): Likewise.
34833 (__libc_valloc): Likewise.
34834 (__libc_pvalloc): Likewise.
34835 (__libc_calloc): Likewise.
34836 (__posix_memalign): Likewise.
34837 * malloc/morecore.c (__sbrk): Likewise.
34838 (__default_morecore): Likewise.
34840 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34842 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34843 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34844 __malloc_ptrdiff_t.
34846 * malloc/malloc.h (__malloc_size_t): Remove macro.
34847 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34849 (old_memalign_hook): Likewise.
34850 (old_realloc_hook): Likewise.
34851 (struct hdr): Likewise.
34853 (mallochook): Likewise.
34854 (memalignhook): Likewise.
34855 (reallochook): Likewise.
34856 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34857 (tr_old_realloc_hook): Likewise.
34858 (tr_old_memalign_hook): Likewise.
34859 (tr_mallochook): Likewise.
34860 (tr_reallochook): Likewise.
34861 (tr_memalignhook): Likewise.
34863 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34866 default_ldbl_pack and using as default implementation.
34867 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34869 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34870 redundant definition.
34871 (ldbl_insert_mantissa): Likewise.
34872 (ldbl_canonicalize): Likewise.
34873 (ldbl_nearbyint): Likewise.
34874 (ldbl_pack): Rename to ldbl_pack_ppc.
34875 (ldbl_unpack): Rename to ldbl_unpack_ppc.
34876 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34877 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34879 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34882 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34883 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34884 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34886 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34887 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34888 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34890 2013-03-07 Andreas Jaeger <aj@suse.de>
34892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34895 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34897 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34898 Include mpa.h and declare __MPEXP.
34899 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34900 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34901 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34902 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34903 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34904 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34905 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34907 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34908 (__slowpow): Use long double EXPL and LOGL functions to
34910 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34911 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34912 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34913 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34914 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34915 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34918 intermediate variable to calculate exponent.
34920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34924 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34925 [!NO__SQR]: Define __sqr.
34926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34927 and NO__SQR. Remove all code except __mul and __sqr. Include
34928 sysdeps/ieee754/dbl-64/mpa.c.
34929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34932 * posix/Makefile (tests): Add tst-pathconf.
34933 * posix/tst-pathconf.c: New test case.
34934 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34936 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34938 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
34940 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34942 2013-03-06 Andreas Jaeger <aj@suse.de>
34944 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34945 definition via __MAP_ANONYMOUS.
34947 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34948 it's not part of Linux headers.
34950 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34951 (MAP_HUGE_MASK): Define.
34953 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34955 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34958 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34959 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34961 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34964 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34966 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34967 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34968 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34969 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34970 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34971 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34973 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34976 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34977 Handle f2fs and efivarfs.
34979 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34982 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34983 (EFIVARFS_MAGIC): Add.
34984 (F2FS_LINK_MAX): Add.
34986 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34988 * stdio-common/vfprintf.c: Replace __builtin_expect with
34991 2013-03-06 Joseph Myers <joseph@codesourcery.com>
34994 * sysdeps/generic/bp-sym.h: Remove file.
34995 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34996 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34997 <bp-sym.h> and <bp-asm.h>.
34998 (__longjmp): Don't use BP_SYM.
34999 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35001 (memcpy): Don't use BP_SYM.
35002 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35003 <bp-sym.h> and <bp-asm.h>.
35004 (memcpy): Don't use BP_SYM.
35005 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35007 (memcpy): Don't use BP_SYM.
35008 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35010 (memset): Don't use BP_SYM.
35011 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35012 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35013 (__bzero): Don't use BP_SYM.
35014 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35015 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35016 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35017 <bp-sym.h> and <bp-asm.h>.
35018 (memcmp): Don't use BP_SYM. Remove comment about bounded
35020 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35021 <bp-sym.h> and <bp-asm.h>.
35022 (memcpy): Don't use BP_SYM.
35023 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35024 <bp-sym.h> and <bp-asm.h>.
35025 (memset): Don't use BP_SYM.
35026 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35027 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35028 (__bzero): Don't use BP_SYM.
35029 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35030 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35031 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35032 <bp-sym.h> and <bp-asm.h>.
35033 (strncmp): Don't use BP_SYM. Remove comment about bounded
35035 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35036 <bp-sym.h> and <bp-asm.h>.
35037 (memcpy): Don't use BP_SYM.
35038 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35039 <bp-sym.h> and <bp-asm.h>.
35040 (memset): Don't use BP_SYM.
35041 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35042 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35043 (__bzero): Don't use BP_SYM.
35044 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35045 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35046 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35047 <bp-sym.h> and <bp-asm.h>.
35048 (__memchr): Don't use BP_SYM.
35049 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35050 <bp-sym.h> and <bp-asm.h>.
35051 (memcmp): Don't use BP_SYM. Remove comment about bounded
35053 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35054 <bp-sym.h> and <bp-asm.h>.
35055 (memcpy): Don't use BP_SYM.
35056 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35057 <bp-sym.h> and <bp-asm.h>.
35058 (__mempcpy): Don't use BP_SYM.
35059 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35060 <bp-sym.h> and <bp-asm.h>.
35061 (__memrchr): Don't use BP_SYM.
35062 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35063 <bp-sym.h> and <bp-asm.h>.
35064 (memset): Don't use BP_SYM.
35065 (__bzero): Likewise.
35066 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35067 <bp-sym.h> and <bp-asm.h>.
35068 (__rawmemchr): Don't use BP_SYM.
35069 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35070 <bp-sym.h> and <bp-asm.h>.
35071 (__STRCMP): Don't use BP_SYM.
35072 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35073 <bp-sym.h> and <bp-asm.h>.
35074 (strchr): Don't use BP_SYM.
35075 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35076 <bp-sym.h> and <bp-asm.h>.
35077 (__strchrnul): Don't use BP_SYM.
35078 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35079 <bp-sym.h> and <bp-asm.h>.
35080 (strlen): Don't use BP_SYM.
35081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35082 <bp-sym.h> and <bp-asm.h>.
35083 (strncmp): Don't use BP_SYM. Remove comment about bounded
35085 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35086 <bp-sym.h> and <bp-asm.h>.
35087 (__strnlen): Don't use BP_SYM.
35088 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35089 <bp-sym.h> and <bp-asm.h>.
35090 (__GI__setjmp): Don't use BP_SYM.
35091 (_setjmp): Likewise.
35092 (__sigsetjmp): Likewise.
35093 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35094 (L(start_addresses)): Don't use BP_SYM.
35095 (_start): Likewise.
35096 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35098 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35099 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35100 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35101 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35102 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35104 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35105 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35106 about bounded pointers.
35107 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35108 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35109 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35111 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35112 about bounded pointers. Remove GKM FIXME comments.
35113 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35114 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35116 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35117 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35118 Remove GKM FIXME comments.
35119 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35120 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35121 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35123 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35124 about bounded pointers. Remove GKM FIXME comment.
35125 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35127 (strncmp): Don't use BP_SYM. Remove comment about bounded
35129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35130 <bp-sym.h> and <bp-asm.h>.
35131 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35133 <bp-sym.h> and <bp-asm.h>.
35134 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35137 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35139 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35142 2013-03-05 David S. Miller <davem@davemloft.net>
35144 * po/es.po: Update from translation team.
35146 2013-03-05 Andreas Jaeger <aj@suse.de>
35148 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35149 <bits/mman-linux.h>.
35150 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35152 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35153 <bits/mman-linux.h> to end of file.
35154 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35156 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35157 <bits/mman-linux.h> to end of file.
35158 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35161 <bits/mman-linux.h> to end of file.
35163 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35164 (MCL_CURRENT, MCL_FUTURE): Define here.
35166 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35169 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35171 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35173 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35175 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35176 fourth parameter needed for rt_sigprocmask syscall.
35177 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35178 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35179 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35180 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35181 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35182 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35184 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35187 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35188 comment about bounded pointers.
35189 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35190 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35192 2013-03-04 Andreas Jaeger <aj@suse.de>
35194 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35195 common definitions.
35197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35198 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35199 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35200 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35204 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35208 __ieee754_sqrl instead of __sqrl.
35210 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35212 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35213 * sysdeps/powerpc/fpu_control.h: ... here.
35214 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35215 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35216 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35217 * sysdeps/powerpc/bits/mathinline.h: ... here.
35219 2013-03-01 Roland McGrath <roland@hack.frob.com>
35221 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35222 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35223 to just [NEED_DL_SYSINFO_DSO].
35224 * elf/dl-support.c: Likewise.
35225 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35226 * elf/rtld.c (dl_main): Likewise.
35227 * elf/setup-vdso.h (setup_vdso): Likewise.
35228 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35229 * sysdeps/unix/sysv/linux/dl-sysdep.c
35230 (_dl_discover_osversion): Likewise.
35232 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35234 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35235 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35237 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35239 * NEWS: Mention libm performance improvements and non-x86 PI
35242 * csu/libc-start.c (__pthread_initialize_minimal): Change
35243 function arguments.
35244 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35246 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35249 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35250 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35251 <bp-sym.h> and <bp-asm.h>.
35252 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35253 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35255 (memcpy): Don't use BP_SYM.
35256 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35258 (__mpn_add_n): Don't use BP_SYM.
35259 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35260 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35262 (__mpn_addmul_1): Don't use BP_SYM.
35263 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35264 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35266 (_setjmp): Don't use BP_SYM.
35267 (__novmx_setjmp): Likewise.
35268 (__GI__setjmp): Likewise.
35269 (__vmx_setjmp): Likewise.
35270 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35272 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35273 (__bzero): Don't use BP_SYM.
35274 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35275 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35276 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35277 <bp-sym.h> and <bp-asm.h>.
35278 (memcpy): Don't use BP_SYM.
35279 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35280 <bp-sym.h> and <bp-asm.h>.
35281 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35282 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35283 <bp-sym.h> and <bp-asm.h>.
35284 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35285 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35287 (__mpn_lshift): Don't use BP_SYM.
35288 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35289 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35291 (memset): Don't use BP_SYM.
35292 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35293 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35294 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35296 (__mpn_mul_1): Don't use BP_SYM.
35297 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35298 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35299 <bp-sym.h> and <bp-asm.h>.
35300 (memcmp): Don't use BP_SYM.
35301 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35302 <bp-sym.h> and <bp-asm.h>.
35303 (memcpy): Don't use BP_SYM.
35304 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35305 <bp-sym.h> and <bp-asm.h>.
35306 (memset): Don't use BP_SYM.
35307 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35308 <bp-sym.h> and <bp-asm.h>.
35309 (strncmp): Don't use BP_SYM.
35310 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35311 <bp-sym.h> and <bp-asm.h>.
35312 (memcpy): Don't use BP_SYM.
35313 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35314 <bp-sym.h> and <bp-asm.h>.
35315 (memset): Don't use BP_SYM.
35316 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35317 <bp-sym.h> and <bp-asm.h>.
35318 (__memchr): Don't use BP_SYM.
35319 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35320 <bp-sym.h> and <bp-asm.h>.
35321 (memcmp): Don't use BP_SYM.
35322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35323 <bp-sym.h> and <bp-asm.h>.
35324 (memcpy): Don't use BP_SYM.
35325 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35326 <bp-sym.h> and <bp-asm.h>.
35327 (__mempcpy): Don't use BP_SYM.
35328 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35329 <bp-sym.h> and <bp-asm.h>.
35330 (__memrchr): Don't use BP_SYM.
35331 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35332 <bp-sym.h> and <bp-asm.h>.
35333 (memset): Don't use BP_SYM.
35334 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35335 <bp-sym.h> and <bp-asm.h>.
35336 (__rawmemchr): Don't use BP_SYM.
35337 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35338 <bp-sym.h> and <bp-asm.h>.
35339 (__STRCMP): Don't use BP_SYM.
35340 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35341 <bp-sym.h> and <bp-asm.h>.
35342 (strchr): Don't use BP_SYM.
35343 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35344 <bp-sym.h> and <bp-asm.h>.
35345 (__strchrnul): Don't use BP_SYM.
35346 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35347 <bp-sym.h> and <bp-asm.h>.
35348 (strlen): Don't use BP_SYM.
35349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35350 <bp-sym.h> and <bp-asm.h>.
35351 (strncmp): Don't use BP_SYM.
35352 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35353 <bp-sym.h> and <bp-asm.h>.
35354 (__strnlen): Don't use BP_SYM.
35355 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35357 (__mpn_rshift): Don't use BP_SYM.
35358 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35359 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35360 <bp-sym.h> and <bp-asm.h>.
35361 (__sigsetjmp): Don't use BP_SYM.
35362 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35363 (L(start_addresses)): Don't use BP_SYM.
35364 (_start): Likewise.
35365 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35367 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35368 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35369 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35370 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35372 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35373 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35374 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35375 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35377 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35379 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35380 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35382 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35384 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35385 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35386 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35388 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35390 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35392 (strncmp): Don't use BP_SYM,
35393 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35395 (__mpn_sub_n): Don't use BP_SYM.
35396 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35397 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35399 (__mpn_submul_1): Don't use BP_SYM.
35400 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35402 <bp-sym.h> and <bp-asm.h>.
35403 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35405 <bp-sym.h> and <bp-asm.h>.
35406 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35409 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35412 Use ZK to minimize writes to Z.
35413 (sub_magnitudes): Simplify code a bit.
35414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35415 Use ZK to minimize writes to Z.
35416 (sub_magnitudes): Simplify code a bit.
35418 2013-02-27 Roland McGrath <roland@hack.frob.com>
35420 * csu/gmon-start.c: Add special exception to license text.
35422 2013-02-27 Richard Henderson <rth@redhat.com>
35424 * scripts/config.guess: Update from config.git.
35425 * scripts/config.sub: Likewise.
35427 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35429 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35431 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35433 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35435 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35437 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35439 2013-02-26 Roland McGrath <roland@hack.frob.com>
35441 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35442 [$(build-shared = yes].
35444 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35446 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35447 (__mul): Reduce iterations for calculating mantissa.
35449 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35451 (__mpranred): Likewise.
35454 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35455 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35457 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35459 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35460 Define __attribute__.
35462 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35464 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35466 * posix/regex_internal.h (__attribute): Remove.
35467 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35468 (re_string_context_at): Likewise.
35469 (bitset_not): Use __attribute__ and mark function as possibly
35471 (bitset_merge): Likewise.
35472 (bitset_mask): Likewise.
35473 (re_string_char_size_at): Likewise.
35474 (re_string_wchar_at): Likewise.
35475 (re_string_elem_size_at): Likewise.
35477 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35479 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35483 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35487 (denorm): Likewise.
35488 (__dbl_mp): Likewise.
35489 (add_magnitudes): Likewise.
35490 (sub_magnitudes): Likewise.
35494 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35497 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35500 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35504 up changes with default code.
35505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35508 2013-02-24 Allan McRae <allan@archlinux.org>
35510 * manual/socket.texi (The Internet Namespace): Order menu items
35511 to match that in the file.
35513 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35514 node listing of the info page menu.
35516 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35519 * sysdeps/i386/bp-asm.h: Remove file.
35520 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35521 (PARMS): Do not use macros from bp-asm.h.
35525 (__mpn_add_n): Do not use BP_SYM
35526 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35528 (PARMS): Do not use macros from bp-asm.h.
35531 (__mpn_addmul_1): Do not use BP_SYM
35532 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35534 (PARMS): Do not use macros from bp-asm.h.
35535 (SIGMSK): Likewise.
35536 (_setjmp): Likewise. Do not use BP_SYM.
35537 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35539 (PARMS): Do not use macros from bp-asm.h.
35540 (SIGMSK): Likewise.
35541 (setjmp): Likewise. Do not use BP_SYM.
35542 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35544 (PARMS): Do not use macros from bp-asm.h.
35545 (__frexp): Do not use BP_SYM.
35547 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35549 (PARMS): Do not use macros from bp-asm.h.
35550 (__frexpf): Do not use BP_SYM.
35551 (frexpf): Likewise.
35552 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35554 (PARMS): Do not use macros from bp-asm.h.
35555 (__frexpl): Do not use BP_SYM.
35556 (frexpl): Likewise.
35557 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35559 (PARMS): Do not use macros from bp-asm.h.
35560 (__remquo): Do not use BP_SYM.
35561 (remquo): Likewise.
35562 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35564 (PARMS): Do not use macros from bp-asm.h.
35565 (__remquof): Do not use BP_SYM.
35566 (remquof): Likewise.
35567 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35569 (PARMS): Do not use macros from bp-asm.h.
35570 (__remquol): Do not use BP_SYM.
35571 (remquol): Likewise.
35572 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35574 (PARMS): Do not use macros from bp-asm.h.
35577 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35578 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35580 (PARMS): Do not use macros from bp-asm.h.
35581 (strlen): Do not use BP_SYM.
35582 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35584 (PARMS): Do not use macros from bp-asm.h.
35588 (__mpn_add_n): Do not use BP_SYM.
35589 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35591 (PARMS): Do not use macros from bp-asm.h.
35594 (__mpn_addmul_1): Do not use BP_SYM.
35595 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35598 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35600 (PARMS): Do not use macros from bp-asm.h.
35603 (__mpn_lshift): Do not use BP_SYM.
35604 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35606 (PARMS): Do not use macros from bp-asm.h.
35610 (memcpy): Likewise. Do not use BP_SYM.
35611 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35612 libc_hidden_def and weak_alias.
35613 (mempcpy): Do not use BP_SYM in weak_alias.
35614 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35616 (PARMS): Do not use macros from bp-asm.h.
35619 [!BZERO_P] (CHR): Likewise.
35620 (memset): Likewise. Do not use BP_SYM.
35621 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35623 (PARMS): Do not use macros from bp-asm.h.
35626 (__mpn_mul_1): Do not use BP_SYM.
35627 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35629 (PARMS): Do not use macros from bp-asm.h.
35632 (__mpn_rshift): Do not use BP_SYM.
35633 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35635 (PARMS): Do not use macros from bp-asm.h.
35638 (strchr): Likewise. Do not use BP_SYM.
35639 (index): Do not use BP_SYM in weak_alias.
35640 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35642 (PARMS): Do not use macros from bp-asm.h.
35645 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35646 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35648 (PARMS): Do not use macros from bp-asm.h.
35649 (strlen): Do not use BP_SYM.
35650 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35652 (PARMS): Do not use macros from bp-asm.h.
35656 (__mpn_sub_n): Do not use BP_SYM.
35657 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35659 (PARMS): Do not use macros from bp-asm.h.
35662 (__mpn_submul_1): Do not use BP_SYM.
35663 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35665 (PARMS): Do not use macros from bp-asm.h.
35669 (__mpn_add_n): Do not use BP_SYM.
35670 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35673 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35675 (PARMS): Do not use macros from bp-asm.h.
35678 (memcmp): Do not use BP_SYM.
35679 (bcmp): Do not use BP_SYM in weak_alias.
35680 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35682 (PARMS): Do not use macros from bp-asm.h.
35686 (memcpy): Likewise. Do not use BP_SYM.
35687 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35689 (PARMS): Do not use macros from bp-asm.h.
35693 (memmove): Likewise. Do not use BP_SYM.
35694 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35696 (PARMS): Do not use macros from bp-asm.h.
35700 (__mempcpy): Likewise. Do not use BP_SYM.
35701 (mempcpy): Do not use BP_SYM in weak_alias.
35702 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35704 (PARMS): Do not use macros from bp-asm.h.
35707 [!BZERO_P] (CHR): Likewise.
35708 (memset): Likewise. Do not use BP_SYM.
35709 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35711 (PARMS): Do not use macros from bp-asm.h.
35713 (strcmp): Do not use BP_SYM.
35714 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35716 (PARMS): Do not use macros from bp-asm.h.
35719 [USE_AS_STRTOK_R] (SAVE): Likewise.
35720 (FUNCTION): Likewise. Do not use BP_SYM.
35721 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35723 (strtok_r): Likewise.
35724 (__GI___strtok_r): Likewise.
35725 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35726 (PARMS): Do not use macros from bp-asm.h.
35729 (__mpn_lshift): Do not use BP_SYM.
35730 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35731 (PARMS): Do not use macros from bp-asm.h.
35734 (__memchr): Do not use BP_SYM.
35735 (memchr): Do not use BP_SYM in weak_alias.
35736 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35737 (PARMS): Do not use macros from bp-asm.h.
35740 (memcmp): Do not use BP_SYM.
35741 (bcmp): Do not use BP_SYM in weak_alias.
35742 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35743 (PARMS): Do not use macros from bp-asm.h.
35746 (__mpn_mul_1): Do not use BP_SYM.
35747 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35749 (PARMS): Do not use macros from bp-asm.h.
35752 (__rawmemchr): Do not use BP_SYM.
35753 (rawmemchr): Do not use BP_SYM in weak_alias.
35754 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35755 (PARMS): Do not use macros from bp-asm.h.
35758 (__mpn_rshift): Do not use BP_SYM.
35759 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35760 (PARMS): Do not use macros from bp-asm.h.
35761 (SIGMSK): Likewise.
35762 (__sigsetjmp): Likewise. Do not use BP_SYM.
35763 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35764 (_start): Do not use BP_SYM.
35765 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35766 (PARMS): Do not use macros from bp-asm.h.
35769 (__stpcpy): Likewise. Do not use BP_SYM.
35770 (stpcpy): Do not use BP_SYM in weak_alias.
35771 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35773 (PARMS): Do not use macros from bp-asm.h.
35777 (__stpncpy): Likewise. Do not use BP_SYM.
35778 (stpncpy): Do not use BP_SYM in weak_alias.
35779 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35780 (PARMS): Do not use macros from bp-asm.h.
35783 (strchr): Likewise. Do not use BP_SYM.
35784 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35786 (PARMS): Do not use macros from bp-asm.h.
35789 (__strchrnul): Likewise. Do not use BP_SYM.
35790 (strchrnul): Do not use BP_SYM in weak_alias.
35791 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35793 (PARMS): Do not use macros from bp-asm.h.
35795 (strcspn): Do not use BP_SYM.
35796 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35798 (PARMS): Do not use macros from bp-asm.h.
35801 (strpbrk): Likewise. Do not use BP_SYM.
35802 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35804 (PARMS): Do not use macros from bp-asm.h.
35807 (strrchr): Likewise. Do not use BP_SYM.
35808 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35809 (PARMS): Do not use macros from bp-asm.h.
35811 (strspn): Do not use BP_SYM.
35812 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35813 (PARMS): Do not use macros from bp-asm.h.
35817 (FUNCTION): Likewise. Do not use BP_SYM.
35818 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35820 (strtok_r): Likewise.
35821 (__GI___strtok_r): Likewise.
35822 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35823 (PARMS): Do not use macros from bp-asm.h.
35827 (__mpn_sub_n): Do not use BP_SYM.
35828 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35830 (PARMS): Do not use macros from bp-asm.h.
35833 (__mpn_submul_1): Do not use BP_SYM.
35834 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35836 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35838 (PARMS): Do not use macros from bp-asm.h.
35843 (__clone): Do not use BP_SYM.
35844 (clone): Do not use BP_SYM in weak_alias.
35845 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35847 (PARMS): Do not use macros from bp-asm.h.
35849 (__mmap64): Do not use BP_SYM.
35850 (mmap64): Do not use BP_SYM in weak_alias.
35851 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35852 <bp-sym.h> and <bp-asm.h>.
35853 (PARMS): Do not use macros from bp-asm.h.
35854 (__posix_fadvise64_l64): Do not use BP_SYM.
35855 * sysdeps/unix/sysv/linux/i386/semtimedop.S
35856 (PARMS): Do not use macros from bp-asm.h.
35858 (semtimedop): Do not use BP_SYM.
35859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35862 2013-02-21 Allan McRae <allan@archlinux.org>
35864 * manual/message.texi (Charset conversion in gettext):
35865 Move @end statement to beginning of line.
35867 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35875 (denorm): Likewise.
35876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35879 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35881 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35882 tail-call to the resolved function if pltexit isn't needed.
35884 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35887 or Y being zero as being unlikely.
35888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35891 2013-02-20 Carlos O'Donell <carlos@redhat.com>
35893 * manual/nss.texi (System Databases and Name Service Switch):
35894 Remove frobnicate @pxref.
35896 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35898 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35899 __attribute__ ((unused)) to __attribute__ ((__unused__)).
35901 2013-02-20 Petr Machata <pmachata@redhat.com>
35903 * elf/elf.h (R_ARM_TARGET1): New macro.
35904 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35905 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35906 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35907 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35908 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35909 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35910 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35911 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35912 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35913 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35914 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35915 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35916 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35917 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35918 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35919 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35920 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35921 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35922 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35923 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35924 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35925 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35926 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35927 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35928 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35929 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35930 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35931 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35932 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35933 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35934 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35935 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35936 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35937 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35938 (R_ARM_THM_GOT_BREL12): Likewise.
35939 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35940 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35941 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35942 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35943 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35944 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35945 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35946 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35947 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35949 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
35951 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35952 __attribute_used__ to __attribute__ ((unused)).
35954 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35956 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35959 comment formatting.
35960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35962 2013-02-19 Joseph Myers <joseph@codesourcery.com>
35965 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35967 (ENTER): Remove both macro definitions.
35969 (CHECK_BOUNDS_LOW): Likewise.
35970 (CHECK_BOUNDS_HIGH): Likewise.
35971 (CHECK_BOUNDS_BOTH): Likewise.
35972 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35973 (RETURN_BOUNDED_POINTER): Likewise.
35974 (RETURN_NULL_BOUNDED_POINTER): Likewise.
35975 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35976 (POP_ERRNO_LOCATION_RETURN): Likewise.
35977 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35978 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35979 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35981 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35982 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35983 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35984 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35985 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35986 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35987 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35988 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35989 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35990 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35991 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35992 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35993 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35994 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35996 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35997 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35999 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36000 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36001 * sysdeps/i386/i586/memset.S (memset): Likewise.
36002 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36003 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36004 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36006 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36007 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36008 Change uses of L(2) to L(out).
36009 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36010 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36011 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36012 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36013 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36015 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36016 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36018 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36019 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36020 (RETURN): Do not use macro LEAVE.
36021 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36022 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36023 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36024 * sysdeps/i386/i686/memset.S (memset): Likewise.
36025 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36026 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36027 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36028 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36030 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36031 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36032 L(1_2) and L(1_3) into L(1).
36033 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36034 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36035 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36036 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36037 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36038 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36039 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36040 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36041 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36043 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36044 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36045 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36046 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36047 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36048 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36049 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36050 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36051 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36052 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36053 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36054 * sysdeps/i386/strspn.S (strspn): Likewise.
36055 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36057 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36058 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36059 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36060 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36061 L(1_3) into L(1_1).
36062 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36063 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36064 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36066 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36068 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36070 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36073 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36075 * math/atest-exp.c (exp_mpn): Remove ROUND.
36076 * math/atest-exp2.c (exp_mpn): Likewise.
36077 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36079 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36080 * stdlib/tst-tls-atexit-lib.c: Likewise.
36081 * stdlib/tst-tls-atexit.c: Likewise.
36083 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36085 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36086 and __attribute_alloc_size__.
36088 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36090 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36091 __attribute_alloc_size__.
36092 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36093 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36095 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36097 * include/programs/xmalloc.h: New file.
36098 * catgets/gencat.c: Include it.
36099 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36100 * elf/pldd.c: Likewise.
36101 * iconv/iconv_charmap.c: Likewise.
36102 * iconv/iconvconfig.c: Likewise.
36103 * iconv/strtab.c: Likewise.
36104 * locale/programs/locale.c: Likewise.
36105 * locale/programs/localedef.h: Likewise.
36106 * locale/programs/simple-hash.c: Likewise.
36107 * nscd/nscd.h: Likewise.
36108 * nss/makedb.c: Likewise.
36109 * sysdeps/generic/ldconfig.h: Likewise.
36111 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36113 * Versions.def: Add GLIBC_2.18.
36114 * include/link.h (struct link_map): New member l_tls_dtor_count.
36115 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36116 (__call_tls_dtors): Likewise.
36117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36118 __cxa_thread_atexit_impl.
36119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36127 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36135 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36136 (tests): Add test case tst-tls-atexit.
36137 (modules-names): Add shared library for tst-tls-atexit.
36138 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36139 (GLIBC_PRIVATE): Add __call_tls_dtors.
36140 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36142 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36143 * stdlib/tst-tls-atexit.c: New test case.
36144 * stdlib/tst-tls-atexit-lib.c: New test case.
36146 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36148 * elf/Versions (ld): Add _dl_find_dso_for_object.
36149 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36150 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36151 (dl_open_worker): Use _dl_find_dso_for_object.
36152 * elf/dl-sym.c (do_sym): Likewise.
36153 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36155 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36157 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36158 Syntactic changes only.
36159 (_dl_runtime_profile): Do a tail-call to the resolved function.
36161 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36164 * sysdeps/x86_64/bp-asm.h: Remove file.
36165 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36166 <bp-sym.h> and <bp-asm.h>.
36167 (__clone): Do not use BP_SYM.
36168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36169 <bp-sym.h> and <bp-asm.h>.
36170 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36171 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36173 (_setjmp): Do not use BP_SYM.
36174 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36176 (setjmp): Do not use BP_SYM.
36177 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36179 (mempcpy): Do not use BP_SYM in weak_alias.
36180 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36182 (strchr): Do not use BP_SYM.
36183 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36185 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36186 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36187 (_start): Do not use BP_SYM.
36188 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36190 (strcat): Do not use BP_SYM.
36191 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36193 (STRCMP): Do not use BP_SYM.
36194 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36196 (STRCPY): Do not use BP_SYM.
36197 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36199 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36201 (FUNCTION): Do not use BP_SYM.
36202 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36204 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36206 2013-02-17 Andreas Jaeger <aj@suse.de>
36208 * time/Versions: Sort entries.
36209 * string/Versions: Likewise.
36210 * resolv/Versions: Likewise.
36211 * posix/Versions: Likewise.
36212 * iconv/Versions: Likewise.
36213 * elf/Versions: Likewise.
36214 * wcsmbs/Versions: Likewise.
36216 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36218 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36219 loop termination condition.
36221 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36222 variable to calculate EZ.
36225 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36226 the lower precision input.
36228 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36231 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36232 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36233 (run-via-rtld-prefix): Do not handle %-bp tests.
36234 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36235 (all-object-suffixes): Remove .ob.
36236 (bppfx): Remove variable.
36237 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36238 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36239 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36240 [$(build-bounded) = yes] (libtype.ob): Likewise.
36241 * Makerules (elide-routines.ob): Remove variable.
36242 (do-tests-clean): Do not handle *-bp.out.
36243 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36244 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36245 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36246 (tests): Do not include $(tests-bp.out).
36247 (xtests): Do not include $(xtests-bp.out).
36248 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36249 [$(build-bounded) = yes] ($(addprefix
36250 $(objpfx),$(binaries-bounded))): Remove rule.
36251 ($(objpfx)%-bp.out): Remove rule.
36252 * config.make.in (build-bounded): Remove variable.
36253 * crypt/Makefile [$(build-bounded) = yes]
36254 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36255 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36256 append to variable.
36257 [$(build-bounded) = yes] (install-lib): Likewise.
36258 [$(build-bounded) = yes] (generated): Likewise.
36259 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36261 * intl/Makefile [$(build-bounded) = yes]
36262 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36263 * math/Makefile [$(build-bounded) = yes]
36264 ($(tests:%=$(objpfx)%-bp): Likewise.
36265 * misc/Makefile [$(build-bounded) = yes]
36266 ($(objpfx)tst-tsearch-bp): Likewise.
36267 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36268 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36270 * string/Makefile (o-objects.ob): Remove variable.
36271 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36272 (CFLAGS-.ob): Remove variable.
36273 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36274 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36275 both definitions of variable.
36276 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36277 (ASFLAGS-.ob): Remove variable.
36279 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36282 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36283 Remove __BOUNDED_POINTERS__ from condition.
36284 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36285 * string/bits/string2.h [!__NO_STRING_INLINES &&
36286 !__BOUNDED_POINTERS__]: Likewise.
36287 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36289 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36290 Remove conditional code.
36291 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36292 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36293 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36297 * csu/libc-start.c: Do not include <bp-sym.h>.
36298 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36299 * elf/dl-open.c: Do not include <bp-sym.h>.
36300 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36301 * math/fegetenv.c: Do not include <bp-sym.h>.
36302 (fegetenv): Do not use BP_SYM in versioned symbols.
36303 * nptl/sysdeps/pthread/bits/libc-lockP.h
36304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36307 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36309 (__pthread_mutex_destroy): Likewise.
36310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36311 (__pthread_mutex_lock): Likewise.
36312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36313 (__pthread_mutex_trylock): Likewise.
36314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36315 (__pthread_mutex_unlock): Likewise.
36316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36317 (__pthread_mutexattr_init): Likewise.
36318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36319 (__pthread_mutexattr_destroy): Likewise.
36320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36321 (__pthread_mutexattr_settype): Likewise.
36322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36323 (__pthread_rwlock_init): Likewise.
36324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36325 (__pthread_rwlock_destroy): Likewise.
36326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36327 (__pthread_rwlock_rdlock): Likewise.
36328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36329 (__pthread_rwlock_tryrdlock): Likewise.
36330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36331 (__pthread_rwlock_wrlock): Likewise.
36332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36333 (__pthread_rwlock_trywrlock): Likewise.
36334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36335 (__pthread_rwlock_unlock): Likewise.
36336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36337 (__pthread_key_create): Likewise.
36338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36339 (__pthread_setspecific): Likewise.
36340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36341 (__pthread_getspecific): Likewise.
36342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36345 (_pthread_cleanup_push_defer): Likewise.
36346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36347 (_pthread_cleanup_pop_restore): Likewise.
36348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36349 (pthread_setcancelstate): Likewise.
36350 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36352 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36353 (memchr): Do not use BP_SYM in weak_alias.
36354 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36355 (fegetenv): Do not use BP_SYM in versioned symbols.
36356 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36357 (fesetenv): Do not use BP_SYM in versioned symbols.
36358 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36359 (feupdateenv): Do not use BP_SYM in versioned symbols.
36360 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36361 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36362 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36363 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36364 (open64): Do not use BP_SYM in weak_alias.
36365 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36366 (fegetenv): Do not use BP_SYM in versioned symbols.
36367 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36368 (fesetenv): Do not use BP_SYM in versioned symbols.
36369 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36370 (feupdateenv): Do not use BP_SYM in versioned symbols.
36371 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36372 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36373 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36374 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36375 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36376 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36377 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36379 (__libc_start_main): Do not use BP_SYM.
36381 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36384 redundant return line.
36386 (denorm): Likewise.
36387 (dbl_mp): Likewise.
36388 (sub_magnitudes): Likewise.
36394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36396 (denorm): Likewise.
36397 (dbl_mp): Likewise.
36398 (sub_magnitudes): Likewise.
36405 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36407 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36408 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36411 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36412 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36414 of __mul for squares.
36415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36419 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36420 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36422 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36425 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36427 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36428 prototype or function definition. Rename ubp_* variables and
36429 parameters. Remove argv definitions conditional on
36430 [__BOUNDED_POINTERS__].
36431 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36432 * elf/dl-runtime.c (_dl_fixup): Likewise.
36433 * include/set-hooks.h (RUN_HOOK): Likewise.
36434 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36436 * string/strcpy.c (strcpy): Do not use __unbounded.
36437 * sysdeps/generic/frame.h (struct layout): Likewise.
36438 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36439 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36440 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36441 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36442 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36443 (__backtrace): Likewise.
36444 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36446 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36447 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36448 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36450 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36451 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36452 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36453 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36454 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36455 Do not use __unbounded.
36456 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36457 Rename __unboundedrlimits parameter to rlimits in prototype.
36458 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36459 Do not use __unbounded.
36460 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36461 not use __ptrvalue.
36462 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36463 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36464 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36465 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36466 __ptrvalue or __unbounded.
36467 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36468 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36470 (__new_msgctl): Do not use __ptrvalue.
36471 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36473 (__libc_msgrcv): Do not use __ptrvalue.
36474 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36475 startup_info): Do not use __unbounded.
36476 (__libc_start_main): Likewise. Rename ubp_* variables and
36477 parameters. Remove argv definitions conditional on
36478 [__BOUNDED_POINTERS__].
36479 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36481 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36483 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36485 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36487 (__new_shmctl): Do not use __ptrvalue.
36488 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36489 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36491 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36493 (__libc_sigaction): Likewise.
36494 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36495 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36497 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36499 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36501 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36503 * string/mempcpy.c: Implement by calling memcpy.
36505 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36509 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36512 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36513 values in the mantissa.
36515 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36516 minimize writes to Z.
36517 (sub_magnitudes): Simplify code a bit.
36519 2013-02-12 Roland McGrath <roland@hack.frob.com>
36521 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36522 from the message. The linker prefixes all warnings with that already.
36524 2013-02-12 Andreas Schwab <schwab@suse.de>
36527 * posix/regexec.c (extend_buffers): Add parameter min_len.
36528 (check_matching): Pass minimum needed length.
36529 (clean_state_log_if_needed): Likewise.
36530 (get_subexp): Likewise.
36531 * posix/Makefile (tests): Add bug-regex34.
36532 (bug-regex34-ENV): Define.
36533 * posix/bug-regex34.c: New file.
36536 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36537 elements compare against the byte sequence of it, not its name.
36538 * posix/Makefile (tests): Add bug-regex35.
36539 (bug-regex35-ENV): Define.
36540 * posix/bug-regex35.c: New file.
36542 2013-02-11 Tom de Vries <tom@codesourcery.com>
36544 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36546 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36547 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36548 (CHECK_EOL): Add undef.
36550 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36552 * bits/stdlib-bsearch.h: New file.
36553 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36554 * stdlib/stdlib.h: Likewise.
36556 2013-02-11 Roland McGrath <roland@hack.frob.com>
36558 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36559 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36561 * manual/search.texi (Array Search Function): Add missing const in
36563 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36564 declaration to use rlim_t.
36565 (Basic Scheduling Functions): Remove erroneous const from
36566 sched_getparam prototype. Remove erroneous * from
36567 sched_get_priority_max and sched_get_priority_min prototypes.
36568 (Resource Usage): Fix summary @comment on vtimes to refer to
36569 sys/vtimes.h rather than vtimes.h.
36570 Add missing *s in vtimes prototype.
36571 (Limits on Resources): Fix ulimit prototype to return long int.
36572 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36573 prototypes to use long int rather than double.
36574 (BSD Random): Fix initstate and setstate to use char *, not void *.
36575 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36576 prototype to make second argument 'struct aiocb64 *const[]'.
36577 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36578 (Status of AIO Operations): Remove erroneous const in aio_return and
36579 aio_return64 prototypes.
36580 (Synchronizing I/O): Fix sync prototype to return void.
36581 * manual/startup.texi (Suboptions): Remove an erroneous const in
36582 getsubopt prototype.
36583 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36584 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36585 use size_t rather than int.
36586 (Scanning All Users): Likewise for getpwent_r.
36587 (Setting Groups): Add missing const to setgroups prototype.
36588 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36589 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36590 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36591 'const void *' rather than 'const char *'.
36592 (Host Address Functions): Likewise for inet_ntop.
36593 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36594 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36595 ssize_t for return value.
36596 (Sending Data): Likewise for send, sendto, sendmsg.
36597 (Socket Option Functions): Add a missing const in setsockopt prototype.
36598 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36599 use wchar_t for the argument.
36600 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36601 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36603 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36604 double/float/long double for second argument.
36605 Fix return types of significand, significandf, significandl.
36606 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36607 argument in fchmod prototype.
36608 (File Owner): Use uid_t and gid_t in fchown prototype.
36609 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36610 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36611 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36612 use 'const struct dirent **' as argument types to CMP function pointer
36614 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36615 (File Times): Fix summary magic @comment for struct utimbuf and utime
36616 to refer to utime.h, not time.h.
36617 * manual/string.texi (Argz Functions): Add missing const in
36618 argz_extract and argz_next prototypes.
36619 (Finding Tokens in a String): Likewise for basename.
36620 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36621 (Copying and Concatenation): Fix typo in wmemmove prototype.
36622 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36623 (Signal Stack): Remove erroneous const in sigstack prototype.
36624 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36626 (Simple Calendar Time): Likewise for stime.
36627 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36629 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36630 say sys/sysctl.h instead.
36631 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36632 and vsyslog prototypes.
36634 2013-02-11 Tom de Vries <tom@codesourcery.com>
36636 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36639 2013-02-11 Roland McGrath <roland@hack.frob.com>
36641 * misc/sys/mman.h: Fix typo in mremap comment.
36643 2013-02-08 Roland McGrath <roland@hack.frob.com>
36645 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36646 the '\0' terminator.
36648 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36651 * debug/segfault.c: Don't include <bp-checks.h>.
36652 * sysdeps/generic/bp-checks.h: Remove file.
36653 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36654 (__GETDENTS): Don't use CHECK_N.
36655 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36656 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36657 (__getgroups): Don't use CHECK_N.
36658 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36659 (setgroups): Don't use CHECK_N.
36660 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36661 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36662 (__libc_msgrcv): Don't use CHECK_N.
36663 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36664 (__libc_msgsnd): Don't use CHECK_N.
36665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36667 (__libc_pread): Don't use CHECK_N.
36668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36669 include <bp-checks.h>.
36670 (__libc_pread64): Don't use CHECK_N.
36671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36672 include <bp-checks.h>.
36673 (__libc_pwrite): Don't use CHECK_N.
36674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36675 include <bp-checks.h>.
36676 (__libc_pwrite64): Don't use CHECK_N.
36677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36679 (__libc_pread): Don't use CHECK_N.
36680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36681 include <bp-checks.h>.
36682 (__libc_pread64): Don't use CHECK_N.
36683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36684 include <bp-checks.h>.
36685 (__libc_pwrite): Don't use CHECK_N.
36686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36687 include <bp-checks.h>.
36688 (__libc_pwrite64): Don't use CHECK_N.
36689 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36690 (do_pread): Don't use CHECK_N.
36691 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36692 (do_pread64): Don't use CHECK_N.
36693 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36694 (do_pwrite): Don't use CHECK_N.
36695 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36696 (do_pwrite64): Don't use CHECK_N.
36697 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36698 (__libc_readv): Don't use CHECK_N.
36699 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36700 (semop): Don't use CHECK_N.
36701 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36703 (semtimedop): Don't use CHECK_N.
36704 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36705 (__libc_pread): Don't use CHECK_N.
36706 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36708 (__libc_pread64): Don't use CHECK_N.
36709 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36711 (__libc_pwrite): Don't use CHECK_N.
36712 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36714 (__libc_pwrite64): Don't use CHECK_N.
36715 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36717 (__libc_msgrcv): Don't use CHECK_N.
36718 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36719 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36720 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36721 (__libc_writev): Don't use CHECK_N.
36723 2013-02-08 Roland McGrath <roland@hack.frob.com>
36725 * string/strcpy.c: Removed unused variable.
36727 * Makeconfig (+sysdep-includes): Define with := rather than =.
36728 Use an existing include/ subdir of each sysdeps dir before it.
36730 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36732 * nscd/connection.c (register_traced_file): Comment function.
36733 [HAVE_INOTIFY] (union __inev): Define.
36734 [HAVE_INOTIFY] (inotify_check_files): New function.
36735 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36736 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36738 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36740 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36742 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36743 loaded if not already and that a failure is permanent.
36745 2013-02-08 Carlos O'Donell <carlos@redhat.com>
36748 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36749 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36751 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36754 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36755 (CHECK_1_NULL_OK): Likewise.
36756 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36757 (__fxstat): Do not use CHECK_1.
36758 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36760 (___fxstat64): Do not use CHECK_1.
36761 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36763 (__fxstatat): Do not use CHECK_1.
36764 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36766 (__fxstatat64): Do not use CHECK_1.
36767 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36769 (__fxstat): Do not use CHECK_1.
36770 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36772 (__fxstatat): Do not use CHECK_1.
36773 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36775 (__getresgid): Do not use CHECK_1.
36776 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36778 (__getresuid): Do not use CHECK_1.
36779 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36781 (__lxstat): Do not use CHECK_1.
36782 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36784 (__old_msgctl): Do not use CHECK_1.
36785 (__new_msgctl): Likewise.
36786 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36788 (__new_setrlimit): Do not use CHECK_1.
36789 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36791 (__old_shmctl): Do not use CHECK_1.
36792 (__new_shmctl): Likewise.
36793 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36795 (__xstat): Do not use CHECK_1.
36796 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36797 (__lxstat): Do not use CHECK_1.
36798 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36800 (___lxstat64): Do not use CHECK_1.
36801 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36802 (__old_msgctl): Do not use CHECK_1.
36803 (__new_msgctl): Likewise.
36804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36806 (__gettimeofday): Do not use CHECK_1.
36807 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36808 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36809 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36811 (__gettimeofday): Do not use CHECK_1.
36812 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36813 (__old_shmctl): Do not use CHECK_1_NULL_OK.
36814 (__new_shmctl): Do not use CHECK_1.
36815 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36817 (do_sigtimedwait): Do not use CHECK_1.
36818 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36820 (do_sigwaitinfo): Do not use CHECK_1.
36821 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36823 (msgctl): Do not use CHECK_1.
36824 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36826 (shmctl): Do not use CHECK_1.
36827 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36828 (ustat): Do not use CHECK_1.
36829 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36831 (__fxstat): Do not use CHECK_1.
36832 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36834 (__fxstatat): Do not use CHECK_1.
36835 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36837 (__lxstat): Do not use CHECK_1.
36838 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36840 (__xstat): Do not use CHECK_1.
36841 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36842 (__xstat): Do not use CHECK_1.
36843 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36844 (___xstat64): Do not use CHECK_1.
36847 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36849 (CHECK_BOUNDS_HIGH): Likewise.
36850 * string/strcpy.c: Do not include <bp-checks.h>.
36851 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36853 2013-02-07 Roland McGrath <roland@hack.frob.com>
36855 * nscd/nscd-client.h (__nscd_drop_map_ref):
36856 Add __attribute__ ((unused)).
36857 * nis/nss-nisplus.h (niserr2nss): Likewise.
36859 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36860 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36862 * csu/libc-tls.c (init_static_tls, init_slotinfo):
36863 Remove inline keyword.
36864 * include/rounding-mode.h (round_away): Likewise.
36865 * libio/wfileops.c (adjust_wide_data): Likewise.
36866 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36867 (__m128i_strloadu_tolower): Likewise.
36868 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36869 (__m128i_strloadu_tolower): Likewise.
36870 * time/mktime.c (ydhms_diff): Likewise.
36871 * locale/elem-hash.h (elem_hash): Likewise.
36872 * locale/setlocale.c (setdata): Likewise.
36873 * posix/regex_internal.h (re_string_char_size_at): Likewise.
36874 (re_string_wchar_at): Likewise.
36875 (bitset_not, bitset_merge, bitset_mask): Likewise.
36876 [!(__GNUC__ > 3)] (inline): Remove macro.
36877 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36878 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36879 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36880 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36881 * string/memcmp.c (memcmp_bytes): Likewise.
36882 * locale/programs/locarchive.c (compute_hashval): Likewise.
36883 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36884 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36885 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36886 * nss/getent.c (print_rpc, print_protocols): Likewise.
36887 (print_passwd, print_group, print_aliases): Likewise.
36888 * nis/nss-nisplus.h (niserr2nss): Likewise.
36889 * nscd/connections.c (restart_p): Likewise.
36890 Change return type to bool.
36892 2013-02-05 Roland McGrath <roland@hack.frob.com>
36894 * Makeconfig (all-Depend-files): Add existing
36895 $(sorted-subdirs:=/Depend) files.
36896 (all-subdirs): Remove nss.
36897 * sysdeps/unix/inet/Subdirs: Add it here instead.
36898 * hesiod/Depend: New file.
36900 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36901 instead of calling alloca.
36903 * io/lseek.c (__lseek): Rename to __libc_lseek.
36904 Define __lseek as an alias.
36906 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36908 2013-02-04 Carlos O'Donell <carlos@redhat.com>
36910 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36911 else clause and remove check for non-standard endianness.
36913 2013-02-04 David S. Miller <davem@davemloft.net>
36915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36917 2013-02-04 Joseph Myers <joseph@codesourcery.com>
36920 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36921 (__ubp_memchr): Remove prototype.
36922 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36923 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36924 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36925 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36926 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36928 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36929 (__ubp_memchr): Likewise.
36930 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36931 (__ubp_memchr): Likewise.
36932 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36933 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36934 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36935 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36937 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36938 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36939 (__getcwd): Do not use CHECK_STRING.
36940 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36942 (__real_chown): Do not use CHECK_STRING.
36943 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36945 (fchownat): Do not use CHECK_STRING.
36946 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36948 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36950 (__lchown): Do not use CHECK_STRING.
36951 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36952 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36953 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36954 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36956 include <bp-checks.h>.
36957 (truncate64): Do not use CHECK_STRING.
36958 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36960 (__real_chown): Do not use CHECK_STRING.
36961 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36963 (__lchown): Do not use CHECK_STRING.
36964 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36966 (__chown): Do not use CHECK_STRING.
36967 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36969 (truncate64): Do not use CHECK_STRING.
36970 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36972 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36973 (__xmknod): Do not use CHECK_STRING.
36974 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36976 (__xmknodat): Do not use CHECK_STRING.
36977 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36978 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36980 2013-02-04 Andreas Schwab <schwab@suse.de>
36983 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36984 * include/netdb.h: Likewise for h_errno.
36985 * elf/tst-stackguard1.c: Include <tls.h>.
36987 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
36989 * elf/link.h (struct link_map): Extend the l_addr comment.
36990 * include/link.h (struct link_map): Likewise.
36992 2013-02-01 Joseph Myers <joseph@codesourcery.com>
36995 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36996 (BOUNDED_1): Remove macro.
36997 * debug/backtrace.c: Don't include <bp-checks.h>.
36998 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36999 (__backtrace): Likewise.
37000 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37002 (__backtrace): Don't use BOUNDED_1.
37003 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37005 (__backtrace): Don't use BOUNDED_1.
37006 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37007 (__backtrace): Don't use BOUNDED_1.
37008 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37009 (shmat): Don't use BOUNDED_N.
37011 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37014 * sysdeps/generic/bp-start.h: Remove file.
37015 * csu/libc-start.c: Don't include <bp-start.h>.
37016 (LIBC_START_MAIN): Set up __environ directly instead of using
37017 INIT_ARGV_and_ENVIRON.
37018 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37022 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37024 (CHECK_FCNTL): Likewise.
37025 (CHECK_N_PAGES): Likewise.
37028 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37030 (CHECK_SIGSET_NULL_OK): Likewise.
37031 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37033 (sigpending): Don't use CHECK_SIGSET.
37034 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37036 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37037 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37039 (do_sigsuspend): Don't use CHECK_SIGSET.
37040 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37042 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37043 (do_sigwait): Don't use CHECK_SIGSET.
37044 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37047 include <bp-checks.h>.
37048 (sigpending): Don't use CHECK_SIGSET.
37049 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37050 include <bp-checks.h>.
37051 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37052 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37054 (sigpending): Don't use CHECK_SIGSET.
37055 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37057 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37060 * sysdeps/generic/bp-semctl.h: Remove file.
37061 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37062 <bp-checks.h> and <bp-semctl.h>.
37063 (__old_semctl): Don't use CHECK_SEMCTL.
37064 (__new_semctl): Likewise.
37065 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37067 (__old_semctl): Don't use CHECK_SEMCTL.
37068 (__new_semctl): Likewise.
37069 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37070 <bp-checks.h> and <bp-semctl.h>.
37071 (__old_semctl): Don't use CHECK_SEMCTL.
37072 (__new_semctl): Likewise.
37073 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37074 <bp-checks.h> and <bp-semctl.h>.
37075 (semctl): Don't use CHECK_SEMCTL.
37078 * Makerules (elide-bp-thunks): Remove variable.
37079 (elide-routines.oS): Don't use $(elide-bp-thunks).
37080 (elide-routines.os): Likewise.
37081 (elide-routines.o): Likewise.
37082 (elide-routines.op): Likewise.
37083 (elide-routines.og): Likewise.
37084 (objects): Don't use $(bp-thunks).
37085 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37087 (common-generated): Do not add s-proto-bp.d.
37088 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37091 Do not generate makefile rules for bounded-pointer thunks.
37092 * sysdeps/generic/bp-thunks.h: Remove file.
37093 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37094 * sysdeps/unix/s-proto-bp.S: Likewise.
37097 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37098 parts of result separately when argument is not close to line from
37099 -i to i and one part of argument is small.
37100 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37101 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37102 * math/libm-test.inc (cacos_test): Add more tests.
37103 (casin_test): Likewise.
37104 (casinh_test): Likewise.
37105 * sysdeps/i386/fpu/libm-test-ulps: Update.
37106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37108 2013-01-31 David S. Miller <davem@davemloft.net>
37110 * po/de.po: Update from translation team.
37112 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37114 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37116 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37118 * configure.in (_AC_PROG_CC_C89): New definition.
37119 * configure: Regenerate.
37121 * configure.in (AC_PROG_CPP): New definition.
37122 * configure: Regenerate.
37124 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37126 * debug/tst-backtrace.h: New file.
37127 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37128 (ret): Remove variable.
37130 (FAIL): Remove macro.
37131 (NO_INLINE): Likewise.
37132 (fn1): Use match function instead of strstr.
37133 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37134 (ret): Remove variable.
37136 (FAIL): Remove macro.
37137 (NO_INLINE): Likewise.
37138 (fn): Use match function instead of strstr.
37139 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37140 (ret): Remove variable.
37142 (FAIL): Remove macro.
37143 (NO_INLINE): Likewise.
37144 (handle_signal): Use match function instead of strstr.
37145 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37146 (ret): Remove variable.
37148 (FAIL): Remove macro.
37149 (NO_INLINE): Likewise.
37150 (handle_signal): Use match function instead of strstr.
37152 2013-01-23 Roland McGrath <roland@hack.frob.com>
37154 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37156 2013-01-23 David S. Miller <davem@davemloft.net>
37158 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37159 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37160 argument of CAS if possible.
37161 * sysdeps/sparc/sparc64/bits/atomic.h
37162 (__arch_compare_and_exchange_val_32_acq): Likewise.
37163 (__arch_compare_and_exchange_val_64_acq): Likewise.
37165 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37167 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37168 * sysdeps/posix/ulimit.c: ... this.
37169 Include <limits.h>.
37170 * sysdeps/unix/bsd/ulimit.c: Remove file.
37172 2013-01-23 Adam Conrad <adconrad@0c3.net>
37174 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37175 (LDFLAGS-tst-array5): Likewise.
37177 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37180 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37181 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37182 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37183 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37185 2013-01-21 David S. Miller <davem@davemloft.net>
37187 * sysdeps/sparc/backtrace.c: New file.
37188 * sysdeps/sparc/sparc32/backtrace.h: New file.
37189 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37190 * sysdeps/sparc/sparc64/backtrace.h: New file.
37191 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37192 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37195 2013-01-21 Andreas Schwab <schwab@suse.de>
37198 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37201 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37207 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37208 Mark Mitchell <mark@codesourcery.com>
37209 Tom de Vries <tom@codesourcery.com>
37210 Paul Pluzhnikov <ppluzhnikov@google.com>
37212 * debug/tst-backtrace2.c: New file.
37213 * debug/tst-backtrace3.c: Likewise.
37214 * debug/tst-backtrace4.c: Likewise.
37215 * debug/tst-backtrace5.c: Likewise.
37216 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37217 (CFLAGS-tst-backtrace3.c): Likewise.
37218 (CFLAGS-tst-backtrace4.c): Likewise.
37219 (CFLAGS-tst-backtrace5.c): Likewise.
37220 (LDFLAGS-tst-backtrace2): Likewise.
37221 (LDFLAGS-tst-backtrace3): Likewise.
37222 (LDFLAGS-tst-backtrace4): Likewise.
37223 (LDFLAGS-tst-backtrace5): Likewise.
37224 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37225 tst-backtrace4 and tst-backtrace5.
37227 2013-01-18 Anton Blanchard <anton@samba.org>
37228 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37230 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37231 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37232 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37233 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37235 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37236 "+r" and remove output regs list as redundant. Add explicit inline
37237 asm to specify register of return val to work around compiler codegen
37238 bug. Remove (int) cast on return value. Add return type parameter to
37239 use in macro so that this macro does not truncate return value for
37241 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37242 pass to INTERNAL_VSYSCALL_NCS.
37243 (INLINE_VSYSCALL): Add 'long int' as return type to
37244 INTERNAL_VSYSCALL_NCS macro invocation.
37245 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37246 INTERNAL_VSYSCALL_NCS macro invocation.
37247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37249 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37252 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37253 Fix application of SIMD FP exception mask.
37255 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37256 mp_no from a power of two.
37257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37258 __mpexp_twomm1. Use __pow_mp.
37260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37263 2013-01-17 David S. Miller <davem@davemloft.net>
37265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37267 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37270 * include/complex.h: Condition contents on [!_COMPLEX_H].
37271 (__kernel_casinhf): New prototype.
37272 (__kernel_casinh): Likewise.
37273 (__kernel_casinhl): Likewise.
37274 * math/Makefile (libm_calls): Add k_casinh.
37275 * math/k_casinh.c: New file.
37276 * math/k_casinhf.c: Likewise.
37277 * math/k_casinhl.c: Likewise.
37278 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37279 finite nonzero arguments.
37280 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37281 finite nonzero arguments.
37282 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37283 finite nonzero arguments.
37284 * math/s_casinh.c: Do not include <float.h>.
37285 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37286 * math/s_casinhf.c: Do not include <float.h>.
37287 (__casinhf): Move code for finite nonzero arguments to
37289 * math/s_casinhl.c: Do not include <float.h>.
37290 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37292 (__casinhl): Move code for finite nonzero arguments to
37294 * math/libm-test.inc (cacos_test): Add more tests.
37295 * sysdeps/i386/fpu/libm-test-ulps: Update.
37296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37298 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37300 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37301 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37302 [!HAVE_MREMAP]: Remove [defined linux] case.
37303 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37305 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37307 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37309 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37311 * elf/elf.h (R_386_SIZE32): New relocation.
37312 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37314 (elf_machine_rela): Likewise.
37315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37316 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37318 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37320 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37321 (FP_FAST_FMA): Do not define.
37322 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37323 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37324 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37325 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37326 !_SOFT_FLOAT]: Likewise.
37327 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37328 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37330 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37331 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37332 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37333 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37334 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37335 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37338 2013-01-16 Andreas Schwab <schwab@suse.de>
37341 * include/stdlib.h (__mktemp): Add declaration.
37342 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37343 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37345 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37347 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37349 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37350 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37351 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37353 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37354 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37356 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37358 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37359 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37360 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37362 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37363 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37365 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37367 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37369 2013-01-15 David S. Miller <davem@davemloft.net>
37371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37372 trunc{,f} to libm-sysdep_routes.
37373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37383 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37384 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37385 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37386 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37387 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37388 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37391 nearbyint{,f} to libm-sysdep_routes.
37392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37403 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37405 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37406 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37408 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37409 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37410 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37412 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37413 libc_feholdexcept and libc_fesetenv.
37415 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37417 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37419 2013-01-14 David S. Miller <davem@davemloft.net>
37421 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37422 (SPARC_ASM_VIS2_IFUNC): Likewise.
37423 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37425 use of 'siam' instruction.
37426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37459 routines to libm-sysdep_routines.
37460 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37463 fdim/fdimf to libm-sysdep_routines.
37464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37472 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37473 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37474 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37475 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37477 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37479 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37480 to optimize copies.
37482 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37487 local variable MPTWO.
37488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37491 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37493 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37496 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37498 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37500 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37502 * manual/pattern.texi (glob_t): Document gl_flags.
37503 (glob64_t): Likewise.
37505 2013-01-11 David S. Miller <davem@davemloft.net>
37507 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37508 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37509 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37510 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37511 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37512 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37513 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37514 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37515 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37516 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37517 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37518 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37519 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37521 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37522 sparc V9 rather than using V8 code.
37523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37526 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37528 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37531 2013-01-11 Roland McGrath <roland@hack.frob.com>
37533 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37534 not in the main loop.
37535 * configure: Regenerated.
37537 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37539 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37540 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37542 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37543 [!__GLIBC_HAVE_LONG_LONG] case.
37544 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37545 condition to just #else.
37546 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37547 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37548 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37549 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37551 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37552 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37553 #elif condition to just #else.
37554 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37555 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37556 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37557 #elif condition to just #else.
37559 2013-01-11 Steve Ellcey <sellcey@mips.com>
37561 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37562 (EF_MIPS_ARCH_64): Fix value.
37563 (EF_MIPS_ARCH_32R2): New.
37564 (EF_MIPS_ARCH_64R2): New.
37566 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37568 * Makeconfig (+link-pie-before-libc): New.
37569 (+link-pie-after-libc): Likewise.
37570 (+link-pie-tests): Likewise.
37571 (+link-pie): Rewritten.
37572 (link-before-libc): Remove $(config-LDFLAGS).
37573 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37574 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37575 (config-LDFLAGS): Renamed to ...
37576 (rtld-LDFLAGS): This.
37577 (rtld-tests-LDFLAGS): New macro.
37578 (link-libc-rpath-link): Likewise.
37579 (link-libc-tests-rpath-link): Likewise.
37580 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37581 (link-libc): Prepand $(link-libc-rpath-link).
37582 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37583 (test-program-prefix): New macro.
37584 (test-via-rtld-prefix): Likewise.
37585 (test-program-cmd): Likewise.
37586 (host-test-program-cmd): Likewise.
37587 * Makefile ($(common-objpfx)testrun.sh): Replace
37588 $(run-program-prefix) with $(test-program-prefix).
37589 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37591 ($(common-objpfx)shlib.lds): Likewise.
37592 (build-module-helper): Likewise.
37593 ($(common-objpfx)format.lds): Likewise.
37594 * Rules (binaries-pie-tests): New.
37595 (binaries-pie-notests): Likewise.
37596 (binaries-pie): Rewritten.
37597 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37598 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37599 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37600 (make-test-out): Replace $(host-built-program-cmd) with
37601 $(host-test-program-cmd).
37602 * config.make.in (build-hardcoded-path-in-tests): New variable.
37603 * configure.in (--enable-hardcoded-path-in-tests): New configure
37605 (hardcoded_path_in_tests): New AC_SUBST.
37606 * configure: Regenerated.
37607 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37608 $(built-program-cmd) with $(test-program-cmd).
37609 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37610 (test_program_cmd): This.
37611 * elf/Makefile ($(objpfx)order.out): Run test with
37612 $(test-program-prefix).
37613 ($(objpfx)order2.out): Likewise.
37614 ($(objpfx)tst-initorder.out): Likewise.
37615 ($(objpfx)tst-initorder2.out): Likewise.
37616 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37617 $(test-program-cmd).
37618 ($(objpfx)tst-array1-static.out): Likewise.
37619 ($(objpfx)tst-array2.out): Likewise.
37620 ($(objpfx)tst-array3.out): Likewise.
37621 ($(objpfx)tst-array4.out): Likewise.
37622 ($(objpfx)tst-array5.out): Likewise.
37623 ($(objpfx)tst-array5-static.out): Likewise.
37624 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37625 $(test-program-cmd).
37626 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37627 $(run-program-prefix) with $(test-program-prefix).
37628 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37629 (test_program_prefix): This.
37630 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37631 $(run-program-prefix) with $(test-program-prefix).
37632 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37633 (test_program_prefix): This.
37634 * iconvdata/tst-tables.sh: Likewise.
37635 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37636 $(run-program-prefix) with $(test-program-prefix).
37637 ($(objpfx)tst-translit.out): Likewise.
37638 ($(objpfx)tst-gettext2.out): Likewise.
37639 ($(objpfx)tst-gettext4.out): Likewise.
37640 ($(objpfx)tst-gettext6.out): Likewise.
37641 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37642 (test_program_prefix): This.
37643 * intl/tst-gettext2.sh: Likewise.
37644 * intl/tst-gettext4.sh Likewise.
37645 * intl/tst-gettext6.sh: Likewise.
37646 * intl/tst-translit.sh: Likewise.
37647 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37648 with $(test-program-cmd).
37649 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37650 $(run-program-prefix) with $(test-program-prefix).
37651 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37652 (test_program_prefix): This.
37653 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37654 $(run-program-prefix) with $(test-program-prefix).
37655 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37656 (test_program_prefix): This.
37657 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37658 * posix/Makefile ($(objpfx)globtest.out): Replace
37659 $(run-via-rtld-prefix) and $(test-wrapper) with
37660 $(test-program-prefix) and $(test-via-rtld-prefix).
37661 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37662 $(test-program-prefix).
37663 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37664 $(host-test-program-cmd).
37665 (tst-spawn-ARGS): Likewise.
37666 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37667 $(test-program-prefix).
37668 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37669 (test_via_rtld_prefix): This.
37670 (test_wrapper): Renamed to ...
37671 (test_program_prefix): This.
37672 (run_program_prefix): Replaced by test_program_prefix.
37673 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37674 (test_program_prefix): This.
37675 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37676 with $(host-test-program-cmd).
37677 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37678 $(run-program-prefix) with $(test-program-prefix).
37679 ($(objpfx)tst-printf.out): Likewise.
37680 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37681 $(test-program-cmd).
37682 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37683 (test_program_prefix): This.
37684 * stdio-common/tst-unbputc.sh: Likewise.
37685 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37686 $(run-program-prefix) with $(test-program-prefix).
37687 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37688 (test_program_prefix): This.
37689 * string/Makefile ($(objpfx)tst-svc.out): Replace
37690 $(built-program-cmd) with $(test-program-cmd).
37692 2013-01-11 Andreas Jaeger <aj@suse.de>
37695 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37696 value. Sync with Linux 3.7.
37698 2013-01-10 David S. Miller <davem@davemloft.net>
37700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37704 2013-01-10 Roland McGrath <roland@hack.frob.com>
37706 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37708 * configure: Regenerated.
37710 2013-01-10 David S. Miller <davem@davemloft.net>
37712 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37713 sparc V9 rather than using V8 code.
37714 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37715 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37717 2013-01-10 Roland McGrath <roland@hack.frob.com>
37719 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37720 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37721 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37722 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37723 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37724 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37725 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37726 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37727 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37728 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37729 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37730 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37731 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37732 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37733 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37734 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37735 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37736 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37737 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37738 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37739 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37740 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37741 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37742 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37743 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37744 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37745 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37747 2013-01-10 David S. Miller <davem@davemloft.net>
37749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37751 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37753 * posix/Makefile (tests-static): New variable.
37754 (tests): Add $(tests-static).
37755 (tst-exec-static-ARGS): New variable.
37756 (tst-spawn-static-ARGS): Likewise.
37757 * posix/tst-exec-static.c: New file.
37758 * posix/tst-spawn-static.c: Likewise.
37759 * posix/tst-exec.c: Support run directly.
37760 * posix/tst-spawn.c: Likewise.
37762 2013-01-10 Joseph Myers <joseph@codesourcery.com>
37764 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37766 * math/bits/mathcalls.h (llrint): Likewise.
37767 (llround): Likewise.
37768 * stdlib/stdlib.h (struct drand48_data): Likewise.
37769 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37770 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37771 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37773 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37775 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37776 (elf_greg_t): Likewise.
37777 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37778 (__jmp_buf): Likewise.
37779 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37781 (llrint): Likewise, for all definitions.
37782 (llrintl): Likewise.
37784 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37785 Remove [__GNUC__] condition.
37786 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37787 condition to just [__USE_ISOC99].
37788 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37790 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37793 * sysdeps/unix/sysv/linux/x86/bits/environments.h
37794 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37796 (_POSIX_V6_ILP32_OFF32): Likewise.
37797 (_XBS5_ILP32_OFF32): Likewise.
37798 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37799 (__ILP32_OFFBIG_LDFLAGS): Likewise.
37801 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37803 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37806 doubles __mpexp_twomm1. Adjust usage.
37807 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37810 2013-01-10 Andreas Schwab <schwab@suse.de>
37813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37814 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37816 2013-01-09 David S. Miller <davem@davemloft.net>
37819 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37820 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37821 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37822 (TCP_FASTOPEN): Define.
37823 (tcp_repair_opt): New structure.
37824 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37826 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37827 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37828 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37829 (tcp_cookie_transactions): New structure.
37831 2013-01-09 Anton Blanchard <anton@samba.org>
37833 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37834 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37835 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37836 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37838 2013-01-09 Joseph Myers <joseph@codesourcery.com>
37840 * include/features.h (__USE_ANSI): Remove.
37842 2013-01-09 Roland McGrath <roland@hack.frob.com>
37844 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37846 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37848 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37850 * sysdeps/s390/fpu/libm-test-ulps: Update.
37852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37854 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37858 (denorm): Likewise.
37859 (__mp_dbl): Likewise.
37860 (__dbl_mp): Likewise.
37861 (add_magnitudes): Likewise.
37862 (sub_magnitudes): Likewise.
37868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37872 (denorm): Likewise.
37873 (__mp_dbl): Likewise.
37874 (__dbl_mp): Likewise.
37875 (add_magnitudes): Likewise.
37876 (sub_magnitudes): Likewise.
37882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37886 (denorm): Likewise.
37887 (__mp_dbl): Likewise.
37888 (__dbl_mp): Likewise.
37889 (add_magnitudes): Likewise.
37890 (sub_magnitudes): Likewise.
37897 2013-01-08 Joseph Myers <joseph@codesourcery.com>
37899 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37900 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37901 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37902 2 && __USE_EXTERN_INLINES]: Likewise.
37904 2013-01-08 Andreas Jaeger <aj@suse.de>
37907 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37909 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37910 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37912 2013-01-07 Anton Blanchard <anton@samba.org>
37914 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37915 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37916 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37917 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37918 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37919 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37920 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37921 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37923 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37924 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37925 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37926 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37927 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37928 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37929 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37930 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37931 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37932 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37933 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37934 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37935 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37936 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37937 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37938 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37939 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37940 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37941 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37943 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37944 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37946 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37947 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37948 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37949 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37950 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37952 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37953 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37954 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37955 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37956 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37958 2013-01-07 Joseph Myers <joseph@codesourcery.com>
37960 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37961 (__MALLOC_PMT): Likewise.
37962 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37963 [__GNUC__], only on [_LIBC].
37964 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37965 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37966 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37967 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37968 forward declaration.
37969 (realloc_hook_ini): Likewise.
37970 (memalign_hook_ini): Likewise.
37971 (__libc_memalign): Do not use __MALLOC_PMT in variable
37973 (__libc_valloc): Likewise.
37974 (__libc_pvalloc): Likewise.
37975 (__libc_calloc): Likewise.
37976 (__posix_memalign): Likewise.
37979 * math/s_casinh.c: Include <float.h>.
37980 (__casinh): Do not do computation with squaring and square root
37981 for large arguments.
37982 * math/s_casinhf.c: Include <float.h>.
37983 (__casinhf): Do not do computation with squaring and square root
37984 for large arguments.
37985 * math/s_casinhl.c: Include <float.h>.
37986 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37987 (__casinhl): Do not do computation with squaring and square root
37988 for large arguments.
37989 * math/libm-test.inc (casin_test): Add more tests.
37990 (casinh_test): Likewise.
37991 * sysdeps/i386/fpu/libm-test-ulps: Update.
37992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37994 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
37996 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37997 (__x86_64_raw_data_cache_size): Likewise.
37998 (__x86_64_data_cache_size_half): Likewise.
37999 (__x86_64_raw_data_cache_size_half): Likewise.
38000 (__x86_64_shared_cache_size): Likewise.
38001 (__x86_64_raw_shared_cache_size): Likewise.
38002 (__x86_64_shared_cache_size_half): Likewise.
38003 (__x86_64_raw_shared_cache_size_half): Likewise.
38004 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38006 (__x86_data_cache_size): This.
38007 (__x86_64_raw_data_cache_size): Renamed to ...
38008 (__x86_raw_data_cache_size): This.
38009 (__x86_64_data_cache_size_half): Renamed to ...
38010 (__x86_data_cache_size_half): This.
38011 (__x86_64_raw_data_cache_size_half): Renamed to ...
38012 (__x86_raw_data_cache_size_half): This.
38013 (__x86_64_shared_cache_size): Renamed to ...
38014 (__x86_shared_cache_size): This.
38015 (__x86_64_raw_shared_cache_size): Renamed to ...
38016 (__x86_raw_shared_cache_size): This.
38017 (__x86_64_shared_cache_size_half): Renamed to ...
38018 (__x86_shared_cache_size_half): This.
38019 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38020 (__x86_raw_shared_cache_size_half): This.
38021 * sysdeps/x86_64/memcpy.S: Updated.
38022 * sysdeps/x86_64/memset.S: Likewise.
38023 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38027 2013-01-04 David S. Miller <davem@davemloft.net>
38029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38031 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38033 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38034 1 to avoid redefinition warning.
38035 (__USE_GNU): Don't define.
38036 (init_signaling_nan): Protoize.
38038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38040 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38042 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38044 (__cpymn): Likewise.
38045 (norm): Remove commented code.
38046 (denorm): Likewise.
38047 (__mp_dbl): Likewise.
38049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38050 (__cpymn): Likewise.
38051 (norm): Remove commented code.
38052 (denorm): Likewise.
38053 (__mp_dbl): Likewise.
38056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38057 mp_no value for 1.0 and 2.0.
38058 (norm): Use RADIXI instead of radixi.d.
38059 (denorm): Likewise.
38060 (__mul): Use 0.0 instead of zero.d.
38061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38062 mp_no value for 1.0 and 2.0.
38063 (norm): Use RADIXI instead of radixi.d.
38064 (denorm): Likewise.
38065 (__mul): Use 0.0 instead of zero.d.
38067 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38070 * math/s_casinh.c (__casinh): Reduce finite argument to first
38071 quadrant then set signs of results at the end.
38072 * math/s_casinhf.c (__casinhf): Likewise.
38073 * math/s_casinhl.c (__casinhl): Likewise.
38074 * math/libm-test.inc (casin_test): Add more tests.
38075 (casinh_test): Likewise.
38076 * sysdeps/i386/fpu/libm-test-ulps: Update.
38077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38079 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38081 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38083 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38085 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38087 (denorm): Likewise.
38088 (__mp_dbl): Likewise.
38091 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38092 and adjust the header comment.
38094 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38095 variable name from declaration.
38097 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38100 Initialize COMMON_CPUID_INDEX_7 element.
38101 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38102 (CPUID_RTM): Likewise.
38103 (HAS_RTM): Likewise.
38104 (COMMON_CPUID_INDEX_7): New enum.
38106 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38109 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38110 size is zero, record memory as freed.
38112 2013-01-03 Andreas Jaeger <aj@suse.de>
38114 * po/ia.po: Add new Interlingua translation.
38116 2012-01-03 Allan McRae <allan@archlinux.org>
38118 * locale/programs/localedef.c: Fix description of '--posix' flag.
38120 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38122 * NEWS: Update dates in second copyright notice.
38123 * README: Update copyright dates in example.
38124 * manual/libc.texinfo: Update copyright dates.
38125 * scripts/test-installation.pl: Update copyright date in --version
38128 * hurd/ctty-input.c: Fix copyright notice formatting.
38129 * hurd/ctty-output.c: Likewise.
38130 * hurd/dtable.c: Likewise.
38131 * hurd/hurd-raise.c: Likewise.
38132 * hurd/hurdprio.c: Likewise.
38133 * hurd/msgportdemux.c: Likewise.
38134 * misc/sys/file.h: Likewise.
38135 * misc/sys/ioctl.h: Likewise.
38136 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38137 * sysdeps/mach/hurd/chdir.c: Likewise.
38138 * sysdeps/mach/hurd/fchdir.c: Likewise.
38139 * sysdeps/mach/hurd/rename.c: Likewise.
38140 * sysdeps/mach/hurd/rmdir.c: Likewise.
38141 * sysdeps/mach/hurd/seekdir.c: Likewise.
38142 * sysdeps/mach/hurd/setsid.c: Likewise.
38143 * sysdeps/posix/wait3.c: Likewise.
38145 * All files with FSF copyright notices: Update copyright dates
38146 using scripts/update-copyrights.
38147 * intl/plural.c: Regenerated.
38148 * locale/programs/charmap-kw.h: Likewise.
38149 * locale/programs/locfile-kw.h: Likewise.
38151 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38153 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38157 calculation loop and add branch prediction.
38159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38160 check access beyond bounds of m1np.
38162 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38164 (__inv): Remove local variable MPTWO to use the global
38166 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38169 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38170 MP3HALFS static const.
38172 2013-01-01 David S. Miller <davem@davemloft.net>
38174 * po/ca.po: Update from translation team.
38176 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38178 * scripts/update-copyrights: New file.
38179 * Makeconfig: Reformat copyright notice.
38180 * ctype/ctype.h: Likewise.
38181 * debug/swprintf_chk.c: Likewise.
38182 * elf/dl-cache.c: Likewise.
38183 * elf/dl-debug.c: Likewise.
38184 * elf/dl-object.c: Likewise.
38185 * grp/initgroups.c: Likewise.
38186 * hurd/Makefile: Likewise.
38187 * hurd/hurd/signal.h: Likewise.
38188 * hurd/hurdfault.c: Likewise.
38189 * hurd/hurdioctl.c: Likewise.
38190 * hurd/hurdlookup.c: Likewise.
38191 * hurd/intr-msg.c: Likewise.
38192 * iconv/gconv_open.c: Likewise.
38193 * libio/swprintf.c: Likewise.
38194 * locale/lc-ctype.c: Likewise.
38195 * locale/nl_langinfo.c: Likewise.
38196 * mach/Machrules: Likewise.
38197 * mach/Makefile: Likewise.
38198 * malloc/obstack.h: Likewise.
38199 * manual/Makefile: Likewise.
38200 * manual/tsort.awk: Likewise.
38201 * misc/bits/stab.def: Likewise.
38202 * nis/nis_print_group_entry.c: Likewise.
38203 * nis/nis_table.c: Likewise.
38204 * nis/nss_compat/compat-pwd.c: Likewise.
38205 * nis/nss_compat/compat-spwd.c: Likewise.
38206 * po/Makefile: Likewise.
38207 * posix/fnmatch.c: Likewise.
38208 * posix/regex.h: Likewise.
38209 * resolv/Makefile: Likewise.
38210 * resolv/nss_dns/dns-network.c: Likewise.
38211 * resolv/res_hconf.c: Likewise.
38212 * scripts/gen-sorted.awk: Likewise.
38213 * soft-fp/soft-fp.h: Likewise.
38214 * stdio-common/printf.h: Likewise.
38215 * stdlib/monetary.h: Likewise.
38216 * stdlib/random.c: Likewise.
38217 * stdlib/random_r.c: Likewise.
38218 * sysdeps/generic/Makefile: Likewise.
38219 * sysdeps/gnu/Makefile: Likewise.
38220 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38221 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38222 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38223 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38227 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38230 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38231 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38232 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38233 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38234 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38236 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38237 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38238 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38241 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38242 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38243 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38244 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38245 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38246 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38248 * sysdeps/mach/hurd/errnos.awk: Likewise.
38249 * sysdeps/mach/hurd/fork.c: Likewise.
38250 * sysdeps/mach/hurd/getcwd.c: Likewise.
38251 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38252 * sysdeps/mach/hurd/mmap.c: Likewise.
38253 * sysdeps/mach/hurd/utimes.c: Likewise.
38254 * sysdeps/mach/hurd/xmknod.c: Likewise.
38255 * sysdeps/posix/profil.c: Likewise.
38256 * sysdeps/posix/readdir_r.c: Likewise.
38257 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38258 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38259 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38260 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38262 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38263 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38264 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38266 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38267 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38268 * sysdeps/pthread/lio_listio.c: Likewise.
38269 * sysdeps/sparc/dl-procinfo.h: Likewise.
38270 * sysdeps/unix/i386/sysdep.S: Likewise.
38271 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38272 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38273 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38274 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38276 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38277 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38278 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38279 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38280 * sysdeps/wordsize-32/divdi3.c: Likewise.
38281 * time/sys/time.h: Likewise.
38282 * wcsmbs/Makefile: Likewise.
38284 2013-01-01 David S. Miller <davem@davemloft.net>
38286 * po/fr.po: Update from translation team.
38288 * catgets/gencat.c: Update copyright year.
38289 * csu/version.c: Likewise.
38290 * debug/catchsegv.sh: Likewise.
38291 * debug/pcprofiledump.c: Likewise.
38292 * debug/xtrace.sh: Likewise.
38293 * elf/ldconfig.c: Likewise.
38294 * elf/ldd.bash.in: Likewise.
38295 * elf/pldd.c: Likewise.
38296 * elf/sotruss.ksh: Likewise.
38297 * elf/sprof.c: Likewise.
38298 * iconv/iconv_prog.c: Likewise.
38299 * iconv/iconvconfig.c: Likewise.
38300 * locale/programs/locale.c: Likewise.
38301 * locale/programs/localedef.c: Likewise.
38302 * login/programs/pt_chown.c: Likewise.
38303 * malloc/memusage.sh: Likewise.
38304 * malloc/memusagestat.c: Likewise.
38305 * malloc/mtrace.pl: Likewise.
38306 * nscd/nscd.c: Likewise.
38307 * nss/getent.c: Likewise.
38308 * nss/makedb.c: Likewise.
38309 * posix/getconf.c: Likewise.
38311 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38313 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38316 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38318 * math/bits/mathcalls.h (modf): Use __nonnull.
38320 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38322 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38323 (split): Use macro CN instead of the bare value.
38324 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38327 instead of the bare value.
38328 (power1): Likewise.
38330 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38332 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38336 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38338 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38339 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38340 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38341 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38343 2012-12-28 Andreas Jaeger <aj@suse.de>
38345 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38346 values are from Linux 3.7.
38348 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38349 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38351 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38353 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38356 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38358 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38359 variables with preprocessor constants.
38360 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38361 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38364 2012-12-27 Bruno Haible <bruno@clisp.org>
38367 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38370 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38373 and use variable directly.
38374 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38376 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38378 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38381 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38383 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38384 include directive. Remove local variable MPONE.
38385 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38386 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38387 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38389 2012-12-25 David S. Miller <davem@davemloft.net>
38391 * version.h (RELEASE): Set to "development".
38392 (VERSION): Set to "2.17.90".
38393 * NEWS: Add 2.18 section.
38395 2012-12-21 David S. Miller <davem@davemloft.net>
38397 * po/hr.po: Update from translation team.
38399 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38401 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38403 2012-12-19 Steve Ellcey <sellcey@mips.com>
38405 * NEWS: Mention new memcpy for MIPS.
38407 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38409 * manual/contrib.texi (Contributors): Spelling correction.
38411 2012-12-15 David S. Miller <davem@davemloft.net>
38413 * po/ru.po: Update from translation team.
38415 2012-12-13 David S. Miller <davem@davemloft.net>
38417 * NEWS: Mention IFUNC testsuite enhancements.
38419 * po/pl.po: Update from translation team.
38420 * po/bg.po: Likewise.
38422 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38423 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38425 2012-12-11 David S. Miller <davem@davemloft.net>
38427 * po/sv.po: Update from translation team.
38429 * po/vi.po: Update from translation team.
38431 * po/cs.po: Update from translation team.
38433 * po/de.po: Update from translation team.
38434 * po/eo.po: Likewise.
38435 * po/nl.po: Likewise.
38437 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38440 * manual/argp.texi (Argp Helper Functions): Move node to follow
38441 Argp Parsing State.
38444 * manual/conf.texi (Limits on File System Capacity): Mention if
38445 terminating null is included in the max size.
38447 2012-12-10 Andreas Jaeger <aj@suse.de>
38449 * po/cs.po: Update from translation team.
38451 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38453 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38454 void pointer and cast to uintptr_t.
38455 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38457 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38458 * sysdeps/s390/s390-64/memset.S: Likewise.
38460 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38463 * menual/message.texi (Message Translation): Fix typos.
38464 (Helper programs for gettext): Likewise.
38466 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38469 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38472 2012-12-07 David S. Miller <davem@davemloft.net>
38474 * po/libc.pot: Update.
38476 2012-12-07 Richard Henderson <rth@redhat.com>
38479 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38480 normal/normal case to before the switch.
38481 (_FP_DIV): Likewise.
38483 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38484 Mike Frysinger <vapier@gentoo.org>
38486 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38487 check for __NR_fadvise64_64.
38489 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38491 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38492 0, not just to plain "0" as a statement.
38493 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38496 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38498 * NEWS: Use sourceware.org in Bugzilla URL.
38500 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38503 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38505 * stdio-common/tst-put-error.c (do_test): Add newline to the
38506 padded test to ensure flush.
38508 2012-12-05 Jeff Law <law@redhat.com>
38510 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38512 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38514 * README: Don't refer to ports add-on as distributed separately.
38515 Mention AArch64 in list of systems supported in the ports add-on.
38517 * LICENSES: Add more non-FSF copyright and license notices.
38519 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38522 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38524 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38525 10000 as width of padded output.
38527 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38529 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38531 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38532 variable LX with __attribute__ ((unused)).
38533 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38535 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38536 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38537 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38538 with __attribute__ ((unused)).
38540 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38542 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38544 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38546 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38547 (CFLAGS-nldbl-acos.c): New variable.
38548 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38549 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38550 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38551 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38552 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38553 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38554 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38555 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38556 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38557 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38558 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38559 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38560 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38561 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38562 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38563 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38564 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38565 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38566 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38567 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38568 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38569 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38570 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38571 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38572 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38573 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38574 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38575 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38576 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38577 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38578 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38579 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38580 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38581 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38582 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38583 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38584 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38585 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38586 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38587 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38588 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38589 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38590 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38591 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38592 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38593 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38594 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38595 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38596 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38597 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38598 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38599 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38600 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38601 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38602 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38603 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38604 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38605 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38606 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38607 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38608 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38609 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38610 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38611 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38612 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38613 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38614 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38615 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38616 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38617 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38618 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38619 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38620 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38621 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38622 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38623 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38624 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38625 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38626 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38627 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38628 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38629 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38630 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38631 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38632 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38633 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38634 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38635 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38636 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38637 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38638 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38639 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38640 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38641 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38642 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38643 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38644 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38647 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38650 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38651 whole low double instead of just low 47 bits when splitting values
38654 2012-12-03 Allan McRae <allan@archlinux.org>
38656 * manual/stdio.texi (Predefined Printf Handlers): Remove
38657 @hsep and @vsep usage.
38659 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38661 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38662 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38664 2012-12-03 Jeff Law <law@redhat.com>
38666 * time/sys/time.h (settimeofday): Do not mark TV argument
38669 2012-12-01 Mike Frysinger <vapier@gentoo.org>
38671 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38672 when currently writing and seek to current position when not.
38673 * libio/Makefile (tests): Remove bug-fclose1.
38674 * libio/bug-fclose1.c: Delete.
38676 2012-12-01 Joseph Myers <joseph@codesourcery.com>
38678 * manual/arith.texi (feenableexcept): Fix typo.
38679 (fedisableexcept): Likewise.
38681 2012-11-30 Roland McGrath <roland@hack.frob.com>
38683 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38684 second, differently-typed declaration, rather than a cast.
38686 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38688 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38689 * include/rpc/svc.h: ... here.
38691 2012-11-30 Aurelien Jarno <aurel32@debian.org>
38694 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38695 depending n and resplen2 to catch cases where answer
38698 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38700 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38701 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38703 2012-11-29 Mike Frysinger <vapier@gentoo.org>
38705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38707 2012-11-29 Roland McGrath <roland@hack.frob.com>
38709 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38711 2012-11-28 Jeff Law <law@redhat.com>
38714 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38715 dataset_temporary. Track alloca usage into alloca_used.
38716 If dataset is large allocate and release it via malloc/free.
38718 2012-06-04 Florian Weimer <fweimer@redhat.com>
38721 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38723 2012-11-28 David S. Miller <davem@davemloft.net>
38725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38727 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38730 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38731 of pi/2 rounded to nearest to 64 bits.
38732 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38733 nearest to 64 bits.
38734 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38737 2012-11-28 Jeff Law <law@redhat.com>
38738 Martin Osvald <mosvald@redhat.com>
38741 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38742 * sunrpc/svc.c: Include time.h.
38743 (__svc_accept_failed): New function.
38744 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38745 any reason other than EINTR, call __svc_accept_failed.
38746 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38747 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38749 2012-11-28 Andreas Schwab <schwab@suse.de>
38751 * scripts/abilist.awk: Also handle indirect functions in .opd
38754 2012-11-28 Joseph Myers <joseph@codesourcery.com>
38757 * sysdeps/x86/fpu/powl_helper.c: New file.
38758 * sysdeps/x86/fpu/Makefile: Likewise.
38759 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38761 (__ieee754_powl): Use __powl_helper for finite arguments except
38762 integer exponents below 8.
38763 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38765 (__ieee754_powl): Use __powl_helper for finite arguments except
38766 integer exponents below 8.
38767 * math/libm-test.inc (pow_test): Add more tests and enable some
38768 previously disabled tests.
38769 * sysdeps/i386/fpu/libm-test-ulps: Update.
38770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38772 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38773 Carlos O'Donell <carlos_odonell@mentor.com>
38775 * nss/makedb.c (is_prime): Assert that input is odd and greater
38776 than 4. Note that fact in a comment too.
38777 (next_prime): Add 4 to input.
38779 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38782 * libio/Makefile (tests): Add test case tst-fwrite-error.
38783 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38784 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38785 * libio/tst-fwrite-error.c: New test case.
38787 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
38789 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38790 before casting to void *.
38791 * include/libc-internal.h (__pointer_type): New macro.
38792 (__integer_if_pointer_type_sub): Likewise.
38793 (__integer_if_pointer_type): Likewise.
38794 (cast_to_integer): Likewise.
38795 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38796 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38797 before casting to atomic64_t.
38798 (atomic_exchange_acq): Likewise.
38799 (__arch_exchange_and_add_body): Likewise.
38800 (__arch_add_body): Likewise.
38801 (atomic_add_negative): Likewise.
38802 (atomic_add_zero): Likewise.
38804 2012-11-26 Joseph Myers <joseph@codesourcery.com>
38806 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38807 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38808 (add_fdes): Likewise.
38809 (linear_search_fdes): Likewise.
38810 (binary_search_unencoded_fdes): Likewise.
38812 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
38814 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38816 2012-11-24 Adam Conrad <adconrad@0c3.net>
38818 * configure.in: Autodetect C++ header directories.
38819 * configure: Regenerated.
38821 2012-11-23 Mike Frysinger <vapier@gentoo.org>
38823 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38825 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
38827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38829 2012-11-22 Joseph Myers <joseph@codesourcery.com>
38831 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38832 LDBL_MANT_DIG == 106]: Disable some tests.
38833 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38835 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38839 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38840 input for small inputs. Return +/- pi/2 for large inputs.
38841 * math/libm-test.inc (atan_test): Add more tests.
38843 * sysdeps/generic/unwind-dw2-fde-glibc.c
38844 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38845 __attribute__ ((unused)).
38848 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38849 x * y if x and y are nonzero and z is zero.
38852 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38853 nonzero exponents with absolute value below 0x1p-117 to +/-
38857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38858 up arguments below 2**-450, not just those below 2**-500.
38859 * math/libm-test.inc (hypot_test): Add another test.
38862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38863 Return a+b for ratio over 2**120, not 2**60.
38864 * math/libm-test.inc (hypot_test): Add another test.
38866 * math/libm-test.inc (clog_test): Use
38867 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38868 (clog10_test): Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38873 2012-11-22 Andreas Schwab <schwab@suse.de>
38875 * sysdeps/i386/fpu/libm-test-ulps: Update.
38877 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
38879 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38880 printf output with newline.
38882 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
38885 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38886 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38887 -z nodlopen, -z initfirst and -z execstack support.
38888 * configure: Regenerated.
38890 * elf/elf.h (DF_1_NODIRECT): New macro.
38891 (DF_1_IGNMULDEF): Likewise.
38892 (DF_1_NOKSYMS): Likewise.
38893 (DF_1_NOHDR): Likewise.
38894 (DF_1_EDITED): Likewise.
38895 (DF_1_NORELOC): Likewise.
38896 (DF_1_SYMINTPOSE): Likewise.
38897 (DF_1_GLOBAUDIT): Likewise.
38898 (DF_1_SINGLETON): Likewise.
38899 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38900 DT_1_SUPPORTED_MASK bits.
38901 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38903 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
38905 * sysdeps/unix/make-syscalls.sh: Document prefixes.
38907 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
38909 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38912 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38913 (sendmmsg): Move declarations...
38914 * socket/sys/socket.h: ... here.
38915 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38916 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38918 * socket/recvmmsg.c: ... this new file.
38919 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38920 (sendmmsg): Rename to __sendmmsg, create weak alias and make
38921 definition of __sendmmsg hidden.
38922 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38923 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38924 Move ENOSYS stub into and include it from...
38925 * socket/sendmmsg.c: ... this new file.
38926 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38927 (sysdep_routines): Move recvmmsg and sendmmsg...
38928 * socket/Makefile (routines): ... here.
38929 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38930 (GLIBC_PRIVATE): Add __sendmmsg.
38931 * include/sys/socket.h (__sendmmsg): Add declarations.
38932 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38935 2012-11-20 Joseph Myers <joseph@codesourcery.com>
38937 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38938 variable I1 with __attribute__ ((unused)).
38939 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38941 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38943 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38944 DUMMY variables with __attribute__ ((unused)).
38946 * bits/byteswap.h: Include <bits/types.h>.
38947 (__bswap_64): Use __uint64_t instead of unsigned long long int.
38949 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38951 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38952 string_t. Do not manually set errno.
38953 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38954 length with __strnlen. Make sure to both set errno and return it on
38957 2012-11-19 David S. Miller <davem@davemloft.net>
38959 With help from Joseph Myers.
38960 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38961 very large arguments properly.
38962 * math/libm-test.inc (atan_test): New tests.
38963 (atan2_test): New tests.
38964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38967 2012-11-19 Joseph Myers <joseph@codesourcery.com>
38970 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38973 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38974 [POSIX] (EADDRNOTAVAIL): Likewise.
38975 [POSIX] (EAFNOSUPPORT): Likewise.
38976 [POSIX] (EALREADY): Likewise.
38977 [POSIX] (ECONNABORTED): Likewise.
38978 [POSIX] (ECONNREFUSED): Likewise.
38979 [POSIX] (ECONNRESET): Likewise.
38980 [POSIX] (EDESTADDRREQ): Likewise.
38981 [POSIX] (EDQUOT): Likewise.
38982 [POSIX] (EHOSTUNREACH): Likewise.
38983 [POSIX] (EIDRM): Likewise.
38984 [POSIX] (EISCONN): Likewise.
38985 [POSIX] (ELOOP): Likewise.
38986 [POSIX] (EMULTIHOP): Likewise.
38987 [POSIX] (ENETDOWN): Likewise.
38988 [POSIX] (ENETUNREACH): Likewise.
38989 [POSIX] (ENOBUFS): Likewise.
38990 [POSIX] (ENODATA): Likewise.
38991 [POSIX] (ENOLINK): Likewise.
38992 [POSIX] (ENOMSG): Likewise.
38993 [POSIX] (ENOPROTOOPT): Likewise.
38994 [POSIX] (ENOSR): Likewise.
38995 [POSIX] (ENOSTR): Likewise.
38996 [POSIX] (ENOTCONN): Likewise.
38997 [POSIX] (ENOTSOCK): Likewise.
38998 [POSIX] (EOPNOTSUPP): Likewise.
38999 [POSIX] (EOVERFLOW): Likewise.
39000 [POSIX] (EPROTO): Likewise.
39001 [POSIX] (EPROTONOSUPPORT): Likewise.
39002 [POSIX] (EPROTOTYPE): Likewise.
39003 [POSIX] (ESTALE): Likewise.
39004 [POSIX] (ETIME): Likewise.
39005 [POSIX] (ETXTBSY): Likewise.
39006 [POSIX] (EWOULDBLOCK): Likewise.
39007 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39008 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39009 [POSIX] (SEEK_CUR): Likewise.
39010 [POSIX] (SEEK_END): Likewise.
39011 [POSIX || UNIX98] (mode_t): Do not require.
39012 [POSIX] (off_t): Likewise.
39013 [POSIX] (pid_t): Likewise.
39014 [POSIX] (sys/stat.h): Do not allow header.
39015 [POSIX] (unistd.h): Likewise.
39016 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39017 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39018 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39019 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39021 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39022 sigevent): Specify elements.
39023 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39025 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39026 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39028 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39029 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39030 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39031 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39032 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39033 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39034 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39035 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39036 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39037 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39038 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39039 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39040 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39041 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39043 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39047 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39049 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39050 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39051 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39052 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39053 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39054 Specify lower bound on value.
39055 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39056 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39057 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39058 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39059 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39060 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39061 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39062 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39064 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39066 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39067 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39068 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39071 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39072 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39073 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39074 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39075 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39076 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39077 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39078 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39079 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39080 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39081 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39083 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39085 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39086 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39087 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39088 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39089 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39090 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39092 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39093 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39094 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39095 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39096 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39097 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39098 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39100 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39101 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39102 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39103 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39104 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39105 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39106 specify as optional.
39107 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39108 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39109 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39110 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39111 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39112 [XPG3] (NL_LANGMAX): Likewise.
39113 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39114 [POSIX || XPG3] (NL_NMAX): Likewise.
39115 [POSIX || XPG3] (NL_SETMAX): Likewise.
39116 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39117 [XPG3] (NZERO): Likewise.
39118 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39119 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39120 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39121 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39122 (REG_ERANGE): Expect.
39123 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39125 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39126 Use (void) in prototype.
39127 [POSIX] (*_t): Allow.
39128 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39129 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39130 (WRDE_BADVAL): Expect.
39132 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39134 [XPG3 || XPG4] (O_RSYNC): Likewise.
39135 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39137 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39138 [XPG3 || XPG4] (sigqueue): Likewise.
39139 [XPG3 || XPG4] (sigtimedwait): Likewise.
39140 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39141 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39142 [XPG3 || XPG4] (vsnprintf): Likewise.
39143 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39145 [XPG3 || XPG4] (blksize_t): Likewise.
39146 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39148 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39149 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39150 [XPG3 || XPG4] (struct itimerspec): Likewise.
39151 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39152 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39153 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39154 [XPG3 || XPG4] (clockid_t): Likewise.
39155 [XPG3 || XPG4] (timer_t): Likewise.
39156 [XPG3 || XPG4] (clock_getres): Likewise.
39157 [XPG3 || XPG4] (clock_gettime): Likewise.
39158 [XPG3 || XPG4] (clock_settime): Likewise.
39159 [XPG3 || XPG4] (nanosleep): Likewise.
39160 [XPG3 || XPG4] (timer_create): Likewise.
39161 [XPG3 || XPG4] (timer_delete): Likewise.
39162 [XPG3 || XPG4] (timer_gettime): Likewise.
39163 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39164 [XPG3 || XPG4] (timer_settime): Likewise.
39165 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39166 [XPG3 || XPG4] (getlogin_r): Likewise.
39167 [XPG3 || XPG4] (pread): Likewise.
39168 [XPG3 || XPG4] (pthread_atfork): Likewise.
39169 [XPG3 || XPG4] (pwrite): Likewise.
39172 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39175 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39177 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39178 finalizing MALLSTREAM.
39180 * sysdeps/mach/hurd/syncfs.c: New file.
39182 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39185 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39186 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39187 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39188 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39189 (_nss_dns_gethostbyname4_r): Likewise.
39190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39191 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39193 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39196 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39198 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39200 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39201 * elf/cache.c (print_entry): Print ",AArch64" for
39204 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39205 * elf/cache.c (print_entry): Print ",hard-float" for
39208 2012-11-18 David S. Miller <davem@davemloft.net>
39210 With help from Joseph Myers.
39211 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39213 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39215 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39216 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39218 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39219 * math/libm-test.inc (y0_test): New tests.
39220 (y1_test): New tests.
39221 * sysdeps/i386/fpu/libm-test-ulps: Update.
39222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39225 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39227 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39229 * configure: Regenerated.
39231 2012-11-17 David S. Miller <davem@davemloft.net>
39234 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39235 nonzero exponents with absolute value below 0x1p-128 to +/-
39238 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39240 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39242 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39244 * posix/getconf-speclist.c: New file.
39245 * posix/posix-envs.def: Likewise.
39246 * posix/confstr.c (START_ENV_GROUP): New macro.
39247 (END_ENV_GROUP): Likewise.
39248 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39249 (KNOWN_PRESENT_ENV_STRING): Likewise.
39250 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39251 (UNKNOWN_ENVIRONMENT): Likewise.
39252 (confstr): Include posix-envs.def instead of handling
39253 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39254 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39255 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39256 (END_ENV_GROUP): Likewise.
39257 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39258 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39259 (UNKNOWN_ENVIRONMENT): Likewise.
39260 (__sysconf): Include posix-envs.def instead of handling associated
39261 cases directly here.
39262 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39263 preprocessing getconf-speclist.c rather than running getconf or
39264 generating empty file.
39266 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39268 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39270 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39273 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39275 2012-11-16 David S. Miller <davem@davemloft.net>
39277 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39278 smaller than LDBL_EPSILON/2.0L, just return xm1.
39280 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39282 * elf/tst-array1.c (init): Set constructor priority to 1000.
39283 (fini): Set destructor priority to 1000.
39284 * elf/tst-array2dep.c: Likewise.
39286 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39289 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39290 (_IO_new_file_xsputn): Also return EOF if none of the input
39291 data was written when overflow failed.
39292 * libio/iopadn.c (_IO_padn): Likewise.
39293 * libio/iowpadn.c (_IO_wpadn): Likewise.
39294 * stdio-common/tst-put-error.c: Add copyright notice.
39295 (do_test): Add case for printing padded string.
39296 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39297 _IO_padn returned error.
39298 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39299 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39302 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39304 * libio/libioP.h: Add comment note that the references to C++
39305 bits are now obsolete.
39307 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39309 * math/libm-test.inc (check_complex): Use asprintf.
39311 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39313 * debug/pcprofiledump.c (print_version): Update copyright year.
39314 * malloc/memusagestat.c (print_version): Likewise.
39316 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39319 * elf/Makefile (tests): Add tst-audit8.
39320 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39321 ($(objpfx)tst-audit8.out): New target.
39322 (tst-audit8-ENV): New variable.
39323 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39324 audit if l_reloc_result is NULL.
39325 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39326 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39327 * elf/tst-audit8.c: New file.
39329 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39331 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39332 * misc/Makefile (CFLAGS-select.c): Define.
39333 * posix/Makefile (CFLAGS-pause.c): Define.
39335 2012-11-13 David S. Miller <davem@davemloft.net>
39337 * crypt/Makefile: Move test targets after toplevel Rules
39338 inclusion. Grab any necessary sysdep routines when linking.
39339 * crypt/md5.c (md5_process_block): Remove define, we will always
39340 name it __md5_process_block.
39341 (md5_finish_ctx): Update md5_process_block call.
39342 (md5_stream): Likewise.
39343 (md5_process_bytes): Likewise.
39344 (md5_process_block): Rename to __md5_process_block and move to ...
39345 * crypt/md5-block.c: ... here.
39346 * crypt/sha256.c (sha256_process_block): Move to ...
39347 * crypt/sha256-block.c: ... here.
39348 * crypt/sha512.c (sha512_process_block): Move to ...
39349 * crypt/sha512-block.c: ... here.
39350 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39352 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39353 * sysdeps/sparc/sparc64/multiarch/Makefile
39354 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39356 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39357 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39359 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39360 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39361 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39362 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39363 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39364 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39365 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39366 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39367 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39369 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39370 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39372 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39374 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39376 * timezone/tzselect.ksh: Update from tzcode git revision
39377 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39378 * timezone/zdump.c: Likewise.
39379 * timezone/zic.c: Likewise.
39380 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39381 in TZVERSION setting, not $(PKGVERSION).
39382 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39383 REPORT_BUGS_TO settings.
39386 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39389 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39391 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39392 detection to immediately after _FP_ROUND().
39393 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39396 2012-11-11 David S. Miller <davem@davemloft.net>
39398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39400 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39401 __close rather than their public counterparts.
39403 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39405 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39407 [UNIX98] (sem_timedwait): Do not expect.
39408 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39409 [XPG4 || UNIX98] (sockatmark): Do not expect.
39410 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39411 (clock_getcpuclockid): Do not expect.
39412 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39413 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39415 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39416 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39417 [UNIX98] (vwscanf): Likewise.
39418 [UNIX98] (vswscanf): Likewise.
39420 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39422 * timezone/version.h: Remove file.
39423 * timezone/README: Do not refer to version.h.
39424 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39425 $(objpfx)version.h.
39426 ($(objpfx)zdump.o): Likewise.
39427 ($(objpfx)version.h): New target.
39429 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39431 * timezone/README: Don't mention modification to tzselect.ksh.
39432 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39433 work on unmodified tzselect.ksh. Substitute version numbers in
39436 * Makefile (format-me): Remove.
39437 (INSTALL): Adjust indentation. Use commands directly instead of
39438 using $(format-me).
39440 * aclocal.m4 (ACX_PKGVERSION): New macro.
39441 (ACX_BUGURL): Likewise.
39442 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39443 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39444 (REPORT_BUGS_TO): Likewise.
39445 * configure: Regenerated.
39446 * config.h.in (PKGVERSION): New macro.
39447 (REPORT_BUGS_TO): Likewise.
39448 * config.make.in (PKGVERSION): New variable.
39449 (PKGVERSION_TEXI): Likewise.
39450 (REPORT_BUGS_TO): Likewise.
39451 (REPORT_BUGS_TEXI): Likewise.
39452 * Makefile (format-me): Use -I$(common-objpfx)manual.
39453 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39454 ($(common-objpfx)manual/%): New target.
39455 (manual/%): Remove target.
39456 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39457 (print_version): Use PKGVERSION.
39458 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39459 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39460 and REPORT_BUGS_TO.
39461 ($(objpfx)xtrace): Likewise.
39462 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39463 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39464 (print_version): Use PKGVERSION.
39465 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39466 (do_version): Use PKGVERSION.
39467 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39469 (common-ldd-rewrite): Likewise.
39470 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39471 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39472 (print_version): Use PKGVERSION.
39473 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39474 * elf/pldd.c (argp_program_bug_address): Remove variable.
39475 (more_help): New function.
39476 (argp): Use more_help.
39477 (print_version): Use PKGVERSION.
39478 * elf/sln.c (main): Use PKGVERSION.
39479 (usage): Use REPORT_BUGS_TO.
39480 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39481 (top level): Use PKGVERSION.
39482 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39483 (print_version): Use PKGVERSION.
39484 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39485 (print_version): Use PKGVERSION.
39486 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39487 (print_version): Use PKGVERSION.
39488 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39489 (print_version): Use PKGVERSION.
39490 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39491 (print_version): Use PKGVERSION.
39492 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39493 (print_version): Use PKGVERSION.
39494 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39496 ($(objpfx)memusage): Likewise.
39497 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39498 (do_version): Use PKGVERSION.
39499 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39500 (print_version): Use PKGVERSION.
39501 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39502 ($PKGVERSION): New variable.
39503 ($REPORT_BUGS_TO): Likewise.
39504 (usage): Use $REPORT_BUGS_TO.
39505 (top level): Use $PKGVERSION.
39506 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39507 ($(objpfx)pkgvers.texi): New rule.
39508 ($(objpfx)stamp-pkgvers): Likewise.
39509 * manual/install.texi: Include pkgvers.texi.
39510 (--with-pkgversion): Document new configure option.
39511 (--with-bugurl): Likewise.
39512 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39513 than necessarily for this particular distribution. Use
39514 REPORT_BUGS_TO for where to report bugs.
39515 * INSTALL: Regenerated.
39516 * manual/libc.texinfo: Include pkgvers.texi.
39517 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39518 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39519 (print_version): Use PKGVERSION.
39520 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39521 (print_version): Use PKGVERSION.
39522 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39523 (print_version): Use PKGVERSION.
39524 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39525 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39527 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39528 (print_version): Use PKGVERSION.
39529 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39530 (print_version): Use PKGVERSION.
39531 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39534 * timezone/checktab.awk: Update from tzcode 2012i.
39535 * timezone/ialloc.c: Likewise.
39536 * timezone/private.h: Likewise.
39537 * timezone/scheck.c: Likewise.
39538 * timezone/tzfile.h: Likewise.
39539 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39540 (TZVERSION): Hardcode tzcode version number.
39541 * timezone/zdump.c: Update from tzcode 2012i.
39542 * timezone/zic.c: Likewise.
39543 * timezone/version.h: New file.
39544 * timezone/README: Describe version.h. Update upstream location.
39547 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39548 (mktemp): Enable declaration.
39549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39551 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39566 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39567 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39568 for copies of such integer values.
39569 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39570 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39572 2012-11-09 Andreas Jaeger <aj@suse.de>
39574 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39575 definitions and declarations that are provided by
39576 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39578 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39580 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39581 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39582 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39585 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39587 * elf/elf.h: Update comment before AArch64 relocations.
39589 2012-11-07 David S. Miller <davem@davemloft.net>
39591 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39592 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39593 (__start_context): Declare.
39594 (__makecontext_ret): Delete.
39595 (__makecontext): Hook up __start_context instead of
39597 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39598 (sysdep_routines): Add __start_context when in stdlib.
39600 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39602 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39603 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39604 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39606 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39607 (READELF): New variable. Use it instead of hardcoded "readelf".
39609 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39611 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39612 * sysdeps/x86/Makefile: Here.
39613 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39614 * sysdeps/x86/tst-xmmymm.sh: This.
39616 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39618 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39620 [UNIX98] (pthread_barrier_t): Do not expect.
39621 [UNIX98] (pthread_barrierattr_t): Likewise.
39622 [UNIX98] (pthread_spinlock_t): Likewise.
39623 [UNIX98] (pthread_barrier_destroy): Likewise.
39624 [UNIX98] (pthread_barrier_init): Likewise.
39625 [UNIX98] (pthread_barrier_wait): Likewise.
39626 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39627 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39628 [UNIX98] (pthread_barrierattr_init): Likewise.
39629 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39630 [UNIX98] (pthread_getcpuclockid): Likewise.
39631 [UNIX98] (pthread_mutex_timedlock): Likewise.
39632 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39633 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39634 [UNIX98] (pthread_sigmask): Likewise.
39635 [UNIX98] (pthread_spin_destroy): Likewise.
39636 [UNIX98] (pthread_spin_init): Likewise.
39637 [UNIX98] (pthread_spin_lock): Likewise.
39638 [UNIX98] (pthread_spin_trylock): Likewise.
39639 [UNIX98] (pthread_spin_unlock): Likewise.
39640 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39642 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39643 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39644 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39645 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39646 [XPG3 || XPG4] (pthread_key_t): Likewise.
39647 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39648 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39649 [XPG3 || XPG4] (pthread_once_t): Likewise.
39650 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39651 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39652 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39653 [XPG3 || XPG4] (pthread_t): Likewise.
39655 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39657 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39659 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39660 Change function return type to int.
39662 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39663 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39664 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39665 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39666 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39667 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39668 [!POSIX] (posix_madvise): Likewise.
39669 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39671 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39672 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39673 (mode_t): Likewise.
39674 (posix_mem_offset): Likewise.
39675 (posix_typed_mem_get_info): Likewise.
39676 (posix_typed_mem_open): Likewise.
39678 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39679 Change condition to [XOPEN2K8].
39681 * conform/conformtest.pl: Preprocess allow-header data with -x c
39682 instead of from stdin.
39683 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39684 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39685 [C99-based standards] (cerfc): Likewise.
39686 [C99-based standards] (cexp2): Likewise.
39687 [C99-based standards] (cexpm1): Likewise.
39688 [C99-based standards] (clog10): Likewise.
39689 [C99-based standards] (clog1p): Likewise.
39690 [C99-based standards] (clog2): Likewise.
39691 [C99-based standards] (clgamma): Likewise.
39692 [C99-based standards] (ctgamma): Likewise.
39693 [C99-based standards] (cerff): Likewise.
39694 [C99-based standards] (cerfcf): Likewise.
39695 [C99-based standards] (cexp2f): Likewise.
39696 [C99-based standards] (cexpm1f): Likewise.
39697 [C99-based standards] (clog10f): Likewise.
39698 [C99-based standards] (clog1pf): Likewise.
39699 [C99-based standards] (clog2f): Likewise.
39700 [C99-based standards] (clgammaf): Likewise.
39701 [C99-based standards] (ctgammaf): Likewise.
39702 [C99-based standards] (cerfl): Likewise.
39703 [C99-based standards] (cerfcl): Likewise.
39704 [C99-based standards] (cexp2l): Likewise.
39705 [C99-based standards] (cexpm1l): Likewise.
39706 [C99-based standards] (clog10l): Likewise.
39707 [C99-based standards] (clog1pl): Likewise.
39708 [C99-based standards] (clog2l): Likewise.
39709 [C99-based standards] (clgammal): Likewise.
39710 [C99-based standards] (ctgammal): Likewise.
39711 * conform/data/inttypes.h-data [C99-based standards]: Include
39712 stdint.h-data. Remove all expectations for stdint.h contents.
39713 [C99-based standards] (PRI*): Do not allow.
39714 [C99-based standards] (SCN*): Likewise.
39715 [C99-based standards] (*_t): Likewise.
39716 [C99-based-standards] (PRId8): Expect macro.
39717 [C99-based-standards] (PRIi8): Likewise.
39718 [C99-based-standards] (PRIo8): Likewise.
39719 [C99-based-standards] (PRIu8): Likewise.
39720 [C99-based-standards] (PRIx8): Likewise.
39721 [C99-based-standards] (PRIX8): Likewise.
39722 [C99-based-standards] (SCNd8): Likewise.
39723 [C99-based-standards] (SCNi8): Likewise.
39724 [C99-based-standards] (SCNo8): Likewise.
39725 [C99-based-standards] (SCNu8): Likewise.
39726 [C99-based-standards] (SCNx8): Likewise.
39727 [C99-based-standards] (PRIdLEAST8): Likewise.
39728 [C99-based-standards] (PRIiLEAST8): Likewise.
39729 [C99-based-standards] (PRIoLEAST8): Likewise.
39730 [C99-based-standards] (PRIuLEAST8): Likewise.
39731 [C99-based-standards] (PRIxLEAST8): Likewise.
39732 [C99-based-standards] (PRIXLEAST8): Likewise.
39733 [C99-based-standards] (SCNdLEAST8): Likewise.
39734 [C99-based-standards] (SCNiLEAST8): Likewise.
39735 [C99-based-standards] (SCNoLEAST8): Likewise.
39736 [C99-based-standards] (SCNuLEAST8): Likewise.
39737 [C99-based-standards] (SCNxLEAST8): Likewise.
39738 [C99-based-standards] (PRIdFAST8): Likewise.
39739 [C99-based-standards] (PRIiFAST8): Likewise.
39740 [C99-based-standards] (PRIoFAST8): Likewise.
39741 [C99-based-standards] (PRIuFAST8): Likewise.
39742 [C99-based-standards] (PRIxFAST8): Likewise.
39743 [C99-based-standards] (PRIXFAST8): Likewise.
39744 [C99-based-standards] (SCNdFAST8): Likewise.
39745 [C99-based-standards] (SCNiFAST8): Likewise.
39746 [C99-based-standards] (SCNoFAST8): Likewise.
39747 [C99-based-standards] (SCNuFAST8): Likewise.
39748 [C99-based-standards] (SCNxFAST8): Likewise.
39749 [C99-based-standards] (PRId16): Likewise.
39750 [C99-based-standards] (PRIi16): Likewise.
39751 [C99-based-standards] (PRIo16): Likewise.
39752 [C99-based-standards] (PRIu16): Likewise.
39753 [C99-based-standards] (PRIx16): Likewise.
39754 [C99-based-standards] (PRIX16): Likewise.
39755 [C99-based-standards] (SCNd16): Likewise.
39756 [C99-based-standards] (SCNi16): Likewise.
39757 [C99-based-standards] (SCNo16): Likewise.
39758 [C99-based-standards] (SCNu16): Likewise.
39759 [C99-based-standards] (SCNx16): Likewise.
39760 [C99-based-standards] (PRIdLEAST16): Likewise.
39761 [C99-based-standards] (PRIiLEAST16): Likewise.
39762 [C99-based-standards] (PRIoLEAST16): Likewise.
39763 [C99-based-standards] (PRIuLEAST16): Likewise.
39764 [C99-based-standards] (PRIxLEAST16): Likewise.
39765 [C99-based-standards] (PRIXLEAST16): Likewise.
39766 [C99-based-standards] (SCNdLEAST16): Likewise.
39767 [C99-based-standards] (SCNiLEAST16): Likewise.
39768 [C99-based-standards] (SCNoLEAST16): Likewise.
39769 [C99-based-standards] (SCNuLEAST16): Likewise.
39770 [C99-based-standards] (SCNxLEAST16): Likewise.
39771 [C99-based-standards] (PRIdFAST16): Likewise.
39772 [C99-based-standards] (PRIiFAST16): Likewise.
39773 [C99-based-standards] (PRIoFAST16): Likewise.
39774 [C99-based-standards] (PRIuFAST16): Likewise.
39775 [C99-based-standards] (PRIxFAST16): Likewise.
39776 [C99-based-standards] (PRIXFAST16): Likewise.
39777 [C99-based-standards] (SCNdFAST16): Likewise.
39778 [C99-based-standards] (SCNiFAST16): Likewise.
39779 [C99-based-standards] (SCNoFAST16): Likewise.
39780 [C99-based-standards] (SCNuFAST16): Likewise.
39781 [C99-based-standards] (SCNxFAST16): Likewise.
39782 [C99-based-standards] (PRId32): Likewise.
39783 [C99-based-standards] (PRIi32): Likewise.
39784 [C99-based-standards] (PRIo32): Likewise.
39785 [C99-based-standards] (PRIu32): Likewise.
39786 [C99-based-standards] (PRIx32): Likewise.
39787 [C99-based-standards] (PRIX32): Likewise.
39788 [C99-based-standards] (SCNd32): Likewise.
39789 [C99-based-standards] (SCNi32): Likewise.
39790 [C99-based-standards] (SCNo32): Likewise.
39791 [C99-based-standards] (SCNu32): Likewise.
39792 [C99-based-standards] (SCNx32): Likewise.
39793 [C99-based-standards] (PRIdLEAST32): Likewise.
39794 [C99-based-standards] (PRIiLEAST32): Likewise.
39795 [C99-based-standards] (PRIoLEAST32): Likewise.
39796 [C99-based-standards] (PRIuLEAST32): Likewise.
39797 [C99-based-standards] (PRIxLEAST32): Likewise.
39798 [C99-based-standards] (PRIXLEAST32): Likewise.
39799 [C99-based-standards] (SCNdLEAST32): Likewise.
39800 [C99-based-standards] (SCNiLEAST32): Likewise.
39801 [C99-based-standards] (SCNoLEAST32): Likewise.
39802 [C99-based-standards] (SCNuLEAST32): Likewise.
39803 [C99-based-standards] (SCNxLEAST32): Likewise.
39804 [C99-based-standards] (PRIdFAST32): Likewise.
39805 [C99-based-standards] (PRIiFAST32): Likewise.
39806 [C99-based-standards] (PRIoFAST32): Likewise.
39807 [C99-based-standards] (PRIuFAST32): Likewise.
39808 [C99-based-standards] (PRIxFAST32): Likewise.
39809 [C99-based-standards] (PRIXFAST32): Likewise.
39810 [C99-based-standards] (SCNdFAST32): Likewise.
39811 [C99-based-standards] (SCNiFAST32): Likewise.
39812 [C99-based-standards] (SCNoFAST32): Likewise.
39813 [C99-based-standards] (SCNuFAST32): Likewise.
39814 [C99-based-standards] (SCNxFAST32): Likewise.
39815 [C99-based-standards] (PRId64): Likewise.
39816 [C99-based-standards] (PRIi64): Likewise.
39817 [C99-based-standards] (PRIo64): Likewise.
39818 [C99-based-standards] (PRIu64): Likewise.
39819 [C99-based-standards] (PRIx64): Likewise.
39820 [C99-based-standards] (PRIX64): Likewise.
39821 [C99-based-standards] (SCNd64): Likewise.
39822 [C99-based-standards] (SCNi64): Likewise.
39823 [C99-based-standards] (SCNo64): Likewise.
39824 [C99-based-standards] (SCNu64): Likewise.
39825 [C99-based-standards] (SCNx64): Likewise.
39826 [C99-based-standards] (PRIdLEAST64): Likewise.
39827 [C99-based-standards] (PRIiLEAST64): Likewise.
39828 [C99-based-standards] (PRIoLEAST64): Likewise.
39829 [C99-based-standards] (PRIuLEAST64): Likewise.
39830 [C99-based-standards] (PRIxLEAST64): Likewise.
39831 [C99-based-standards] (PRIXLEAST64): Likewise.
39832 [C99-based-standards] (SCNdLEAST64): Likewise.
39833 [C99-based-standards] (SCNiLEAST64): Likewise.
39834 [C99-based-standards] (SCNoLEAST64): Likewise.
39835 [C99-based-standards] (SCNuLEAST64): Likewise.
39836 [C99-based-standards] (SCNxLEAST64): Likewise.
39837 [C99-based-standards] (PRIdFAST64): Likewise.
39838 [C99-based-standards] (PRIiFAST64): Likewise.
39839 [C99-based-standards] (PRIoFAST64): Likewise.
39840 [C99-based-standards] (PRIuFAST64): Likewise.
39841 [C99-based-standards] (PRIxFAST64): Likewise.
39842 [C99-based-standards] (PRIXFAST64): Likewise.
39843 [C99-based-standards] (SCNdFAST64): Likewise.
39844 [C99-based-standards] (SCNiFAST64): Likewise.
39845 [C99-based-standards] (SCNoFAST64): Likewise.
39846 [C99-based-standards] (SCNuFAST64): Likewise.
39847 [C99-based-standards] (SCNxFAST64): Likewise.
39848 [C99-based-standards] (PRIdMAX): Likewise.
39849 [C99-based-standards] (PRIiMAX): Likewise.
39850 [C99-based-standards] (PRIoMAX): Likewise.
39851 [C99-based-standards] (PRIuMAX): Likewise.
39852 [C99-based-standards] (PRIxMAX): Likewise.
39853 [C99-based-standards] (PRIXMAX): Likewise.
39854 [C99-based-standards] (SCNdMAX): Likewise.
39855 [C99-based-standards] (SCNiMAX): Likewise.
39856 [C99-based-standards] (SCNoMAX): Likewise.
39857 [C99-based-standards] (SCNuMAX): Likewise.
39858 [C99-based-standards] (SCNxMAX): Likewise.
39859 [C99-based-standards] (PRIdPTR): Likewise.
39860 [C99-based-standards] (PRIiPTR): Likewise.
39861 [C99-based-standards] (PRIoPTR): Likewise.
39862 [C99-based-standards] (PRIuPTR): Likewise.
39863 [C99-based-standards] (PRIxPTR): Likewise.
39864 [C99-based-standards] (PRIXPTR): Likewise.
39865 [C99-based-standards] (SCNdPTR): Likewise.
39866 [C99-based-standards] (SCNiPTR): Likewise.
39867 [C99-based-standards] (SCNoPTR): Likewise.
39868 [C99-based-standards] (SCNuPTR): Likewise.
39869 [C99-based-standards] (SCNxPTR): Likewise.
39870 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39872 * conform/data/stdint.h-data: Update comments to clarify
39874 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
39876 [C99-based standards] (INT8_MAX): Likewise.
39877 [C99-based standards] (INT16_MIN): Likewise.
39878 [C99-based standards] (INT16_MAX): Likewise.
39879 [C99-based standards] (INT32_MIN): Likewise.
39880 [C99-based standards] (INT32_MAX): Likewise.
39881 [C99-based standards] (INT64_MIN): Likewise.
39882 [C99-based standards] (INT64_MAX): Likewise.
39883 [C99-based standards] (UINT8_MAX): Likewise.
39884 [C99-based standards] (UINT16_MAX): Likewise.
39885 [C99-based standards] (UINT32_MAX): Likewise.
39886 [C99-based standards] (UINT64_MAX): Likewise.
39887 [C99-based standards] (INT_LEAST8_MIN): Likewise.
39888 [C99-based standards] (INT_LEAST8_MAX): Likewise.
39889 [C99-based standards] (INT_LEAST16_MIN): Likewise.
39890 [C99-based standards] (INT_LEAST16_MAX): Likewise.
39891 [C99-based standards] (INT_LEAST32_MIN): Likewise.
39892 [C99-based standards] (INT_LEAST32_MAX): Likewise.
39893 [C99-based standards] (INT_LEAST64_MIN): Likewise.
39894 [C99-based standards] (INT_LEAST64_MAX): Likewise.
39895 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39896 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39897 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39898 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39899 [C99-based standards] (INT_FAST8_MIN): Likewise.
39900 [C99-based standards] (INT_FAST8_MAX): Likewise.
39901 [C99-based standards] (INT_FAST16_MIN): Likewise.
39902 [C99-based standards] (INT_FAST16_MAX): Likewise.
39903 [C99-based standards] (INT_FAST32_MIN): Likewise.
39904 [C99-based standards] (INT_FAST32_MAX): Likewise.
39905 [C99-based standards] (INT_FAST64_MIN): Likewise.
39906 [C99-based standards] (INT_FAST64_MAX): Likewise.
39907 [C99-based standards] (UINT_FAST8_MAX): Likewise.
39908 [C99-based standards] (UINT_FAST16_MAX): Likewise.
39909 [C99-based standards] (UINT_FAST32_MAX): Likewise.
39910 [C99-based standards] (UINT_FAST64_MAX): Likewise.
39911 [C99-based standards] (INTPTR_MIN): Likewise.
39912 [C99-based standards] (INTPTR_MAX): Likewise.
39913 [C99-based standards] (UINTPTR_MAX): Likewise.
39914 [C99-based standards] (INTMAX_MIN): Likewise.
39915 [C99-based standards] (INTMAX_MAX): Likewise.
39916 [C99-based standards] (UINTMAX_MAX): Likewise.
39917 [C99-based standards] (PTRDIFF_MIN): Likewise.
39918 [C99-based standards] (PTRDIFF_MAX): Likewise.
39919 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39920 [C99-based standards] (SIZE_MAX): Likewise.
39921 [C99-based standards] (WCHAR_MAX): Likewise.
39922 [C99-based standards] (WINT_MAX): Likewise.
39923 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
39924 constraint on value.
39925 [C99-based standards] (WCHAR_MIN): Likewise.
39926 [C99-based standards] (WINT_MIN): Likewise.
39927 [C99-based standards] (*_t): Allow.
39928 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39929 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39930 Include math.h-data and complex.h-data. Remove all expectations
39931 of math.h and complex.h contents.
39932 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39934 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39935 (struct tm): Expect tag.
39936 [C99-based-standards] (wcstof): Expect function.
39937 [C99-based-standards] (wcstold): Likewise.
39938 [C99-based-standards] (wcstoll): Likewise.
39939 [C99-based-standards] (wcstoull): Likewise.
39940 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39941 macro-int-constant. Specify type.
39942 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
39943 constraint on value.
39944 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39946 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39948 [ISO C standards]: Do not allow headers.
39949 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39950 wcs[abcdefghijklmnopqrstuvwxyz]*.
39951 [ISO C standards] (*_t): Do not allow.
39952 * conform/data/wctype.h-data [C99-based standards] (iswblank):
39954 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39955 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39957 [ISO C standards]: Do not allow headers.
39958 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39959 is[abcdefghijklmnopqrstuvwxyz]*.
39960 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39961 to[abcdefghijklmnopqrstuvwxyz]*.
39962 [ISO C standards] (*_t): Do not allow.
39963 * conform/data/stdalign.h-data: New file.
39964 * conform/data/stdbool.h-data: Likewise.
39965 * conform/data/stdnoreturn.h-data: Likewise.
39967 2012-11-07 Roland McGrath <roland@hack.frob.com>
39970 * manual/filesys.texi (Directory Entries): Typo fix.
39971 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39973 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39975 * elf/elf.h (EM_AARCH64): New macro.
39976 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39977 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39978 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39979 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39980 (R_AARCH64_TLSDESC): Likewise.
39981 (NT_ARM_TLS): Likewise.
39982 (NT_ARM_HW_BREAK): Likewise.
39983 (NT_ARM_HW_WATCH): Likewise.
39985 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39988 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39989 (__ieee754_powl): Saturate nonzero exponents with absolute value
39990 below 0x1p-79 to +/- 0x1p-79.
39991 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39992 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39993 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39994 nonzero exponents with absolute value below 0x1p-32 to +/-
39996 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39997 (__ieee754_powl): Saturate nonzero exponents with absolute value
39998 below 0x1p-79 to +/- 0x1p-79.
39999 * math/libm-test.inc (pow_test): Add more tests.
40001 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40003 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40004 _dl_s390_cap_flags with kernel. Increase string length.
40005 (_dl_s390_platforms): Add z196 and zEC12.
40007 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40009 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40010 Change XOPEN21K to XOPEN2K.
40012 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40014 * string/memmove.c: Use memcpy when possible.
40016 2012-11-06 Andreas Jaeger <aj@suse.de>
40018 * po/eo.po: Update from translation team.
40020 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40024 exponent and small x and y exponents, scale x or y up. Increase
40025 by 2 the exponent used in scaling up.
40026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40028 * math/libm-test.inc (fma_test): Add more tests.
40029 (fma_test_towardzero): Likewise.
40030 (fma_test_downward): Likewise.
40031 (fma_test_upward): Likewise.
40033 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40036 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40040 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40041 namespace for names of struct fields.
40042 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40044 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40045 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40047 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40050 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40052 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40054 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40058 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40061 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40065 definitely overflow as x * y not x * y + z.
40066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40068 * math/libm-test.inc (fma_test): Add more tests.
40069 (fma_test_towardzero): Likewise.
40070 (fma_test_downward): Likewise.
40071 (fma_test_upward): Likewise.
40073 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40077 * include/stub-tag.h: Remove file.
40078 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40080 * manual/maint.texi (Porting): Don't reference it.
40081 * Makerules ($(objpfx)stubs): Likewise.
40082 * dirent/closedir.c: Don't include <stub-tag.h>.
40083 * dirent/dirfd.c: Likewise.
40084 * dirent/fdopendir.c: Likewise.
40085 * dirent/getdents.c: Likewise.
40086 * dirent/getdents64.c: Likewise.
40087 * dirent/opendir.c: Likewise.
40088 * dirent/readdir.c: Likewise.
40089 * dirent/readdir64.c: Likewise.
40090 * dirent/readdir64_r.c: Likewise.
40091 * dirent/readdir_r.c: Likewise.
40092 * dirent/rewinddir.c: Likewise.
40093 * dirent/seekdir.c: Likewise.
40094 * dirent/telldir.c: Likewise.
40095 * gmon/profil.c: Likewise.
40096 * grp/setgroups.c: Likewise.
40097 * inet/if_index.c: Likewise.
40098 * io/access.c: Likewise.
40099 * io/chdir.c: Likewise.
40100 * io/chmod.c: Likewise.
40101 * io/chown.c: Likewise.
40102 * io/close.c: Likewise.
40103 * io/dup.c: Likewise.
40104 * io/dup2.c: Likewise.
40105 * io/dup3.c: Likewise.
40106 * io/euidaccess.c: Likewise.
40107 * io/faccessat.c: Likewise.
40108 * io/fchdir.c: Likewise.
40109 * io/fchmod.c: Likewise.
40110 * io/fchmodat.c: Likewise.
40111 * io/fchown.c: Likewise.
40112 * io/fchownat.c: Likewise.
40113 * io/fcntl.c: Likewise.
40114 * io/flock.c: Likewise.
40115 * io/fstatfs.c: Likewise.
40116 * io/fstatfs64.c: Likewise.
40117 * io/fstatvfs.c: Likewise.
40118 * io/fstatvfs64.c: Likewise.
40119 * io/futimens.c: Likewise.
40120 * io/fxstat.c: Likewise.
40121 * io/fxstat64.c: Likewise.
40122 * io/fxstatat.c: Likewise.
40123 * io/fxstatat64.c: Likewise.
40124 * io/getcwd.c: Likewise.
40125 * io/isatty.c: Likewise.
40126 * io/lchmod.c: Likewise.
40127 * io/lchown.c: Likewise.
40128 * io/link.c: Likewise.
40129 * io/linkat.c: Likewise.
40130 * io/lseek.c: Likewise.
40131 * io/lseek64.c: Likewise.
40132 * io/lxstat64.c: Likewise.
40133 * io/mkdir.c: Likewise.
40134 * io/mkdirat.c: Likewise.
40135 * io/mkfifo.c: Likewise.
40136 * io/mkfifoat.c: Likewise.
40137 * io/open.c: Likewise.
40138 * io/open64.c: Likewise.
40139 * io/openat.c: Likewise.
40140 * io/openat64.c: Likewise.
40141 * io/pipe.c: Likewise.
40142 * io/pipe2.c: Likewise.
40143 * io/poll.c: Likewise.
40144 * io/posix_fadvise.c: Likewise.
40145 * io/posix_fadvise64.c: Likewise.
40146 * io/posix_fallocate.c: Likewise.
40147 * io/posix_fallocate64.c: Likewise.
40148 * io/read.c: Likewise.
40149 * io/readlink.c: Likewise.
40150 * io/readlinkat.c: Likewise.
40151 * io/rmdir.c: Likewise.
40152 * io/sendfile.c: Likewise.
40153 * io/sendfile64.c: Likewise.
40154 * io/statfs.c: Likewise.
40155 * io/statfs64.c: Likewise.
40156 * io/statvfs.c: Likewise.
40157 * io/statvfs64.c: Likewise.
40158 * io/symlink.c: Likewise.
40159 * io/symlinkat.c: Likewise.
40160 * io/ttyname.c: Likewise.
40161 * io/ttyname_r.c: Likewise.
40162 * io/umask.c: Likewise.
40163 * io/unlink.c: Likewise.
40164 * io/unlinkat.c: Likewise.
40165 * io/utime.c: Likewise.
40166 * io/utimensat.c: Likewise.
40167 * io/write.c: Likewise.
40168 * io/xmknod.c: Likewise.
40169 * io/xmknodat.c: Likewise.
40170 * io/xstat.c: Likewise.
40171 * io/xstat64.c: Likewise.
40172 * login/getpt.c: Likewise.
40173 * login/grantpt.c: Likewise.
40174 * login/unlockpt.c: Likewise.
40175 * math/e_acoshl.c: Likewise.
40176 * math/e_acosl.c: Likewise.
40177 * math/e_asinl.c: Likewise.
40178 * math/e_atan2l.c: Likewise.
40179 * math/e_atanhl.c: Likewise.
40180 * math/e_coshl.c: Likewise.
40181 * math/e_expl.c: Likewise.
40182 * math/e_fmodl.c: Likewise.
40183 * math/e_gammal_r.c: Likewise.
40184 * math/e_hypotl.c: Likewise.
40185 * math/e_j0l.c: Likewise.
40186 * math/e_j1l.c: Likewise.
40187 * math/e_jnl.c: Likewise.
40188 * math/e_lgammal_r.c: Likewise.
40189 * math/e_log10l.c: Likewise.
40190 * math/e_log2l.c: Likewise.
40191 * math/e_logl.c: Likewise.
40192 * math/e_powl.c: Likewise.
40193 * math/e_rem_pio2l.c: Likewise.
40194 * math/e_sinhl.c: Likewise.
40195 * math/e_sqrtl.c: Likewise.
40196 * math/fclrexcpt.c: Likewise.
40197 * math/fedisblxcpt.c: Likewise.
40198 * math/feenablxcpt.c: Likewise.
40199 * math/fegetenv.c: Likewise.
40200 * math/fegetexcept.c: Likewise.
40201 * math/fegetround.c: Likewise.
40202 * math/feholdexcpt.c: Likewise.
40203 * math/fesetenv.c: Likewise.
40204 * math/fesetround.c: Likewise.
40205 * math/feupdateenv.c: Likewise.
40206 * math/fgetexcptflg.c: Likewise.
40207 * math/fraiseexcpt.c: Likewise.
40208 * math/fsetexcptflg.c: Likewise.
40209 * math/ftestexcept.c: Likewise.
40210 * math/k_cosl.c: Likewise.
40211 * math/k_rem_pio2l.c: Likewise.
40212 * math/k_sinl.c: Likewise.
40213 * math/k_tanl.c: Likewise.
40214 * math/s_asinhl.c: Likewise.
40215 * math/s_atanl.c: Likewise.
40216 * math/s_cbrtl.c: Likewise.
40217 * math/s_erfl.c: Likewise.
40218 * math/s_expm1l.c: Likewise.
40219 * math/s_log1pl.c: Likewise.
40220 * math/s_tanhl.c: Likewise.
40221 * misc/acct.c: Likewise.
40222 * misc/brk.c: Likewise.
40223 * misc/chflags.c: Likewise.
40224 * misc/chroot.c: Likewise.
40225 * misc/fchflags.c: Likewise.
40226 * misc/fgetxattr.c: Likewise.
40227 * misc/flistxattr.c: Likewise.
40228 * misc/fremovexattr.c: Likewise.
40229 * misc/fsetxattr.c: Likewise.
40230 * misc/fsync.c: Likewise.
40231 * misc/ftruncate.c: Likewise.
40232 * misc/futimes.c: Likewise.
40233 * misc/futimesat.c: Likewise.
40234 * misc/getdomain.c: Likewise.
40235 * misc/getdtsz.c: Likewise.
40236 * misc/gethostid.c: Likewise.
40237 * misc/gethostname.c: Likewise.
40238 * misc/getloadavg.c: Likewise.
40239 * misc/getpagesize.c: Likewise.
40240 * misc/getsysstats.c: Likewise.
40241 * misc/getxattr.c: Likewise.
40242 * misc/gtty.c: Likewise.
40243 * misc/ioctl.c: Likewise.
40244 * misc/lgetxattr.c: Likewise.
40245 * misc/listxattr.c: Likewise.
40246 * misc/llistxattr.c: Likewise.
40247 * misc/lremovexattr.c: Likewise.
40248 * misc/lsetxattr.c: Likewise.
40249 * misc/lutimes.c: Likewise.
40250 * misc/madvise.c: Likewise.
40251 * misc/mincore.c: Likewise.
40252 * misc/mlock.c: Likewise.
40253 * misc/mlockall.c: Likewise.
40254 * misc/mmap.c: Likewise.
40255 * misc/mprotect.c: Likewise.
40256 * misc/msync.c: Likewise.
40257 * misc/munlock.c: Likewise.
40258 * misc/munlockall.c: Likewise.
40259 * misc/munmap.c: Likewise.
40260 * misc/preadv.c: Likewise.
40261 * misc/preadv64.c: Likewise.
40262 * misc/ptrace.c: Likewise.
40263 * misc/pwritev.c: Likewise.
40264 * misc/pwritev64.c: Likewise.
40265 * misc/readv.c: Likewise.
40266 * misc/reboot.c: Likewise.
40267 * misc/remap_file_pages.c: Likewise.
40268 * misc/removexattr.c: Likewise.
40269 * misc/revoke.c: Likewise.
40270 * misc/select.c: Likewise.
40271 * misc/setdomain.c: Likewise.
40272 * misc/setegid.c: Likewise.
40273 * misc/seteuid.c: Likewise.
40274 * misc/sethostid.c: Likewise.
40275 * misc/sethostname.c: Likewise.
40276 * misc/setregid.c: Likewise.
40277 * misc/setreuid.c: Likewise.
40278 * misc/setxattr.c: Likewise.
40279 * misc/sstk.c: Likewise.
40280 * misc/stty.c: Likewise.
40281 * misc/swapoff.c: Likewise.
40282 * misc/swapon.c: Likewise.
40283 * misc/sync.c: Likewise.
40284 * misc/syncfs.c: Likewise.
40285 * misc/syscall.c: Likewise.
40286 * misc/truncate.c: Likewise.
40287 * misc/ualarm.c: Likewise.
40288 * misc/usleep.c: Likewise.
40289 * misc/ustat.c: Likewise.
40290 * misc/utimes.c: Likewise.
40291 * misc/vhangup.c: Likewise.
40292 * misc/writev.c: Likewise.
40293 * posix/_exit.c: Likewise.
40294 * posix/alarm.c: Likewise.
40295 * posix/execve.c: Likewise.
40296 * posix/fexecve.c: Likewise.
40297 * posix/fork.c: Likewise.
40298 * posix/fpathconf.c: Likewise.
40299 * posix/getaddrinfo.c: Likewise.
40300 * posix/getegid.c: Likewise.
40301 * posix/geteuid.c: Likewise.
40302 * posix/getgid.c: Likewise.
40303 * posix/getgroups.c: Likewise.
40304 * posix/getlogin.c: Likewise.
40305 * posix/getlogin_r.c: Likewise.
40306 * posix/getpgid.c: Likewise.
40307 * posix/getpid.c: Likewise.
40308 * posix/getppid.c: Likewise.
40309 * posix/getresgid.c: Likewise.
40310 * posix/getresuid.c: Likewise.
40311 * posix/getsid.c: Likewise.
40312 * posix/getuid.c: Likewise.
40313 * posix/glob64.c: Likewise.
40314 * posix/nanosleep.c: Likewise.
40315 * posix/pathconf.c: Likewise.
40316 * posix/pause.c: Likewise.
40317 * posix/posix_madvise.c: Likewise.
40318 * posix/pread.c: Likewise.
40319 * posix/pread64.c: Likewise.
40320 * posix/pwrite.c: Likewise.
40321 * posix/pwrite64.c: Likewise.
40322 * posix/sched_getaffinity.c: Likewise.
40323 * posix/sched_getp.c: Likewise.
40324 * posix/sched_gets.c: Likewise.
40325 * posix/sched_primax.c: Likewise.
40326 * posix/sched_primin.c: Likewise.
40327 * posix/sched_rr_gi.c: Likewise.
40328 * posix/sched_setaffinity.c: Likewise.
40329 * posix/sched_setp.c: Likewise.
40330 * posix/sched_sets.c: Likewise.
40331 * posix/sched_yield.c: Likewise.
40332 * posix/setgid.c: Likewise.
40333 * posix/setlogin.c: Likewise.
40334 * posix/setpgid.c: Likewise.
40335 * posix/setresgid.c: Likewise.
40336 * posix/setresuid.c: Likewise.
40337 * posix/setsid.c: Likewise.
40338 * posix/setuid.c: Likewise.
40339 * posix/sleep.c: Likewise.
40340 * posix/spawni.c: Likewise.
40341 * posix/sysconf.c: Likewise.
40342 * posix/times.c: Likewise.
40343 * posix/wait.c: Likewise.
40344 * posix/wait3.c: Likewise.
40345 * posix/wait4.c: Likewise.
40346 * posix/waitpid.c: Likewise.
40347 * resolv/gai_sigqueue.c: Likewise.
40348 * resource/getpriority.c: Likewise.
40349 * resource/getrlimit.c: Likewise.
40350 * resource/getrusage.c: Likewise.
40351 * resource/nice.c: Likewise.
40352 * resource/setpriority.c: Likewise.
40353 * resource/setrlimit.c: Likewise.
40354 * resource/ulimit.c: Likewise.
40355 * rt/aio_cancel.c: Likewise.
40356 * rt/aio_fsync.c: Likewise.
40357 * rt/aio_read.c: Likewise.
40358 * rt/aio_sigqueue.c: Likewise.
40359 * rt/aio_suspend.c: Likewise.
40360 * rt/aio_write.c: Likewise.
40361 * rt/clock_getres.c: Likewise.
40362 * rt/clock_gettime.c: Likewise.
40363 * rt/clock_nanosleep.c: Likewise.
40364 * rt/clock_settime.c: Likewise.
40365 * rt/lio_listio.c: Likewise.
40366 * rt/mq_close.c: Likewise.
40367 * rt/mq_getattr.c: Likewise.
40368 * rt/mq_notify.c: Likewise.
40369 * rt/mq_open.c: Likewise.
40370 * rt/mq_receive.c: Likewise.
40371 * rt/mq_send.c: Likewise.
40372 * rt/mq_setattr.c: Likewise.
40373 * rt/mq_timedreceive.c: Likewise.
40374 * rt/mq_timedsend.c: Likewise.
40375 * rt/mq_unlink.c: Likewise.
40376 * rt/shm_open.c: Likewise.
40377 * rt/shm_unlink.c: Likewise.
40378 * rt/timer_create.c: Likewise.
40379 * rt/timer_delete.c: Likewise.
40380 * rt/timer_getoverr.c: Likewise.
40381 * rt/timer_gettime.c: Likewise.
40382 * rt/timer_settime.c: Likewise.
40383 * setjmp/__longjmp.c: Likewise.
40384 * setjmp/setjmp.c: Likewise.
40385 * signal/kill.c: Likewise.
40386 * signal/killpg.c: Likewise.
40387 * signal/raise.c: Likewise.
40388 * signal/sigaction.c: Likewise.
40389 * signal/sigaltstack.c: Likewise.
40390 * signal/sigblock.c: Likewise.
40391 * signal/sigignore.c: Likewise.
40392 * signal/sigintr.c: Likewise.
40393 * signal/signal.c: Likewise.
40394 * signal/sigpause.c: Likewise.
40395 * signal/sigpending.c: Likewise.
40396 * signal/sigqueue.c: Likewise.
40397 * signal/sigreturn.c: Likewise.
40398 * signal/sigset.c: Likewise.
40399 * signal/sigsetmask.c: Likewise.
40400 * signal/sigstack.c: Likewise.
40401 * signal/sigsuspend.c: Likewise.
40402 * signal/sigtimedwait.c: Likewise.
40403 * signal/sigvec.c: Likewise.
40404 * signal/sigwait.c: Likewise.
40405 * signal/sigwaitinfo.c: Likewise.
40406 * signal/sysv_signal.c: Likewise.
40407 * socket/accept.c: Likewise.
40408 * socket/accept4.c: Likewise.
40409 * socket/bind.c: Likewise.
40410 * socket/connect.c: Likewise.
40411 * socket/getpeername.c: Likewise.
40412 * socket/getsockname.c: Likewise.
40413 * socket/getsockopt.c: Likewise.
40414 * socket/isfdtype.c: Likewise.
40415 * socket/listen.c: Likewise.
40416 * socket/recv.c: Likewise.
40417 * socket/recvfrom.c: Likewise.
40418 * socket/recvmsg.c: Likewise.
40419 * socket/send.c: Likewise.
40420 * socket/sendmsg.c: Likewise.
40421 * socket/sendto.c: Likewise.
40422 * socket/setsockopt.c: Likewise.
40423 * socket/shutdown.c: Likewise.
40424 * socket/sockatmark.c: Likewise.
40425 * socket/socket.c: Likewise.
40426 * socket/socketpair.c: Likewise.
40427 * stdio-common/ctermid.c: Likewise.
40428 * stdio-common/cuserid.c: Likewise.
40429 * stdio-common/remove.c: Likewise.
40430 * stdio-common/rename.c: Likewise.
40431 * stdio-common/renameat.c: Likewise.
40432 * stdio-common/tempname.c: Likewise.
40433 * stdlib/getcontext.c: Likewise.
40434 * stdlib/makecontext.c: Likewise.
40435 * stdlib/setcontext.c: Likewise.
40436 * stdlib/swapcontext.c: Likewise.
40437 * stdlib/system.c: Likewise.
40438 * streams/fattach.c: Likewise.
40439 * streams/fdetach.c: Likewise.
40440 * streams/getmsg.c: Likewise.
40441 * streams/getpmsg.c: Likewise.
40442 * streams/putmsg.c: Likewise.
40443 * streams/putpmsg.c: Likewise.
40444 * sysdeps/unix/bsd/getpt.c: Likewise.
40445 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40446 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40447 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40450 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40451 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40452 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40453 * sysvipc/msgctl.c: Likewise.
40454 * sysvipc/msgget.c: Likewise.
40455 * sysvipc/msgrcv.c: Likewise.
40456 * sysvipc/msgsnd.c: Likewise.
40457 * sysvipc/semctl.c: Likewise.
40458 * sysvipc/semget.c: Likewise.
40459 * sysvipc/semop.c: Likewise.
40460 * sysvipc/semtimedop.c: Likewise.
40461 * sysvipc/shmat.c: Likewise.
40462 * sysvipc/shmctl.c: Likewise.
40463 * sysvipc/shmdt.c: Likewise.
40464 * sysvipc/shmget.c: Likewise.
40465 * termios/tcdrain.c: Likewise.
40466 * termios/tcflow.c: Likewise.
40467 * termios/tcflush.c: Likewise.
40468 * termios/tcgetattr.c: Likewise.
40469 * termios/tcgetpgrp.c: Likewise.
40470 * termios/tcsendbrk.c: Likewise.
40471 * termios/tcsetattr.c: Likewise.
40472 * termios/tcsetpgrp.c: Likewise.
40473 * time/adjtime.c: Likewise.
40474 * time/clock.c: Likewise.
40475 * time/getitimer.c: Likewise.
40476 * time/gettimeofday.c: Likewise.
40477 * time/setitimer.c: Likewise.
40478 * time/settimeofday.c: Likewise.
40479 * time/stime.c: Likewise.
40480 * time/time.c: Likewise.
40482 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40484 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40487 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40489 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40491 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40495 FE_TONEAREST before applying Dekker multiplication and Knuth
40496 addition. Clear inexact exceptions and check for exact zero
40497 results afterwards.
40498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40499 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40501 * math/libm-test.inc (fma_test): Add more tests.
40502 (fma_test_towardzero): Likewise.
40503 (fma_test_downward): Likewise.
40504 (fma_test_upward): Likewise.
40505 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40507 (libc_fesetround): New macro.
40508 (libc_fesetroundf): Likewise.
40509 (libc_fesetroundl): Likewise.
40510 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40512 (libc_fesetround_387): Likewise.
40513 (libc_fesetroundf): New macro.
40514 (libc_fesetround): Likewise.
40515 (libc_fesetroundl): Likewise.
40516 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40518 (libc_fesetroundf): New macro.
40519 (libc_fesetround): Likewise.
40520 (libc_fesetroundl): Likewise.
40521 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40522 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40523 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40525 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40526 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40528 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40529 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40531 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40535 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40536 integer constant usable in #if and use that to give value to enum
40538 (FE_DIVBYZERO): Likewise.
40539 (FE_UNDERFLOW): Likewise.
40540 (FE_OVERFLOW): Likewise.
40541 (FE_INVALID): Likewise.
40542 (FE_INVALID_SNAN): Likewise.
40543 (FE_INVALID_ISI): Likewise.
40544 (FE_INVALID_IDI): Likewise.
40545 (FE_INVALID_ZDZ): Likewise.
40546 (FE_INVALID_IMZ): Likewise.
40547 (FE_INVALID_COMPARE): Likewise.
40548 (FE_INVALID_SOFTWARE): Likewise.
40549 (FE_INVALID_SQRT): Likewise.
40550 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40551 (FE_TONEAREST): Likewise.
40552 (FE_TOWARDZERO): Likewise.
40553 (FE_UPWARD): Likewise.
40554 (FE_DOWNWARD): Likewise.
40555 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40556 (FE_DIVBYZERO): Likewise.
40557 (FE_OVERFLOW): Likewise.
40558 (FE_UNDERFLOW): Likewise.
40559 (FE_INEXACT): Likewise.
40560 (FE_TONEAREST): Likewise.
40561 (FE_DOWNWARD): Likewise.
40562 (FE_UPWARD): Likewise.
40563 (FE_TOWARDZERO): Likewise.
40564 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40565 (FE_UNDERFLOW): Likewise.
40566 (FE_OVERFLOW): Likewise.
40567 (FE_DIVBYZERO): Likewise.
40568 (FE_INVALID): Likewise.
40569 (FE_TONEAREST): Likewise.
40570 (FE_TOWARDZERO): Likewise.
40571 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40572 (FE_OVERFLOW): Likewise.
40573 (FE_UNDERFLOW): Likewise.
40574 (FE_DIVBYZERO): Likewise.
40575 (FE_INEXACT): Likewise.
40576 (FE_TONEAREST): Likewise.
40577 (FE_TOWARDZERO): Likewise.
40578 (FE_UPWARD): Likewise.
40579 (FE_DOWNWARD): Likewise.
40580 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40581 (FE_DIVBYZERO): Likewise.
40582 (FE_OVERFLOW): Likewise.
40583 (FE_UNDERFLOW): Likewise.
40584 (FE_INEXACT): Likewise.
40585 (FE_TONEAREST): Likewise.
40586 (FE_DOWNWARD): Likewise.
40587 (FE_UPWARD): Likewise.
40588 (FE_TOWARDZERO): Likewise.
40590 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40592 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40594 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40596 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40597 commands. Quote $PWD.
40598 (blacklist_exports): Don't use remove_newlines. Replace "declare
40600 (remove_newlines): Remove.
40602 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40604 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40605 * stdlib/stdlib.h (atof): Moved to ...
40606 * include/bits/stdlib-float.h: Here. New file.
40607 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40608 * stdlib/bits/stdlib-float.h: New file.
40609 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40611 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40614 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40616 * conform/conformtest.pl (@headers): Add fenv.h.
40617 * conform/data/fenv.h-data: New file.
40618 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40619 include of <math/fenv.h>.
40621 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40622 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40623 && !UNIX98]. Enables tests for XOPEN2K8.
40624 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40625 POSIX2008]: Likewise.
40627 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40628 (struct rusage): Do not expect type or its members.
40631 * math/math.h (FP_NAN): Define macro to integer constant usable in
40632 #if and use that to give value to enum constant.
40633 (FP_INFINITE): Likewise.
40634 (FP_ZERO): Likewise.
40635 (FP_SUBNORMAL): Likewise.
40636 (FP_NORMAL): Likewise.
40638 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40640 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40641 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40644 2012-11-02 Roland McGrath <roland@hack.frob.com>
40646 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40647 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40648 autoconf-time if not.
40649 * configure.in: Remove AC_PREREQ.
40651 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40653 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40654 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40655 of the internal implementation.
40657 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40659 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40660 except include of <misc/sys/syslog.h>.
40662 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40665 function returns with a NULL context exit with zero.
40667 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40669 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40671 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40673 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40674 (run_program_cmd): This.
40675 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40676 (tst_langinfo): New variable. Use it.
40678 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40680 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40681 floating point opcodes.
40683 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40685 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40688 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40690 * sysdeps/mach/hurd/powerpc: Remove directory.
40691 * sysdeps/mach/powerpc: Likewise.
40693 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40695 * scripts/check-local-headers.sh: Ignore c++ headers.
40697 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40699 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40700 __libc_cleanup_region_start argument.
40702 2012-11-01 Joseph Myers <joseph@codesourcery.com>
40706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40707 x * y using scaling, not as x * y + z.
40708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40710 * math/libm-test.inc (fma_test): Add more tests.
40711 (fma_test_towardzero): Likewise.
40712 (fma_test_downward): Likewise.
40713 (fma_test_upward): Likewise.
40715 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40717 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40719 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40721 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40724 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40726 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40728 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40735 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40738 Fix the order of the list for glibc 2.17.
40739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40742 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40746 2012-10-31 Joseph Myers <joseph@codesourcery.com>
40749 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40750 for low part of x being zero before using __atanl (y).
40751 * math/libm-test.inc (atan2_test): Add another test.
40753 * manual/install.texi (Configuring and compiling): Document
40754 general use of test-wrapper and test-wrapper-env.
40755 * INSTALL: Regenerated.
40757 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40758 (__fma): Do not extract and scale down low bits on after-rounding
40759 systems when result rounded to normal precision would have normal
40761 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40762 (__fmal): Do not extract and scale down low bits on after-rounding
40763 systems when result rounded to normal precision would have normal
40765 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40766 (__fmal): Do not extract and scale down low bits on after-rounding
40767 systems when result rounded to normal precision would have normal
40769 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40771 (fma_test): Add more tests.
40772 (fma_test_towardzero): Likewise.
40773 (fma_test_downward): Likewise.
40774 (fma_test_upward): Likewise.
40776 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
40778 * sysdeps/i386/tininess.h: Renamed to ...
40779 * sysdeps/x86/tininess.h: This.
40780 * sysdeps/x86_64/tininess.h: Removed.
40782 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40784 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40785 input. Use $(build-program-cmd).
40786 ($(objpfx)tst-array1-static.out): Likewise.
40787 ($(objpfx)tst-array2.out): Likewise.
40788 ($(objpfx)tst-array3.out): Likewise.
40789 ($(objpfx)tst-array4.out): Likewise.
40790 ($(objpfx)tst-array5.out): Likewise.
40791 ($(objpfx)tst-array5-static.out): Likewise.
40793 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
40795 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40798 * nss/nsswitch.h (nss_interface_function): Provide new
40799 macro for use with NSS functions.
40800 * grp/initgroups.c: Use new macro.
40801 * nss/getXXbyYY.c: Likewise.
40802 * nss/getXXbyYY_r.c: Likewise.
40803 * nss/getXXent.c: Likewise.
40804 * nss/getXXent_r.c: Likewise.
40805 * sysdeps/posix/getaddrinfo.c: Likewise.
40807 2012-10-30 Andreas Jaeger <aj@suse.de>
40809 * po/ru.po: Update Russion translation from translation project.
40811 2012-10-30 Joseph Myers <joseph@codesourcery.com>
40815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40816 result and shift together with sticky bit instead of replicating
40817 round-to-nearest rounding.
40818 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40820 * math/libm-test.inc (fma_test): Add more tests. Do not permit
40821 missing underflow exceptions.
40822 (fma_test_towardzero): Add more tests.
40823 (fma_test_downward): Likewise.
40824 (fma_test_upward): Likewise.
40827 * sysdeps/generic/tininess.h: New file.
40828 * sysdeps/i386/tininess.h: Likewise.
40829 * sysdeps/sh/tininess.h: Likewise.
40830 * sysdeps/x86_64/tininess.h: Likewise.
40831 * stdlib/tst-strtod-underflow.c: Likewise.
40832 * stdlib/tst-tininess.c: Likewise.
40833 * stdlib/strtod_l.c: Include <tininess.h>.
40834 (round_and_return): Do not set errno for exact underflow cases.
40835 Force an underflow exception when setting errno for underflow.
40836 Determine underflow based on rounding to normal precision if
40837 TININESS_AFTER_ROUNDING.
40838 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40839 ERANGE for exact underflow cases.
40840 * stdlib/Makefile (tests): Add tst-tininess and
40841 tst-strtod-underflow.
40842 ($(objpfx)tst-tininess): Use $(link-libm).
40843 ($(objpfx)tst-strtod-underflow): Likewise.
40845 2012-10-30 Andreas Jaeger <aj@suse.de>
40848 * elf/Makefile (tests): Remove conditional for have-initfini-array
40849 since this is now always required and the variable does not exist
40851 (tests-static): Likewise.
40852 (modules-names): Likewise.
40854 * po/eo.po: Add Esperanto translation from translation project.
40856 * elf/tst-array1.c (fini_array): Make writeable so that it can be
40857 merged with constructor/destructor.
40858 (init_array): Likewise.
40859 * elf/tst-array2dep.c (fini_array): Likewise.
40860 (init_array): Likewise.
40862 2012-10-29 Mike Frysinger <vapier@gentoo.org>
40864 * manual/message.texi: Delete @cartouche tags.
40866 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
40868 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40870 * sysdeps/mach/hurd/fsync.c: Likewise.
40872 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40873 [_POSIX_REALTIME_SIGNALS]: Change condition to
40874 [_POSIX_REALTIME_SIGNALS > 0].
40876 2012-10-27 Andreas Jaeger <aj@suse.de>
40878 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40879 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40881 [__WORDSIZE != 64]: Likewise.
40883 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
40885 * iconvdata/tst-table.sh: Remove ${SHELL}.
40886 * iconvdata/tst-tables.sh: Likewise.
40888 2012-10-25 David S. Miller <davem@davemloft.net>
40890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40891 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40894 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40896 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40897 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40898 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40901 2012-10-25 Roland McGrath <roland@hack.frob.com>
40903 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40904 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40907 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40908 Jim Blandy <jimb@codesourcery.com>
40910 * scripts/cross-test-ssh.sh: New file.
40911 * manual/install.texi (Configuring and compiling): Document use of
40913 * INSTALL: Regenerated.
40915 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
40917 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40920 2012-10-25 Joseph Myers <joseph@codesourcery.com>
40922 * Makeconfig (run-program-prefix): Fix comment.
40924 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40925 Jim Blandy <jimb@codesourcery.com>
40927 * Makeconfig (test-wrapper): New variable,
40928 (test-wrapper-env): Likewise.
40929 [$(cross-compiling) = yes && $(test-wrapper) != ""]
40930 (run-built-tests): Define to yes.
40931 (run-program-prefix): Use $(test-wrapper).
40932 (built-program-cmd): Likewise.
40933 * Rules (make-test-out): Use $(test-wrapper-env) and
40934 $(host-built-program-cmd).
40935 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40936 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40938 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40939 $(test-wrapper-env) to tst-rtld-load-self.sh.
40940 ($(objpfx)order2.out): Use $(test-wrapper).
40941 ($(objpfx)tst-initorder.out): Likewise.
40942 ($(objpfx)tst-initorder2.out): Likewise.
40943 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40944 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40945 (test_wrapper_env): New variable. Use it to run ld.so.
40946 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40947 Use it to run ld.so.
40948 (test_wrapper_env): Likewise.
40949 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40950 $(test-wrapper) to run-iconv-test.sh.
40951 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40952 (ICONV): Use $test_wrapper.
40953 * posix/Makefile ($(objpfx)globtest.out): Pass
40954 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40955 globtest.sh, not $(run-program-prefix).
40956 * posix/globtest.sh (run_via_rtld_prefix): New variable.
40957 (test_wrapper): Likewise.
40958 (test_wrapper_env): Likewise. Use it to run globtest with HOME
40959 set together with run_via_rtld_prefix.
40960 (run_program_prefix): Define in terms of test_wrapper and
40961 run_via_rtld_prefix.
40963 2012-10-24 Roland McGrath <roland@hack.frob.com>
40965 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40966 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40970 * include/time.h: Remove librt_hidden_proto (clock_gettime).
40971 Declare __clock_getres, __clock_gettime, __clock_settime,
40972 __clock_nanosleep, and __clock_getcpuclockid.
40973 * rt/clock_gettime.c: Define __clock_gettime as an alias.
40974 Remove librt_hidden_def (clock_gettime).
40975 * sysdeps/unix/clock_gettime.c: Likewise.
40976 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40977 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40978 * rt/clock_getres.c: Define __clock_getres as an alias.
40979 * sysdeps/posix/clock_getres.c: Likewise.
40980 * rt/clock_settime.c: Define __clock_settime as an alias.
40981 * sysdeps/unix/clock_settime.c: Likewise.
40982 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40983 * sysdeps/unix/clock_nanosleep.c: Likewise.
40984 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40985 * rt/clock-compat.c: New file.
40986 * rt/Makefile (librt-routines): Add clock-compat and move
40987 $(clock-routines) to ...
40988 (routines): ... here, new variable.
40989 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40990 Don't add get_clockfreq here.
40991 * rt/Versions (libc: GLIBC_2.17): New version set.
40992 Add clock_* symbols here.
40993 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
40994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40995 (GLIBC_2.17): Add clock_* symbols.
40996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41007 * NEWS: Mention the move.
41009 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41010 Use __open, __read, __close rather than their public counterparts.
41011 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41012 (__get_clockfreq_via_cpuinfo): Likewise.
41013 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41014 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41016 * config.h.in (HAVE_IFUNC): New #undef.
41017 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41019 * configure: Regenerated.
41021 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41023 * configure.in: Move READELF check to start of file.
41024 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41025 libc_cv_asm_gnu_indirect_function in the process.
41026 * configure: Regenerated.
41028 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41030 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41031 send the output to /dev/null.
41032 (libc_cv_cc_with_libunwind): Likewise.
41033 (libc_cv_as_noexecstack): Likewise.
41034 * configure: Regenerate.
41036 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41038 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41040 * posix/globtest.sh (TMPDIR): Do not set.
41041 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41042 (testout): Likewise.
41044 2012-10-24 Andreas Jaeger <aj@suse.de>
41046 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41047 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41048 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41049 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41050 posix_fadvise64, posix_fallocate64.
41052 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41053 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41054 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41056 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41058 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41061 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41062 <bits/fcntl-linux.h>.
41063 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41066 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41067 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41068 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41069 [__WORDSIZE != 64]: Likewise.
41071 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41073 * Makeconfig (run-built-tests): New variable.
41074 * Rules [$(cross-compiling) = yes]: Change condition to
41075 [$(run-built-tests) = no].
41076 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41077 to [$(run-built-tests) = yes].
41078 * elf/Makefile [$(cross-compiling) = no]: Likewise
41079 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41080 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41081 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41082 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41083 * io/Makefile [$(cross-compiling) = no]: Likewise.
41084 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41085 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41086 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41087 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41088 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41089 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41090 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41091 * string/Makefile [$(cross-compiling) = no]: Likewise.
41093 * posix/Makefile ($(objpfx)globtest.out): Pass
41094 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41095 $(rtld-installed-name).
41096 * posix/globtest.sh (elf_objpfx): Remove variable.
41097 (rtld_installed_name): Likewise.
41098 (library_path): Likewise.
41099 (run_program_prefix): New variable. Use for running globtest
41102 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41103 Joseph Myers <joseph@codesourcery.com>
41105 * Makeconfig (host-built-program-cmd): New variable.
41106 * elf/Makefile (tst-stackguard1-ARGS): Use
41107 $(host-built-program-cmd).
41108 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41109 (tst-spawn-ARGS): Likewise.
41110 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41112 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41113 Jim Blandy <jimb@codesourcery.com>
41115 * Makeconfig (run-via-rtld-prefix): New variable.
41116 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41117 (built-program-cmd): Likewise.
41119 2012-10-22 Andreas Jaeger <aj@suse.de>
41121 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41122 __O_RSYNC if it exists, otherwise to O_SYNC.
41124 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41125 Joseph Myers <joseph@codesourcery.com>
41127 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41129 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41131 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41134 2012-10-22 Andreas Jaeger <aj@suse.de>
41136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41138 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41141 bits/fcntl-linux.h.
41143 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41144 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41151 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41152 Joseph Myers <joseph@codesourcery.com>
41154 * config.make.in (NM): New variable.
41156 2012-10-21 Andreas Jaeger <aj@suse.de>
41158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41159 definitions and declarations that are provided by
41160 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41162 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41165 * elf/Makefile (tests-static): Add tst-leaks1-static.
41166 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41167 ($(objpfx)tst-leaks1-static): New rule.
41168 ($(objpfx)tst-leaks1-static-mem): Likewise.
41169 (tst-leaks1-static-ENV): New macro.
41170 * elf/dl-open.c (dl_open_worker): Check the main application
41171 only if SHARED is defined.
41172 * elf/tst-leaks1-static.c: New file.
41174 2012-10-20 Andreas Jaeger <aj@suse.de>
41176 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41177 generic values for Linux.
41178 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41179 and declarations that are provided by <bits/fcntl-linux.h> and
41180 include <bits/fcntl-linux.h>.
41181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41184 2012-10-20 Roland McGrath <roland@hack.frob.com>
41186 * io/fcntl.h: Move include of <bits/types.h> to the top and
41187 include it unconditionally.
41189 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41191 * wcsmbs/Makefile (tests-ifunc): New variable.
41192 (tests): Add $(tests-ifunc).
41193 * wcsmbs/test-wcschr-ifunc.c: New file.
41194 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41195 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41196 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41197 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41198 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41200 * string/Makefile (tests-ifunc): New variable.
41201 (tests): Add $(tests-ifunc).
41202 * string/test-memccpy.c (TEST_NAME): New macro.
41203 * string/test-memchr.c (TEST_NAME): Likewise.
41204 * string/test-memcmp.c (TEST_NAME): Likewise.
41205 * string/test-memcpy.c (TEST_NAME): Likewise.
41206 * string/test-memmem.c (TEST_NAME): Likewise.
41207 * string/test-memmove.c (TEST_NAME): Likewise.
41208 * string/test-memset.c (TEST_NAME): Likewise.
41209 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41210 * string/test-stpcpy.c (TEST_NAME): Likewise.
41211 * string/test-stpncpy.c (TEST_NAME): Likewise.
41212 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41213 * string/test-strcasestr.c (TEST_NAME): Likewise.
41214 * string/test-strcat.c (TEST_NAME): Likewise.
41215 * string/test-strchr.c (TEST_NAME): Likewise.
41216 * string/test-strcmp.c(TEST_NAME): Likewise.
41217 * string/test-strcpy.c (TEST_NAME): Likewise.
41218 * string/test-strcspn.c (TEST_NAME): Likewise.
41219 * string/test-strlen.c (TEST_NAME): Likewise.
41220 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41221 * string/test-strncmp.c (TEST_NAME): Likewise.
41222 * string/test-strncpy.c (TEST_NAME): Likewise.
41223 * string/test-strnlen.c (TEST_NAME): Likewise.
41224 * string/test-strpbrk.c (TEST_NAME): Likewise.
41225 * string/test-strrchr.c (TEST_NAME): Likewise.
41226 * string/test-strspn.c (TEST_NAME): Likewise.
41227 * string/test-strstr.c (TEST_NAME): Likewise.
41228 * string/test-bcopy-ifunc.c: New file.
41229 * string/test-bzero-ifunc.c: Likewise.
41230 * string/test-memccpy-ifunc.c: Likewise.
41231 * string/test-memchr-ifunc.c: Likewise.
41232 * string/test-memcmp-ifunc.c: Likewise.
41233 * string/test-memcpy-ifunc.c: Likewise.
41234 * string/test-memmem-ifunc.c: Likewise.
41235 * string/test-memmove-ifunc.c: Likewise.
41236 * string/test-mempcpy-ifunc.c: Likewise.
41237 * string/test-memset-ifunc.c: Likewise.
41238 * string/test-rawmemchr-ifunc.c: Likewise.
41239 * string/test-stpcpy-ifunc.c: Likewise.
41240 * string/test-stpncpy-ifunc.c: Likewise.
41241 * string/test-strcasecmp-ifunc.c: Likewise.
41242 * string/test-strcasestr-ifunc.c: Likewise.
41243 * string/test-strcat-ifunc.c: Likewise.
41244 * string/test-strchr-ifunc.c: Likewise.
41245 * string/test-strchrnul-ifunc.c: Likewise.
41246 * string/test-strcmp-ifunc.c: Likewise.
41247 * string/test-strcpy-ifunc.c: Likewise.
41248 * string/test-strcspn-ifunc.c: Likewise.
41249 * string/test-strlen-ifunc.c: Likewise.
41250 * string/test-strncasecmp-ifunc.c: Likewise.
41251 * string/test-strncat-ifunc.c: Likewise.
41252 * string/test-strncmp-ifunc.c: Likewise.
41253 * string/test-strncpy-ifunc.c: Likewise.
41254 * string/test-strnlen-ifunc.c: Likewise.
41255 * string/test-strpbrk-ifunc.c: Likewise.
41256 * string/test-strrchr-ifunc.c: Likewise.
41257 * string/test-strspn-ifunc.c: Likewise.
41258 * string/test-strstr-ifunc.c: Likewise.
41260 * debug/Makefile (tests-ifunc): New variable.
41261 (tests): Add $(tests-ifunc).
41262 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41263 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41264 * debug/test-stpcpy_chk-ifunc.c: New file.
41265 * debug/test-strcpy_chk-ifunc.c: Likewise.
41267 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41270 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41271 header is not read in.
41273 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41275 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41276 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41277 directly. Pass built executable to script as
41278 $(built-program-cmd).
41279 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41280 $testprogram without using LD_LIBRARY_PATH and $ldso.
41282 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41283 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41284 $(rtld-installed-name).
41285 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41286 (rtld_installed_name): Likewise.
41287 (library_path): Likewise.
41288 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41289 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41290 $(run-program-prefix) to tst-tables.sh.
41291 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41292 it to run tst-table-from and tst-table-to.
41293 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41294 Pass it to tst-table.sh.
41295 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41296 $(run-program-prefix) to tst-gettext.sh.
41297 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41299 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41301 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41302 to run tst-gettext.
41303 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41304 to run tst-gettext2.
41305 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41306 to run tst-translit.
41307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41308 $(run-program-prefix) to tst-mtrace.sh.
41309 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41311 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41312 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41313 $(rtld-installed-name).
41314 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41315 (rtld_installed_name): Likewise.
41316 (run_program_prefix): New variable. Use it to run wordexp-test.
41318 * Makeconfig (ARCH): Remove all definitions.
41319 (machine): Likewise.
41320 [ARCH]: Remove conditional code.
41321 [!objdir]: Give error.
41322 [!objdir] (objpfx): Remove.
41323 [!objdir] (common-objpfx): Likewise.
41324 [!objdir] (common-objdir): Likewise.
41325 * configure.in (config_makefile): Remove. Hardcode Makefile in
41326 AC_CONFIG_FILES call.
41327 * configure: Regenerated.
41330 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41332 (testout): Likewise.
41334 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41335 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41336 $(rtld-installed-name).
41337 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41338 (rtld_installed_name): Likwise.
41339 (runit): Remove function.
41340 (run_getconf): New variable, Use it for running getconf binary.
41342 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41345 * string/test-memmem.c (check_result): New function.
41346 (do_one_test): Use it.
41347 (check1): New function.
41348 (test_main): Use it.
41350 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41352 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41354 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41356 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41357 (_G_LSEEK64): Likewise.
41358 (_G_MMAP64): Likewise.
41359 (_G_FSTAT64): Likewise.
41360 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41361 (_G_LSEEK64): Likewise.
41362 (_G_MMAP64): Likewise.
41363 (_G_FSTAT64): Likewise.
41364 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41365 unconditional. Call __mmap64 directly.
41366 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41367 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41368 __lseek64 directly.
41369 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41370 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41372 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41373 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41374 __lseek64 directly.
41375 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41376 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41377 __lseek64 directly.
41378 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41379 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41380 __lseek64 directly.
41381 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41382 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41383 __fxstat64 directly.
41384 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41385 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41387 (freopen64) [!_G_OPEN64]: Remove conditional code.
41388 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41390 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41391 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41393 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41394 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41396 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41397 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41399 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41400 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41402 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41403 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41405 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41406 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41408 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41410 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41413 * manual/memory.texi (Malloc Tunable Parameters): Add note
41414 about free list pointers overwriting some perturb bytes.
41415 Wording suggested by Roland McGrath.
41417 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41419 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41420 (lgamma_test): Likewise.
41421 (tgamma_test): Likewise.
41423 2012-10-16 Florian Weimer <fweimer@redhat.com>
41426 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41427 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41429 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41431 * NEWS: Mention BZ #14716.
41432 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41433 when removing AVAILABLE1_USES_J macro.
41435 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41437 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41438 (__bswap_64): __uint64_t for unsigned 64-bit int.
41440 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41442 * include/string.h (memmem): Declare libc hidden alias.
41443 * string/memmem.c (memmem): Define libc hidden alias.
41444 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41445 __read, __close instead of open, read, close.
41447 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41450 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41452 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41453 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41454 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41456 (__rawmemchr_sse2): Likewise.
41457 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41458 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41459 (__strchr_sse2): Likewise.
41460 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41461 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41462 (__strcasecmp_sse2): Likewise.
41463 (__strncasecmp_sse2): Likewise.
41464 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41465 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41466 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41467 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41468 (__strrchr_sse2): Likewise.
41469 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41471 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41472 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41473 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41474 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41475 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41476 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41477 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41478 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41479 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41480 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41481 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41482 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41483 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41484 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41485 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41486 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41487 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41488 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41489 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41490 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41491 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41492 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41493 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41494 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41495 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41496 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41497 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41498 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41499 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41500 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41502 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41504 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41505 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41506 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41507 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41509 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41511 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41512 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41513 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41514 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41517 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41526 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41527 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41528 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41529 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41530 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41532 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41533 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41534 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41535 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41536 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41537 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41538 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41539 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41541 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41542 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41543 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41544 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41545 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41546 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41547 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41548 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41549 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41550 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41551 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41552 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41553 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41554 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41555 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41556 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41558 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41559 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41560 * include/ifunc-impl-list.h: New file.
41561 * misc/ifunc-impl-list.c: Likewise.
41562 * misc/Makefile (routines): Add ifunc-impl-list.
41563 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41564 * string/test-string.h: Include <ifunc-impl-list.h>.
41565 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41566 TEST_NAME]: New variables.
41567 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41569 (test_init): Call __libc_ifunc_impl_list to initialize
41570 func_list if TEST_IFUNC and TEST_NAME are defined.
41572 * string/Makefile (strop-tests): Add bcopy and bzero.
41573 * string/test-bcopy.c: New file.
41574 * string/test-bzero.c: Likewise.
41575 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41577 * string/test-memset.c: Support bzero test if TEST_BZERO is
41579 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41581 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41583 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41586 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41588 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41589 * configure: Regenerated.
41591 * Makeconfig (+link-static-before-libc): Don't include
41592 $(link-static-libc).
41594 * libio/libio.h (_IO_pos_t): Remove.
41596 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41598 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41601 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41603 * crypt/crypt-entry.c: Include fips-private.h.
41604 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41605 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41606 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41607 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41609 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41611 * crypt/crypt-private.h: Include stdbool.h.
41612 (_ufc_setup_salt_r): Return bool.
41613 * crypt/crypt-entry.c: Include errno.h.
41614 (__crypt_r): Return NULL with EINVAL for bad salt.
41615 * crypt/crypt_util.c (bad_for_salt): New.
41616 (_ufc_setup_salt_r): Check that salt is long enough and within
41617 the specified alphabet.
41618 * crypt/badsalttest.c: New file.
41619 * crypt/Makefile (tests): Add it.
41620 ($(objpfx)badsalttest): New.
41622 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41624 * NEWS: Add entry for BZ #14602.
41626 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41628 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41630 * math/libm-test.inc: Update comment listing what functions and
41632 (isgreater_test): New function.
41633 (isgreaterequal_test): Likewise.
41634 (isless_test): Likewise.
41635 (islessequal_test): Likewise.
41636 (islessgreater_test): Likewise.
41637 (isunordered_test): Likewise.
41638 (main): Call the new functions.
41640 2012-10-09 Roland McGrath <roland@hack.frob.com>
41642 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41643 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41644 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41645 * sysdeps/i386/configure: Regenerated.
41646 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41647 * sysdeps/mach/configure: Regenerated.
41648 * sysdeps/mach/hurd/configure: Regenerated.
41649 * sysdeps/powerpc/configure: Regenerated.
41650 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41651 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41652 * sysdeps/s390/s390-32/configure: Regenerated.
41653 * sysdeps/s390/s390-64/configure: Regenerated.
41654 * sysdeps/sh/configure: Regenerated.
41655 * sysdeps/sparc/configure: Regenerated.
41656 * sysdeps/unix/sysv/linux/configure: Regenerated.
41657 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41658 * sysdeps/x86_64/configure: Regenerated.
41660 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41661 defined. Don't check if MAP is NULL.
41663 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41665 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41666 (_G_stat64): Likewise.
41667 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41668 (_G_stat64): Likewise.
41669 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41670 instead of struct _G_stat64.
41671 * libio/fileops.c (mmap_remap_check): Likewise.
41672 (decide_maybe_mmap): Likewise.
41673 (_IO_new_file_seekoff): Likewise.
41674 (_IO_file_stat): Likewise.
41675 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41677 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41678 instead of struct _G_stat64.
41679 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41681 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41684 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41686 (CHECK_EOL): New macro.
41687 (two_way_short_needle): Check beginning of haystack for EOL. Use
41689 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41690 Replace with CHECK_EOL.
41691 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41692 Replace with CHECK_EOL.
41694 2012-10-08 Joseph Myers <joseph@codesourcery.com>
41696 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41698 * math/libm-test.inc: Update comment listing what functions and
41700 (finite_test): New function.
41701 (isinf_test): Likewise.
41702 (isnan_test): Likewise.
41703 (fpclassify_test): Test subnormal input.
41704 (isfinite_test): Likewise.
41705 (isnormal_test): Likewise.
41706 (main): Call the new functions.
41708 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41711 * Makerules (%.dynsym): Force C locale when running
41712 $(OBJDUMP) --dynamic-syms.
41714 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41716 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41719 2012-10-06 David S. Miller <davem@davemloft.net>
41721 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41722 upper 32-bits of the length value in %o2 since we use branch-on-register
41723 tests which consider the entire 64-bit register.
41725 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41727 * string/test-strstr.c (check2): Add a test for page boundary.
41729 2012-10-05 David S. Miller <davem@davemloft.net>
41731 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41732 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41734 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41736 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41737 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41738 and bzero when HWCAP_SPARC_CRYPTO is present.
41740 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41743 * string/test-strstr.c (check2): New function.
41744 (test_main): Call check2.
41746 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41748 * string/bug-strcasestr1.c (do_test): Moved to ...
41749 * string/test-strcasestr.c (check1): Here. New function.
41750 (do_one_test): Break out result checking code into ...
41751 (check_result): This. New function.
41752 (do_one_test): Call check_result.
41753 (test_main): Call check1.
41754 * string/bug-strchr1.c (do_test): Moved to ...
41755 * string/test-strchr.c (check1): Here. New function.
41756 (do_one_test): Break out result checking code into ...
41757 (check_result): This. New function.
41758 (do_one_test): Call check_result.
41759 (test_main): Call check1.
41760 * string/bug-strstr1.c (main): Moved to ...
41761 * string/test-strstr.c (check1): Here. New function.
41762 (do_one_test): Break out result checking code into ...
41763 (check_result): This. New function.
41764 (do_one_test): Call check_result.
41765 (test_main): Call check1.
41766 * string/bug-strcasestr1.c: Removed.
41767 * string/bug-strchr1.c: Likewise.
41768 * string/bug-strstr1.c: Likewise.
41770 * elf/Makefile (dl-routines): Add hwcaps.
41771 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41772 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41773 (_dl_important_hwcaps): Moved to ...
41774 * elf/dl-hwcaps.c: Here. New file.
41775 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41778 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41779 if IS_IN_rtld isn't defined.
41781 * elf/dl-support.c (_dl_sysinfo_map): New.
41782 Include "get-dynamic-info.h" and "setup-vdso.h".
41783 (_dl_non_dynamic_init): Call setup_vdso.
41784 * elf/dynamic-link.h: Don't include <assert.h>.
41785 (elf_get_dynamic_info): Moved to ...
41786 * elf/get-dynamic-info.h: Here. New file.
41787 * elf/dynamic-link.h: Include "get-dynamic-info.h".
41788 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41789 * elf/setup-vdso.h: Here. New file.
41790 * elf/rtld.c: Include "setup-vdso.h".
41791 (dl_main): Call setup_vdso.
41793 2012-10-05 Joseph Myers <joseph@codesourcery.com>
41795 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41796 creal in comment listing functions tested. List finite, isinf,
41797 isnan, isless, islessequal, isgreater, isgreaterequal,
41798 islessgreater, isunordered, lgamma_r and pow10 as functions and
41799 macros not tested. Mention which functions not tested are aliases
41800 for other functions. Fix typo. Note that signs of NaNs are not
41803 * scripts/config.guess: Update from config.git.
41804 * scripts/config.sub: Likewise.
41806 2012-10-04 Roland McGrath <roland@hack.frob.com>
41808 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41809 * misc/madvise.c (madvise): Renamed to __madvise.
41810 Make madvise a weak alias.
41811 * include/sys/mman.h: Declare __madvise.
41812 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41813 * sysdeps/unix/syscalls.list
41814 (madvise): Make __madvise the strong name, and madvise a weak alias.
41815 * sysdeps/unix/sysv/linux/syscalls.list
41816 (madvise, mmap): Remove redundant entries.
41817 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41818 * malloc/malloc.c (mtrim): Likewise.
41819 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41821 2012-10-03 Roland McGrath <roland@hack.frob.com>
41823 * sysdeps/mach/hurd/dl-cache.c: File removed.
41824 * config.h.in (USE_LDCONFIG): New #undef.
41825 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41826 * configure: Regenerated.
41827 * elf/Makefile (dl-routines): Add dl-cache only under
41828 [$(use-ldconfig) = yes].
41829 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41830 cache on [USE_LDCONFIG].
41831 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41833 * elf/rtld.c (dl_main): Likewise.
41835 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
41837 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41838 _SC_LEVEL4_CACHE_LINESIZE.
41840 2012-10-03 Roland McGrath <roland@hack.frob.com>
41842 * sysdeps/unix/bsd/confstr.h: File removed.
41844 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
41846 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41849 2012-10-02 Roland McGrath <roland@hack.frob.com>
41851 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41852 Make 'mapoff' field ElfW(Off) rather than off_t.
41854 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
41856 * nscd/Makefile: Remove nscd-cflags and all its users.
41857 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41858 (CFLAGS-nonlib): Add compiler flags for nscd modules.
41861 * malloc.c (malloc_printerr): Clarify error message.
41863 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
41866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41867 Set bit_FMA_Usable if FMA is supported.
41868 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41870 (bit_FMA4_Usable): Updated.
41871 (index_FMA_Usable): New macro.
41872 (CPUID_FMA): Likewise
41873 (HAS_FMA): Defined with bit_FMA_Usable.
41875 2012-10-01 Roland McGrath <roland@hack.frob.com>
41877 * bits/types.h (__swblk_t): Type removed.
41878 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41879 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41881 (__SWBLK_T_TYPE): Likewise.
41882 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41883 (__SWBLK_T_TYPE): Likewise.
41884 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41885 (__SWBLK_T_TYPE): Likewise.
41886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41887 (__SWBLK_T_TYPE): Likewise.
41889 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
41890 Honza Horak <hhorak@redhat.com>
41892 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41893 (xdr_mapname): Use YPMAXMAP as maxsize.
41894 (xdr_peername): Use YPMAXPEER as maxsize.
41895 (xdr_keydat): Use YPAXRECORD as maxsize.
41896 (xdr_valdat): Use YPMAXRECORD as maxsize.
41898 2012-10-01 Roland McGrath <roland@hack.frob.com>
41900 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41902 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41903 * csu/init-first.c: ... here.
41904 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41905 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41906 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41907 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41908 * sysdeps/i386/init-first.c: File removed.
41909 * sysdeps/sh/init-first.c: File removed.
41911 2012-10-01 Joseph Myers <joseph@codesourcery.com>
41914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41915 if x * y might underflow to zero and z is zero.
41916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41918 * math/libm-test.inc (min_subnorm_value): New variable.
41919 (fma_test): Add more tests.
41920 (fma_test_towardzero): Likewise.
41921 (fma_test_downward): Likewise
41922 (fma_test_upward): Likewise.
41923 (initialize): Set min_subnorm_value.
41925 2012-09-29 Joseph Myers <joseph@codesourcery.com>
41928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41930 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41931 mode for addition resulting in exact zero.
41932 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41935 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41937 * math/libm-test.inc (fma_test): Add more tests.
41938 (fma_test_towardzero): New function.
41939 (fma_test_downward): Likewise.
41940 (fma_test_upward): Likewise.
41941 (main): Call the new functions.
41943 2012-09-28 David S. Miller <davem@davemloft.net>
41945 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41947 2012-09-28 Roland McGrath <roland@hack.frob.com>
41949 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41950 instead of SIGALRM.
41952 * sysdeps/gnu/_G_config.h: Moved to ...
41953 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41954 * sysdeps/mach/hurd/_G_config.h: Moved to ...
41955 * sysdeps/generic/_G_config.h: ... here.
41957 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
41959 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41961 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41962 Conditionalize target on [libnss_test1.so-version].
41964 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41966 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41967 (elfobjdir): Move out of conditionals.
41969 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41970 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41971 (__nss_lookup_function): Conditionalize label remove_from_tree on
41972 [!DO_STATIC_NSS || SHARED], matching its only use.
41974 2012-09-28 David S. Miller <davem@davemloft.net>
41976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41977 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41979 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41981 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41982 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41983 when HWCAP_SPARC_CRYPTO is present.
41985 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41987 * io/tst-mknodat.c: Create a FIFO instead of a socket.
41989 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
41992 * stdio-common/vfprintf.c (process_string_arg): Revert
41995 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
41997 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41999 * stdio-common/tst-sprintf.c: Include <locale.h>
42000 (main): Test sprintf's handling of incomplete multibyte
42003 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42005 * elf/dl-runtime.c (VERSYMIDX): Removed.
42006 * elf/dl-version.c (VERSYMIDX): Likewise.
42007 * elf/do-rel.h (VERSYMIDX): Likewise.
42008 (VALIDX): Likewise.
42009 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42010 * elf/rtld.c (VALIDX): Likewise.
42011 (ADDRIDX): Likewise.
42012 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42013 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42014 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42015 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42016 (VALIDX): Likewise.
42017 (ADDRIDX): Likewise.
42019 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42021 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42023 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42026 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42028 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42029 addresses are in the same scope as 192.0.2/24.
42030 * posix/gai.conf: Document new scope table defaults.
42032 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42035 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42036 for ftell. Compute offsets from write pointers instead.
42037 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42039 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42042 * libio/Makefile (tests): New test case tst-fseek.
42043 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42044 combination works in wide mode.
42045 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42046 state when the external buffer state changes.
42048 2012-09-27 David S. Miller <davem@davemloft.net>
42051 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42052 pass reloc->r_addend in as the 'high' argument to
42053 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42057 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42059 * rt/tst-aio2.c: Include <pthread.h>.
42060 * rt/tst-aio3.c: Likewise.
42062 2012-09-27 Steve Ellcey <sellcey@mips.com>
42064 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42066 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42068 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42069 contents on [SHARED].
42071 2012-09-26 Marek Polacek <polacek@redhat.com>
42075 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42076 for C++ and GCC <4.3 as well as for non GCC compilers.
42078 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42082 2012-09-25 Roland McGrath <roland@hack.frob.com>
42084 * Makefile.in (all, install): Declare with .PHONY.
42085 Reported by Michael Hope <michael.hope@linaro.org>.
42087 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42089 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42090 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42092 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42094 (sydep_routines): Add the new and the internal functions.
42095 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42096 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42098 (GLIBC_2.17): Add the new function.
42099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42100 (GLIBC_2.17): Likewise.
42101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42102 (GLIBC_2.17): Likewise.
42103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42104 (GLIBC_2.17): Likewise.
42105 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42107 2012-09-25 Alan Modra <amodra@gmail.com>
42109 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42110 Add release barrier before setting once_control to say
42111 initialisation is done. Add hints on lwarx. Use macro in
42113 (clear_once_control): Add release barrier.
42115 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42118 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42120 * math/s_clog10.c (__clog10): Likewise.
42121 * math/s_clog10f.c (__clog10f): Likewise.
42122 * math/s_clog10l.c (__clog10l): Likewise.
42123 * math/s_clogf.c (__clogf): Likewise.
42124 * math/s_clogl.c (__clogl): Likewise.
42125 * math/Makefile (libm-calls): Add x2y2m1.
42126 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42127 (__x2y2m1): Likewise.
42128 (__x2y2m1l): Likewise.
42129 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42130 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42131 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42132 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42134 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42135 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42136 * sysdeps/i386/fpu/libm-test-ulps: Update.
42137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42140 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42141 int as type of variable DEPTH.
42142 (glob): Use size_t instead of int as type of variables NEWCOUNT
42145 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42147 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42148 Add s_sincosf-sse2.
42149 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42150 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42151 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42152 macros for using routine as __sincosf_ia32.
42153 Use macro for function declaration and weak_alias.
42154 * sysdeps/i386/fpu/libm-test-ulps: Update.
42156 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42159 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42160 subnormal argument.
42161 * math/s_cexpf.c (__cexpf): Likewise.
42162 * math/s_csinf.c (__csinf): Likewise.
42163 * math/s_csinhf.c (__csinhf): Likewise.
42164 * math/s_ctanf.c (__ctanf): Likewise.
42165 * math/s_ctanhf.c (__ctanhf): Likewise.
42166 * math/s_ccosh.c (__ccoshf): Likewise.
42167 * math/s_cexp.c (__cexpl): Likewise.
42168 * math/s_csin.c (__csin): Likewise.
42169 * math/s_csinh.c (__csinh): Likewise.
42170 * math/s_ctan.c (__ctan): Likewise.
42171 * math/s_ctanh.c (ctanh): Likewise.
42172 * math/s_ccoshl.c (__ccoshl): Likewise.
42173 * math/s_cexpl.c (__cexpl): Likewise.
42174 * math/s_csinl.c (__csinl): Likewise.
42175 * math/s_csinhl.c (__csinhl): Likewise.
42176 * math/s_ctanl.c (__ctanl): Likewise.
42177 * math/s_ctanhl.c (__ctanhl): Likewise.
42179 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42181 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42182 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42183 (_IO_off_t): Define to __off_t, not _G_off_t.
42184 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42185 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42186 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42187 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42188 type of __dummy and __dummy2 fields.
42189 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42190 (_G_ssize_t): Likewise.
42191 (_G_off_t): Likewise.
42192 (_G_pid_t): Likewise.
42193 (_G_uid_t): Likewise.
42194 (_G_wchar_t): Likewise.
42195 (_G_wint_t): Likewise.
42196 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42197 (_G_ssize_t): Likewise.
42198 (_G_off_t): Likewise.
42199 (_G_pid_t): Likewise.
42200 (_G_uid_t): Likewise.
42201 (_G_wchar_t): Likewise.
42202 (_G_wint_t): Likewise.
42203 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42204 (_G_ssize_t): Likewise.
42205 (_G_off_t): Likewise.
42206 (_G_pid_t): Likewise.
42207 (_G_uid_t): Likewise.
42208 (_G_wchar_t): Likewise.
42209 (_G_wint_t): Likewise.
42211 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42213 * malloc/arena.c: Include malloc-sysdep.h.
42214 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42215 is sufficient to shrink the heap or an unmap is needed.
42216 * sysdeps/generic/malloc-sysdep.h: New file. Define
42217 new function check_may_shrink_heap.
42218 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42219 new function check_may_shrink_heap.
42221 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42223 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42226 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42228 * catgets/test-gencat.sh: Add "set -e".
42229 * elf/tst-pathopt.sh: Likewise.
42230 * grp/tst_fgetgrent.sh: Likewise.
42231 * iconvdata/run-iconv-test.sh: Likewise.
42232 * intl/tst-gettext.sh: Likewise.
42233 * intl/tst-gettext2.sh: Likewise.
42234 * intl/tst-gettext4.sh: Likewise.
42235 * intl/tst-gettext6.sh: Likewise.
42236 * intl/tst-translit.sh: Likewise.
42237 * io/ftwtest-sh: Likewise.
42238 * libio/test-freopen.sh: Likewise.
42239 * malloc/tst-mtrace.sh: Likewise.
42240 * posix/globtest.sh: Likewise.
42241 * posix/tst-getconf.sh: Likewise.
42242 * posix/wordexp-tst.sh: Likewise.
42243 * stdio-common/tst-printf.sh: Likewise.
42244 * stdio-common/tst-unbputc.sh: Likewise.
42245 * stdlib/tst-fmtmsg.sh: Likewise.
42246 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42247 * catgets/Makefile: Do not specify -e option when running
42248 testsuite shell scripts.
42249 * elf/Makefile: Likewise.
42250 * grp/Makefile: Likewise.
42251 * iconvdata/Makefile: Likewise.
42252 * intl/Makefile: Likewise.
42253 * io/Makefile: Likewise.
42254 * libio/Makefile: Likewise.
42255 * malloc/Makefile: Likewise.
42256 * posix/Makefile: Likewise.
42257 * stdio-common/Makefile: Likewise.
42258 * stdlib/Makefile: Likewise.
42259 * sysdeps/x86_64/Makefile: Likewise.
42261 * io/ftwtest-sh: Add copyright header.
42262 * posix/globtest.sh: Likewise.
42263 * posix/tst-getconf.sh: Likewise.
42264 * posix/wordexp-tst.sh: Likewise.
42265 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42267 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42270 * Makeconfig (+link): Defined as $(+link-static) if
42271 $(build-shared) isn't yes.
42272 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42274 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42276 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42279 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42280 new chunk size with MALLOC_ALIGN_MASK.
42282 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42285 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42287 (__printf_fphex): Determine rounding using get_rounding_mode and
42289 * stdio-common/tst-printf-round.c (struct hex_test): New
42291 (hex_tests): New variable.
42292 (test_hex_in_one_mode): New function.
42293 (do_test): Also run tests for hex float output.
42295 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42297 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42298 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42299 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42300 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42301 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42302 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42303 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42304 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42306 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42308 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42309 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42310 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42311 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42313 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42316 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42318 * elf/tst-rtld-load-self.sh: New test.
42319 * elf/Makefile: Run it.
42321 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42323 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42324 (tst-writev-ENV): Remove.
42325 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42327 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42329 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42331 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42333 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42335 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42337 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42338 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42339 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42342 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42345 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42346 * config.make.in (have-cpp-asm-debuginfo): Removed.
42347 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42348 * configure: Regenerated.
42350 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42353 * stdio-common/printf_fp.c: Include <stdbool.h> and
42355 (___printf_fp): Determine rounding using get_rounding_mode and
42357 * stdio-common/tst-printf-round.c: New file.
42358 * stdio-common/Makefile (tests): Add tst-printf-round.
42359 (link-libm): New variable.
42360 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42362 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42365 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42366 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42368 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42371 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42373 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42374 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42375 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42376 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42378 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42381 * include/rounding-mode.h: New file.
42382 * sysdeps/generic/get-rounding-mode.h: Likewise.
42383 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42384 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42385 (MAX_VALUE): New macro.
42386 (MIN_VALUE): Likewise.
42387 (overflow_value): New function.
42388 (underflow_value): Likewise.
42389 (round_and_return): Use overflow_value and underflow_value to
42390 determine return values in overflow and underflow cases. Use
42391 round_away to determine rounding depending on rounding mode.
42392 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42393 determine return values in overflow and underflow cases.
42394 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42395 (struct test_results): New structure.
42396 (struct test): Use struct test_results to store expected results
42397 for all rounding modes.
42398 (TEST): Include expected results for all rounding modes.
42399 (test_in_one_mode): New function.
42400 (do_test): Use test_in_one_mode to compute and check results.
42401 Check results for all rounding modes.
42402 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42405 2012-12-09 Allan McRae <allan@archlinux.org>
42407 * sysdeps/i386/fpu/libm-test-ulps: Update
42409 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42411 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42412 (_G_int32_t): Likewise.
42413 (_G_uint16_t): Likewise.
42414 (_G_uint32_t): Likewise.
42415 (_G_HAVE_BOOL): Likewise.
42416 (_G_HAVE_ATEXIT): Likewise.
42417 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42418 (_G_HAVE_IO_FILE_OPEN): Likewise.
42419 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42420 (_G_int32_t): Likewise.
42421 (_G_uint16_t): Likewise.
42422 (_G_uint32_t): Likewise.
42423 (_G_HAVE_BOOL): Likewise.
42424 (_G_HAVE_ATEXIT): Likewise.
42425 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42426 (_G_HAVE_IO_FILE_OPEN): Likewise.
42427 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42428 (_G_int32_t): Likewise.
42429 (_G_uint16_t): Likewise.
42430 (_G_uint32_t): Likewise.
42431 (_G_HAVE_BOOL): Likewise.
42432 (_G_HAVE_ATEXIT): Likewise.
42433 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42434 (_G_HAVE_IO_FILE_OPEN): Likewise.
42436 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42438 * csu/libc-tls.c: Update copyright years.
42440 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42442 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42443 [!_G_USING_THUNKS]: Remove conditional code.
42444 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42445 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42447 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42448 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42449 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42450 (_G_VTABLE_LABEL_PREFIX): Likewise.
42451 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42452 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42453 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42454 (_G_VTABLE_LABEL_PREFIX): Likewise.
42455 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42456 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42457 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42458 (_G_VTABLE_LABEL_PREFIX): Likewise.
42459 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42461 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42463 * libio/Makefile: Include ../Makeconfig before tests.
42464 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42465 only if $(build-shared) is yes.
42467 * iconv/gconv_db.c: Update copyright years.
42469 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42471 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42472 unwind info if defined PIC. Fix special cases description.
42473 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42475 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42477 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42479 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42481 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42483 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42486 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42487 (LDLIBS-tst-chk4): This.
42488 (LDFLAGS-tst-chk5): Renamed to ...
42489 (LDLIBS-tst-chk5): This.
42490 (LDFLAGS-tst-chk6): Renamed to ...
42491 (LDLIBS-tst-chk6): This.
42492 (LDFLAGS-tst-lfschk4): Renamed to ...
42493 (LDLIBS-tst-lfschk4): This.
42494 (LDFLAGS-tst-lfschk5): Renamed to ...
42495 (LDLIBS-tst-lfschk5): This.
42496 (LDFLAGS-tst-lfschk6): Renamed to ...
42497 (LDLIBS-tst-lfschk6): This.
42499 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42500 on $(common-objpfx)soversions.mk.
42502 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42505 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42508 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42510 * malloc/arena.c (arena_get_retry): New function that gets
42511 another arena for the caller to try its request on.
42512 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42513 current arena cannot fulfill the request.
42514 (__libc_memalign): Likewise.
42515 (__libc_memalign): Likewise.
42516 (__libc_pvalloc): Likewise.
42517 (__libc_calloc): Likewise.
42519 2012-09-05 John Tobey <john.tobey@gmail.com>
42522 * manual/arith.texi (Operations on Complex): Fix description
42523 of carg branch cut.
42525 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42528 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42532 * manual/memory.texi (Memory): Make order of menu items match
42535 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42537 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42538 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42539 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42541 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42543 * csu/libc-tls.c (static_dtv): Renamed to ...
42544 (_dl_static_dtv): This. Make it global.
42545 (_dl_initial_dtv): Removed.
42546 (__libc_setup_tls): Updated.
42547 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42548 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42551 2012-09-06 Petr Machata <pmachata@redhat.com>
42553 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42554 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42555 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42556 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42558 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42561 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42562 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42565 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42568 * Makeconfig (link-static-before-libc): Replace $(+prector)
42570 (link-static-after-libc): Replace $(+postctor) with
42572 (link-bounded): Replace $(+prector)/$(+postctor) with
42573 $(+prectorT)/$(+postctorT).
42574 (+prectorT): New macro.
42575 (+postctorT): Likewise.
42577 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42579 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42580 (round_str): Handle values above the maximum for IBM long double
42582 * stdlib/tst-strtod-round.c (tests): Regenerated.
42584 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42586 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42588 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42589 zarch_nohighgprs around the zarch optimized routines.
42590 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42591 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42592 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42595 2012-09-05 David S. Miller <davem@davemloft.net>
42597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42599 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42600 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42601 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42602 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42605 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42607 * malloc/arena.c: Fold copyright years.
42608 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42610 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42612 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42614 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42616 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42618 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42620 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42621 change internal state upon failure.
42623 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42625 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42626 * malloc/memusage.c (mmap): Likewise.
42627 (mmap64, mremap): Likewise. Adjust name in comment.
42629 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42631 * libio/fileops.c: Fix typos in comments.
42632 * libio/oldfileops.c: Likewise.
42633 * libio/wfileops.c: Likewise.
42635 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42638 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42639 (tst-malloc-usable-ENV): Set environment for test case.
42640 * malloc/hooks.c (malloc_check_get_size): New function to get
42642 * malloc/malloc.c (musable): Use malloc_check_get_size.
42643 * malloc/tst-malloc-usable.c: New test case.
42645 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42647 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42649 2012-09-05 Allan McRae <allan@archlinux.org>
42652 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42653 determine header location.
42654 * configure: Regenerated.
42656 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42658 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42660 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42661 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42663 (test): Regenerate.
42665 2012-09-04 David S. Miller <davem@davemloft.net>
42667 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42668 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42669 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42671 2012-09-04 Florian Weimer <fweimer@redhat.com>
42673 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42676 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42678 2012-09-04 Joseph Myers <joseph@codesourcery.com>
42681 * libio/iogetdelim.c: Include <limits.h>.
42682 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42683 + len + 1 would overflow.
42685 2012-09-03 Andreas Jaeger <aj@suse.de>
42687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42688 * sysdeps/i386/fpu/libm-test-ulps: Update.
42690 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42692 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42693 Add s_sinf-sse2, s_conf-sse2.
42695 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42696 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42697 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42698 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42700 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42701 for using routine as __sinf_ia32.
42702 Use macro for function declaration and weak_alias.
42703 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42704 for using routine as __cosf_ia32.
42705 Use macro for function declaration and weak_alias.
42707 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42708 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42710 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42711 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42714 * math/libm-test.inc (cos_test): Add more test cases.
42715 (sin_test): Likewise.
42716 (sincos_test): Likewise.
42718 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42720 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42721 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42723 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42725 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42728 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42729 first element of the GOT.
42730 (elf_machine_load_address): Return the difference between
42731 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42733 2012-09-01 Allan McRae <allan@archlinux.org>
42736 * configure.in (AWK): Require gawk version 3.0 or later.
42737 * configure: Regenerated.
42739 2012-09-01 Joseph Myers <joseph@codesourcery.com>
42741 * sysdeps/unix/sysv/linux/kernel-features.h
42742 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42743 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42744 [__NR_clock_getres]: Make code unconditional.
42745 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42746 (clock_getcpuclockid): Remove code left unreachable by removal of
42748 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42749 code unconditional.
42750 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42751 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42752 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42753 Make code unconditional.
42754 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42755 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42756 * sysdeps/unix/sysv/linux/clock_settime.c
42757 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42759 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42760 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42762 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42765 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42766 scripts/test-installation.pl.
42768 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42769 and $ld_so_version if it is set.
42771 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42774 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42775 failure if reading from procfs failed.
42776 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42778 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42780 * sysdeps/unix/sysv/linux/kernel-features.h
42781 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42782 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42783 Remove conditional code.
42784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42785 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42786 Remove conditional code.
42787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42788 * sysdeps/unix/sysv/linux/i386/fxstat.c
42789 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42791 * sysdeps/unix/sysv/linux/i386/fxstatat.c
42792 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42794 * sysdeps/unix/sysv/linux/i386/lxstat.c
42795 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42797 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42798 Remove conditional code.
42799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42800 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42801 Remove conditional code.
42802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42803 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42804 <kernel-features.h>.
42805 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42807 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42808 Remove conditional code.
42809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42810 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42811 Remove conditional.
42813 2012-08-27 Mike Frysinger <vapier@gentoo.org>
42816 * NEWS: Add fixed bug number.
42818 2012-08-27 Joseph Myers <joseph@codesourcery.com>
42821 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42822 underflowing exponent in case of negative sign.
42823 * stdlib/tst-strtod-round-data: Add more tests.
42824 * stdlib/tst-strtod-round.c (tests): Regenerated.
42827 * stdlib/strtod_l.c (NDIG): Remove.
42828 (HEXNDIG): Likewise.
42829 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42830 smallest representable value.
42831 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42832 lie within an exact representation of 1/2 ulp of the result.
42833 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42835 (TENS_P9_IDX): Define unconditionally.
42836 (TENS_P9_SIZE): Likewise.
42837 (TENS_P10_IDX): Likewise.
42838 (TENS_P10_SIZE): Likewise.
42839 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42840 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42841 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42842 entries for 10^2^13 and 10^2^14.
42843 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42844 (TENS_P13_IDX): Define.
42845 (TENS_P13_SIZE): Likewise.
42846 (TENS_P14_IDX): Likewise.
42847 (TENS_P14_SIZE): Likewise.
42848 (_fpioconst_pow10): Change array size to
42849 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
42851 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42852 1024]: Add entries for 10^2^13 and 10^2^14.
42853 [LAST_POW10 > _LAST_POW10]: Remove #error.
42854 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42855 (_fpioconst_pow10): Change array size to
42856 FPIOCONST_POW10_ARRAY_SIZE.
42857 * stdlib/gen-fpioconst.c: New file.
42858 * stdlib/gen-tst-strtod-round.c: Likewise.
42859 * stdlib/tst-strtod-round-data: Likewise.
42860 * stdlib/tst-strtod-round.c: Likewise.
42861 * stdlib/Makefile (tests): Add tst-strtod-round.
42864 * stdlib/strtod_l.c: Include <stdint.h>.
42865 (NDEBUG): Do not define.
42866 (round_and_return): Change EXPONENT parameter to type intmax_t.
42867 Rearrange calculations to avoid internal overflow possibilities.
42868 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42869 Rearrange calculations to avoid internal overflow possibilities.
42870 Assert that number fits inside MPNSIZE limbs.
42871 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42872 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
42873 calculations and add assertions to avoid internal overflow
42874 possibilities. Add casts to avoid signed/unsigned operations.
42875 * stdlib/tst-strtod-overflow.c: New file.
42876 * stdlib/Makefile (tests): Add tst-strtod-overflow.
42878 2012-08-25 Marek Polacek <polacek@redhat.com>
42880 * time/time.h: Fix some typos in comments.
42882 2012-08-23 Roland McGrath <roland@hack.frob.com>
42884 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42885 * posix/tst-rfc3484-2.c: Likewise.
42886 * posix/tst-rfc3484-3.c: Likewise.
42888 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
42890 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42891 (EF_ARM_ABI_FLOAT_HARD): Likewise.
42893 2012-08-23 Joseph Myers <joseph@codesourcery.com>
42895 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42896 #include of fxstatat64.c.
42898 2012-08-22 Roland McGrath <roland@hack.frob.com>
42900 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42901 * shadow/getspent_r.c: Likewise.
42902 * shadow/getspnam.c: Likewise.
42903 * shadow/getspnam_r.c: Likewise.
42904 * gshadow/getsgent.c: Likewise.
42905 * gshadow/getsgent_r.c: Likewise.
42906 * gshadow/getsgnam.c: Likewise.
42907 * gshadow/getsgnam_r.c: Likewise.
42908 * inet/getnetbyad.c: Likewise.
42909 * inet/getnetbyad_r.c: Likewise.
42910 * inet/getnetbynm.c: Likewise.
42911 * inet/getnetbynm_r.c: Likewise.
42912 * inet/getnetent.c: Likewise.
42913 * inet/getnetent_r.c: Likewise.
42914 * inet/getproto.c: Likewise.
42915 * inet/getproto_r.c: Likewise.
42916 * inet/getprtent.c: Likewise.
42917 * inet/getprtent_r.c: Likewise.
42918 * inet/getprtname.c: Likewise.
42919 * inet/getprtname_r.c: Likewise.
42920 * inet/getrpcbyname.c: Likewise.
42921 * inet/getrpcbyname_r.c: Likewise.
42922 * inet/getrpcbynumber.c: Likewise.
42923 * inet/getrpcbynumber_r.c: Likewise.
42924 * inet/getrpcent.c: Likewise.
42925 * inet/getrpcent_r.c: Likewise.
42926 * inet/getaliasent.c: Likewise.
42927 * inet/getaliasent_r.c: Likewise.
42928 * inet/getaliasname.c: Likewise.
42929 * inet/getaliasname_r.c: Likewise.
42930 * nscd/getgrgid_r.c: Likewise.
42931 * nscd/getgrnam_r.c: Likewise.
42932 * nscd/gethstbyad_r.c: Likewise.
42933 * nscd/gethstbynm3_r.c: Likewise.
42934 * nscd/getpwnam_r.c: Likewise.
42935 * nscd/getpwuid_r.c: Likewise.
42936 * nscd/getsrvbynm_r.c: Likewise.
42937 * nscd/getsrvbypt_r.c: Likewise.
42938 * nscd/gai.c: Likewise.
42940 * configure.in (build_nscd): New substituted variable, set
42941 by --disable-build-nscd and defaults to $use_nscd.
42942 * configure: Regenerated.
42943 * config.make.in (build-nscd): New substituted variable.
42944 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42945 Change conditional to require [$(build-nscd) = yes] as well.
42946 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42949 * configure.in (use_nscd): New substituted variable, set by
42950 --disable-nscd. If enabled, define USE_NSCD.
42951 * configure: Regenerated.
42952 * config.h.in: Add USE_NSCD.
42953 * config.make.in (use-nscd): New substituted variable.
42954 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42955 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42956 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42957 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42958 (CFLAGS-getgrnam_r.c): Likewise.
42959 (CFLAGS-initgroups.c): Likewise.
42960 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42961 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42963 * inet/getnetgrent_r.c
42964 (nscd_setnetgrent): New function, broken out of ...
42965 (setnetgrent): ... here. Call it.
42966 (innetgr): Conditionalize nscd bits on [USE_NSCD].
42967 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42968 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42969 * nscd/Makefile (routines, aux): Move definitions after include of
42970 Makeconfig. Conditionalize on [$(use-nscd) != no].
42971 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42972 Conditionalize on [USE_NSCD].
42973 (is_nscd, nscd_init_cb): Likewise.
42974 (nss_load_library): Conditionalize init callback on [USE_NSCD].
42975 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42976 * nss/nss_db/db-init.c: Likewise.
42977 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42979 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42980 (make_request): Use it.
42981 (cache_valid_p): New function.
42982 (__check_pf): Use it.
42983 * NEWS: Add item for --disable-nscd.
42985 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
42987 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42988 to support sed >= 4.2.1-20-ga9bf076.
42989 * configure: Regenerated.
42991 2012-08-22 Roland McGrath <roland@hack.frob.com>
42993 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42994 Conditionalize whole body on [IREL].
42996 2012-08-22 Jeff Law <law@redhat.com>
42999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43000 if the family is PF_UNSPEC.
43002 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43004 * Makerules (lib-version): Rename from V.
43005 (install-lib-nosubdir): Change V to lib-version.
43007 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43010 * powerpc32/power6/wcschr.c: New file.
43011 * powerpc32/power6/wcscpy.c: New file.
43012 * powerpc32/power6/wcsrchr.c: New file.
43013 * powerpc64/power6/wcschr.c: New file.
43014 * powerpc64/power6/wcscpy.c: New file.
43015 * powerpc64/power6/wcsrchr.c: New file.
43017 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43019 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43020 (two_way_short_needle): Use it.
43021 * string/strstr.c (AVAILABLE1_USES_J): Define.
43022 * string/strcasestr.c: Likewise.
43024 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43026 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43029 * NEWS: Add an entry.
43030 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43031 define their defaults.
43032 (two_way_short_needle): Detect end-of-string on-the-fly.
43033 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43034 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43035 * string/bug-strcasestr1.c: New test.
43036 * string/Makefile: Run it.
43038 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43041 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43042 the first character.
43044 2012-08-21 Roland McGrath <roland@hack.frob.com>
43046 * csu/elf-init.c (__libc_csu_irel): Function removed.
43047 * csu/libc-start.c (apply_irel): New function.
43048 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43050 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43052 * sysdeps/unix/sysv/linux/kernel-features.h
43053 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43054 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43055 <kernel-features.h>.
43056 [__NR_fadvise64_64]: Make code unconditional.
43057 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43058 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43059 !__NR_fadvise64_64)]: Likewise.
43060 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43061 !__NR_fadvise64_64))]: Likewise.
43062 [__NR_fadvise64]: Make code unconditional.
43063 [!__NR_fadvise64]: Remove conditional code.
43064 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43065 <kernel-features.h>.
43066 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43068 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43071 not include <kernel-features.h>.
43072 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43074 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43076 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43077 include <kernel-features.h>.
43078 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43080 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43083 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43085 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43086 slight instruction rearrangements per scrollpipe analysis.
43087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43089 2012-08-20 Roland McGrath <roland@hack.frob.com>
43091 * manual/syslog.texi (syslog; vsyslog, closelog):
43092 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43093 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43095 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43096 DSOCAPS to match condition on defining it.
43098 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43100 * sysdeps/unix/sysv/linux/kernel-features.h
43101 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43103 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43104 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43106 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43107 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43109 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43110 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43112 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43113 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43115 * sysdeps/unix/sysv/linux/kernel-features.h
43116 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43117 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43119 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43120 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43121 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43122 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43123 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43124 Make code unconditional.
43125 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43126 (__mmap64) [!__NR_mmap2]: Likewise.
43127 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43128 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43129 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43130 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43131 [__NR_mmap2]: Make code unconditional.
43132 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43133 (__mmap64) [!__NR_mmap2]: Likewise.
43135 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43137 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43139 2012-08-18 Andreas Jaeger <aj@suse.de>
43141 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43143 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43145 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43146 * include/unistd.h (__have_sock_cloexec): Likewise.
43147 (__have_pipe2): Likewise.
43148 (__have_dup3): Likewise.
43150 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43153 * include/unistd.h (__have_pipe2): Change define into an extern int.
43154 (__have_dup3): Likewise.
43155 * socket/have_sock_cloexec.c: Include fcntl.h.
43156 (__have_pipe2): New variable.
43157 (__have_dup3): Likewise.
43159 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43161 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43163 2012-08-17 Marek Polacek <polacek@redhat.com>
43165 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43166 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43168 2012-08-17 Roland McGrath <roland@hack.frob.com>
43170 * configure.in: Add AC_SUBST for sysheaders.
43171 * configure: Regenerated.
43172 * config.make.in (sysheaders): New substituted variable.
43174 * sysdeps/unix/mkfifo.c: Moved ...
43175 * sysdeps/posix/mkfifo.c: ... here.
43176 * sysdeps/unix/mkfifoat.c: Moved ...
43177 * sysdeps/posix/mkfifoat.c: ... here.
43179 * sysdeps/unix/utime.c: Moved ...
43180 * sysdeps/posix/utime.c: ... here.
43182 * sysdeps/unix/time.c: Moved ...
43183 * sysdeps/posix/time.c: ... here.
43184 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43185 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43187 * sysdeps/unix/nice.c: Moved ...
43188 * sysdeps/posix/nice.c: ... here.
43190 * sysdeps/unix/alarm.c: Moved ...
43191 * sysdeps/posix/alarm.c: ... here.
43193 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43195 2012-08-17 Jeff Law <law@redhat.com>
43197 * intl/Makefile (codeset_mo): New variable.
43198 ($(codeset_mo)): New target.
43199 (tst-codeset.out): Depend on that. Remove explicit rule.
43200 (tst-gettext3.out, tst-gettext5.out): Likewise.
43201 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43202 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43203 * intl/tst-codeset.sh: Remove.
43204 * intl/tst-gettext3.sh: Likewise.
43205 * intl/tst-gettext5.sh: Likewise.
43207 2012-08-17 Roland McGrath <roland@hack.frob.com>
43209 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43210 * sysdeps/unix/syscalls.list: ... here.
43212 * sysdeps/posix/getaddrinfo.c
43213 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43214 (gaiconf_init, gaiconf_reload): Use them.
43215 [!_STATBUF_ST_NSEC]
43216 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43217 Define using time_t rather than struct timespec.
43219 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43220 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43222 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43224 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43225 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43228 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43229 __libc_cleanup_push argument.
43231 * bits/param.h: New file.
43232 * misc/sys/param.h: New file.
43233 * include/sys/param.h: New file.
43234 * misc/Makefile (headers): Add bits/param.h.
43235 * sysdeps/generic/sys/param.h: File removed.
43236 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43237 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43238 * sysdeps/mach/hurd/bits/param.h: New file.
43239 * sysdeps/mach/hurd/sys/param.h: File removed.
43241 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43244 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43246 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43247 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43250 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43251 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43252 rather than -D_IO_MTSAFE_IO conditionally.
43253 * stdio-common/Makefile (CPPFLAGS): Likewise.
43254 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43255 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43256 Use $(libio-mtsafe).
43257 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43258 of -D_IO_MTSAFE_IO.
43259 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43260 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43261 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43262 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43263 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43264 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43265 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43266 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43267 (CFLAGS-fread_u_chk.c): Likewise.
43268 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43269 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43270 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43271 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43272 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43273 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43274 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43275 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43276 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43278 * libio/Makefile: Test [$(libc-reentrant) = yes]
43279 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43282 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43283 * sysdeps/pthread/configure: File removed.
43284 * sysdeps/pthread/Makeconfig: New file.
43285 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43286 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43288 2012-08-16 Gary Benson <gbenson@redhat.com>
43290 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43291 unmapping the first object in a namespace.
43293 2012-08-16 Roland McGrath <roland@hack.frob.com>
43295 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43296 (__internal_setnetgrent): ... this. Add internal_function to
43297 definition. Add libc_hidden_def.
43298 (setnetgrent): Update caller.
43299 (internal_endnetgrent): Renamed to ...
43300 (__internal_endnetgrent): ... this. Add internal_function to
43301 definition. Add libc_hidden_def.
43302 (endnetgrent): Update caller.
43303 (internal_getnetgrent_r): Renamed to ...
43304 (__internal_getnetgrent_r): ... this. Add internal_function to
43305 definition. Add libc_hidden_def.
43306 (__getnetgrent_r): Update caller.
43307 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43309 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43311 * stdlib/longlong.h: Update from GCC.
43313 2012-08-16 Roland McGrath <roland@hack.frob.com>
43315 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43316 on _QL, which is set by umul_ppmm but never used.
43317 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43318 variables, which are set by GMP macros but never used.
43319 * stdio-common/_itowa.c (_itowa): Likewise.
43320 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43321 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43323 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43325 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43326 struct La_sh_regs is not constant.
43327 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43328 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43329 and struct La_sparc64_regs are not constant.
43331 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43333 * sysdeps/unix/sysv/linux/kernel-features.h
43334 (__ASSUME_POSIX_TIMERS): Remove.
43335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43337 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43338 Make code unconditional.
43339 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43340 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43341 Make code unconditional.
43342 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43343 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43344 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43346 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43347 Make code unconditional.
43348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43349 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43350 (__libc_missing_posix_timers): Remove.
43352 2012-08-15 Roland McGrath <roland@hack.frob.com>
43354 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43355 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43357 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43359 * elf/dl-sym.c: Include <stdlib.h>.
43361 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43362 constants, which avoids warnings in 32-bit builds.
43364 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43365 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43367 * misc/lseek.c: File moved to ...
43368 * io/lseek.c: ... here.
43370 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43372 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43373 shifting LEN more than 31 bits at once.
43375 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43378 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43379 segmentation fault for a case of two empty input strings.
43380 * string/test-strncasecmp.c (check1): Renamed to...
43381 (bz12205): ...this.
43382 (bz14195): Add new testcase for two empty input strings and N > 0.
43383 (test_main): Call new testcase, adapt for renamed function.
43385 2012-08-15 Andreas Jaeger <aj@suse.de>
43388 * crypt/md5test2.c: New test, based on test supplied by Serge
43389 Belyshev <belyshev@depni.sinp.msu.ru>.
43390 * crypt/Makefile (xtests): Add md5test-giant..
43391 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43393 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43396 * crypt/md5.c (md5_process_block): Don't assume the buffer
43397 length is less than 2**32.
43398 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43399 length is less than 2**64.
43401 2012-08-15 Roland McGrath <roland@hack.frob.com>
43403 * string/str-two-way.h: Include <sys/param.h>.
43404 (MAX): Macro removed.
43406 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43407 Move #define and #undef of memmove to just before and after
43408 including <string.h>.
43410 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43411 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43412 and after including <string.h>. Move declarations of
43413 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43414 to before #include "string/memmove.c".
43416 * include/dirent.h: Declare __getdirentries.
43418 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43419 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43421 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43423 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43424 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43425 * sysdeps/i386/configure: Regenerated.
43426 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43427 STABS_CURRENT_FILE, and STABS_FUN.
43428 (END): Remove call to STABS_FUN_END.
43429 (STABS_CURRENT_FILE1): Delete.
43430 (STABS_CURRENT_FILE): Likewise.
43431 (STABS_FUN): Likewise.
43432 (STABS_FUN_END): Likewise.
43433 (STABS_FUN2): Likewise.
43434 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43435 * sysdeps/x86_64/configure: Regenerated.
43437 2012-08-14 Roland McGrath <roland@hack.frob.com>
43439 * elf/dl-open.c: Include <atomic.h>.
43440 * elf/dl-lookup.c: Likewise.
43442 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43444 * sysdeps/unix/sysv/linux/kernel-features.h
43445 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43446 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43448 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43450 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43451 condition on __ASSUME_CLONE_THREAD_FLAGS.
43453 2012-08-14 Andreas Jaeger <aj@suse.de>
43455 * sysdeps/i386/fpu/libm-test-ulps: Update.
43457 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43459 * include/atomic.h (atomic_exchange_and_add): Split into ...
43460 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43463 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43467 2012-08-13 Jeff Law <law@redhat.com>
43469 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43470 null byte in the output string.
43472 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43474 * sysdeps/unix/sysv/linux/kernel-features.h
43475 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43476 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43477 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43478 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43479 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43480 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43481 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43483 2012-08-09 Jeff Law <law@redhat.com>
43486 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43487 When avoid_arena is set, don't retry in the that arena. Pick the
43488 next one, whatever it might be.
43489 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43490 (arena_lock): Pass in new parameter to arena_get2.
43491 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43493 (__libc_malloc): Unify retrying after main arena failure with
43494 __libc_memalign version.
43495 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43497 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43500 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43501 to __redirect_strstr.
43502 (__strstr_sse42): Use typeof __redirect_strstr.
43503 (__strstr_ia32): Likewise.
43504 (__libc_strstr): New prototype.
43505 (strstr): Renamed to ...
43506 (__libc_strstr): This.
43507 (strstr): New strong alias of __libc_strstr.
43508 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43509 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43512 (__libc_time): New prototype.
43513 (time_ifunc): Replace time with __libc_time.
43514 (time): New strong alias and hidden definition of __libc_time.
43515 (__GI_time): Remove strong alias.
43516 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43517 Include <stddef.h>.
43518 (memmove): Redefined to __redirect_memmove.
43519 (__memmove_sse2): Use typeof __redirect_memmove.
43520 (__memmove_ssse3): Likewise.
43521 (__memmove_ssse3_back): Likewise.
43522 (__libc_memmove): New prototype.
43523 (memmove): Renamed to ...
43524 (__libc_memmove): This.
43525 (memmove): New strong alias of __libc_memmove.
43527 2012-08-08 Mark Salter <msalter@redhat.com>
43530 (R_MN10300_TLS_GD): Define.
43531 (R_MN10300_TLS_LD): Likewise.
43532 (R_MN10300_TLS_LDO): Likewise.
43533 (R_MN10300_TLS_GOTIE): Likewise.
43534 (R_MN10300_TLS_IE): Likewise.
43535 (R_MN10300_TLS_LE): Likewise.
43536 (R_MN10300_TLS_DTPMOD): Likewise.
43537 (R_MN10300_TLS_DTPOFF): Likewise.
43538 (R_MN10300_TLS_TPOFF): Likewise.
43539 (R_MN10300_SYM_DIFF): Likewise.
43540 (R_MN10300_ALIGN): Likewise.
43541 (R_MN10300_NUM): Update.
43543 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43548 2012-08-08 Roland McGrath <roland@hack.frob.com>
43550 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43552 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43553 sysdeps/unix -> sysdeps/posix move.
43554 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43556 2012-08-07 Allan McRae <allan@archlinux.org>
43559 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43560 (SUNOS_CPP): Likewise.
43561 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43563 (open_input): Call CPP using execvp.
43565 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43567 * sysdeps/unix/sysv/linux/kernel-features.h
43568 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43569 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43570 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43571 (__ASSUME_WAITID_SYSCALL): Likewise.
43572 * sysdeps/unix/sysv/linux/dl-execstack.c
43573 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43574 code unconditional.
43575 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43578 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43579 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43581 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43583 [__ASSUME_WAITID_SYSCALL]: Likewise.
43584 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43586 2012-08-07 Roland McGrath <roland@hack.frob.com>
43588 * sysdeps/unix/closedir.c: Renamed to ...
43589 * sysdeps/posix/closedir.c: ... here.
43590 * sysdeps/unix/dirfd.c: Renamed to ...
43591 * sysdeps/posix/dirfd.c: ... here.
43592 * sysdeps/unix/dirstream.h: Renamed to ...
43593 * sysdeps/posix/dirstream.h: ... here.
43594 * sysdeps/unix/fdopendir.c: Renamed to ...
43595 * sysdeps/posix/fdopendir.c: ... here.
43596 * sysdeps/unix/opendir.c: Renamed to ...
43597 * sysdeps/posix/opendir.c: ... here.
43598 * sysdeps/unix/readdir.c: Renamed to ...
43599 * sysdeps/posix/readdir.c: ... here.
43600 * sysdeps/unix/readdir_r.c: Renamed to ...
43601 * sysdeps/posix/readdir_r.c: ... here.
43602 * sysdeps/unix/rewinddir.c: Renamed to ...
43603 * sysdeps/posix/rewinddir.c: ... here.
43604 * sysdeps/unix/seekdir.c: Renamed to ...
43605 * sysdeps/posix/seekdir.c: ... here.
43606 * sysdeps/unix/telldir.c: Renamed to ...
43607 * sysdeps/posix/telldir.c: ... here.
43608 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43609 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43610 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43611 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43613 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43614 * bits/fcntl.h: ... here.
43616 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43618 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43619 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43620 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43621 (struct flock): Move l_start, l_len to the beginning.
43622 Use __pid_t for l_pid.
43623 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43624 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43625 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43626 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43627 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43628 [__USE_LARGEFILE64] (struct flock64): New type.
43629 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43631 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43632 * bits/dirent.h: ... here.
43634 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43635 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43637 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43640 Change from 2.6.0 to 2.6.16.
43641 * sysdeps/unix/sysv/linux/configure: Regenerated.
43642 * sysdeps/unix/sysv/linux/kernel-features.h
43643 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43644 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43646 (__ASSUME_UTIMES): Likewise.
43647 (__ASSUME_CLONE_STOPPED): Remove.
43648 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43649 architectures, not kernel version.
43650 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43651 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43652 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43653 (__ASSUME_WAITID_SYSCALL): Likewise.
43654 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43655 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43656 * README: State 2.6.16 as minimum Linux kernel version. Do not
43657 refer to older versions.
43659 2012-08-06 Roland McGrath <roland@hack.frob.com>
43661 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43662 Define alphasort64 as an alias.
43663 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43664 Define versionsort64 as an alias.
43665 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43666 Define scandir64 as an alias.
43667 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43668 Define scandirat64 as an alias.
43669 * dirent/alphasort64.c (alphasort64):
43670 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43671 * dirent/versionsort64.c: Likewise.
43672 * dirent/scandir64.c: Likewise.
43673 * dirent/scandirat64.c: Likewise.
43674 * sysdeps/wordsize-64/alphasort.c: File removed.
43675 * sysdeps/wordsize-64/alphasort64.c: File removed.
43676 * sysdeps/wordsize-64/scandir.c: File removed.
43677 * sysdeps/wordsize-64/scandir64.c: File removed.
43678 * sysdeps/wordsize-64/scandirat.c: File removed.
43679 * sysdeps/wordsize-64/scandirat64.c: File removed.
43680 * sysdeps/wordsize-64/versionsort.c: File removed.
43681 * sysdeps/wordsize-64/versionsort64.c: File removed.
43682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43683 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43684 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43686 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43688 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43689 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43691 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43693 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43695 [defined __arch64__ || defined __sparcv9]
43696 (__INO_T_MATCHES_INO64_T): New macro.
43697 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43698 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43699 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43700 * sysdeps/unix/sysv/linux/bits/dirent.h
43701 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43702 (_DIRENT_MATCHES_DIRENT64): New macro.
43704 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43705 Define lockf64 as an alias.
43706 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43707 Define fseeko64 as an alias.
43708 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43709 Define ftello64 as an alias.
43710 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43711 Define _IO_fgetpos64 and fgetpos64 as aliases.
43712 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43713 Define _IO_fsetpos64 and fsetpos64 as aliases.
43714 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43715 Conditionalize body on this.
43716 * libio/fseeko64.c: Likewise.
43717 * libio/ftello64.c: Likewise.
43718 * libio/iofgetpos64.c: Likewise.
43719 * libio/iofsetpos64.c: Likewise.
43720 * sysdeps/wordsize-64/lockf.c: File removed.
43721 * sysdeps/wordsize-64/lockf64.c: File removed.
43722 * sysdeps/wordsize-64/fseeko.c: File removed.
43723 * sysdeps/wordsize-64/fseeko64.c: File removed.
43724 * sysdeps/wordsize-64/ftello.c: File removed.
43725 * sysdeps/wordsize-64/ftello64.c: File removed.
43726 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43727 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43728 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43729 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43730 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43731 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43732 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43733 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43734 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43735 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43736 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43737 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43738 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43739 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43741 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43743 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43745 [defined __arch64__ || defined __sparcv9]
43746 (__OFF_T_MATCHES_OFF64_T): New macro.
43747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43748 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43750 (__OFF_T_MATCHES_OFF64_T): New macro.
43752 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43754 * stdlib/secure-getenv.c (__secure_getenv): Replace
43755 GLIBC_2_16 with GLIBC_2_17.
43757 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43759 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43760 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43762 2012-08-03 David S. Miller <davem@davemloft.net>
43764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43766 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43768 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43770 (__ASSUME_CORRECT_SI_PID): Likewise.
43771 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43772 (__ASSUME_TMPFS_NAME): Likewise.
43773 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43774 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43775 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43776 (HAVE_AUX_SECURE): Make definition unconditional.
43777 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43778 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43780 2012-08-03 Roland McGrath <roland@hack.frob.com>
43782 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43783 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43784 * sysdeps/mach/hurd/eloop-threshold.h: New file.
43785 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43786 __eloop_threshold instead of SYMLOOP_MAX.
43788 * sysdeps/generic/eloop-threshold.h: New file.
43789 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43791 * elf/chroot_canon.c (chroot_canon): Likewise.
43793 2012-08-03 Joseph Myers <joseph@codesourcery.com>
43796 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43797 Change to 2.6.0 everywhere.
43798 * sysdeps/unix/sysv/linux/configure: Regenerated.
43799 * sysdeps/unix/sysv/linux/kernel-features.h
43800 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43801 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43803 (__ASSUME_POSIX_TIMERS): Define unconditionally.
43804 (__ASSUME_FUTEX_REQUEUE): Remove.
43805 (__ASSUME_STATFS64): Define unconditionally.
43806 (__ASSUME_AT_SECURE): Likewise.
43807 (__ASSUME_CORRECT_SI_PID): Likewise.
43808 (__ASSUME_TGKILL): Define without depending on kernel version for
43810 (__ASSUME_UTIMES): Likewise.
43811 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43813 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43814 (__ASSUME_TMPFS_NAME): Likewise.
43815 * README: Update reference to Linux kernel versions.
43817 2012-08-02 Marek Polacek <polacek@redhat.com>
43820 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
43821 libc_cv_asm_type_prefix with %.
43822 * configure: Regenerated.
43823 * include/libc-symbols.h: Remove comment about
43824 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43825 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43826 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43827 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43828 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43829 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43830 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43831 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43832 * elf/tst-unique2mod1.c: Likewise.
43833 * elf/tst-unique1mod2.c: Likewise.
43834 * elf/tst-unique1mod1.c: Likewise.
43835 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43836 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43837 Replace ASM_TYPE_DIRECTIVE with .type.
43838 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43839 * sysdeps/i386/sysdep.h: Likewise.
43840 * sysdeps/x86_64/sysdep.h: Likewise.
43841 * sysdeps/sh/sysdep.h: Likewise.
43842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43843 Do not define ASM_TYPE_DIRECTIVE.
43844 * sysdeps/powerpc/sysdep.h: Likewise.
43845 * sysdeps/powerpc/powerpc32/sysdep.h:
43846 Replace ASM_TYPE_DIRECTIVE with .type.
43847 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43848 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43849 * sysdeps/i386/fpu/e_powf.S: Likewise.
43850 * sysdeps/i386/fpu/e_expl.S: Likewise.
43851 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43852 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43853 * sysdeps/i386/fpu/e_pow.S: Likewise.
43854 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43855 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43856 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43857 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43858 * sysdeps/i386/fpu/e_log2.S: Likewise.
43859 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43860 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43861 * sysdeps/i386/fpu/e_powl.S: Likewise.
43862 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43863 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43864 * sysdeps/i386/fpu/e_logl.S: Likewise.
43865 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43866 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43867 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43868 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43869 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43870 * sysdeps/i386/fpu/e_log.S: Likewise.
43871 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43872 * sysdeps/i386/fpu/e_logf.S: Likewise.
43873 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43874 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43875 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43876 * sysdeps/i386/fpu/e_log10.S: Likewise.
43877 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43878 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43879 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43880 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43881 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43882 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43883 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43884 * sysdeps/i386/i686/strtok.S: Likewise.
43885 * sysdeps/i386/i386-mcount.S: Likewise.
43886 * sysdeps/i386/strtok.S: Likewise.
43887 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43888 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43889 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43890 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43891 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43892 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43893 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43894 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43895 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43896 * sysdeps/x86_64/_mcount.S: Likewise.
43897 * sysdeps/x86_64/strtok.S: Likewise.
43898 * sysdeps/sh/_mcount.S: Likewise.
43900 2012-08-01 Roland McGrath <roland@hack.frob.com>
43902 * libio/iofopen.c: Include <fcntl.h>.
43903 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43904 (_IO_fopen64, fopen64): Define as aliases.
43905 * libio/iofopen64.c: Include <fcntl.h>.
43906 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43907 Conditionalize body on this.
43908 * sysdeps/wordsize-64/iofopen.c: File removed.
43909 * sysdeps/wordsize-64/iofopen64.c: File removed.
43911 2012-08-01 Marek Polacek <polacek@redhat.com>
43913 * libc/Makeconfig: Use elf in place of binfmt-subdir.
43914 Use dlfcn directly instead of a variable.
43915 (binfmt-subdir): Do not define.
43918 2012-08-01 Joseph Myers <joseph@codesourcery.com>
43920 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43921 Remove all definitions.
43922 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43923 <kernel-features.h>.
43924 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43925 (miss_F_GETOWN_EX): Remove all definitions.
43926 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43928 [!__ASSUME_FCNTL64]: Remove conditional code.
43929 [__ASSUME_FCNTL64]: Make code unconditional.
43930 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43931 <kernel-features.h>.
43932 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43933 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43934 (lockf64) [__NR_fcntl64]: Make code unconditional.
43935 (lockf64) [__ASSUME_FCNTL64]: Likewise.
43937 * sysdeps/unix/sysv/linux/kernel-features.h
43938 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43939 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43940 Make code unconditional.
43941 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43942 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43944 [__NR_vfork]: Make code unconditional.
43945 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43946 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43948 [__NR_vfork]: Make code unconditional.
43949 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43950 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43952 2012-08-01 Roland McGrath <roland@hack.frob.com>
43954 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43955 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43957 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43958 Define mkstemp64 as an alias.
43959 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43960 Define mkstemps64 as an alias.
43961 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43962 Define mkostemp64 as an alias.
43963 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43964 Define mkostemps64 as an alias.
43965 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43966 Conditionalize body on this.
43967 * misc/mkostemp64.c: Likewise.
43968 * misc/mkostemps64.c: Likewise.
43969 * misc/mkstemps64.c: Likewise.
43970 * sysdeps/wordsize-64/mkstemp64.c: File removed.
43971 * sysdeps/wordsize-64/mkostemp64.c: File removed.
43972 * sysdeps/wordsize-64/mkostemp.c: File removed.
43973 * sysdeps/wordsize-64/mkstemp.c: File removed.
43974 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43975 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43976 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43980 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43981 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43982 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43983 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43985 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43986 compat_symbol macros from <shlib-compat.h> rather than the underlying
43987 default_symbol_version and symbol_version macros, so that DEFAULT
43988 lines in shlib-versions are respected.
43989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43991 2012-08-01 Florian Weimer <fweimer@redhat.com>
43993 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43994 Declare with warn_unused_result.
43995 (setgid, setregid, setegid, setresgid): Likewise.
43996 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43998 * WUR-REPORT: Remove set*id functions.
44000 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44002 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44004 2012-07-31 Roland McGrath <roland@hack.frob.com>
44007 * include/sys/socket.h (__libc_accept, __libc_accept4):
44008 Add attribute_hidden.
44009 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44011 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44013 * inet/getnetgrent_r.c (setup): Likewise.
44015 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44017 2012-07-31 David S. Miller <davem@davemloft.net>
44019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44021 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44024 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44025 value between 1.0 and 2.0 and smaller part has absolute value less
44027 * math/s_clog10.c (__clog10): Likewise.
44028 * math/s_clog10f.c (__clog10f): Likewise.
44029 * math/s_clog10l.c (__clog10l): Likewise.
44030 * math/s_clogf.c (__clogf): Likewise.
44031 * math/s_clogl.c (__clogl): Likewise.
44032 * math/libm-test.inc (clog_test): Add more tests.
44033 (clog10_test): Likewise.
44034 * sysdeps/i386/fpu/libm-test-ulps: Update.
44035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44037 2012-07-31 Florian Weimer <fweimer@redhat.com>
44039 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44040 Exit with zero in case no suitable GID is found, and write a
44041 message to standard error.
44043 2012-07-30 Roland McGrath <roland@hack.frob.com>
44045 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44047 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44048 (MAXPATHLEN): Removed.
44049 (NOGROUP, NODEV): New macros.
44050 (setbit, clrbit, isset, isclr): New macros.
44051 (howmany, roundup, powerof2): New macros.
44052 (DEV_BSIZE): New macro.
44054 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44055 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44057 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44058 definition on [!__NO_LONG_DOUBLE_MATH].
44060 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44061 PTR_MANGLE and PTR_DEMANGLE.
44063 * socket/accept4.c (accept4): Rename to __libc_accept4.
44064 Define accept4 as a weak alias.
44066 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44067 on [_DIRENT_HAVE_D_TYPE].
44068 * io/ftw.c (ftw_dir): Likewise.
44070 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44072 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44074 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44075 Use the BSD numbers rather than the arbitrary ones we had.
44076 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44077 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44078 (SIGXCPU, SIGXFSZ): New macros.
44081 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44082 initializer on [_LIBC_REENTRANT].
44084 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44085 definitions inside [_POSIX_MAPPED_FILES].
44087 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44089 * dirent/opendir.c: Include <fcntl.h>.
44091 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44092 (__libc_getspecific): Likewise.
44093 (__libc_key_create): Likewise.
44095 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44096 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44097 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44098 (tmpfile64): Define as alias.
44099 * sysdeps/wordsize-64/tmpfile.c: File removed.
44100 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44104 * stdio-common/vfscanf.c: Include <stdbool.h>.
44105 * nss/makedb.c: Likewise.
44106 * stdio-common/_i18n_number.h: Likewise.
44107 * argp/argp-help.c: Likewise.
44108 * posix/wordexp.c: Likewise.
44109 * sysdeps/posix/spawni.c: Likewise.
44110 * nss/nss_files/files-initgroups.c: Likewise.
44111 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44112 * nss/nss_files/files-initgroups.c: Likewise.
44113 * nss/nss_db/db-netgrp.c: Likewise.
44114 * nss/nss_db/db-initgroups.c: Likewise.
44115 * io/fchmodat.c: Include <sys/stat.h>.
44117 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44118 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44120 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44123 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44124 Add multiple inclusion protection.
44126 2012-07-27 David S. Miller <davem@davemloft.net>
44128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44130 2012-07-27 Gary Benson <gbenson@redhat.com>
44133 * elf/rtld.c: Include <stap-probe.h>.
44134 (dl_main): Added static probes "init_start" and "init_complete".
44135 * elf/dl-load.c: Include <stap-probe.h>.
44136 (lose): Take new parameter "nsid".
44137 Added static probe "map_failed".
44138 (_dl_map_object_from_fd): Pass namespace id to lose.
44139 Added static probe "map_start".
44140 (open_verify): Pass namespace id to lose.
44141 * elf/dl-open.c: Include <stap-probe.h>.
44142 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44143 and "reloc_complete".
44144 * elf/dl-close.c: Include <stap-probe.h>.
44145 (_dl_close_worker): Added static probes "unmap_start" and
44147 * elf/rtld-debugger-interface.txt: New file documenting the above.
44149 2012-07-26 Roland McGrath <roland@hack.frob.com>
44151 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44152 rather than a string variable.
44153 * sunrpc/rpc_main.c (h_output): Likewise.
44154 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44156 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44158 * inet/check_native.c: New file.
44160 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44163 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44164 if larger part has absolute value 1.0.
44165 * math/s_clog10.c (__clog10): Likewise.
44166 * math/s_clog10f.c (__clog10f): Likewise.
44167 * math/s_clog10l.c (__clog10l): Likewise.
44168 * math/s_clogf.c (__clogf): Likewise.
44169 * math/s_clogl.c (__clogl): Likewise.
44170 * math/libm-test.inc (clog_test): Add more tests.
44171 (clog10_test): Likewise.
44172 * sysdeps/i386/fpu/libm-test-ulps: Update.
44173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44175 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44176 (pltexit): Likewise.
44177 (La_regs): Likewise.
44178 (La_retval): Likewise.
44179 (int_retval): Likewise.
44180 Update #error for removed macros to refer only to definitions in
44182 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44184 (pltexit): Likewise.
44185 (La_regs): Likewise.
44186 (La_retval): Likewise.
44187 (int_retval): Likewise.
44188 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44190 (pltexit): Likewise.
44191 (La_regs): Likewise.
44192 (La_retval): Likewise.
44193 (int_retval): Likewise.
44194 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44196 (pltexit): Likewise.
44197 (La_regs): Likewise.
44198 (La_retval): Likewise.
44199 (int_retval): Likewise.
44200 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44202 (pltexit): Likewise.
44203 (La_regs): Likewise.
44204 (La_retval): Likewise.
44205 (int_retval): Likewise.
44206 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44208 (pltexit): Likewise.
44209 (La_regs): Likewise.
44210 (La_retval): Likewise.
44211 (int_retval): Likewise.
44212 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44214 (pltexit): Likewise.
44215 (La_regs): Likewise.
44216 (La_retval): Likewise.
44217 (int_retval): Likewise.
44218 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44219 macro definitions in tst-audit.h.
44220 * sysdeps/i386/tst-audit.h: New file.
44221 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44222 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44223 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44224 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44225 * sysdeps/sh/tst-audit.h: Likewise.
44226 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44227 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44228 * sysdeps/x86_64/tst-audit.h: Likewise.
44230 2012-07-26 Andreas Jaeger <aj@suse.de>
44232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44235 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44236 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44237 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44239 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44240 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44241 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44243 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44246 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44248 (si_call_addr, si_syscall, si_arch): Define new macro.
44249 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44251 (si_call_addr, si_syscall, si_arch): Define new marcro.
44252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44254 (si_call_addr, si_syscall, si_arch): Define new macro.
44255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44257 (si_call_addr, si_syscall, si_arch): Define new macro.
44259 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44262 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44263 Change to 2.4.21 where previously 2.4.1.
44264 * sysdeps/unix/sysv/linux/configure: Regenerated.
44265 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44266 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44267 Linux kernel version.
44268 (__ASSUME_STD_AUXV): Remove.
44269 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44271 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44272 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44273 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44274 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44275 (__ASSUME_NETLINK_SUPPORT): Likewise.
44276 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44277 (__no_netlink_support): Remove conditional definition.
44278 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44280 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44281 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44282 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44283 (if_nameindex_ioctl): Remove.
44284 (if_nameindex_netlink): Do not handle __no_netlink_support.
44285 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44287 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44288 Remove conditional code.
44289 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44291 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44293 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44294 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44295 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44297 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44298 [!__ASSUME_STD_AUXV]: Remove conditional code.
44299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44300 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44301 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44303 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44304 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44306 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44308 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44309 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44311 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44313 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44316 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44319 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44320 code unconditional.
44321 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44323 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44325 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44328 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44330 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44333 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44334 code unconditional.
44335 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44337 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44339 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44342 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44343 code unconditional.
44344 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44346 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44348 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44351 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44353 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44354 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44355 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44356 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44357 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44358 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44359 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44360 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44361 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44362 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44363 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44364 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44365 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44366 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44367 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44368 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44369 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44370 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44371 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44373 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44374 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44375 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44377 2012-07-25 Florian Weimer <fweimer@redhat.com>
44379 * Versions.def: Add GLIBC_2.17.
44380 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44381 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44382 Introduce __libc_secure_getenv.
44383 * stdlib/Versions (2.17): Add secure_getenv
44384 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44385 * stdlib/secure-getenv.c: Rename __secure_getenv to
44386 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44387 symbol __secure_getenv for GLIBC_2.0.
44388 * stdlib/tst-secure-getenv.c: New.
44389 * stdlib/Makefile (tests): Add testcase.
44390 * manual/startup.texi (Environment Access): Document
44392 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44393 __libc_secure_getenv.
44394 * inet/ruserpass.c (ruserpass): Likewise.
44395 * malloc/mtrace.c (mtrace): Likewise.
44396 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44397 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44398 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44399 * sysdeps/posix/tempname.c: Likewise. Evaluate
44400 HAVE_SECURE_GETENV.
44401 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44402 __secure_getenv to __libc_secure_getenv.
44403 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44416 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44418 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44419 (struct La_i86_retval): Likewise.
44420 (struct La_x86_64_regs): Likewise.
44421 (struct La_x86_64_retval): Likewise.
44422 (struct La_x32_regs): Likewise.
44423 (struct La_x32_retval): Likewise.
44424 (struct La_ppc32_regs): Likewise.
44425 (struct La_ppc32_retval): Likewise.
44426 (struct La_ppc64_regs): Likewise.
44427 (struct La_ppc64_retval): Likewise.
44428 (struct La_sh_regs): Likewise.
44429 (struct La_sh_retval): Likewise.
44430 (struct La_s390_32_regs): Likewise.
44431 (struct La_s390_32_retval): Likewise.
44432 (struct La_s390_64_regs): Likewise.
44433 (struct La_s390_64_retval): Likewise.
44434 (struct La_sparc32_regs): Likewise.
44435 (struct La_sparc32_retval): Likewise.
44436 (struct La_sparc64_regs): Likewise.
44437 (struct La_sparc64_retval): Likewise.
44438 (struct audit_ifaces): Remove architecture-specific pltenter and
44440 * sysdeps/i386/ldsodefs.h: New file.
44441 * sysdeps/powerpc/ldsodefs.h: Likewise.
44442 * sysdeps/s390/ldsodefs.h: Likewise.
44443 * sysdeps/sh/ldsodefs.h: Likewise.
44444 * sysdeps/sparc/ldsodefs.h: Likewise.
44445 * sysdeps/x86_64/ldsodefs.h: Likewise.
44447 2012-07-25 Marek Polacek <polacek@redhat.com>
44450 * math/libm-test.inc (yn_test): Add another test.
44451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44452 to ERANGE when the result is +-Inf.
44453 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44454 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44455 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44458 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44460 * conform/data/time.h-data (NULL): Use macro-constant. Require
44462 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44464 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44466 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44468 * configure.in <sysdeps resolving>: Correct printing
44470 * configure: Regenerate.
44472 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44474 * math/w_ilogb.c: Include <limits.h>.
44475 * math/w_ilogbl.c: Likewise.
44477 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44479 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44480 va_copy. Document allowing for unavailable va_copy only as
44481 pre-C99 compatibility.
44482 * manual/string.texi (Copying and Concatenation): Use va_copy
44483 instead of __va_copy in concat example.
44485 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44487 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44488 (__sendto): Use create_address_port. Initialize APORT and deallocate
44491 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44492 with O_NOLINK passed to __file_name_lookup.
44494 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44495 with O_NOLINK passed to __file_name_lookup.
44497 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44498 negative N or less than NGIDS.
44500 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44501 type to string_t. Set ERANGE as errno and return it if NAME is not big
44502 enough. Use memcpy instead of strncpy.
44504 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44506 * elf/Makefile (check-data): Remove.
44507 (localplt.data): New vpath directive.
44508 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44509 instead of $(check-data).
44510 * scripts/data/localplt-generic.data: Move to ...
44511 * sysdeps/generic/localplt.data: ... here.
44512 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44513 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44514 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44517 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44520 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44523 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44526 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44529 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44533 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44535 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44536 PPC32 and PPC64 files.
44537 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44538 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44540 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44542 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44543 __makecontext_ret to ...
44544 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44545 ... here and call exit if uc_link is NULL. New file.
44546 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44547 __makecontext_ret.S.
44548 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44549 __makecontext_ret to ...
44550 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44551 ... here and call exit if uc_link is NULL. New file.
44552 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44553 __makecontext_ret.S.
44555 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44557 * elf/elf.h (R_390_IRELATIVE): New definition.
44558 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44559 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44560 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44562 (elf_machine_lazy_rel): Likewise.
44563 * sysdeps/s390/dl-irel.h: New file.
44564 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44565 * sysdeps/s390/s390-64/memset.S: New asm code.
44566 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44567 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44568 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44569 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44570 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44571 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44573 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44574 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44575 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44576 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44577 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44578 * sysdeps/s390/s390-32/memset.S: New asm code.
44579 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44581 2012-07-17 Marek Polacek <polacek@redhat.com>
44584 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44585 * sysdeps/s390/s390-64/configure.in: Likewise.
44586 * sysdeps/sparc/configure.in: Likewise.
44587 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44588 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44589 * sysdeps/i386/configure.in: Likewise.
44590 * sysdeps/x86_64/configure.in: Likewise.
44591 * sysdeps/sh/configure.in: Likewise.
44592 * sysdeps/s390/s390-32/configure: Regenerated.
44593 * sysdeps/s390/s390-64/configure: Likewise.
44594 * sysdeps/x86_64/configure: Likewise.
44595 * sysdeps/sh/configure: Likewise.
44596 * sysdeps/powerpc/powerpc64/configure: Likewise.
44597 * sysdeps/powerpc/powerpc32/configure: Likewise.
44598 * sysdeps/sparc/configure: Likwise.
44599 * sysdeps/i386/configure: Likewise.
44601 * elf/dl-open.c: Comment fixes.
44603 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44605 * Makefile [CXX] (check-data): Remove.
44606 [CXX] (c++-types.data): New vpath directive.
44607 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44608 vpath. Do not allow for C++ type data being missing.
44609 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44610 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44611 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44612 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44613 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44614 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44615 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44618 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44621 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44624 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44627 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44630 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44633 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44636 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44639 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44640 definitions to architecture-specific files.
44641 (TLS_IE): Likewise.
44642 (TLS_LD): Likewise.
44643 (TLS_GD): Likewise.
44644 * sysdeps/i386/tls-macros.h: New file.
44645 * sysdeps/powerpc/tls-macros.h: Likewise.
44646 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44647 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44648 * sysdeps/sh/tls-macros.h: Likewise.
44649 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44650 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44651 * sysdeps/x86_64/tls-macros.h: Likewise.
44653 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44655 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44656 zero value for regular exit case.
44658 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44659 (__start_context): Preserve zero value for regular exit case.
44661 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44662 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44664 * manual/setjmp.texi (setcontext): Clarify normal process
44665 termination when uc_link is the null pointer.
44666 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44669 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44671 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44672 preprocessor. Test for each exception mask separately.
44674 2012-07-16 Andreas Jaeger <aj@suse.de>
44676 * po/ru.po: Update from translation team.
44678 2012-07-15 Joseph Myers <joseph@codesourcery.com>
44680 * conform/data/string.h-data (NULL): Use macro-constant. Require
44682 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44683 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44684 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44685 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44688 2012-07-13 Andreas Jaeger <aj@suse.de>
44690 * po/fr.po: Update from translation team.
44692 2012-07-12 Marek Polacek <polacek@redhat.com>
44695 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44699 2012-07-12 Joseph Myers <joseph@codesourcery.com>
44702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44703 Change to 2.4.1 where previously 2.4.0.
44704 * sysdeps/unix/sysv/linux/configure: Regenerated.
44705 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44706 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44708 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44709 (__ASSUME_AT_CLKTCK): Remove.
44710 (__ASSUME_AT_PAGESIZE): Likewise.
44711 (__ASSUME_AT_XID): Likewise.
44712 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44713 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44714 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44716 (HAVE_AUX_PAGESIZE): Likewise.
44717 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44718 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44719 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44721 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44725 the temporary buffer used to invoke __gethostbyname2_r,
44726 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44727 host_data / struct gaih_addrtuple.
44728 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44729 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44730 header file nss/nsswitch.h.
44731 * nss/nsswitch.h (global scope): Add definition of implementation
44732 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44733 resolv/nss_dns/dns-host.c).
44735 2012-07-11 Andreas Jaeger <aj@suse.de>
44737 * po/fr.po: Update from translation team.
44739 * po/sv.po: Update from translation team
44740 * po/fr.po: Another update from translation team.
44742 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44745 for subnormals or multiply small sinh result by itself.
44746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44749 2012-07-11 David S. Miller <davem@davemloft.net>
44751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44753 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44756 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44757 (INTERNAL_MARK): Shift it here.
44759 2012-07-10 Marek Polacek <polacek@redhat.com>
44762 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44763 libc_cv_asm_global_directive with .globl.
44764 * configure: Regenerated.
44765 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44767 * sysdeps/i386/configure: Regenerated.
44768 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44770 * sysdeps/x86_64/configure: Regenerated.
44771 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44772 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44773 * elf/tst-unique2mod2.c: Likewise.
44774 * elf/tst-unique2mod1.c: Likewise.
44775 * elf/tst-unique1mod2.c: Likewise.
44776 * elf/tst-unique1mod1.c: Likewise.
44777 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44778 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44779 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44780 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44781 * sysdeps/mach/sysdep.h: Likewise.
44782 * sysdeps/i386/sysdep.h: Likewise.
44783 * sysdeps/i386/i386-mcount.S: Likewise.
44784 * sysdeps/x86_64/_mcount.S: Likewise.
44785 * sysdeps/x86_64/sysdep.h: Likewise.
44786 * sysdeps/sh/_mcount.S: Likewise.
44787 * sysdeps/sh/sysdep.h: Likewise.
44788 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44789 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44790 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44791 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44792 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44793 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44794 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44795 * locale/localeinfo.h: Likewise.
44796 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44797 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44799 2012-07-09 Roland McGrath <roland@hack.frob.com>
44802 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44804 * manual/message.texi (The Uniforum approach): Likewise.
44805 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44806 (glibc iconv Implementation): Likewise.
44808 2012-07-09 Joseph Myers <joseph@codesourcery.com>
44811 * math/s_clog.c (__clog): Avoid scaling a value down where that
44812 could result in underflow.
44813 * math/s_clog10.c (__clog10): Likewise.
44814 * math/s_clog10f.c (__clog10f): Likewise.
44815 * math/s_clog10l.c (__clog10l): Likewise.
44816 * math/s_clogf.c (__clogf): Likewise.
44817 * math/s_clogl.c (__clogl): Likewise.
44818 * math/libm-test.inc (clog_test): Add more tests.
44819 (clog10_test): Likewise.
44820 * sysdeps/i386/fpu/libm-test-ulps: Update.
44821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44823 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
44826 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44827 by 7 not 8 to examine high bit of fractional part.
44830 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44831 for call to __mcount_internal.
44832 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44833 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44834 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44836 2012-07-06 Joseph Myers <joseph@codesourcery.com>
44839 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44840 approximation for values within 0x1p-13f of an odd multiple of
44842 * math/libm-test.inc (tan_test): Do not allow spurious underflow
44843 exception. Add more tests.
44844 * sysdeps/i386/fpu/libm-test-ulps: Update.
44847 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44848 inputs and return -1 for them. Do not check for +Inf in case not
44849 reachable for +Inf.
44850 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44851 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44852 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44853 and return -1 for them. Do not check for +Inf in case not
44854 reachable for +Inf.
44855 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44857 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44858 and return -1 for them. Do not check for +Inf in case not
44859 reachable for +Inf.
44860 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
44861 spurious underflow.
44862 * sysdeps/i386/fpu/libm-test-ulps: Update.
44863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44865 2012-07-06 Mike Frysinger <vapier@gentoo.org>
44867 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44869 2012-07-05 Joseph Myers <joseph@codesourcery.com>
44873 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44874 could result in spurious underflow. Scale down values above
44875 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44876 * math/s_csqrtf.c (__csqrtf): Likewise.
44877 * math/s_csqrtl.c (__csqrtl): Likewise.
44878 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
44879 spurious underflow.
44880 * sysdeps/i386/fpu/libm-test-ulps: Update.
44881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44883 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
44885 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44887 * catgets/xopen-msg.awk: New file.
44888 * catgets/xopen-msg.sed: Removed.
44890 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44892 * intl/po2test.awk: New file.
44893 * intl/po2test.sed: Removed.
44895 2012-07-04 Joseph Myers <joseph@codesourcery.com>
44898 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44899 or multiply small sinh result by itself.
44900 * math/s_ctanf.c (__ctanf): Likewise.
44901 * math/s_ctanh.c (__ctanh): Likewise.
44902 * math/s_ctanhf.c (__ctanhf): Likewise.
44903 * math/s_ctanhl.c (__ctanhl): Likewise.
44904 * math/s_ctanl.c (__ctanl): Likewise.
44905 * math/libm-test.inc (ctan_test_tonearest): New function.
44906 (ctan_test_towardzero): Likewise.
44907 (ctan_test_downward): Likewise.
44908 (ctan_test_upward): Likewise.
44909 (ctanh_test_tonearest): Likewise.
44910 (ctanh_test_towardzero): Likewise.
44911 (ctanh_test_downward): Likewise.
44912 (ctanh_test_upward): Likewise.
44913 (main): Call these new functions.
44914 * sysdeps/i386/fpu/libm-test-ulps: Update.
44915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44917 2012-07-03 Mike Frysinger <vapier@gentoo.org>
44919 * .gitignore: Delete /ports entry.
44921 2012-07-03 Andreas Jaeger <aj@suse.de>
44923 * po/bg.po: Update from translation team.
44924 * po/cs.po: Likewise.
44925 * po/de.po: Likewise.
44926 * po/hr.po: Likewise.
44927 * po/nl.pl: Likewise.
44928 * po/pl.po: Likewise.
44929 * po/vi.po: Likewise.
44931 2012-07-03 Joseph Myers <joseph@codesourcery.com>
44933 * Makeconfig [!+link] (+link-before-libc): New variable.
44934 [!+link] (+link-after-libc): Likewise.
44935 [!+link] (+link-tests): Likewise.
44936 [!+link] (+link): Define in terms of $(+link-before-libc) and
44937 $(+link-after-libc).
44938 [!+link-static] (+link-static-before-libc): New variable.
44939 [!+link-static] (+link-static-after-libc): Likewise.
44940 [!+link-static] (+link-static-tests): Likewise.
44941 [!+link-static] (+link-static): Define in terms of
44942 $(+link-static-before-libc) and $(+link-static-after-libc).
44943 [build-shared] (link-libc-before-gnulib): New variable.
44944 [build-shared] (link-libc-tests): Likewise.
44945 [build-shared] (link-libc): Define in terms of
44946 $(link-libc-before-gnulib).
44947 [!build-shared] (link-libc-tests): New variable.
44948 (link-libc-static-tests): New variable.
44949 [!gnulib] (gnulib-arch): New variable.
44950 [!gnulib] (gnulib-tests): Likewise.
44951 [!gnulib] (static-gnulib-arch): Likewise.
44952 [!gnulib] (static-gnulib-tests): Likewise.
44953 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
44954 Define with "=" instead of ":=".
44955 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
44956 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
44957 * Rules (binaries-all-notests): New variable.
44958 (binaries-all-tests): Likewise.
44959 (binaries-static-notests): Likewise.
44960 (binaries-static-tests): Likewise.
44961 (binaries-all): Define using $(binaries-all-notests) and
44962 $(binaries-all-tests).
44963 (binaries-static): Define using $(binaries-static-notests) and
44964 $(binaries-static-tests).
44965 (binaries-shared-tests): New variable.
44966 (binaries-shared-notests): Likewise.
44967 (binaries-shared): Remove variable.
44968 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44969 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44970 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44971 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44972 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44973 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44974 * elf/Makefile (sln-modules): New variable.
44975 (extra-objs): Add $(sln-modules:=.o).
44976 (ldconfig-modules): Add static-stubs.
44977 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44978 * elf/static-stubs.c: New file.
44981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44982 by 7 not 8 to examine high bit of fractional part. Use volatile
44983 variables when splitting into final array of floats if
44984 __FLT_EVAL_METHOD__ != 0.
44985 * math/libm-test.inc (cos_test): Add another test.
44986 (sin_test): Likewise.
44987 * sysdeps/i386/fpu/libm-test-ulps: Update.
44990 * math/libm-test.inc (cosh_test): Add more tests.
44992 * version.h (RELEASE): Set to "development".
44993 (VERSION): Set to "2.16.90".
44995 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
44997 * NEWS: Update copyright. Remove last-updated date.
44998 Mention math library bug fixes and timezone data changes.
44999 * README: Mention GNU/Hurd, x32, and HPPA support status.
45001 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45003 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45005 2012-06-27 Andreas Jaeger <aj@suse.de>
45007 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45009 2012-06-25 Andreas Jaeger <aj@suse.de>
45011 * sysdeps/s390/fpu/libm-test-ulps: Update.
45013 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45014 Thomas Schwinge <thomas@codesourcery.com>
45016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45017 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45021 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45023 * sysdeps/mach/start.c: Remove file.
45024 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45025 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45026 * sysdeps/sh/init-first.c: Likewise.
45028 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45029 registers for frame unwinding purposes, add CFI directives.
45030 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45032 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45035 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45036 __fortify_fail returning.
45037 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45039 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45040 sysdeps/sh/____longjmp_chk.S.
45041 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45042 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45043 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45044 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45046 * sysdeps/sh/abort-instr.h: New file.
45047 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45048 process in case exit returns.
45050 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45051 initialize the GOT register before use.
45053 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45054 calculation of ARGC > 4.
45056 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45057 meaningful names to some local labels.
45059 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45060 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45062 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45063 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45064 (__arch_compare_and_exchange_val_16_acq): Likewise.
45065 (__arch_compare_and_exchange_val_32_acq): Likewise.
45066 (atomic_exchange_and_add): Fix gUSA sequence.
45067 (atomic_add): Likewise.
45068 (atomic_add_negative): Likewise.
45069 (atomic_add_zero): Likewise.
45070 (atomic_bit_test_set): Likewise.
45072 2012-06-22 Andreas Schwab <schwab@redhat.com>
45075 * include/link.h (struct link_map): Add l_free_initfini.
45076 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45078 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45079 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45080 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45083 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45085 * configure.in: Use AC_LANG_SOURCE.
45086 * configure: Regenerate.
45088 2012-06-22 Roland McGrath <roland@hack.frob.com>
45090 * configure.in (libc_cv_localstatedir): New substituted variable.
45091 * configure: Regenerated.
45092 * config.make.in (localstatedir): New variable, substituted from
45093 libc_cv_localstatedir.
45094 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45095 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45096 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45097 * sysdeps/gnu/configure: Regenerated.
45099 2012-06-21 Jeff Law <law@redhat.com>
45102 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45103 free. Simplify list management for _LIBC case.
45105 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45109 Clear sign bit of 64-bit integer value before comparing against
45112 * sysdeps/mach/configure: Regenerated.
45114 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45117 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45119 2012-06-21 Jeff Law <law@redhat.com>
45122 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45123 uint16_t for elements in the "seen" array to avoid char overflows.
45124 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45125 * elf/dl-open.c (dl_open_worker): Likewise.
45127 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45129 * scripts/list-sources.sh: Scan PORTS for translations.
45130 * po/libc.pot: Regenerated.
45132 2012-06-21 Andreas Jaeger <aj@suse.de>
45135 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45137 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45138 * bits/byteswap-16.h (__bswap_16): Likewise.
45139 * bits/byteswap.h (__bswap_constant_16): Likewise.
45141 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45144 * sysdeps/i386/fpu_control.h: Removed.
45145 * sysdeps/x86_64/fpu_control.h: Moved to ...
45146 * sysdeps/x86/fpu_control.h: Here.
45148 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45149 (_FPU_SETCW): Likewise.
45151 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45154 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45155 * sysdeps/x86/fpu/bits/mathinline.h: This.
45156 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45160 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45161 functions if __x86_64__ is defined.
45163 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45165 * string/endian.h: Add !__ASSEMBLER__ condition for including
45166 conversion interfaces.
45168 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45172 of ABS(x) in calculating zero to negative powers other than odd
45174 * math/libm-test.inc (pow_test): Add more tests.
45176 2012-06-15 Andreas Jaeger <aj@suse.de>
45178 * manual/contrib.texi (Contributors): Update entry of Liubov
45179 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45182 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45184 * string/string.h: Add __wur to GNU version of strerror_r.
45186 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45189 * string/Makefile (tests): Add tst-strtok_r.
45190 * string/tst-strtok_r.c: New file.
45191 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45192 RAX_LP/RDX_LP on SAVE_PTR.
45194 2012-06-14 Roland McGrath <roland@hack.frob.com>
45196 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45198 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45200 * libm_test.inc (csqrt_test): Allow more spurious underflow
45202 (j0_test): Likewise.
45203 (j1_test): Likewise.
45204 (y0_test): Likewise.
45205 (y1_test): Likewise.
45207 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45209 * po/Makefile (libc.pot): Use UTF-8 charset.
45211 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45214 Suppress sign-conversion warning from FD_SET.
45215 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45216 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45217 not unsigned long int.
45218 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45220 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45224 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45225 __extern_always_inline instead of __extern_inline.
45226 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45227 (__signbit): Likewise.
45228 (__signbitl): Support C++ namespace.
45229 (lrintf): New inline function.
45231 (llrintf): Likewise.
45232 (llrint): Likewise.
45242 (floorf): Likewise.
45243 (nearbyint): Likewise.
45244 (nearbyintf): Likewise.
45246 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45248 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45249 non-default versions.
45251 2012-06-11 Roland McGrath <roland@hack.frob.com>
45254 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45256 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45258 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45259 (FE_UPWARD, FE_DOWNWARD): Don't define.
45260 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45261 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45263 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45265 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45266 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45268 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45270 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45271 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45272 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45273 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45275 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45278 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45279 * sysdeps/i386/fpu/Implies: New file.
45280 * sysdeps/x86_64/fpu/Implies: Likewise.
45281 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45282 * sysdeps/x86/fpu/bits/fenv.h: This.
45284 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45287 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45290 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45291 character 0xffff that matches the last element of the
45294 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45299 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45302 values higher than 25.6283.
45304 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45307 subnormal exponent extraction and add some __builtin_expect.
45308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45309 Fix for subnormal mantissa calculation.
45311 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45313 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45314 cpu2 is -1 and errno is not ENOSYS.
45316 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45319 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45320 * sysdeps/x86/bits/string.h: This.
45321 * sysdeps/x86_64/bits/string.h: Removed.
45323 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45324 if not compiling for x86-64, but compiling for >= i486.
45326 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45327 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45329 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45330 New macro from Linux kernel 3.4.0.
45331 (FP_XSTATE_MAGIC2): Likewise.
45332 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45333 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45334 (struct _fpx_sw_bytes): New struct.
45335 (struct _xsave_hdr): Likewise.
45336 (struct _ymmh_state): Likewise.
45337 (struct _xstate): Likewise.
45339 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45340 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45341 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45342 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45343 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45344 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45346 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45347 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45348 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45349 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45350 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45351 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45353 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45356 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45357 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45358 (sysdep_headers): Include sys/platform/ppc.h.
45359 * sysdeps/powerpc/test-gettimebase.c: Test for
45360 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45361 * manual/Makefile (appendices): Include platform.texi.
45362 * manual/contrib.texi (Contributors): Update @node pointers.
45363 * manual/maint.texi (Maintenance): Likewise.
45364 (Platform): New node.
45365 * manual/platform.texi: New file. Document the new features.
45367 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45368 Jakub Jelinek <jakub@redhat.com>
45371 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45372 where __builtin_expect is unavailable.
45374 2012-06-03 David S. Miller <davem@davemloft.net>
45376 * stdlib/longlong.h: Updated from GCC.
45378 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45381 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45382 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45385 (GLIBC_2.16): Likewise.
45387 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45389 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45391 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45394 (default-abi): New variable.
45395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45396 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45398 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45400 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45402 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45405 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45406 definition. Document in comment.
45408 2012-06-01 David S. Miller <davem@davemloft.net>
45410 * stdlib/longlong.h: Updated from GCC.
45412 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45415 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45416 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45417 sys/debugreg.h sys/io.h here.
45418 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45419 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45421 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45422 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45423 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45424 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45425 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45426 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45428 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45429 Define only if __x86_64__ is defined.
45431 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45434 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45435 Use int64_t for variable i.
45436 * math/libm-test.inc (fmod_test): Add more tests.
45438 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45439 z computation is not scheduled after fetestexcept.
45440 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45441 Use math_force_eval instead of asm to ensure calculation scheduled
45442 before exception test.
45443 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45444 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45446 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45448 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45449 computation is not scheduled after fetestexcept.
45451 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45454 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45455 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45457 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45459 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45460 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45462 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45465 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45467 (__WCHAR_MIN): Support __WORDSIZE == 64.
45468 (__WCHAR_MAX): Likewise.
45470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45471 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45475 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45478 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45479 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45481 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45482 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45485 Defined to 1 if __x86_64__ isn't defined.
45486 (_STAT_VER_LINUX_OLD): New.
45487 (st_atime): Remove duplicate.
45488 (st_mtime): Likewise.
45489 (st_ctime): Likewise.
45491 2012-05-31 David S. Miller <davem@davemloft.net>
45493 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45496 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45498 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45502 * elf/dl-reloc.c: Include <_itoa.h>.
45503 (_dl_reloc_bad_type): Remove use of INTUSE.
45504 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45505 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45506 * stdio-common/psiginfo.c (psiginfo): Likewise.
45507 * stdio-common/psignal.c (psignal): Likewise.
45508 * string/strsignal.c (strsignal): Likewise.
45509 * include/signal.h (_sys_siglist): Declare hidden proto.
45510 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45511 INTVARDEF with libc_hidden_data_def.
45512 * stdio-common/itoa-udigits.c: Likewise.
45513 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45514 (_itoa_lower_digits_internal): Remove declaration.
45515 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45516 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45517 (_sys_sigabbrev_internal): Remove aliases.
45518 (_sys_siglist): Define hidden alias.
45520 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45525 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45528 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45529 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45531 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45532 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45533 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45534 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45536 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45538 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45539 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45540 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45542 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45552 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45554 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45555 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45556 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45557 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45558 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45559 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45561 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45562 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45564 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45565 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45568 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45569 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45571 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45572 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45574 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45576 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45577 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45578 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45580 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45582 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45584 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45586 * math/math.h (M_El): Use two more decimal places.
45587 (M_LOG2El): Likewise.
45588 (M_LOG10El): Likewise.
45589 (M_LN2l): Likewise.
45590 (M_LN10l): Likewise.
45592 (M_PI_2l): Likewise.
45593 (M_PI_4l): Likewise.
45594 (M_1_PIl): Likewise.
45595 (M_2_PIl): Likewise.
45596 (M_2_SQRTPIl): Likewise.
45597 (M_SQRT2l): Likewise.
45598 (M_SQRT1_2l): Likewise.
45600 2012-05-31 David S. Miller <davem@davemloft.net>
45602 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45603 values between float registers.
45604 * sysdeps/sparc/sparc64/memset.S: Likewise.
45605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45607 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45609 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45610 -D_FORTIFY_SOURCE=1.
45611 (CPPFLAGS-tst-longjmp_chk.c): Define.
45612 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45613 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45614 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45615 CFLAGS-tst-wchar-h.c.
45617 2012-05-31 Marek Polacek <polacek@redhat.com>
45620 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45621 __endmntent_internal): Remove declaration.
45622 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45623 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45624 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45626 2012-05-30 David S. Miller <davem@davemloft.net>
45628 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45629 (___Q_simulate_exceptions): Use real FP ops rather than writing
45631 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45634 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45637 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45638 * sysdeps/x86/bits/xtitypes.h: This.
45640 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45641 * sysdeps/x86/bits/wordsize.h: This.
45643 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45644 * sysdeps/x86/bits/huge_vall.h: This.
45646 * sysdeps/i386/bits/select.h: Removed.
45647 * sysdeps/x86_64/bits/select.h: Renamed to ...
45648 * sysdeps/x86/bits/select.h: This.
45650 * sysdeps/i386/bits/setjmp.h: Removed.
45651 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45652 * sysdeps/x86/bits/setjmp.h: This.
45654 * sysdeps/i386/bits/mathdef.h: Removed.
45655 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45656 * sysdeps/x86/bits/mathdef.h: This.
45658 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45661 * include/sys/socket.h (__connect_internal)
45662 (__libc_sa_len_internal): Remove declaration.
45663 (__connect, __libc_sa_len): Declare hidden_proto.
45664 (SA_LEN): Remove use of INTUSE.
45665 * socket/connect.c: Add libc_hidden_def.
45666 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45667 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45668 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45670 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45671 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45672 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45673 of adding _internal alias.
45675 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45678 * sysdeps/i386/bits/link.h: Removed.
45679 * sysdeps/i386/bits/linkmap.h: Likewise.
45680 * sysdeps/x86_64/bits/link.h: Renamed to ...
45681 * sysdeps/x86/bits/link.h: This.
45682 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45683 * sysdeps/x86/bits/linkmap.h: This.
45685 * sysdeps/i386/bits/endian.h: Removed.
45686 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45687 * sysdeps/x86/bits/endian.h: This.
45689 * sysdeps/i386/bits/byteswap.h: Removed.
45690 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45691 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45692 * sysdeps/x86/bits/byteswap.h: This.
45693 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45694 * sysdeps/x86/bits/byteswap-16.h: This.
45695 * sysdeps/i386/Implies: Add x86.
45696 * sysdeps/x86_64/Implies: Likewise.
45698 2012-05-30 David S. Miller <davem@davemloft.net>
45700 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45701 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45703 (FP_TRAPPING_EXCEPTIONS): Define.
45704 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45705 (FP_TRAPPING_EXCEPTIONS): Define.
45706 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45707 subnormals only when inexact has been signalled or underflow
45708 exceptions are enabled.
45709 (_FP_PACK_CANONICAL): Likewise.
45711 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45714 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45715 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45717 2012-05-30 Richard Henderson <rth@twiddle.net>
45719 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45720 with #ifndef NOT_IN_libc.
45722 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45723 marked to avoid plt entry.
45725 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45728 * Makeconfig (default-abi): New macro.
45729 (abi-includes): Likewise.
45730 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45731 $(abi-$(default-abi)-lib-soname) for soname if defined.
45732 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45734 * Makefile (installed-stubs): Likewise.
45735 * include/stubs-biarch.h: Removed.
45736 * scripts/lib-names.awk: Only handle one library at a time.
45737 * scripts/soversions.awk: Remove WORDSIZE support.
45738 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45740 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45742 (syscall-list-default-condition): Likewise.
45743 (syscall-list-default-condition): Likewise.
45744 (syscall-list-includes): Likewise.
45745 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45746 syscall-list-* with abi-*. Handle undefined abi-variants.
45747 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45748 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45749 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45750 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45751 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45752 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45754 (syscall-list-32-options): Likewise.
45755 (syscall-list-32-condition): Likewise.
45756 (syscall-list-64-options): Likewise.
45757 (syscall-list-64-condition): Likewise.
45758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45760 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45763 (abi-64-ld-soname): New macro.
45764 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45765 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45768 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45769 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45771 2012-05-30 Joseph Myers <joseph@codesourcery.com>
45773 * sysdeps/unix/sysv/linux/kernel-features.h
45774 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45775 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45776 include <kernel-features.h>.
45777 [!__NR_ftruncate64]: Remove conditional code.
45778 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45779 [__NR_ftruncate64]: Make code unconditional.
45780 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45781 * sysdeps/unix/sysv/linux/truncate64.c: Do not
45782 include <kernel-features.h>.
45783 [!__NR_ftruncate64]: Remove conditional code.
45784 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45785 [__NR_ftruncate64]: Make code unconditional.
45786 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45788 include <kernel-features.h>.
45789 [!__NR_ftruncate64]: Remove conditional code.
45790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45791 [__NR_ftruncate64]: Make code unconditional.
45792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45794 include <kernel-features.h>.
45795 [!__NR_ftruncate64]: Remove conditional code.
45796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45797 [__NR_ftruncate64]: Make code unconditional.
45798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45800 * configure.in (libc_cv_fpie): Weaken to a compile test using
45801 LIBC_TRY_CC_OPTION.
45802 * configure: Regenerated.
45804 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45819 2012-05-27 David S. Miller <davem@davemloft.net>
45821 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45823 (__Q_simulate_exceptions): Return void. Change to simulate
45824 exceptions by writing into the %fsr.
45825 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45826 (__Qp_handle_exceptions): Likewise.
45828 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45829 __Qp_handle_exceptions.
45830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45831 __Qp_handle_exceptions.
45832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45833 as unused and give dummy FP_RND_NEAREST initializer.
45834 (FP_INHIBIT_RESULTS): Define.
45835 (___Q_simulate_exceptions): Update declaration.
45836 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45838 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45839 as unused and give dummy FP_RND_NEAREST initializer.
45840 (__Qp_handle_exceptions): Update declaration.
45841 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45844 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
45846 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45847 the temporary FPU control word.
45848 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45849 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45850 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45851 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45852 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45853 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45854 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45855 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45856 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45857 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45858 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45860 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45862 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45865 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
45867 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45868 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45869 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45870 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45872 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45873 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45876 2012-05-27 Ulrich Drepper <drepper@gmail.com>
45878 * po/h.po: Update from translation team.
45880 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
45882 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45885 handling of denormals.
45886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45887 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45889 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45890 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45895 2012-05-26 Marek Polacek <polacek@redhat.com>
45898 * math/libm-test.inc (fma_test): Don't always expect underflow
45901 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45904 * elf/tst-execstack.c: Include stackinfo.h.
45905 (do_test): Adjust test case to ensure that pthread_getattr_np
45906 behaviour remains the same after marking stack executable.
45908 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45910 * sysdeps/unix/sysv/linux/kernel-features.h
45911 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45912 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45914 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45915 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45916 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45918 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45919 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45921 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
45923 * configure.in: Define the default includes to being none.
45924 * configure: Regenerated.
45926 2012-05-25 Roland McGrath <roland@hack.frob.com>
45928 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45929 * sysdeps/x86_64/setjmp.S: Likewise.
45930 * sysdeps/i386/bsd-setjmp.S: Likewise.
45931 * sysdeps/i386/bsd-_setjmp.S: Likewise.
45932 * sysdeps/i386/setjmp.S: Likewise.
45933 * sysdeps/i386/__longjmp.S: Likewise.
45934 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45935 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45937 * include/stap-probe.h: New file.
45938 * configure.in: Handle --enable-systemtap.
45939 * configure: Regenerated.
45940 * config.h.in (USE_STAP_PROBE): New #undef.
45941 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45942 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45943 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45945 2012-05-25 Joseph Myers <joseph@codesourcery.com>
45948 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45949 to 2.4.0 where earlier.
45950 * sysdeps/unix/sysv/linux/configure: Regenerated.
45951 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45952 <kernel-features.h>.
45953 [__ASSUME_32BITUIDS]: Make code unconditional.
45954 [!__ASSUME_32BITUIDS]: Remove conditional code.
45955 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45956 <kernel-features.h>.
45957 [__ASSUME_32BITUIDS]: Make code unconditional.
45958 [!__ASSUME_32BITUIDS]: Remove conditional code.
45959 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45960 [__ASSUME_32BITUIDS]: Make code unconditional.
45961 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45962 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45963 <kernel-features.h>.
45964 [__ASSUME_32BITUIDS]: Make code unconditional.
45965 [!__ASSUME_32BITUIDS]: Remove conditional code.
45966 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45967 <kernel-features.h>.
45968 [__ASSUME_32BITUIDS]: Make code unconditional.
45969 [!__ASSUME_32BITUIDS]: Remove conditional code.
45970 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45971 <kernel-features.h>.
45972 [__ASSUME_32BITUIDS]: Make code unconditional.
45973 [!__ASSUME_32BITUIDS]: Remove conditional code.
45974 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45975 <kernel-features.h>.
45976 [__ASSUME_32BITUIDS]: Make code unconditional.
45977 [!__ASSUME_32BITUIDS]: Remove conditional code.
45978 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45979 <kernel-features.h>.
45980 [__ASSUME_32BITUIDS]: Make code unconditional.
45981 [!__ASSUME_32BITUIDS]: Remove conditional code.
45982 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45983 <kernel-features.h>.
45984 [__ASSUME_32BITUIDS]: Make code unconditional.
45985 [!__ASSUME_32BITUIDS]: Remove conditional code.
45986 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45987 <kernel-features.h>.
45988 [__ASSUME_32BITUIDS]: Make code unconditional.
45989 [!__ASSUME_32BITUIDS]: Remove conditional code.
45990 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45991 <kernel-features.h>.
45992 [__ASSUME_32BITUIDS]: Make code unconditional.
45993 [!__ASSUME_32BITUIDS]: Remove conditional code.
45994 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45995 <kernel-features.h>.
45996 [__ASSUME_32BITUIDS]: Make code unconditional.
45997 [!__ASSUME_32BITUIDS]: Remove conditional code.
45998 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45999 <kernel-features.h>.
46000 [__ASSUME_32BITUIDS]: Make code unconditional.
46001 [!__ASSUME_32BITUIDS]: Remove conditional code.
46002 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46003 <kernel-features.h>.
46004 [__NR_setresgid] (__setresgid): Do not declare.
46005 [__ASSUME_32BITUIDS]: Make code unconditional.
46006 [!__ASSUME_32BITUIDS]: Remove conditional code.
46007 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46008 <kernel-features.h>.
46009 [__NR_setresuid] (__setresuid): Do not declare.
46010 [__ASSUME_32BITUIDS]: Make code unconditional.
46011 [!__ASSUME_32BITUIDS]: Remove conditional code.
46012 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46013 <kernel-features.h>.
46014 [__ASSUME_32BITUIDS]: Make code unconditional.
46015 [!__ASSUME_32BITUIDS]: Remove conditional code.
46016 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46017 <kernel-features.h>.
46018 [__ASSUME_32BITUIDS]: Make code unconditional.
46019 [!__ASSUME_32BITUIDS]: Remove conditional code.
46020 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46021 <kernel-features.h>.
46022 [__ASSUME_32BITUIDS]: Make code unconditional.
46023 [!__ASSUME_32BITUIDS]: Remove conditional code.
46024 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46025 <kernel-features.h>.
46026 [__ASSUME_32BITUIDS]: Make code unconditional.
46027 [!__ASSUME_32BITUIDS]: Remove conditional code.
46028 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
46053 (__ASSUME_SETRESUID_SYSCALL): Remove.
46054 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46055 (__ASSUME_32BITUIDS): Likewise.
46056 (__ASSUME_LDT_WORKS): Likewise.
46057 (__ASSUME_O_DIRECTORY): Likewise.
46058 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46059 architecture but not kernel version.
46060 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46061 (__ASSUME_MMAP2_SYSCALL): Likewise.
46062 (__ASSUME_STAT64_SYSCALL): Likewise.
46063 (__ASSUME_IPC64): Likewise.
46064 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46065 <kernel-features.h>.
46066 [__ASSUME_32BITUIDS]: Make code unconditional.
46067 [!__ASSUME_32BITUIDS]: Remove conditional code.
46068 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46069 <kernel-features.h>.
46070 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46071 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46072 132096]: Remove conditional code.
46073 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46074 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46075 <kernel-features.h>.
46076 [__ASSUME_32BITUIDS]: Make code unconditional.
46077 [!__ASSUME_32BITUIDS]: Remove conditional code.
46078 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
46083 <kernel-features.h>.
46084 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46086 (__setresgid): Do not declare.
46087 [__ASSUME_32BITUIDS]: Make code unconditional.
46088 [!__ASSUME_32BITUIDS]: Remove conditional code.
46089 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46090 <kernel-features.h>.
46091 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46093 (__setresuid): Do not declare.
46094 [__ASSUME_32BITUIDS]: Make code unconditional.
46095 [!__ASSUME_32BITUIDS]: Remove conditional code.
46096 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46097 <kernel-features.h>.
46098 [__ASSUME_32BITUIDS]: Make code unconditional.
46099 [!__ASSUME_32BITUIDS]: Remove conditional code.
46100 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46101 <kernel-features.h>.
46102 [__ASSUME_32BITUIDS]: Make code unconditional.
46103 [!__ASSUME_32BITUIDS]: Remove conditional code.
46105 2012-05-25 Richard Henderson <rth@twiddle.net>
46107 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46108 dl_hwcap to ifunc resolver.
46109 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46111 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46112 dl_hwcap to ifunc resolver.
46113 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46115 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46118 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46119 for |x| <= 2**-26, not 2**-57.
46120 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46123 2012-05-24 Jeff Law <law@redhat.com>
46125 * stdio-common/Makefile (tests): Add bug25.
46126 * stdio-common/bug25.c: New test.
46128 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46131 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46132 multiple of MALLOC_ALIGNMENT in size.
46133 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46135 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46137 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46139 (FILENAME_MAX): Use macro-int-constant.
46140 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46141 (_IOFBF): Use macro-int-constant.
46142 (_IOLBF): Likewise.
46143 (_IONBF): Likewise.
46144 (SEEK_CUR): Likewise.
46145 (SEEK_END): Likewise.
46146 (SEEK_SET): Likewise.
46147 (TMP_MAX): Likewise.
46148 (EOF): Use macro-int-constant. Require < 0.
46149 (NULL): Use macro-constant. Require == 0.
46150 (stdin): Require type to be FILE *.
46151 (stdout): Likewise.
46152 (stderr): Likewise.
46153 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46154 macro-int-constant.
46155 (EXIT_SUCCESS): Likewise.
46156 (NULL): Use macro-constant. Require == 0.
46157 (RAND_MAX): Use macro-int-constant.
46158 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46159 [C99-based standards] (strtof): Require function.
46160 [C99-based standards] (strtold): Likewise.
46161 [C99-based standards] (strtoll): Likewise.
46162 [C99-based standards] (strtoull): Likewise.
46163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46164 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46165 [ISO || ISO99 || ISO11] (math.h): Likewise.
46166 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46167 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46170 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46173 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46174 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46175 * intl/dgettext.c (DCGETTEXT): Likewise.
46176 * intl/gettext.c (DCGETTEXT): Likewise.
46177 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46178 * posix/regex_internal.h (gettext): Likewise.
46179 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46180 Remove declaration.
46181 * include/argz.h (__argz_count_internal)
46182 (__argz_stringify_internal): Remove declaration.
46183 (__argz_count, __argz_stringify): Declare hidden proto.
46184 * intl/dcgettext.c: Remove use of INTDEF.
46185 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46186 * string/argz-stringify.c: Likewise.
46187 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46188 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46189 Declare hidden proto.
46190 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46191 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46192 Declare hidden proto.
46193 * include/stdio.h (__asprintf_internal): Don't declare.
46194 (__asprintf): Don't define as macro. Declare hidden proto.
46195 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46196 (__fsetlocking): Declare hidden proto.
46197 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46198 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46200 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46201 (_IO_setlinebuf): Remove use of INTUSE.
46202 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46203 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46204 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46205 Remove declaration.
46206 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46207 (_IO_do_flush): Remove use of INTUSE.
46208 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46209 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46210 (_IO_adjust_column, _IO_least_wmarker)
46211 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46212 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46213 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46214 (_IO_default_doallocate, _IO_wdefault_doallocate)
46215 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46216 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46217 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46218 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46219 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46220 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46221 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46222 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46223 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46224 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46225 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46226 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46227 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46229 (_IO_flush_all_internal, _IO_adjust_column_internal)
46230 (_IO_default_uflow_internal, _IO_default_finish_internal)
46231 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46232 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46233 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46234 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46235 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46236 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46237 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46238 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46239 (_IO_file_close_internal, _IO_file_close_it_internal)
46240 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46241 (_IO_file_init_internal, _IO_file_attach_internal)
46242 (_IO_file_fopen_internal, _IO_file_read_internal)
46243 (_IO_file_sync_internal, _IO_file_seek_internal)
46244 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46245 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46246 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46247 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46248 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46249 (_IO_list_all_internal, _IO_link_in_internal)
46250 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46251 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46252 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46253 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46254 (_IO_do_write_internal, _IO_padn_internal)
46255 (_IO_getline_info_internal, _IO_getline_internal)
46256 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46257 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46258 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46259 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46260 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46261 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46262 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46263 with libc_hidden_ver, remove use of INTUSE.
46264 * libio/genops.c: Likewise.
46265 * libio/freopen.c: Likewise.
46266 * libio/freopen64.c: Likewise.
46267 * libio/iofclose.c: Likewise.
46268 * libio/iofdopen.c: Likewise.
46269 * libio/iofflush.c: Likewise.
46270 * libio/iofflush_u.c: Likewise.
46271 * libio/iofgets.c: Likewise.
46272 * libio/iofgets_u.c: Likewise.
46273 * libio/iofopen.c: Likewise.
46274 * libio/iofopncook.c: Likewise.
46275 * libio/iofread.c: Likewise.
46276 * libio/iofread_u.c: Likewise.
46277 * libio/ioftell.c: Likewise.
46278 * libio/iofwrite.c: Likewise.
46279 * libio/iogetline.c: Likewise.
46280 * libio/iogets.c: Likewise.
46281 * libio/iogetwline.c: Likewise.
46282 * libio/iopadn.c: Likewise.
46283 * libio/iopopen.c: Likewise.
46284 * libio/ioseekoff.c: Likewise.
46285 * libio/ioseekpos.c: Likewise.
46286 * libio/iosetbuffer.c: Likewise.
46287 * libio/iosetvbuf.c: Likewise.
46288 * libio/ioungetc.c: Likewise.
46289 * libio/ioungetwc.c: Likewise.
46290 * libio/iovdprintf.c: Likewise.
46291 * libio/iovsprintf.c: Likewise.
46292 * libio/iovsscanf.c: Likewise.
46293 * libio/memstream.c: Likewise.
46294 * libio/obprintf.c: Likewise.
46295 * libio/oldfileops.c: Likewise.
46296 * libio/oldiofclose.c: Likewise.
46297 * libio/oldiofdopen.c: Likewise.
46298 * libio/oldiofopen.c: Likewise.
46299 * libio/oldiopopen.c: Likewise.
46300 * libio/oldstdfiles.c: Likewise.
46301 * libio/putc.c: Likewise.
46302 * libio/setbuf.c: Likewise.
46303 * libio/setlinebuf.c: Likewise.
46304 * libio/stdfiles.c: Likewise.
46305 * libio/strops.c: Likewise.
46306 * libio/vasprintf.c: Likewise.
46307 * libio/vscanf.c: Likewise.
46308 * libio/vsnprintf.c: Likewise.
46309 * libio/vswprintf.c: Likewise.
46310 * libio/wfiledoalloc.c: Likewise.
46311 * libio/wfileops.c: Likewise.
46312 * libio/wgenops.c: Likewise.
46313 * libio/wmemstream.c: Likewise.
46314 * libio/wstrops.c: Likewise.
46315 * libio/__fpurge.c: Likewise.
46316 * libio/__fsetlocking.c: Likewise.
46317 * assert/assert.c: Likewise.
46318 * debug/fgets_chk.c: Likewise.
46319 * debug/fgets_u_chk.c: Likewise.
46320 * debug/fread_chk.c: Likewise.
46321 * debug/fread_u_chk.c: Likewise.
46322 * debug/gets_chk.c: Likewise.
46323 * debug/obprintf_chk.c: Likewise.
46324 * debug/vasprintf_chk.c: Likewise.
46325 * debug/vdprintf_chk.c: Likewise.
46326 * debug/vsnprintf_chk.c: Likewise.
46327 * debug/vsprintf_chk.c: Likewise.
46328 * malloc/mtrace.c: Likewise.
46329 * misc/error.c: Likewise.
46330 * misc/syslog.c: Likewise.
46331 * stdio-common/asprintf.c: Likewise.
46332 * stdio-common/fxprintf.c: Likewise.
46333 * stdio-common/getw.c: Likewise.
46334 * stdio-common/isoc99_fscanf.c: Likewise.
46335 * stdio-common/isoc99_scanf.c: Likewise.
46336 * stdio-common/isoc99_vfscanf.c: Likewise.
46337 * stdio-common/isoc99_vscanf.c: Likewise.
46338 * stdio-common/isoc99_vsscanf.c: Likewise.
46339 * stdio-common/printf-prs.c: Likewise.
46340 * stdio-common/printf_fp.c: Likewise.
46341 * stdio-common/printf_fphex.c: Likewise.
46342 * stdio-common/printf_size.c: Likewise.
46343 * stdio-common/putw.c: Likewise.
46344 * stdio-common/scanf.c: Likewise.
46345 * stdio-common/sprintf.c: Likewise.
46346 * stdio-common/tmpfile.c: Likewise.
46347 * stdio-common/vfprintf.c: Likewise.
46348 * stdio-common/vfscanf.c: Likewise.
46349 * stdlib/strfmon_l.c: Likewise.
46350 * sunrpc/openchild.c: Likewise.
46351 * sunrpc/xdr_stdio.c: Likewise.
46352 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46353 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46355 2012-05-24 Roland McGrath <roland@hack.frob.com>
46357 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46359 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46360 in the third column, to generate for the shared library an IFUNC
46361 that uses _dl_vdso_vsym.
46362 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46363 * Makeconfig (object-suffixes-noshared): New variable.
46365 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46366 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46367 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46368 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46371 * include/sys/time.h (__gettimeofday): Remove macro.
46372 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46373 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46375 (__gettimeofday): Add libc_hidden_def.
46376 (gettimeofday): Add libc_hidden_weak.
46377 * sysdeps/mach/gettimeofday.c: Likewise.
46378 * sysdeps/posix/gettimeofday.c: Likewise.
46379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46380 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46381 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46382 (__gettimeofday_internal): Remove strong_alias.
46383 (__gettimeofday): Add libc_hidden_def.
46384 (gettimeofday): Add libc_hidden_weak.
46385 * sysdeps/unix/syscalls.list (gettimeofday):
46386 Remove __gettimeofday_internal alias.
46388 2012-05-24 Daniel Jacobowitz <drow@false.org>
46389 H.J. Lu <hongjiu.lu@intel.com>
46392 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46393 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46394 (largebin_index_32_big): New.
46395 (largebin_index): Use it for 16-byte alignment.
46396 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46397 correction with front_misalign.
46399 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46427 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46428 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46430 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46434 * math/libm-test.inc (exp_test): Add test from bug 14036.
46435 (pow_test): Add test from bug 10846.
46437 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46439 (special_function): Do not include flags in test name.
46440 (parse_args): Likewise.
46441 * sysdeps/i386/fpu/libm-test-ulps: Update.
46442 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46443 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46444 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46447 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46449 * math/libm-test.inc ("Philosophy"): Update comment about
46451 (UNDERFLOW_EXCEPTION): New macro.
46452 (UNDERFLOW_EXCEPTION_OK): Likewise.
46453 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46454 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46455 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46456 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46457 (INVALID_EXCEPTION_OK): Update value.
46458 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46459 (OVERFLOW_EXCEPTION_OK): Likewise.
46460 (IGNORE_ZERO_INF_SIGN): Likewise.
46461 (test_exceptions): Handle underflow exceptions.
46462 (acos_test): Update for underflow exception expectations.
46463 (cexp_test): Likewise.
46464 (clog_test): Likewise.
46465 (clog10_test): Likewise.
46466 (csqrt_test): Likewise.
46467 (ctan_test): Likewise.
46468 (ctanh_test): Likewise.
46469 (exp_test): Likewise.
46470 (exp10_test): Likewise.
46471 (exp2_test): Likewise.
46472 (expm1_test): Likewise.
46473 (fma_test): Likewise.
46474 (j0_test): Likewise.
46475 (jn_test): Likewise.
46476 (nexttoward_test): Likewise.
46477 (pow_test): Likewise.
46478 (scalbn_test): Likewise.
46479 (scalbln_test): Likewise.
46480 (tan_test): Likewise.
46481 (y1_test): Likewise.
46482 * sysdeps/i386/fpu/libm-test-ulps: Update.
46483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46485 2012-05-23 David S. Miller <davem@davemloft.net>
46487 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46488 (__libc_sigaction): Remove unused local variables.
46490 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46492 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46494 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46496 mktime: avoid signed integer overflow
46497 * time/mktime.c (__mktime_internal): Do not mishandle the case
46498 where diff == INT_MIN.
46500 mktime: simplify computation of average
46501 * time/mktime.c (ranged_convert): Use new time_t_avg function
46502 instead of rolling our own (probably-slower) code.
46504 mktime: do not assume signed right shift propagates sign bit
46505 * time/mktime.c (isdst_differ): New static function.
46506 (__mktime_internal): No need to normalize tm_isdst now.
46507 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46510 mktime: merge another wrapv change from gnulib
46511 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46512 from some compilers.
46514 mktime: remove incorrect attempt at unusual arithmetics
46515 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46516 The code didn't really work on such machines anyway.
46517 (TYPE_MINIMUM): Assume two's complement.
46518 (twos_complement_arithmetic): Verify that long_int and time_t
46519 are two's complement (or unsigned, in the latter case).
46521 mktime: check signed shifts on long_int and time_t, too
46522 * time/mktime.c (SHR): Check that shifts work as desired
46523 on the types long_int and time_t too, as SHR is used on
46526 mktime: do not assume 'long' is wide enough
46527 * time/mktime.c (verify): Move decl up.
46528 (long_int): New type.
46529 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46530 to remove assumption in the code that 'long' is wide enough to
46531 store year values. This assumption is not true on x32 and on
46532 some non-glibc platforms.
46534 mktime: merge wrapv change from gnulib
46535 * time/mktime.c (WRAPV): New macro.
46536 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46537 (guess_time_tm, __mktime_internal): Do not assume that signed
46538 integer overflow wraps around; modern compilers generate code
46539 where this assumption is no longer valid.
46541 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46544 Replace "jmp L(pseudo_end)" with "ret".
46545 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46548 2012-05-23 Andreas Jaeger <aj@suse.de>
46550 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46551 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46553 2012-05-23 Andreas Jaeger <aj@suse.de>
46554 Maximilian Attems <max@stro.at>
46556 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46559 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46561 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46562 code so that pseudo_end is just ret and the stack pointer is
46563 correct also for static library in error case.
46565 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46567 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46568 move to syscalls.list.
46569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46574 * manual/install.texi (Running make install): Do not mention Linux
46575 kernel version for which pt_chown is not needed.
46576 (Linux): Do not mention problems with nscd with 2.0 kernels.
46577 * INSTALL: Regenerated.
46579 2012-05-23 Andreas Jaeger <aj@suse.de>
46581 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46582 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46584 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46586 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46587 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46588 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46590 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46594 * sysdeps/unix/sysv/linux/bits/in.h
46595 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46597 2012-05-22 Roland McGrath <roland@hack.frob.com>
46599 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46600 (PREPARE_VERSION): Just use assert instead, it will be elided
46601 under [NDEBUG] anyway.
46603 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46605 * sysdeps/unix/sysv/linux/Makefile: Include
46606 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46607 (sysdep_routines): Remove sysctl.
46608 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46609 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46610 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46611 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46612 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46614 2012-05-22 Andreas Jaeger <aj@suse.de>
46616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46617 that pseudo_end is just ret and the stack pointer is correct also
46618 for static library in error case.
46620 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46623 * nss/nsswitch.c (defconfig_entries): New variable.
46624 (__nss_database_lookup): Don't leak defconfig entries.
46625 (nss_parse_service_list): Don't leak on error paths.
46626 (free_database_entries): New function.
46627 (free_defconfig): New function.
46628 (free_mem): Move common code to free_database_entries.
46630 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46632 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46634 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46636 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46637 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46640 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46641 (INTERNAL_SYSCALL_TYPES): Likewise.
46642 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46643 (LOAD_REGS_TYPES_[1-6]): Likewise.
46644 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46645 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46647 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46650 copysignl for GLIBC_2_0.
46651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46652 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46654 logbl for GLIBC_2_0.
46655 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46656 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46658 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46660 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46661 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46663 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46666 * time/mktime.c: Update copyright years.
46668 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46670 mktime: merge comment-quoting-style change from gnulib
46671 * time/mktime.c: Quote 'like this' in comments.
46672 The GNU coding standards suggest that we no longer quote `like this',
46673 as "`" and "'" are typically rendered asymmetrically nowadays.
46674 The typical gnulib style is to quote 'like this' when quoting
46675 code, and "like this" when quoting English.
46677 * time/mktime.c (compile-command): Add "-I.".
46679 mktime: merge mktime-internal.h change from gnulib
46680 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46682 mktime: merge time_r change from gnulib
46683 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46685 mktime: merge DEBUG change from gnulib
46686 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46687 case system <time.h> has a #define.
46689 mktime: merge <sys/types.h> change from gnulib
46690 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46691 since <time.t> is now guaranteed to define time_t.
46693 mktime: merge HAVE_CONFIG_H change from gnulib
46694 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46696 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46701 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46703 (struct rusage): Use anonymous union to pad each field to
46706 2012-05-21 David S. Miller <davem@davemloft.net>
46708 * Makefules (o-iterator): Remove .s cases.
46709 (compile-command.s): Delete.
46710 (COMPILE.s): Delete.
46711 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46713 2012-05-21 Joseph Myers <joseph@codesourcery.com>
46715 * configure.in (libc_cv_predef_stack_protector): Only consider
46716 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46717 * configure: Regenerated.
46719 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46722 New macro. Use R*LP on int and pointer.
46723 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46724 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46725 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46726 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46728 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46729 [__WORDSIZE_TIME64_COMPAT32] instead of
46730 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46731 (struct utmp): Likewise.
46732 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46733 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46735 (__WORDSIZE_TIME64_COMPAT32): This.
46736 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46737 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46738 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46739 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46740 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46741 (__WORDSIZE_TIME64_COMPAT32): New macro.
46743 2012-05-21 Andreas Jaeger <aj@suse.de>
46745 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46746 only if [SHARED]. Add prototype for __wcschr_ia32.
46748 2012-05-21 Roland McGrath <roland@hack.frob.com>
46750 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46751 of %rbp unmolested in the jmp_buf while mangling the low bits.
46752 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46753 unmolested high bits of %rbp while demangling the low bits.
46754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46756 2012-05-21 Andreas Jaeger <aj@suse.de>
46758 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46759 * sunrpc/svc_simple.c: Use it for registerrpc.
46760 * sunrpc/xcrypt.c: Use it for passwd2des.
46762 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46764 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46766 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46767 Don't define if [__SYSCALL_WORDSIZE != 32].
46768 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46771 2012-05-21 Bruno Haible <bruno@clisp.org>
46772 Andreas Jaeger <aj@suse.de>
46774 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46775 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46776 inptr and inend for must_buffer_ch.
46777 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46778 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46779 * stdio-common/Makefile (tests): Remove bug15.
46780 (bug15-ENV): Remove macro.
46781 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46784 2012-05-19 Andreas Jaeger <aj@suse.de>
46785 Roland McGrath <roland@hack.frob.com>
46787 * manual/contrib.texi: Completely rewritten. It contains now an
46788 alphabetical list of contributors and their contributions.
46790 2012-05-21 Richard Henderson <rth@twiddle.net>
46792 * misc/getauxval.c (__getauxval): Use unsigned long int.
46793 * misc/sys/auxv.h: Include <sys/cdefs.h>.
46794 (getauxval): Use unsigned long int.
46796 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46798 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46800 2012-05-21 Roland McGrath <roland@hack.frob.com>
46802 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46803 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46804 __alignof__ (long double).
46806 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46810 2012-05-20 Richard Henderson <rth@twiddle.net>
46812 * misc/getauxval.c: New file.
46813 * misc/sys/auxv.h: New file.
46814 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46815 (routines): Add getauxval.
46816 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46817 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46818 * elf/dl-sysdep.c (_dl_auxv): Remove.
46819 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46820 * elf/dl-support.c (_dl_auxv): New variable.
46821 (_dl_aux_init): Initialize it.
46822 * manual/startup.texi (Auxiliary Vector): New node.
46823 * sysdeps/generic/bits/hwcap.h: New file.
46824 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46825 * sysdeps/powerpc/sysdep.h: ... here. Include it.
46826 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46827 * sysdeps/sparc/sysdep.h: ... here. Include it.
46828 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46841 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46845 2012-05-19 David S. Miller <davem@davemloft.net>
46847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46849 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46852 * math/s_ccosh.c: Include <float.h>
46853 (__ccosh): Avoid internal overflow calculating sinh and cosh
46854 values before multiplying by sin and cos values.
46855 * math/s_ccoshf.c: Likewise.
46856 * math/s_ccoshl.c: Likewise.
46857 * math/s_csin.c: Likewise.
46858 * math/s_csinf.c: Likewise.
46859 * math/s_csinl.c: Likewise.
46860 * math/s_csinh.c: Likewise.
46861 * math/s_csinhf.c: Likewise.
46862 * math/s_csinhl.c: Likewise.
46863 * math/libm-test.inc (ccos_test): Add more tests.
46864 (ccosh_test): Likewise.
46865 (csin_test): Likewise.
46866 (csinh_test): Likewise.
46867 * sysdeps/i386/fpu/libm-test-ulps: Update.
46868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46870 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
46872 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46873 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46875 * sysdeps/x86_64/x32/_itoa.h: Add comment.
46877 2012-05-19 Joseph Myers <joseph@codesourcery.com>
46879 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46880 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46881 * sysdeps/powerpc/soft-fp/Versions: Likewise.
46882 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46883 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46884 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46885 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46886 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46887 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46888 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46889 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46890 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46891 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46892 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46893 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46894 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46895 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46896 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46897 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46898 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46899 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46900 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46901 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46902 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46903 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46904 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46905 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46906 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46907 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46908 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46909 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46911 2012-05-18 Andreas Jaeger <aj@suse.de>
46913 * csu/.gitignore: Delete.
46915 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46917 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46918 (timex): Use __syscall_slong_t.
46920 2012-05-18 Andreas Jaeger <aj@suse.de>
46921 Carlos O'Donell <carlos_odonell@mentor.com>
46923 * manual/install.texi (Configuring and compiling): Update
46924 description about files modified in the source directory.
46925 * INSTALL: Regenerated.
46927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46929 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46930 value. Use "or" to set return value to -1.
46931 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46932 negate return value.
46934 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46936 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46937 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46938 failure if the compiler has Graphite support disabled.
46939 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46941 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46942 (CFLAGS-memmove.c): Likewise.
46943 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46946 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
46948 * sysdeps/x86_64/x32/_itoa.h: New file.
46950 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46951 getdents system call only if kernel and user dirents have the
46952 same d_ino and d_off.
46954 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46955 LLONG_MAX != LONG_MAX.
46956 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46957 (_fitoa_word): Likewise.
46959 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46961 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46962 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46963 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46965 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46966 include <bits/wordsize.h>. Check __x86_64__ instead of
46968 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46969 if __x86_64__ is defined. Use anonymous union on fpstate.
46971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46974 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
46976 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46977 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46978 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46979 Refer to _rtld_local_ro instead of _rtld_global_ro.
46980 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46982 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46984 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46986 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46987 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46988 of _rtld_global, and rtld_progname instead of _dl_argv[0].
46990 * sysdeps/powerpc/powerpc32/dl-machine.c
46991 (__elf_machine_runtime_setup) [PROF]: Don't reference
46994 2012-05-18 Andreas Jaeger <aj@suse.de>
46996 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46997 function only available for GCCs before 3.4 since GCC 3.4
46998 introduced a builtin.
47000 (llrintf): Likewise.
47001 (llrint): Likewise.
47008 (nearbyint): Likewise.
47009 (nearbyintf): Likewise.
47013 (floorf): Likewise.
47015 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47017 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47018 on both fields and cast pointer to __syscall_ulong_t.
47020 * bits/types.h (__fsword_t): New type.
47021 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47022 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47024 (__FSWORD_T_TYPE): Likewise.
47025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47026 (__FSWORD_T_TYPE): Likewise.
47027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47028 (__FSWORD_T_TYPE): Likewise.
47029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47030 (__FSWORD_T_TYPE): Likewise.
47031 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47032 __SWORD_TYPE with __fsword_t.
47033 (statfs64): Likewise.
47035 2012-05-17 David S. Miller <davem@davemloft.net>
47037 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47039 2012-05-17 Andreas Jaeger <aj@suse.de>
47041 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47044 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47046 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47048 2012-05-17 Andreas Jaeger <aj@suse.de>
47050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47053 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47055 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47057 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47059 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47060 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47062 2012-05-17 Andreas Jaeger <aj@suse.de>
47063 Carlos O'Donell <carlos_odonell@mentor.com>
47066 * sysdeps/x86_64/multiarch/init-arch.h
47067 (bit_YMM_Usable): Rename to...
47068 (bit_AVX_Usable): ... this.
47069 (bit_FMA4_Usable): New macro.
47070 (bit_XMM_state): New macro.
47071 (bit_YMM_state): New macro.
47072 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47073 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47074 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47075 (CPUID_OSXSAVE): New macro.
47076 (CPUID_AVX): New macro.
47077 (CPUID_FMA4): New macro.
47078 (index_YMM_Usable): Rename to...
47079 (index_AVX_Usable): ... this.
47080 (HAS_AVX): Use HAS_ARCH_FEATURE.
47081 (HAS_FMA4): Likewise.
47082 (HAS_YMM_USABLE): Remove.
47083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47084 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47086 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47087 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47088 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47089 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47090 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47092 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47094 * math/libm-test.c: Support platforms without multiple rounding modes.
47095 * math/bug-nextafter.c: Support platforms without FP exceptions.
47096 * math/bug-nexttoward.c: Likewise.
47097 * math/test-fenv.c: Likewise.
47098 * math/test-misc.c: Likewise.
47099 * stdlib/bug-getcontext.c: Likewise.
47101 2012-05-17 Andreas Jaeger <aj@suse.de>
47103 * manual/examples/search.c (critter_cmp): Change signature to
47105 * manual/string.texi (Collation Functions): Likewise.
47107 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47109 * bits/types.h: Fold copyright years.
47110 * bits/typesizes.h: Likewise.
47111 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47114 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47115 * time/time.h: Likewise.
47117 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47120 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47121 in instead of returning them. Return void.
47122 (__libc_mallinfo): Accumulate over all arenas.
47123 (__malloc_stats): Adjust for change in int_mallinfo interface.
47125 2012-05-16 Roland McGrath <roland@hack.frob.com>
47128 * configure.in (NM): Add AC_CHECK_TOOL for it.
47129 (libc_extra_cflags): New substituted variable.
47130 Check for -fstack-protector being used implicitly.
47131 * configure: Regenerated.
47132 * config.make.in (config-extra-cflags): New variable,
47133 gets @libc_extra_cflags@.
47134 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47137 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47138 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47139 * configure: Regenerated.
47140 * config.make.in (CPPUNDEFS): New substituted variable.
47141 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47142 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47143 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47145 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47147 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47148 (mq_attr): Use __syscall_slong_t.
47150 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47152 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47153 Check __x86_64__ instead of __WORDSIZE.
47154 (_STAT_VER_LINUX): Likewise.
47155 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47156 __syscall_ulong_t and __syscall_slong_t.
47157 (stat64): Likewise.
47159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47165 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47167 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47169 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47172 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47173 include <bits/wordsize.h>. Check __x86_64__ instead of
47175 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47177 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47180 include <bits/wordsize.h>. Check __x86_64__ instead of
47182 (user_regs_struct): Use "__extension__ unsigned long long"
47183 instead of "unsigned long" if __x86_64__ is defined.
47184 (user): Likewise. Pad after pointer field if __ILP32__ is
47187 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47189 * configure.in (makeinfo): Require version 4.5 or later. Allow
47191 * configure: Regenerated.
47192 * manual/install.texi (texinfo): Increase version requirement to
47194 * INSTALL: Regenerated.
47196 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47198 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47200 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47202 * sysdeps/x86_64/x32/ffs.c: New file.
47204 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47206 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47207 defined. Use __syscall_ulong_t.
47208 (shminfo): Use __syscall_ulong_t.
47209 (shm_info): Likewise.
47211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47214 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47216 (msgqnum_t): Use __syscall_ulong_t.
47217 (msglen_t): Likewise.
47218 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47221 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47224 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47226 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47227 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47229 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47232 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47233 include <bits/wordsize.h>. Check __x86_64__ instead of
47236 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47237 "unsigned long long int" if __x86_64__ is defined.
47238 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47240 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47241 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47242 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47244 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47246 (GET_PC): Cast to uintptr_t first.
47247 (GET_FRAME): Likewise.
47248 (GET_STACK): Likewise.
47250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47253 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47255 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47256 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47257 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47258 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47259 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47260 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47262 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47263 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47264 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47265 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47266 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47267 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47268 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47269 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47270 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47275 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47276 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47277 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47278 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47280 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47282 * Makerules (+depfiles): Also collect depfiles from .oS in
47284 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47285 .oS, $(libnldbl-routines)).
47287 * Makerules (native-compile-mkdep-flags): Define.
47288 * sunrpc/Makefile (extra-objs): Add $(addprefix
47289 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47290 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47291 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47292 calling $(make-target-directory).
47294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47296 * bits/types.h (__snseconds_t): Removed.
47297 * time/time.h (struct timespec): Replace __snseconds_t with
47299 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47300 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47303 (__SNSECONDS_T_TYPE): Likewise.
47304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47305 (__SNSECONDS_T_TYPE): Likewise.
47306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47307 (__SNSECONDS_T_TYPE): Likewise.
47309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47311 * sysdeps/mach/hurd/bits/typesizes.h
47312 (__SYSCALL_SLONG_TYPE): New macro.
47313 (__SYSCALL_ULONG_TYPE): Likewise.
47315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47317 * bits/types.h (__syscall_slong_t): New type.
47318 (__syscall_ulong_t): Likewise.
47320 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47321 (__SYSCALL_ULONG_TYPE): Likewise.
47322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47323 (__SYSCALL_SLONG_TYPE): Likewise.
47324 (__SYSCALL_ULONG_TYPE): Likewise.
47325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47326 (__SYSCALL_SLONG_TYPE): Likewise.
47327 (__SYSCALL_ULONG_TYPE): Likewise.
47328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47329 (__SYSCALL_SLONG_TYPE): Likewise.
47330 (__SYSCALL_ULONG_TYPE): Likewise.
47332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47334 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47335 Add sigaltstack-offsets.sym.
47336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47337 <sigaltstack-offsets.h>.
47338 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47339 longjmp_msg pointer.
47340 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47341 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47343 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47345 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47347 * elf/stackguard-macros.h: Remove file.
47348 * sysdeps/generic/stackguard-macros.h: New file.
47349 * sysdeps/i386/stackguard-macros.h: Likewise.
47350 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47351 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47352 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47353 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47354 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47355 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47356 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47357 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47358 <elf/stackguard-macros.h>.
47361 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47362 __aligned__ in attribute.
47363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47364 (gregset_t): Likewise.
47366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47368 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47369 * sysdeps/x86_64/64/Implies-after: Here. New file.
47370 * sysdeps/x86_64/x32/Implies-after: New file.
47372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47374 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47375 and access return value for _dl_profile_fixup. Use R10_LP to
47378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47380 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47384 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47385 * sysdeps/x86_64/x32/sysdep.h: New file.
47387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47389 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47390 * sysdeps/x86_64/setjmp.S: Likewise.
47392 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47394 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47395 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47396 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47397 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47398 remove unused global constant.
47400 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47402 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47403 include of <not-cancel.h>.
47405 2012-05-15 Roland McGrath <roland@hack.frob.com>
47407 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47409 2012-05-15 Jeff Law <law@redhat.com>
47410 Andreas Jaeger <aj@suse.de>
47413 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47415 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47416 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47417 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47418 code changing __hst_map_handle.map.
47420 2012-05-15 Roland McGrath <roland@hack.frob.com>
47422 * configure.in (sysnames): Look for Implies-before and Implies-after
47424 * configure: Regenerated.
47426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47428 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47429 8-byte data alignment with LP_SIZE alignment.
47431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47433 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47438 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47442 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47443 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47444 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47446 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47450 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47451 (stackinfo_sub_sp): Likewise.
47453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47455 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47470 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47474 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47475 into R11_LP and load __x86_64_shared_cache_size_half into
47478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47480 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47483 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47492 powerpc32/power7/fpu/s_logb.c via #include.
47493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47494 powerpc32/power7/fpu/s_logbf.c via #include.
47495 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47496 powerpc32/power7/fpu/s_logbl.c via #include.
47498 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47500 * README.libm: Remove file.
47502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47504 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47505 count for x32. Use R*_LP and omit operand-size suffix.
47507 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47509 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47510 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47511 * sysdeps/x86_64/x32/shlib-versions: New file.
47513 2012-05-14 Roland McGrath <roland@hack.frob.com>
47515 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47516 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47517 Use _dl_fatal_printf instead.
47519 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47521 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47522 set if not set by the user. Do not allow for being unset.
47523 * sysdeps/unix/sysv/linux/configure: Regenerated.
47525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47527 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47528 the `q' suffix from lea and replace .quad with ASM_ADDR.
47530 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47533 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47535 (PTR_DEMANGLE): Likewise.
47537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47539 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47541 (ASM_ADDR): Likewise.
47542 (RAX_LP): Likewise.
47543 (RBP_LP): Likewise.
47544 (RBX_LP): Likewise.
47545 (RCX_LP): Likewise.
47546 (RDI_LP): Likewise.
47547 (RSI_LP): Likewise.
47548 (RSP_LP): Likewise.
47551 (R10_LP): Likewise.
47552 (R10_LP): Likewise.
47553 (R11_LP): Likewise.
47554 (R12_LP): Likewise.
47555 (R13_LP): Likewise.
47556 (R14_LP): Likewise.
47557 (R15_LP): Likewise.
47559 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47561 * sysdeps/x86_64/x32/dl-machine.h: New file.
47563 2012-05-14 Andreas Jaeger <aj@suse.de>
47565 * manual/Makefile (subdir): Remove export of subdir.
47566 (all): Remove target.
47567 (.PHONY): Remove all from list.
47568 (mkinstalldirs): Remove.
47569 (.PHONY): Remove installdirs from list.
47570 ($(inst_infodir)/libc.info): Use make-target-directory.
47571 (installdirs): Remove.
47572 (subdir_%): Remove.
47573 (glibc-targets): Remove.
47576 ($(objpfx)stubs ../po/manual.pot): Remove.
47577 ($(objpfx)stamp%): Remove.
47578 (make-target-directory): Remove.
47579 (subdir_install): Remove.
47580 (routines): Remove.
47587 * manual/.gitignore: Remove, it's not needed anymore.
47588 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47590 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47592 (texis): Renamed to $(objpfx)texis.
47593 (texis-path): New, contains path to generated files.
47594 (chapters.%): Use texis-path for complete path, add extra argument
47596 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47597 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47598 (summary,texi, stamp-summary): Use complete path of
47599 files. Generate files in build dir.
47600 (dir-add.texi): Build in build dir.
47601 (libm-err.texi,stamp-libm-err): Likewise.
47602 (version.texi, stamp-version): Likewise.
47603 (.%c.texi): Likewise.
47604 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47605 (mostlyclean): Remove target.
47606 (realclean): Remove target.
47607 (generated): Add new variable with contents from mostlyclean and
47608 realclean, remove entries duplicated in common-mostlyclean, add
47609 stamp-libm-err and stamp-version.
47610 (generated-dirs): Add libc directory.
47611 ($(inst_infodir)/libc.info): Install files from build dir.
47613 * manual/install.texi (Configuring and compiling): Adjust since
47614 the info files are not part of the tar ball anymore.
47616 2012-05-14 Andreas Jaeger <aj@suse.de>
47618 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47621 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47625 to 2.2.0 where earlier.
47626 * sysdeps/unix/sysv/linux/configure: Regenerated.
47627 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47628 Remove conditional code.
47629 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47630 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47631 Remove conditional code.
47632 [!__NR_lchown]: Likewise.
47633 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47634 [__NR_lchown]: Likewise.
47635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47636 comment referencing __ASSUME_LCHOWN_SYSCALL.
47637 * sysdeps/unix/sysv/linux/i386/sigaction.c
47638 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47639 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47640 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47641 Remove conditional code.
47642 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47643 (__protocol_available): Remove #if 0 code.
47644 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47646 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47647 * sysdeps/unix/sysv/linux/kernel-features.h
47648 (__ASSUME_GETCWD_SYSCALL): Don't define.
47649 (__ASSUME_REALTIME_SIGNALS): Likewise.
47650 (__ASSUME_PREAD_SYSCALL): Likewise.
47651 (__ASSUME_PWRITE_SYSCALL): Likewise.
47652 (__ASSUME_POLL_SYSCALL): Likewise.
47653 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47654 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47656 (__ASSUME_SIOCGIFNAME): Don't define.
47657 (__ASSUME_MSG_NOSIGNAL): Likewise.
47658 (__ASSUME_SENDFILE): Define unconditionally.
47659 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47660 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47662 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47663 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47664 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47665 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47666 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47667 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47668 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47670 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47673 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47676 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47693 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47694 Remove conditional code.
47695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47696 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47697 Remove conditional code.
47698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47699 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47700 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47701 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47702 Remove conditional code.
47703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47704 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47705 Remove conditional code.
47706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47707 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47708 Remove conditional code.
47709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47710 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47711 Remove conditional code.
47712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47713 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47714 Remove conditional code.
47715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47716 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47719 * sysdeps/unix/sysv/linux/sigaction.c
47720 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47721 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47722 * sysdeps/unix/sysv/linux/sigpending.c
47723 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47724 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47725 * sysdeps/unix/sysv/linux/sigprocmask.c
47726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47728 * sysdeps/unix/sysv/linux/sigsuspend.c
47729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47731 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47732 (__libc_missing_rt_sigs): Remove.
47733 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47734 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47735 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47736 Remove conditional code.
47737 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47738 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47741 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47742 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47743 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47745 2012-05-14 Andreas Jaeger <aj@suse.de>
47747 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47748 it's not used in glibc.
47749 (__coshm1): Likewise.
47750 (__acosh1p): Likewise.
47753 * manual/string.texi (Copying and Concatenation): Add missing
47754 variable in concat example.
47755 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47757 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47761 __builtin_clzl with __builtin_clzll.
47763 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47766 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47769 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47771 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47772 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47773 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47774 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47776 2012-05-14 Mike Frysinger <vapier@gentoo.org>
47778 * NEWS: Update ia64 info.
47780 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
47782 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47785 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
47787 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47788 * sysdeps/unix/syscalls.list (dup3): Likewise.
47789 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47790 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47792 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47794 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47795 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47797 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
47799 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47801 (TLS_IE): Use mov/add instead of movq/addq to load thread
47803 (TLS_GD_PREFIX): New.
47806 2012-05-11 David S. Miller <davem@davemloft.net>
47808 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47809 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47810 (_FPU_SETCW): Likewise.
47812 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47814 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47815 is 32-byte aligned.
47817 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
47820 * iconvdata/gb18030.c: Update tables.
47821 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
47822 characters specially.
47823 (BODY for TO_LOOP): Add encoding of missing ranges.
47825 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
47828 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47829 * sysdeps/mach/hurd/dup3.c: Likewise.
47830 * sysdeps/mach/hurd/readlinkat.c: Likewise.
47831 * sysdeps/powerpc/memmove.c:: Likewise.
47833 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47836 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47838 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47840 * elf/elf.h (R_X86_64_RELATIVE64): New.
47841 (R_X86_64_NUM): Updated.
47842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47843 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
47844 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47845 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47846 tst-quad1pie tst-quad2pie
47847 (modules-names): Add tst-quadmod1 tst-quadmod2.
47848 ($(objpfx)tst-quad1): New dependency.
47849 ($(objpfx)tst-quad2): Likewise.
47850 ($(objpfx)tst-quad1pie): Likewise.
47851 ($(objpfx)tst-quad2pie): Likewise.
47852 * sysdeps/x86_64/tst-quad1.c: New file.
47853 * sysdeps/x86_64/tst-quad1pie.c: New file.
47854 * sysdeps/x86_64/tst-quad2.c: Likewise.
47855 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47856 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47857 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47858 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47859 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47861 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47863 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47864 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47865 * streams/stropts.h (t_scalar_t): Define type.
47867 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47868 (_PATH_PRESERVE): Set to "/var/lib".
47869 (_PATH_RWHODIR): Set to "/var/spool/rwho".
47871 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47874 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47875 if __dir_mkfile succeeded.
47877 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47878 checking for _hurd_dtablesize. Unlock it right after having
47879 finished _hurd_dtable allocation.
47881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47883 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47884 * sysdeps/mach/hurd/configure: Regenerated.
47885 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47886 special-casing to...
47887 * sysdeps/gnu/configure.in: ... this new file.
47888 * sysdeps/unix/sysv/linux/configure: Regenerated.
47889 * sysdeps/gnu/configure: New generated file.
47891 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47892 for Linux: use nsec instead of usec, as well as:
47893 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47894 members of type struct timespec.
47895 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47897 (struct stat64): Likewise.
47898 (_STATBUF_ST_NSEC): New macro.
47899 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47901 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47902 __strtoul_internal rather than strtoul.
47904 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47906 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47911 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47912 which preserves existing values.
47913 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47915 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47917 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47918 TIMEOUT values. Return EINVAL for NFDS values either negative or
47919 greater than FD_SETSIZE.
47921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47923 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47924 allocated, call __vm_protect to finish enabling the existing space, and
47925 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47926 allocate the remainder.
47928 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47930 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47931 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
47933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47935 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47936 sysdeps/mach/hurd/readlink.c.
47938 * posix/tst-sysconf.c (posix_options): Only use
47939 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47940 _POSIX_SYNCHRONIZED_IO when they are defined
47941 * sysdeps/mach/hurd/bits/posix_opt.h:
47942 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47943 (_XOPEN_REALTIME): Undefine macro.
47944 (_XOPEN_REALTIME_THREADS): Undefine macro.
47945 (_XOPEN_SHM): Undefine macro.
47946 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47948 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47950 (_POSIX_ASYNC_IO): Undefine macro.
47951 (_POSIX_PRIORITIZED_IO): Undefine macro.
47952 (_POSIX_SPIN_LOCKS): Define macro to -1.
47954 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47955 SA_NODEFER, SA_RESETHAND.
47956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47957 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47960 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47962 * elf/Makefile (pldd-modules): Define unconditionally.
47964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47966 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47970 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47971 Return ENOENT when name is empty.
47972 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47976 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47978 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47982 Fix mlock in all cases except non-readable pages.
47983 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47984 instead of VM_PROT_ALL as parameter to __vm_wire function.
47986 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47987 (__mkdir): When path is `/', just fail with EEXIST.
47988 * sysdeps/mach/hurd/mkdirat.c: Likewise.
47990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47992 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47993 <sys/uio.h> (for writev).
47994 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47995 and <sys/param.h> (for MIN).
47997 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
47999 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48000 REQUESTED_TIME. Properly set the remaining time and return EINTR
48003 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48005 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48006 Depend on against $(link-rpcuserlibs).
48008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48010 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48011 (__libc_stack_end): Do not use attribute_relro.
48012 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48013 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48014 to libthread-provided value.
48015 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48021 * bits/libc-lock.h (__libc_once_get): New macro.
48022 * sysdeps/mach/bits/libc-lock.h: Likewise.
48023 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48025 instead of using implementation details.
48027 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48028 * libio/freopen.c: Likewise.
48029 * libio/freopen64.c: Likewise.
48030 * misc/syslog.c: Likewise.
48031 * nscd/connections.c: Likewise.
48032 * nscd/netgroupcache.c: Likewise.
48033 * sysdeps/posix/getcwd.c: Likewise.
48035 2012-05-10 Roland McGrath <roland@hack.frob.com>
48037 * math/w_ilogbf.c: Add #include <limits.h>.
48039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48041 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48042 path instead of returning without unlocking.
48044 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48045 immediate-write ioctls.
48046 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48050 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48051 __builtin_frame_address instead of making assumptions about the
48052 location of the return address relative to DATA. Force early load of
48053 the return address.
48054 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48055 __builtin_frame_address.
48058 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48059 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48060 implement dup3 and do some further code clean-ups.
48061 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48062 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48066 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48068 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48069 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48070 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48071 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48072 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48075 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48076 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48077 when handler == SIG_ERR, not when handler != SIG_ERR.
48079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48081 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48082 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48085 accept4 for GNU Hurd.
48086 * include/sys/socket.h (__libc_accept4): New prototype.
48087 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48088 to implement __libc_accept4.
48089 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48091 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48093 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48094 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48095 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48096 signal-defines.sym.
48098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48100 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48104 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48105 assertion on O_CLOEXEC flag.
48106 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48107 * hurd/intern-fd.c: Likewise.
48108 * hurd/port2fd.c: Likewise.
48110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48113 * bits/in.h (IPV6_PKTINFO): Define new macro.
48114 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48116 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48121 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48123 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48124 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48126 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48127 * math/libm-test.inc (logb_test) : Additional logb tests.
48129 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48130 Andreas Jaeger <aj@suse.de>
48132 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48133 * configure: Regenerated.
48134 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48135 * config.make.in (link-obsolete-rpc): New substituted variable.
48136 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48137 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48138 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48139 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48140 so that libc.a contains the symbols.
48141 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48142 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48143 * sunrpc/auth_none.c: Likewise.
48144 * sunrpc/auth_unix.c: Likewise.
48145 * sunrpc/authdes_prot.c: Likewise.
48146 * sunrpc/authuxprot.c: Likewise.
48147 * sunrpc/clnt_gen.c: Likewise.
48148 * sunrpc/clnt_perr.c: Likewise.
48149 * sunrpc/clnt_raw.c: Likewise.
48150 * sunrpc/clnt_simp.c: Likewise.
48151 * sunrpc/clnt_tcp.c: Likewise.
48152 * sunrpc/clnt_udp.c: Likewise.
48153 * sunrpc/clnt_unix.c: Likewise.
48154 * sunrpc/des_crypt.c: Likewise.
48155 * sunrpc/des_soft.c: Likewise.
48156 * sunrpc/get_myaddr.c: Likewise.
48157 * sunrpc/key_call.c: Likewise.
48158 * sunrpc/key_prot.c: Likewise.
48159 * sunrpc/netname.c: Likewise.
48160 * sunrpc/pm_getmaps.c: Likewise.
48161 * sunrpc/pm_getport.c: Likewise.
48162 * sunrpc/pmap_clnt.c: Likewise.
48163 * sunrpc/pmap_prot.c: Likewise.
48164 * sunrpc/pmap_prot2.c: Likewise.
48165 * sunrpc/pmap_rmt.c: Likewise.
48166 * sunrpc/publickey.c: Likewise.
48167 * sunrpc/rpc_cmsg.c: Likewise.
48168 * sunrpc/rpc_common.c: Likewise.
48169 * sunrpc/rpc_dtable.c: Likewise.
48170 * sunrpc/rpc_prot.c: Likewise.
48171 * sunrpc/rpc_thread.c: Likewise.
48172 * sunrpc/rtime.c: Likewise.
48173 * sunrpc/svc.c: Likewise.
48174 * sunrpc/svc_auth.c: Likewise.
48175 * sunrpc/svc_raw.c: Likewise.
48176 * sunrpc/svc_run.c: Likewise.
48177 * sunrpc/svc_tcp.c: Likewise.
48178 * sunrpc/svc_udp.c: Likewise.
48179 * sunrpc/svc_unix.c: Likewise.
48180 * sunrpc/svcauth_des.c: Likewise.
48181 * sunrpc/xcrypt.c: Likewise.
48182 * sunrpc/xdr.c: Likewise.
48183 * sunrpc/xdr_array.c: Likewise.
48184 * sunrpc/xdr_float.c: Likewise.
48185 * sunrpc/xdr_intXX_t.c: Likewise.
48186 * sunrpc/xdr_mem.c: Likewise.
48187 * sunrpc/xdr_rec.c: Likewise.
48188 * sunrpc/xdr_ref.c: Likewise.
48189 * sunrpc/xdr_sizeof.c: Likewise.
48190 * sunrpc/xdr_stdio.c: Likewise.
48192 2012-05-10 Roland McGrath <roland@hack.frob.com>
48194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48195 change. Update copyright years.
48197 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48199 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48201 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48202 Joseph Myers <joseph@codesourcery.com>
48203 Paul Pluzhnikov <ppluzhnikov@google.com>
48206 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48208 [cross-compiling] (extra-libs): Likewise.
48209 [cross-compiling] (extra-libs-others): Likewise.
48210 [cross-compiling] (librpcsvc-routines): Likewise.
48211 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48212 [cross-compiling] (omit-deps): Likewise.
48213 (sunrpc-CPPFLAGS): New variable.
48214 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48215 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48216 (cross-rpcgen-objs): New variable.
48217 (extra-objs): Append $(cross-rpcgen-objs).
48218 ($(cross-rpcgen-objs)): New rule.
48219 ($(objpfx)cross-rpcgen): Likewise.
48220 (rpcgen-cmd): Define to use $(built-program-file). Expand
48222 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48223 ($(objpfx)x%.stmp): Likewise.
48224 * sunrpc/proto.h [IS_IN_build] (_): Define.
48225 [IS_IN_build] (_libc_intl_domainname): Likewise.
48227 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48230 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48231 and R_X86_64_TPOFF64.
48233 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48235 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48236 sysdeps/unix/sysv/syscalls.list.
48239 * sysdeps/unix/sysv/syscalls.list: Remove file.
48241 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48244 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48245 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48246 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48247 (__LC_IDENTIFICATION): Make these macros useful in #if
48248 expressions, as required by C99.
48250 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48252 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48253 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48256 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48258 * stdlib/longlong.h: Updated from GCC.
48260 2012-05-09 Andreas Jaeger <aj@suse.de>
48262 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48263 default is first entry.
48264 (run_mode): Set type.
48265 (main): Remove informal message about syslog.
48266 (options): Fix typo.
48269 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48272 (llrintf): Likewise.
48273 (llrint): Likewise.
48276 (nearbyint): Likewise.
48277 (nearbyintf): Likewise.
48279 2012-05-09 Andreas Jaeger <aj@suse.de>
48280 Pedro Alves <palves@redhat.com>
48282 * nscd/nscd.c (run_mode): Use enum.
48283 (main): Cleanup coding style issue.
48285 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48286 Andreas Jaeger <aj@suse.de>
48288 * nscd/nscd.c (go_background): Replaced with...
48289 (run_mode): ... this.
48290 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48291 (options): Add -F --foreground.
48292 (main): Implement it.
48293 (parse_opt): Parse it.
48295 2012-05-09 Andreas Jaeger <aj@suse.de>
48298 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48299 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48300 -Wconversion warning.
48301 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48304 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48306 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48308 (LC_ALL): Use macro-int-constant.
48309 (LC_COLLATE): Likewise.
48310 (LC_CTYPE): Likewise.
48311 (LC_MESSAGES): Likewise.
48312 (LC_MONETARY): Likewise.
48313 (LC_NUMERIC): Likewise.
48314 (LC_TIME): Likewise.
48315 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48316 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48318 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48320 [C99-based standards] (float_t): Expect type.
48321 [C99-based standards] (double_t): Expect type.
48322 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48324 [C99-based standards] (HUGE_VALL): Likewise.
48325 [C99-based standards] (INFINITY): Likewise.
48326 [C99-based standards] (NAN): Likewise.
48327 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48328 [C99-based standards] (FP_NAN): Likewise.
48329 [C99-based standards] (FP_NORMAL): Likewise.
48330 [C99-based standards] (FP_SUBNORMAL): Likewise.
48331 [C99-based standards] (FP_ZERO): Likewise.
48332 [C99-based standards] (FP_FAST_FMA): Use
48333 optional-macro-int-constant. Specify type. Require == 1.
48334 [C99-based standards] (FP_FAST_FMAF): Likewise.
48335 [C99-based standards] (FP_FAST_FMAL): Likewise.
48336 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48337 [C99-based standards] (FP_ILOGBNAN): Likewise.
48338 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48340 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48341 [C99-based standards] (math_errhandling): Specify type.
48342 [ISO99 || ISO11] (signgam): Do not allow.
48343 [non-C99-based standards] (copysignf): Do not allow.
48344 [non-C99-based standards] (exp2f): Likewise.
48345 [non-C99-based standards] (log2f): Likewise.
48346 [non-C99-based standards] (modff): Allow.
48347 [non-C99-based standards] (erff): Do not allow.
48348 [non-C99-based standards] (erfcf): Likewise.
48349 [non-C99-based standards] (gammaf): Likewise.
48350 [non-C99-based standards] (hypotf): Likewise.
48351 [non-C99-based standards] (j0f): Likewise.
48352 [non-C99-based standards] (j1f): Likewise.
48353 [non-C99-based standards] (jnf): Likewise.
48354 [non-C99-based standards] (lgammaf): Likewise.
48355 [non-C99-based standards] (tgammaf): Likewise.
48356 [non-C99-based standards] (y0f): Likewise.
48357 [non-C99-based standards] (y1f): Likewise.
48358 [non-C99-based standards] (ynf): Likewise.
48359 [non-C99-based standards] (isnanf): Likewise.
48360 [non-C99-based standards] (acoshf): Likewise.
48361 [non-C99-based standards] (asinhf): Likewise.
48362 [non-C99-based standards] (atanhf): Likewise.
48363 [non-C99-based standards] (cbrtf): Likewise.
48364 [non-C99-based standards] (expm1f): Likewise.
48365 [non-C99-based standards] (ilogbf): Likewise.
48366 [non-C99-based standards] (log1pf): Likewise.
48367 [non-C99-based standards] (logbf): Likewise.
48368 [non-C99-based standards] (nextafterf): Likewise.
48369 [non-C99-based standards] (remainderf): Likewise.
48370 [non-C99-based standards] (rintf): Likewise.
48371 [non-C99-based standards] (scalbf): Likewise.
48372 [non-C99-based standards] (copysignl): Likewise.
48373 [non-C99-based standards] (exp2l): Likewise.
48374 [non-C99-based standards] (log2l): Likewise.
48375 [non-C99-based standards] (modfl): Allow.
48376 [non-C99-based standards] (erfl): Do not allow.
48377 [non-C99-based standards] (erfcl): Likewise.
48378 [non-C99-based standards] (gammal): Likewise.
48379 [non-C99-based standards] (hypotl): Likewise.
48380 [non-C99-based standards] (j0l): Likewise.
48381 [non-C99-based standards] (j1l): Likewise.
48382 [non-C99-based standards] (jnl): Likewise.
48383 [non-C99-based standards] (lgammal): Likewise.
48384 [non-C99-based standards] (tgammal): Likewise.
48385 [non-C99-based standards] (y0l): Likewise.
48386 [non-C99-based standards] (y1l): Likewise.
48387 [non-C99-based standards] (ynl): Likewise.
48388 [non-C99-based standards] (isnanl): Likewise.
48389 [non-C99-based standards] (acoshl): Likewise.
48390 [non-C99-based standards] (asinhl): Likewise.
48391 [non-C99-based standards] (atanhl): Likewise.
48392 [non-C99-based standards] (cbrtl): Likewise.
48393 [non-C99-based standards] (expm1l): Likewise.
48394 [non-C99-based standards] (ilogbl): Likewise.
48395 [non-C99-based standards] (log1pl): Likewise.
48396 [non-C99-based standards] (logbl): Likewise.
48397 [non-C99-based standards] (nextafterl): Likewise.
48398 [non-C99-based standards] (remainderl): Likewise.
48399 [non-C99-based standards] (rintl): Likewise.
48400 [non-C99-based standards] (scalbl): Likewise.
48401 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48402 [non-C99-based standards] (FP_*): Do not allow.
48403 [C99-based standards] (FP_*): Change to
48404 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48405 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48407 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48408 (SIG_ERR): Likewise.
48409 [X/Open-based standards] (SIG_HOLD): Likewise.
48410 (SIG_IGN): Likewise.
48411 (SIGABRT): Use macro-int-constant. Specify type. Require
48413 (SIGFPE): Likewise.
48414 (SIGILL): Likewise.
48415 (SIGINT): Likewise.
48416 (SIGSEGV): Likewise.
48417 (SIGTER): Likewise.
48418 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48419 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48420 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48421 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48422 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48423 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48424 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48425 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48426 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48427 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48428 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48429 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48430 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48431 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48432 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48433 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48434 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48435 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48436 [X/Open-based standards] (SIGTRAP): Likewise.
48437 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48438 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48439 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48440 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48441 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48444 2012-05-08 Ian Wienand <ianw@vmware.com>
48447 * time/tzset.c (__tzset_parse_tz): Update default rules for
48448 daylight time changes in the Energy Policy Act of 2005.
48450 2012-05-09 Andreas Jaeger <aj@suse.de>
48453 * elf/ldconfig.c (parse_conf): Change string to make clear that
48454 ldconfig only issued a warning if ld.so.conf does not exist.
48456 2012-05-08 David S. Miller <davem@davemloft.net>
48458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48459 movxtod instead of popping the value on the stack.
48461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48463 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48465 * config.h.in: Add HAVE_ARM_PCS_VFP.
48467 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48470 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48471 checking but the checks are disabled for any reason.
48473 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48475 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48476 and ELF64_R_TYPE with ELFW(R_TYPE).
48478 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48480 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48481 (ulimit): Likewise.
48483 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48484 (settimeofday): Likewise.
48486 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48488 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48489 a struct th_u2 inside the union, and move tu_block/tu_code into
48490 a new th_u3 union of tu_block/tu_code inside of that. Move
48491 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48492 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48493 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48494 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48495 (th_stuff): Change to th_u1.tu_stuff.
48497 (th_msg): Change to th_u1.th_u2.tu_data.
48499 2012-05-07 David S. Miller <davem@davemloft.net>
48501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48504 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48505 (SETUP_PIC_REG): Use it.
48506 (SETUP_PIC_REG_LEAF): Use it.
48508 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48514 (EXPL_FINITE): Likewise.
48515 (FLDLOG): Likewise.
48516 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48517 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48521 (EXPL_FINITE): Likewise.
48522 (FLDLOG): Likewise.
48523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48524 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48526 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48527 test of -max_value argument for long double.
48528 * sysdeps/i386/fpu/libm-test-ulps: Update.
48529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48531 2012-05-06 David S. Miller <davem@davemloft.net>
48533 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48534 quad soft-float symbols whose references which are compiler
48536 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48538 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48542 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48544 (EXPL_FINITE): Likewise.
48545 (FLDLOG): Likewise.
48548 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48549 Adjust comments for base varying.
48550 (__expl_finite): Change alias to EXPL_FINITE.
48551 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48553 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48554 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48556 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48557 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48559 (EXPL_FINITE): Likewise.
48560 (FLDLOG): Likewise.
48563 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48564 Adjust comments for base varying.
48565 (__expl_finite): Change alias to EXPL_FINITE.
48566 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48571 * math/libm-test.inc (check_float_internal): Correct ulp
48572 calculation for subnormal expected results.
48574 2012-05-06 Andreas Jaeger <aj@suse.de>
48576 * Makeconfig (+math-flags): New, set to -frounding-math.
48577 (+cflags): Add +math-flags so that all of glibc gets compiled with
48580 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48582 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48584 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48590 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48591 (__ieee754_expl): Allow for and saturate large arguments.
48592 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48593 (u_threshold): Likewise.
48594 (__exp): Call __ieee754_exp before checking for overflow and
48596 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48597 (u_threshold): Likewise.
48598 (__expf): Call __ieee754_expf before checking for overflow and
48600 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48601 (u_threshold): Likewise.
48602 (__expl): Call __ieee754_expl before checking for overflow and
48604 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48605 (__ieee754_expl): Allow for and saturate large arguments.
48606 * math/libm-test.inc (exp_test): Add another test. Do not allow
48607 missing overflow exception on overflow.
48608 (expm1_test): Do not allow missing overflow exception on overflow.
48610 * sysdeps/i386/fpu/e_expl.c: Move to ...
48611 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48612 rather than using inline asm.
48613 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48614 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48615 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48617 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48620 (signal): Likewise.
48624 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48626 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48627 sysdeps/unix/common/syscalls.list.
48628 (fchmod): Likewise.
48629 (fchown): Likewise.
48630 (ftruncate): Likewise.
48631 (getrusage): Likewise.
48632 (gettimeofday): Likewise.
48633 (setpgid): Likewise.
48634 (setregid): Likewise.
48635 (setreuid): Likewise.
48636 (sigaction): Likewise.
48637 (truncate): Likewise.
48638 (vhangup): Likewise.
48639 * sysdeps/unix/common/syscalls.list: Remove file.
48640 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48641 * sysdeps/unix/sysv/linux/Implies: Likewise.
48643 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48645 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48647 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48651 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48654 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48657 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48660 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48663 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48666 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48669 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48673 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48677 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48680 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48684 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48688 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48690 * sysdeps/unix/common/bits/dirent.h: Remove file.
48691 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48693 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48694 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48695 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48696 * sysdeps/unix/bsd/isatty.c: Likewise.
48697 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48698 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48699 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48701 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48705 long double comparison inaccuracies.
48706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48709 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48711 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48714 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48717 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48718 nonzero digits before rounding a hex value.
48719 * stdlib/tst-strtod.c (tests): Add another test.
48721 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48723 * sysdeps/s390/fpu/libm-test-ulps: Update.
48725 2012-05-03 Andreas Jaeger <aj@suse.de>
48727 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48728 does not get optimized out.
48729 (malloc_opt_barrier): New.
48731 2012-05-03 Andreas Jaeger <aj@suse.de>
48732 Roland McGrath <roland@hack.frob.com>
48734 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48735 intermediate file deletion.
48736 (generated): Add .symlist files.
48738 2012-05-03 Joseph Myers <joseph@codesourcery.com>
48741 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48742 Redirect under this condition.
48743 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48744 [__USE_GNU] (__dprintf_chk): Not under this condition.
48745 [__USE_GNU] (__vdprintf_chk): Likewise.
48746 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48747 under this condition.
48748 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48749 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48750 [__USE_XOPEN2K8] (vdprintf): Likewise.
48751 [__USE_GNU] (__dprintf_chk): Not under this condition.
48752 [__USE_GNU] (__vdprintf_chk): Likewise.
48753 [__USE_GNU] (dprintf): Likewise.
48754 [__USE_GNU] (vdprintf): Likewise.
48756 2012-05-03 Roland McGrath <roland@hack.frob.com>
48758 * elf/Makefile (common-generated): Set this instead of generated for
48759 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48760 $(all-built-dso)-derived lists.
48762 2012-05-03 Andreas Jaeger <aj@suse.de>
48764 * sysdeps/i386/fpu/libm-test-ulps: Update.
48767 * FAQ.in: Likewise.
48768 * scripts/gen-FAQ.pl: Likewise.
48769 * manual/install.texi (Installation): Point to online location of
48771 * Makefile (files-for-dist): Remove FAQ.
48774 2012-05-02 Allan McRae <allan@archlinux.org>
48776 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48777 (LDFLAGS-reldepmod5.so): Likewise.
48778 (LDFLAGS-reldep6mod1.so): Likewise.
48779 (LDFLAGS-reldep6mod4.so): Likewise.
48780 (LDFLAGS-reldep8mod3.so): Likewise.
48781 (LDFLAGS-unload4mod1.so): Likewise.
48782 (LDFLAGS-unload4mod2.so): Likewise.
48783 (LDFLAGS-tst-initorder): Likewise.
48784 (LDFLAGS-tst-initordera2.so): Likewise.
48785 (LDFLAGS-tst-initordera3.so): Likewise.
48786 (LDFLAGS-tst-initordera4.so): Likewise.
48787 (LDFLAGS-tst-initorderb2.so): Likewise.
48788 (LDFLAGS-noload): Likewise.
48789 (LDFLAGS-next): Likewise.
48790 (LDFLAGS-order2mod1.so): Likewise.
48791 (LDFLAGS-order2mod2.so): Likewise.
48792 (LDFLAGS-tst-initorder2): Likewise.
48793 (LDFLAGS-tst-initorder2a.so): Likewise.
48794 (LDFLAGS-tst-initorder2b.so): Likewise.
48795 (LDFLAGS-tst-initorder2c.so): Likewise.
48796 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48798 2012-05-02 David S. Miller <davem@davemloft.net>
48800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48802 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
48805 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48807 2012-05-02 Andreas Jaeger <aj@suse.de>
48809 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48810 since we manipulate rounding mode.
48811 (CPPFLAGS-test-idouble.c): Likewise.
48812 (CPPFLAGS-test-ifloat.c): Likewise.
48813 (CFLAGS-test-ldouble.c): Likewise.
48814 (CFLAGS-test-double.c): Likewise.
48815 (CFLAGS-test-float.c): Likewise.
48816 (CFLAGS-test-misc.c): Likewise.
48817 (CFLAGS-test-test-fenv.c): Likewise.
48819 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48824 comparisons to determine direction to adjust input.
48826 2012-05-01 Roland McGrath <roland@hack.frob.com>
48828 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48829 output to the target.
48831 * scripts/localplt.awk: New file.
48832 * elf/Makefile ($(objpfx)check-localplt): Target removed.
48833 (check-localplt-CFLAGS): Variable removed.
48834 ($(all-built-dso:=.jmprel)): New static pattern rule.
48835 (generated): Add those targets.
48836 (localplt-built-dso): New variable.
48837 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48839 * elf/check-localplt.c: File removed.
48841 * scripts/check-execstack.awk: New file.
48842 * elf/Makefile ($(objpfx)check-execstack): Target removed.
48843 (check-execstack-CFLAGS): Variable removed.
48844 ($(objpfx)check-execstack.h): Target removed.
48845 ($(objpfx)execstack-default): New target.
48846 (generated): Add that instead of check-execstack.h.
48847 ($(all-built-dso:=.phdr)): New static pattern rule.
48848 (generated): Add those targets.
48849 * elf/check-execstack.c: File removed.
48851 * scripts/check-textrel.awk: New file.
48852 * elf/Makefile ($(objpfx)check-textrel): Target removed.
48853 (check-textrel-CFLAGS): Variable removed.
48854 (all-built-dso): Use := to define.o
48855 ($(all-built-dso:=.dyn)): New static pattern rule.
48856 (generated): Add those targets.
48857 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48858 * config.make.in (READELF): New substituted variable.
48859 * elf/check-textrel.c: File removed.
48861 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48863 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48865 * conform/data/ctype.h-data [C99-based standards] (isblank):
48867 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48868 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48870 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48871 Specify type. Require positive value.
48872 (EILSEQ): Likewise.
48873 (ERANGE): Likewise.
48874 [ISO || POSIX] (EILSEQ): Do not expect.
48875 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48876 Specify type. Require positive value.
48877 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48878 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48879 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48880 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48881 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48882 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48883 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48884 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48885 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48886 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48887 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48888 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48889 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48890 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48891 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48892 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48893 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48894 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48895 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48896 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48897 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48898 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48899 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48900 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48901 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48902 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48903 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48904 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48905 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48906 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48907 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48908 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48909 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48910 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48911 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48912 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48913 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48914 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48915 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48916 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48917 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48918 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48919 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48920 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48921 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48922 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48923 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48924 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48925 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48926 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48927 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48928 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48929 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48930 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48931 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48932 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48933 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48934 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48935 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48936 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48937 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48938 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48939 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48940 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48941 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48942 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48943 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48944 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48945 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48946 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48947 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48948 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48949 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48950 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48951 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48952 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48953 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48955 (FLT_ROUNDS): Expect as macro, not constant.
48956 (FLT_MANT_DIG): Use macro-int-constant.
48957 (DBL_MANT_DIG): Likewise.
48958 (LDBL_MANT_DIG): Likewise.
48959 (FLT_DIG): Likewise.
48960 (DBL_DIG): Likewise.
48961 (LDBL_DIG): Likewise.
48962 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
48963 (DBL_MIN_EXP): Likewise.
48964 (LDBL_MIN_EXP): Likewise.
48965 (FLT_MAX_EXP): Use macro-int-constant.
48966 (DBL_MAX_EXP): Likewise.
48967 (LDBL_MAX_EXP): Likewise.
48968 (FLT_MAX_10_EXP): Likewise.
48969 (DBL_MAX_10_EXP): Likewise.
48970 (LDBL_MAX_10_EXP): Likewise.
48971 (FLT_MAX): Use macro-constant.
48972 (DBL_MAX): Likewise.
48973 (LDBL_MAX): Likewise.
48974 (FLT_EPSILON): Use macro-constant. Give upper bound.
48975 (DBL_EPSILON): Likewise.
48976 (LDBL_EPSILON): Likewise.
48977 (FLT_MIN): Likewise.
48978 (DBL_MIN): Likewise.
48979 (LDBL_MIN): Likewise.
48980 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48981 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48982 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48983 [ISO11] (FLT_HAS_SUBNORM): Likewise.
48984 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48985 [ISO11] (DBL_DECIMAL_DIG): Likewise.
48986 [ISO11] (FLT_DECIMAL_DIG): Likewise.
48987 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48988 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48989 [ISO11] (FLT_TRUE_MIN): Likewise.
48990 [ISO11] (LDBL_TRUE_MIN): Likewise.
48991 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48992 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48993 (SCHAR_MIN): Use macro-int-constant. Specify type.
48994 (SCHAR_MAX): Likewise.
48995 (UCHAR_MAX): Likewise.
48996 (CHAR_MIN): Likewise.
48997 (CHAR_MAX): Likewise.
48998 (MB_LEN_MAX): Use macro-int-constant.
48999 (SHRT_MIN): Use macro-int-constant. Specify type.
49000 (SHRT_MAX): Likewise.
49001 (USHRT_MAX): Likewise.
49002 (INT_MAX): Likewise.
49003 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49005 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49007 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49009 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49010 bound negative. Suffix upper bound with "L".
49011 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49013 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49015 [C99-based standards] (LLONG_MAX): Likewise.
49016 [C99-based standards] (ULLONG_MAX): Likewise.
49017 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49019 [ISO11] (max_align_t): Require type.
49020 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49022 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49023 from $CFLAGS, without defining away __attribute__ calls.
49024 (checknamespace): Use $CFLAGS_namespace.
49026 * conform/conformtest.pl (@keywords): Only include C99 keywords
49027 for standards based on C99 or C11.
49029 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49031 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49034 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49035 usability of symbols in #if.
49037 * conform/conformtest.pl: If macro or constant types start
49038 "promoted:", expect the symbol to be of the following type
49039 promoted by the integer promotions.
49041 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49042 in one place. Also handle "macro-constant".
49044 * conform/conformtest.pl: Only accept expected macro values with
49045 "==". Parse all "macro" lines in one place.
49046 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49048 * conform/conformtest.pl: Handle braced types on "constant" lines
49049 instead of handling "typed-constant".
49050 * conform/data/signal.h-data: Use "constant" instead of
49053 * conform/conformtest.pl: Handle "optional-" at start of lines in
49054 one place rather than duplicating several cases. Handle each
49055 format of "macro" line with initial "optional-".
49057 * conform/conformtest.pl: Only accept expected constant or
49058 optional-constant values with "==". Parse all "constant" lines in
49059 one place. Parse all "optional-constant" lines in one place.
49060 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49061 * conform/data/fmtmsg.h-data: Likewise.
49062 * conform/data/netinet/in.h-data: Likewise.
49063 * conform/data/tar.h-data: Likewise.
49064 * conform/data/limits.h-data: Use "==" form on "constant" and
49065 "optional-constant" lines.
49067 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49068 Use -std=c99 for XOPEN2K.
49069 (@knownproblems): Remove.
49070 (newtoken): Don't check %isknown.
49072 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49073 Do not expect macro.
49074 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49075 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49076 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49077 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49078 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49079 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49080 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49081 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49082 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49083 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49084 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49085 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49086 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49087 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49088 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49089 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49090 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49091 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49092 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49093 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49094 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49095 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49096 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49097 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49098 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49099 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49100 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49101 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49102 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49103 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49104 [XPG3] (acosh): Likewise.
49105 [XPG3] (asinh): Likewise.
49106 [XPG3] (atanh): Likewise.
49107 [XPG3] (cbrt): Likewise.
49108 [XPG3] (expm1): Likewise.
49109 [XPG3] (ilogb): Likewise.
49110 [XPG3] (log1p): Likewise.
49111 [XPG3] (logb): Likewise.
49112 [XPG3] (nextafter): Likewise.
49113 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49114 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49115 [XPG3] (remainder): Likewise.
49116 [XPG3] (rint): Likewise.
49117 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49118 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49119 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49120 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49121 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49122 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49123 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49124 [UNIX98 || XOPEN2K] (scalb): Expect.
49125 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49126 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49127 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49128 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49129 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49130 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49131 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49132 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49133 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49134 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49135 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49136 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49137 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49138 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49139 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49140 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49141 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49142 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49143 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49144 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49145 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49146 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49147 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49148 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49149 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49150 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49151 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49152 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49153 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49154 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49155 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49156 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49157 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49158 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49159 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49160 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49161 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49162 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49163 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49164 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49165 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49166 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49167 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49168 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49169 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49170 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49171 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49172 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49173 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49174 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49175 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49176 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49177 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49178 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49179 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49180 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49181 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49182 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49183 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49184 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49185 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49186 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49187 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49188 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49189 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49190 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49191 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49192 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49193 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49194 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49195 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49196 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49197 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49198 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49199 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49200 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49201 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49202 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49203 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49204 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49205 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49206 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49207 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49208 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49209 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49210 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49211 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49212 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49213 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49214 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49215 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49216 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49217 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49218 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49219 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49220 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49221 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49222 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49223 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49224 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49225 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49226 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49227 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49228 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49229 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49230 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49231 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49232 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49233 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49234 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49235 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49236 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49237 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49238 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49239 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49240 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49241 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49242 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49243 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49244 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49245 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49246 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49247 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49248 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49249 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49250 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49251 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49252 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49253 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49254 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49255 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49256 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49257 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49258 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49259 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49260 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49261 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49263 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49264 _XOPEN_SOURCE_EXTENDED for XPG4.
49266 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49268 * Makeconfig (localtime): Remove variable.
49269 (inst_localtime-file): Likewise.
49271 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49292 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49296 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49297 comparisons to determine direction to adjust input.
49298 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49299 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49302 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49306 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49307 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49309 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49311 * math/libm-test.inc (nexttoward_test): Add more tests.
49313 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49317 in version GLIBC_2.1, not GLIBC_2.0.
49318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49321 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49324 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49326 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49327 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49328 * math/libm-test.inc (acos_test): Add more tests.
49329 (asin_test): Likewise.
49330 * sysdeps/i386/fpu/libm-test-ulps: Update.
49331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49334 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49336 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49337 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49338 * math/libm-test.inc (acos_test_tonearest): New function.
49339 (acos_test_towardzero): Likewise.
49340 (acos_test_downward): Likewise.
49341 (acos_test_upward): Likewise.
49342 (asin_test_tonearest): Likewise.
49343 (asin_test_towardzero): Likewise.
49344 (asin_test_downward): Likewise.
49345 (asin_test_upward): Likewise.
49346 (main): Call the new functions.
49347 * sysdeps/i386/fpu/libm-test-ulps: Update.
49348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49352 * math/e_exp10.c: Include <float.h>.
49353 (__ieee754_exp10): Handle underflow here rather than multiplying
49354 large negative argument by M_LN10.
49355 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49357 * math/e_exp10l.c: Include <float.h>.
49358 (__ieee754_exp10l): Handle underflow here rather than multiplying
49359 large negative argument by M_LN10l.
49360 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49361 spurious overflow exception on underflow.
49363 2012-04-29 Marek Polacek <polacek@redhat.com>
49365 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49366 (__fortify_function): New macro.
49367 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49368 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49369 __extern_always_inline.
49370 * libio/bits/stdio2.h: Likewise.
49371 * libio/bits/stdio.h: Likewise.
49372 * string/string.h: Likewise.
49373 * string/bits/string3.h: Likewise.
49374 * include/stdio.h: Likewise.
49375 * stdlib/bits/stdlib.h: Likewise.
49376 * stdlib/stdlib.h: Likewise.
49377 * rt/bits/mqueue2.h: Likewise.
49378 * rt/mqueue.h: Likewise.
49379 * posix/bits/unistd.h: Likewise.
49380 * posix/unistd.h: Likewise.
49381 * io/bits/poll2.h: Likewise.
49382 * io/bits/fcntl2.h: Likewise.
49383 * io/fcntl.h: Likewise.
49384 * io/sys/poll.h: Likewise.
49385 * misc/bits/syslog.h: Likewise.
49386 * misc/bits/syslog-ldbl.h: Likewise.
49387 * misc/sys/syslog.h: Likewise.
49388 * socket/bits/socket2.h: Likewise.
49389 * socket/sys/socket.h: Likewise.
49390 * debug/tst-chk1.c: Likewise.
49391 * wcsmbs/bits/wchar2.h: Likewise.
49392 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49393 * wcsmbs/wchar.h: Likewise.
49395 2012-04-29 Andreas Jaeger <aj@suse.de>
49397 * Makerules (tests): Remove enable-check-abi protection.
49398 (check-abi-warn): Remove.
49399 (check-abi-%): Remove check-abi-warn usage.
49401 * configure.in: Remove check-abi configure option.
49402 * configure: Regenerated.
49403 * config.make.in (enable-check-abi): Remove.
49405 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49408 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49409 double functions to double *_finite functions.
49412 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49413 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49415 * stdio-common/Makefile (tests): Add tst-sprintf3.
49416 * stdio-common/tst-sprintf3.c: New file.
49418 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49419 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49421 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49423 * conform/conformtest.pl: Remove duplicate typed-constant
49426 2012-04-28 David S. Miller <davem@davemloft.net>
49428 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49429 (check-abi-%): Remove AWK script prerequisite and explicit
49431 (check-abi): Rewrite to just diff the symlist with the abilist.
49432 (config-tls, config-abi-config): Delete, no longer used.
49433 (update-abi-%): Remove AWK script and explicit abilist directory.
49434 (update-abi): Rewrite to simply compare and conditionally copy the
49435 symlist and the sysdep abilist file. Remove update-abi-config
49437 * abilist/ld.abilist: Remove.
49438 * abilist/libBrokenLocale.abilist: Remove.
49439 * abilist/libanl.abilist: Remove.
49440 * abilist/libcrypt.abilist: Remove.
49441 * abilist/libdl.abilist: Remove.
49442 * abilist/librt.abilist: Remove.
49443 * abilist/libthread_db.abilist: Remove.
49444 * abilist/libutil.abilist: Remove.
49445 * scripts/extract-abilist.awk: Remove.
49446 * scripts/merge-abilist.awk: Remove.
49447 * sysdeps/generic/libcidn.abilist: New file.
49448 * sysdeps/generic/libnss_compat.abilist: New file.
49449 * sysdeps/generic/libnss_db.abilist: New file.
49450 * sysdeps/generic/libnss_dns.abilist: New file.
49451 * sysdeps/generic/libnss_files.abilist: New file.
49452 * sysdeps/generic/libnss_hesiod.abilist: New file.
49453 * sysdeps/generic/libnss_nis.abilist: New file.
49454 * sysdeps/generic/libnss_nisplus.abilist: New file.
49455 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49456 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49457 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49460 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49461 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49462 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49463 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49464 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49465 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49466 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49467 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49469 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49470 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49471 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49472 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49474 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49475 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49476 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49477 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49478 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49479 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49481 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49482 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49483 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49485 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49588 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49589 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49590 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49592 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49593 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49594 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49595 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49596 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49597 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49598 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49599 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49600 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49601 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49653 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49655 * conform/conformtest.pl: Fix typo in handling typed-constant from
49658 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49660 * README: Cut down references to pre-2.6 Linux kernels and
49661 Linuxthreads. Update lists of configurations in libc and ports
49662 and sort alphabetically. Say "or newer" with Linux kernel version
49665 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49667 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49670 * math/libm-test.inc (logb_test_downward): New test to expose
49671 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49674 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49677 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49679 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49680 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49682 2012-04-26 Joseph Myers <joseph@codesourcery.com>
49684 * sysdeps/unix/i386/brk.S: Remove file.
49685 * sysdeps/unix/i386/dl-brk.S: Likewise.
49686 * sysdeps/unix/i386/pipe.S: Likewise.
49687 * sysdeps/unix/i386/sigreturn.S: Likewise.
49688 * sysdeps/unix/i386/syscall.S: Likewise.
49689 * sysdeps/unix/i386/vfork.S: Likewise.
49690 * sysdeps/unix/i386/wait.S: Likewise.
49692 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49693 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49695 * configure.in (arm*-none*): Do not allow without
49696 --enable-hacker-mode.
49697 (netbsd*): Remove case setting base_os.
49698 (386bsd*): Likewise.
49699 (freebsd*): Likewise.
49702 (sunos*): Likewise.
49703 (ultrix*): Likewise.
49704 (newsos*): Likewise.
49705 (dynix*): Likewise.
49711 (minix*): Likewise.
49712 (irix4*): Likewise.
49713 (irix6*): Likewise.
49714 (solaris[2-9]*): Likewise.
49716 * configure: Regenerated.
49718 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49721 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49722 overflow or cancellation in calculating denominator.
49723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49725 down expression to avoid unexpected rounding in newer GCCs.
49726 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49728 2012-04-26 David S. Miller <davem@davemloft.net>
49730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49731 long-double compat symbols.
49732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49746 2012-04-25 David S. Miller <davem@davemloft.net>
49748 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49749 HWCAP_* values only after the memory barriers have been defined.
49750 (atomic_full_barrier): Define.
49751 (atomic_read_barrier): Define.
49752 (atomic_write_barrier): Define.
49754 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49756 * shlib-versions: Add libgcc_s version information.
49757 * sysdeps/generic/libgcc_s.h: Remove.
49758 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49760 * sysdeps/gnu/unwind-resume.c: Likewise.
49761 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49763 2012-04-25 David S. Miller <davem@davemloft.net>
49765 * sysdeps/unix/sparc/brk.S: Delete.
49766 * sysdeps/unix/sparc/dl-brk.S: Delete.
49767 * sysdeps/unix/sparc/pipe.S: Delete.
49768 * sysdeps/unix/sparc/sysdep.S: Delete.
49769 * sysdeps/unix/sparc/sysdep.h: Delete.
49770 * sysdeps/unix/sparc/vfork.S: Delete.
49771 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49772 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49773 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49774 (ret_ERRVAL, r0, r1, MOVE): Define.
49775 (JUMPTARGET): Remove.
49776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49777 sysdeps/unix/sparc/sysdep.h
49778 (ENTRY, END): Remove.
49779 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49781 2012-04-25 Joseph Myers <joseph@codesourcery.com>
49783 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49784 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49787 * timezone/README: Update upstream location and email address for
49789 * timezone/zdump.c: Update from tzcode 2012b.
49790 * timezone/zic.c: Likewise.
49792 * configure.in (libc_cv_as_needed): Remove test.
49793 * configure: Regenerated.
49794 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49795 conditional definition.
49796 [$(have-as-needed) != yes] (no-as-needed): Likewise.
49797 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49798 * config.make.in (have-as-needed): Remove variable.
49800 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
49801 Paul Pluzhnikov <ppluzhnikov@google.com>
49803 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49806 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
49808 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49809 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49810 * sysdeps/sh/strlen.S: Likewise.
49812 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49814 * sysdeps/unix/fork.S: Remove file.
49815 * sysdeps/unix/i386/fork.S: Likewise.
49816 * sysdeps/unix/sparc/fork.S: Likewise.
49818 * sysdeps/unix/system.c: Remove file.
49819 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49821 * sysdeps/unix/getegid.S: Remove file.
49822 * sysdeps/unix/geteuid.S: Likewise.
49824 2012-04-24 Roland McGrath <roland@hack.frob.com>
49826 * scripts/check-localplt.awk: New file.
49827 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49829 * scripts/data/localplt-generic.data: Add a comment.
49831 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49832 NODE when __dir_mkfile failed.
49833 * sysdeps/mach/hurd/symlinkat.c: Likewise.
49834 Reported by Ludovic Courtès <ludo@gnu.org>.
49836 2012-04-24 Andreas Jaeger <aj@suse.de>
49838 * Makerules (common-clean): Also remove gen-as-const-headers
49841 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49843 * Makerules (native-compile): Do not change working directory for
49844 build. Use $(OUTPUT_OPTION) in command.
49845 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49847 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49850 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49851 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49852 * math/libm-test.inc (floor_test): Add more tests.
49853 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49855 2012-04-24 Joseph Myers <joseph@codesourcery.com>
49857 * sysdeps/unix/getdents.c: Remove file.
49858 * sysdeps/unix/sysv/getdents.c: Likewise.
49859 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49861 * sysdeps/unix/syscalls.list (madvise): Add syscall from
49862 sysdeps/unix/mman/syscalls.list.
49864 (mprotect): Likewise.
49866 (munmap): Likewise.
49867 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49868 * sysdeps/unix/mman/syscalls.list: Remove.
49869 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49871 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49872 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49873 * configure: Regenerated.
49874 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49875 $(libgcc_s_suffix).
49876 * config.make.in (libgcc_s_suffix): Remove variable.
49878 2012-04-23 Joseph Myers <joseph@codesourcery.com>
49880 * sysdeps/unix/sysv/gethostname.c: Move to ...
49881 * sysdeps/posix/gethostname.c: ... here.
49883 * sysdeps/unix/execve.S: Remove file.
49885 * sysdeps/unix/_exit.S: Remove file.
49887 2012-04-23 Andreas Jaeger <aj@suse.de>
49890 * manual/Makefile: Remove make dist support, there's no
49891 need for a stand-alone documentation tar ball.
49892 (TEXI2DVI): Define always, it's not in Makeconfig.
49895 (edition): Removed.
49896 (glibc-doc-$(edition).tar): Removed
49900 (ETAGS): Remove, it's in Makeconfig.
49901 (move-if-change): Remove, it's in Makeconfig.
49903 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
49906 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49907 (strtod, strtof, strtold, strtol, strtoul, strtoq)
49908 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49909 (strtod_l, strtof_l, strtold_l): Remove __wur.
49910 It is not necessarily an error to ignore strtol's return value.
49911 One can reliably look at the stored endptr to decide whether
49912 the number had valid syntax.
49914 2012-04-21 Andreas Jaeger <aj@suse.de>
49917 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49919 2012-04-21 Joseph Myers <joseph@codesourcery.com>
49921 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49922 * sysdeps/unix/sysv/Versions: Remove file.
49924 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
49927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49929 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
49932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49933 version from __vm86.
49935 2012-04-20 Joseph Myers <joseph@codesourcery.com>
49937 * sysdeps/unix/common/lxstat.c: Remove file.
49938 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49940 * sysdeps/unix/sysv/Makefile: Remove file.
49942 * sysdeps/unix/sysv/direct.h: Remove file.
49944 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49945 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49946 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49947 * sysdeps/unix/sysv/bits/signum.h: Likewise.
49948 * sysdeps/unix/sysv/bits/stat.h: Likewise.
49949 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49950 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49952 * sysdeps/unix/sysv/setrlimit.c: Remove file.
49954 * sysdeps/unix/xmknod.c: Remove file.
49955 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49957 * sysdeps/unix/sysv/settimeofday.c: Remove file.
49959 * sysdeps/unix/sysv/i386/time.S: Remove file.
49961 * sysdeps/unix/fxstat.c: Remove file.
49962 * sysdeps/unix/xstat.c: Likewise.
49963 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49965 * sysdeps/unix/sysv/sigaction.c: Remove file.
49967 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49968 (sysdep_headers): Remove variable.
49969 [termio.h not in sysdep_headers] (generated): Likewise.
49970 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49971 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49972 * sysdeps/unix/sysv/tcdrain.c: Likewise.
49973 * sysdeps/unix/sysv/tcflow.c: Likewise.
49974 * sysdeps/unix/sysv/tcflush.c: Likewise.
49975 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49976 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49977 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49978 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49979 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49981 * sysdeps/unix/siglist.c: Remove file.
49983 * sysdeps/unix/getppid.S: Remove file.
49985 * sysdeps/unix/mkdir.c: Remove file.
49986 * sysdeps/unix/rmdir.c: Likewise.
49988 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
49990 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49992 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49993 errlist-compat value.
49995 2012-04-18 David S. Miller <davem@davemloft.net>
49997 * sysdeps/generic/memcopy.h (reg_char): Delete.
49998 * debug/strcat_chk.c: Use char, not reg_char.
49999 * debug/strcpy_chk.c: Likewise.
50000 * debug/strncat_chk.c: Likewise.
50001 * debug/strncpy_chk.c: Likewise.
50002 * string/memchr.c: Likewise.
50003 * string/memrchr.c: Likewise.
50004 * string/rawmemchr.c: Likewise.
50005 * string/strcat.c: Likewise.
50006 * string/strchr.c: Likewise.
50007 * string/strchrnul.c: Likewise.
50008 * string/strcmp.c: Likewise.
50009 * string/strcpy.c: Likewise.
50010 * string/strncat.c: Likewise.
50011 * string/strncmp.c: Likewise.
50012 * string/strncpy.c: Likewise.
50014 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50016 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50017 __builtin_memcopy is called when src and dest ranges are known to not
50020 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50022 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50023 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50024 fwd_align_merge macro call.
50025 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50026 bwd_align_merge macro call.
50027 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50029 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50032 bwd_align_merge macros.
50033 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50034 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50035 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50037 2012-04-18 David S. Miller <davem@davemloft.net>
50039 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50041 2012-04-18 Andreas Jaeger <aj@suse.de>
50044 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50045 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50046 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50048 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50049 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50052 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50053 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50054 Adjust for changed ldbl-128 files.
50056 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50057 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50060 2012-04-17 David S. Miller <davem@davemloft.net>
50062 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50064 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50066 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50067 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50068 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50069 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50070 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50071 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50073 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50076 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50077 * math/libm-test.inc: Add ilogb errno and exception tests.
50078 * math/w_ilogb.c: New file: ilogb wrapper.
50079 * math/w_ilogbf.c: New file: ilogbf wrapper.
50080 * math/w_ilogbl.c: New file: ilogbl wrapper.
50081 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50082 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50083 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50084 exception being thrown with 0.0 as argument.
50085 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50086 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50087 exception being thrown with 0.0 as argument.
50088 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50089 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50090 exception being thrown with 0.0 as argument.
50091 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50092 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50093 exception being thrown with 0.0 as argument.
50094 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50095 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50097 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50098 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50099 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50100 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50101 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50102 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50104 2012-04-17 Petr Baudis <pasky@ucw.cz>
50106 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50109 2012-04-16 Marek Polacek <polacek@redhat.com>
50111 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50113 2012-04-16 Marek Polacek <polacek@redhat.com>
50115 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50116 operands of fdivp instruction.
50118 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50120 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50121 * elf/tst-auditmod3b.c: Likewise.
50122 * elf/tst-auditmod4b.c: Likewise.
50123 * elf/tst-auditmod5b.c: Likewise.
50124 * elf/tst-auditmod6b.c: Likewise.
50125 * elf/tst-auditmod6c.c: Likewise.
50126 * elf/tst-auditmod7b.c: Likewise.
50127 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50128 * sysdeps/x86_64/preconfigure.in: Likewise.
50129 * sysdeps/x86_64/preconfigure: Regenerated.
50131 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50133 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50136 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50139 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50141 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50144 * locale/iso-639.def: Fix gl language name. Spotted by
50147 2012-04-12 Roland McGrath <roland@hack.frob.com>
50150 * libio/libio.h (__io_write_fn): Update comment.
50152 2012-04-12 Petr Baudis <pasky@ucw.cz>
50155 * stdio.texi (Hook Functions): The user provided writer function
50156 is not allowed to return -1.
50158 2012-04-11 David S. Miller <davem@davemloft.net>
50160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50162 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50164 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50165 Add a leading slash to rtkaio.
50167 2012-04-11 Jim Meyering <meyering@redhat.com>
50170 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50171 It is not necessarily an error to ignore fwrite's return
50172 value. One can reliably use ferror to test for errors after
50175 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50177 * bits/types.h (__snseconds_t): New type.
50178 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50180 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50181 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50182 (__SNSECONDS_T_TYPE): Likewise.
50183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50184 (__SNSECONDS_T_TYPE): Likewise.
50185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50186 (__SNSECONDS_T_TYPE): Likewise.
50188 2012-04-10 Andreas Jaeger <aj@suse.de>
50191 * manual/time.texi (Processor Time): Return type of times is
50192 elapsed real time since an arbitrary point in the past.
50193 (CPU Time): Move CLK_TCK from here...
50194 (Processor Time): ...to here. Correct description.
50195 * manual/conf.texi (Constants for Sysconf): Correct description of
50198 2012-04-10 David S. Miller <davem@davemloft.net>
50201 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50202 where the is a gap between DT_REL(A) and DT_JMPREL.
50204 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50206 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50207 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50208 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50210 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50212 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50213 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50214 (dl_main): Handle --inhibit-cache.
50215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50217 * elf/dl-load.c (_dl_map_object): Use it.
50218 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50220 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50223 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50224 (__ieee754_powl): Saturate large exponents rather than testing for
50225 overflow of y*log2(x).
50226 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50227 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50231 * math/s_ctan.c: Include <float.h>.
50232 (__ctan): Avoid internal overflow or cancellation in calculating
50234 * math/s_ctanf.c: Likewise.
50235 * math/s_ctanl.c: Likewise.
50236 * math/s_ctanh.c: Likewise.
50237 * math/s_ctanhf.c: Likewise.
50238 * math/s_ctanhl.c: Likewise.
50239 * math/libm-test.inc (ctan_test): Add more tests.
50240 (ctanh_test): Likewise.
50241 * sysdeps/i386/fpu/libm-test-ulps: Update.
50242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50244 2012-04-09 Andreas Jaeger <aj@suse.de>
50247 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50248 is an optional BSD extension.
50251 * manual/stdio.texi (Opening Streams): Document additional fopen
50254 2012-04-09 Roland McGrath <roland@hack.frob.com>
50256 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50257 %eax without telling the compiler.
50259 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50262 * manual/install.texi: Use sourceware.org.
50264 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50267 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50268 (__ieee754_pow): Generate overflow and underflow using huge*huge
50269 and tiny*tiny rather than just returning constant infinity or zero
50270 for large exponents.
50271 * math/libm-test.inc (pow_test): Require overflow exceptions for
50272 applicable cases of large exponents.
50275 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50276 (__ieee754_pow): Use iterative multiplication algorithm only for
50277 integer exponents with absolute value below 1024. Check for odd
50278 integer exponents when using algorithm for real exponents.
50279 * math/libm-test.inc (pow_test): Add more tests.
50280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50282 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50285 * math/libm-test.inc (exp_test): Do not allow overflow exception
50288 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50291 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50292 instead of __kernel_standard_f.
50294 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50296 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50297 * sysdeps/x86_64/memset_chk.S: Likewise.
50299 2012-04-08 Andreas Jaeger <aj@suse.de>
50302 * manual/startup.texi (Environment Access): Describe return value
50303 for putenv and setenv.
50306 * manual/filesys.texi (Directory Entries): Add description for
50310 * manual/filesys.texi (Directory Entries): Clarify that it's file
50311 system not operating system in the description of DT_UNKNOWN.
50314 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50316 2012-04-08 Stephen Compall <s11@member.fsf.org>
50319 * manual/llio.texi (Opening and Closing Files): Add cross
50320 reference to explain mode argument.
50322 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50324 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50325 * sysdeps/x86_64/memset_chk.S: Likewise.
50327 2012-04-07 David S. Miller <davem@davemloft.net>
50329 * elf/elf.h (R_SPARC_WDISP10): Define.
50330 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50333 R_SPARC_SIZE64 and R_SPARC_H34.
50335 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50337 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50338 conditions and remove no longer applicable assertion.
50340 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50342 * bits/byteswap.h: Include <features.h>.
50343 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50344 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50346 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50348 * bits/byteswap.h (__bswap_16): Removed.
50349 Include <bits/byteswap-16.h> to get __bswap_16.
50350 * sysdeps/i386/bits/byteswap.h: Likewise.
50351 * sysdeps/s390/bits/byteswap.h: Likewise.
50352 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50353 * bits/byteswap-16.h: New file.
50354 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50355 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50356 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50357 * string/Makefile (headers): Add bits/byteswap-16.h.
50359 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50362 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50364 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50365 * nss/tst-nss-static.c: New.
50367 2012-04-06 Robert Millan <rmh@gnu.org>
50370 * manual/llio.texi (File Position Primitive): lseek
50371 refers to WHENCE when it really means OFFSET.
50373 2012-04-06 Andreas Jaeger <aj@suse.de>
50375 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50376 strncmp declarations.
50378 * abilist/libc.abilist: Add __poll and __ppoll.
50380 2012-04-05 David S. Miller <davem@davemloft.net>
50382 * scripts/check-local-headers.sh: Accept a host triplet in the
50383 path matched by the exclude regexp.
50385 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50387 * sysdeps/powerpc/powerpc32/dl-machine.h
50388 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50389 * sysdeps/s390/s390-32/dl-machine.h
50390 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50391 * sysdeps/sparc/sparc32/dl-machine.h
50392 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50393 * sysdeps/sparc/sparc64/dl-machine.h
50394 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50396 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50398 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50399 undefined symbol errors.
50401 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50404 2012-04-05 Michael Matz <matz@suse.de>
50407 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50409 2012-04-05 Andreas Jaeger <aj@suse.de>
50412 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50415 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50418 which ROUND is no valid rounding mode.
50420 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50422 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50424 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50426 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50428 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50429 an exception using FPU order intentionally.
50431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50433 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50434 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50435 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50436 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50438 2012-04-05 Simon Josefsson <simon@josefsson.org>
50441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50442 EINVAL when BUFLEN is too smal.
50444 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50447 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50448 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50450 2012-04-03 Andreas Jaeger <aj@suse.de>
50453 * manual/setjmp.texi (System V contexts): Fix sentence.
50456 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50457 New macro for this case.
50458 [!__GNUC__] (__bswap_64): New inline function for this case.
50459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50460 * bits/byteswap.h: Likewise.
50461 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50462 ull, guard with __GLIBC_HAVE_LONG_LONG.
50464 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50465 __GLIBC_HAVE_LONG_LONG.
50467 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50468 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50470 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50473 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50474 inptr and inend, rather than using last_ch.
50476 2012-04-02 David S. Miller <davem@davemloft.net>
50478 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50479 * stdio-common/printf-parse.h (read_int): Change return type to
50480 'int', return -1 on INT_MAX overflow.
50481 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50482 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50483 overflows INT_MAX. Check for overflow of in-format-string precision
50484 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50485 SIZE_MAX not INT_MAX for integer overflow test.
50486 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50487 skip the construct in the format string but do not record anything.
50488 * stdio-common/bug22.c: Adjust to test both width/prevision
50489 INT_MAX overflow as well as total length INT_MAX overflow. Check
50490 explicitly for proper errno values.
50492 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50494 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50496 * string/test-strcmp.c [! WIDE]: Likewise.
50497 * time/tst-mktime2.c: Likewise for INT_MAX.
50498 * string/test-string.h: #include <sys/param.h> for MIN.
50500 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50501 * sysdeps/i386/init-first.c (init): Likewise.
50502 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50503 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50504 * sysdeps/sh/init-first.c (init): Likewise.
50506 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50508 * po/ru.po: Update from translation team.
50509 * po/vi.po: Likewise.
50511 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50513 * resolv/nss_dns/dns-host.c: Merge copyright years.
50515 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50517 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50518 Optimize memcpy with prefetch if
50519 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50520 src, dst pointers have unequal 16 byte alignments.
50522 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50525 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50526 from a CNAME entry and return the minimum ttl for the query.
50527 (gaih_getanswer_slice): Likewise.
50529 2012-03-30 Jeff Law <law@redhat.com>
50531 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50533 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50534 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50536 * resolv/nss_dns/dns-host.c: Update copyright year.
50538 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50540 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50541 requests to save a system call. Fix check that all bytes are sent.
50543 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50544 comments for sendmmsg.
50546 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50549 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50550 with only 1 character between 0x0041 and 0x01b0.
50551 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50552 * wcsmbs/tst-mbsnrtowcs.c: New file.
50554 2012-03-29 David S. Miller <davem@davemloft.net>
50556 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50557 small copies by hand.
50559 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50562 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50563 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50566 2012-03-28 David S. Miller <davem@davemloft.net>
50568 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50569 that branches into memcpy.
50570 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50573 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50576 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50577 implementation too.
50578 * sysdeps/sparc/mempcpy.S: New file.
50580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50581 the IFUNC routine in the libc case.
50582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50584 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50585 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50586 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50587 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50588 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50589 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50590 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50591 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50593 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50594 loop to 256 bytes instead of 64 bytes and fix test signedness.
50596 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50597 * sysdeps/sparc/sparc32/Makefile: rather than here...
50598 * sysdeps/sparc/sparc64/Makefile: and here.
50600 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50602 * malloc/mallocbug.c: Avoid warnings about unused variables.
50604 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50607 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50608 in the right place. Discard and retry query if response is
50609 larger than input buffer size.
50611 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50616 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50617 x for large integer exponent.
50618 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50619 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50620 sign of result as needed afterwards.
50621 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50622 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50623 result for underflowing pow the same as for overflow.
50624 (__kernel_standard_l): Handle powl overflow and underflow here
50625 rather than calling __kernel_standard.
50626 * math/libm-test.inc (pow_test): Add more tests.
50641 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50642 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50643 (__kernel_standard_l): New function.
50644 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50646 * math/w_acosl.c (__acosl): Likewise.
50647 * math/w_asinl.c (__asinl): Likewise.
50648 * math/w_atan2l.c (__atan2l): Likewise.
50649 * math/w_atanhl.c (__atanhl): Likewise.
50650 * math/w_coshl.c (__coshl): Likewise.
50651 * math/w_exp10l.c (__exp10l): Likewise.
50652 * math/w_exp2l.c (__exp2l): Likewise.
50653 * math/w_fmodl.c (__fmodl): Likewise.
50654 * math/w_hypotl.c (__hypotl): Likewise.
50655 * math/w_j0l.c (__j0l, __y0l): Likewise.
50656 * math/w_j1l.c (__j1l, __y1l): Likewise.
50657 * math/w_jnl.c (__jnl, __ynl): Likewise.
50658 * math/w_lgammal.c (__lgammal): Likewise.
50659 * math/w_log10l.c (__log10l): Likewise.
50660 * math/w_log2l.c (__log2l): Likewise.
50661 * math/w_logl.c (__logl): Likewise.
50662 * math/w_powl.c (__powl): Likewise.
50663 * math/w_remainderl.c (__remainderl): Likewise.
50664 * math/w_scalbl.c (sysv_scalbl): Likewise.
50665 * math/w_sinhl.c (__sinhl): Likewise.
50666 * math/w_sqrtl.c (__sqrtl): Likewise.
50667 * math/w_tgammal.c (__tgammal): Likewise.
50668 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50669 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50670 * math/libm-test.inc (acos_test): Add more tests.
50671 (acosh_test): Likewise.
50672 (asin_test): Likewise.
50673 (atanh_test): Likewise.
50674 (exp_test): Likewise.
50675 (exp10_test): Likewise.
50676 (exp2_test): Likewise.
50677 (expm1_test): Likewise.
50678 (lgamma_test): Likewise.
50679 (log_test): Likewise.
50680 (log10_test): Likewise.
50681 (log1p_test): Likewise.
50682 (log2_test): Likewise.
50683 (pow_test): Do not allow some spurious overflow exceptions.
50684 (sqrt_test): Add more tests.
50685 (tgamma_test): Likewise.
50686 (y0_test): Likewise.
50687 (y1_test): Likewise.
50688 (yn_test): Likewise.
50690 2012-03-27 Anton Blanchard <anton@samba.org>
50692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50698 2012-03-27 David S. Miller <davem@davemloft.net>
50700 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50702 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50703 have-as-vis3 check.
50705 2012-03-27 Andreas Jaeger <aj@suse.de>
50707 * sysdeps/x86_64/elf/configure.in: Moved to ...
50708 * sysdeps/x86_64/configure.in: ... here.
50709 * sysdeps/x86_64/elf/start.S: Moved to ...
50710 * sysdeps/x86_64/start.S: ... here.
50711 * sysdeps/x86_64/elf/configure: Delete.
50713 * sysdeps/x86_64/configure.in: Merge contents from
50714 sysdeps/i386/configure.in (without i686 check).
50716 * sysdeps/i386/elf/Versions: Merge into ...
50717 * sysdeps/i386/Versions: ... this.
50718 * sysdeps/i386/elf/Versions: Delete file.
50719 * sysdeps/i386/elf/start.S: Moved to ...
50720 * sysdeps/i386/start.S: ...here.
50721 * sysdeps/i386/elf/configure.in: Merge into...
50722 * sysdeps/i386/configure.in: ...here.
50723 * sysdeps/i386/elf/configure.in: Delete file.
50724 * sysdeps/i386/elf/configure: Delete file.
50726 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50727 * debug/backtracesyms.c: ... here.
50728 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50729 * debug/backtracesymsfd.c: ... here.
50730 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50731 * sysdeps/generic/ifunc-sel.h: ... here.
50733 * sysdeps/unix/i386/start.c: Delete file.
50734 * sysdeps/unix/sparc/start.c: Delete file.
50735 * sysdeps/unix/start.c: Delete file.
50737 * sysdeps/sh/elf/configure.in: Moved to ...
50738 * sysdeps/sh/configure.in: ... here.
50739 * sysdeps/sh/elf/start.S: Moved to ...
50740 * sysdeps/sh/start.S: ... here.
50741 * sysdeps/sh/elf/configure: Delete file.
50743 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50744 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50745 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50746 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50747 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50748 * sysdeps/powerpc/powerpc64/start.S: here.
50749 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50750 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50751 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50752 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50753 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50755 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50756 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50757 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50758 * sysdeps/powerpc/powerpc32/start.S: ... here.
50759 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50760 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50761 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50763 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50764 * sysdeps/powerpc/ifunc-sel.h: ... here.
50765 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50766 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50768 * sysdeps/sparc/elf/configure.in: Moved to ...
50769 * sysdeps/sparc/configure.in: ... here.
50770 * sysdeps/sparc/elf/configure: Delete file.
50771 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50772 * sysdeps/sparc/sparc32/start.S: ... here.
50773 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50774 * sysdeps/sparc/sparc64/start.S: ... here.
50775 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50776 * sysdeps/sparc/sparc32/Makefile: ... this.
50777 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50778 * sysdeps/sparc/sparc64/Makefile: ... this.
50780 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50781 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50782 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50783 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50784 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50785 * sysdeps/s390/s390-32/setjmp.S: ... here.
50786 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50787 * sysdeps/s390/s390-32/configure.in: ... here.
50788 * sysdeps/s390/s390-32/elf/configure: Delete file.
50789 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50790 * sysdeps/s390/s390-32/start.S: ... here.
50792 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50793 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50794 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50795 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50796 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50797 * sysdeps/s390/s390-64/setjmp.S: ... here.
50798 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50799 * sysdeps/s390/s390-64/configure.in: ... here
50800 * sysdeps/s390/s390-64/elf/configure: Delete file.
50801 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50802 * sysdeps/s390/s390-64/start.S: ... here.
50803 * sysdeps/s390/s390-64/elf/configure: Delete.
50805 * configure.in: Remove support for elf directories in sysdeps.
50807 * configure: Regenerated.
50808 * sysdeps/i386/configure: Regenerated.
50809 * sysdeps/powerpc/powerpc32/configure: Regenerated.
50810 * sysdeps/powerpc/powerpc64/configure: Regenerated.
50811 * sysdeps/s390/s390-32/configure: Regenerated.
50812 * sysdeps/s390/s390-64/configure: Regenerated.
50813 * sysdeps/sh/configure: Regenerated.
50814 * sysdeps/sparc/configure: Regenerated.
50815 * sysdeps/x86_64/configure: Regenerated.
50817 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
50819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50822 denormal result into account.
50824 2012-03-25 Roland McGrath <roland@hack.frob.com>
50826 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50827 Reported by Allan McRae <allan@archlinux.org>.
50829 2012-03-23 Jeff Law <law@redhat.com>
50831 * nss/getnssent.c (__nss_getent): Fix typo.
50833 2012-03-23 David S. Miller <davem@davemloft.net>
50835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50837 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
50839 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50840 to pad to uint64_t for each field.
50841 (dl_tls_index): Replace unsigned long with uint64_t.
50843 2012-03-23 Daniel Jacobowitz <dmj@google.com>
50844 Paul Pluzhnikov <ppluzhnikov@google.com>
50847 * grp/Makefile (otherlibs): Don't set it.
50848 * inet/Makefile (otherlibs): Likewise.
50849 * login/Makefile (otherlibs): Likewise.
50850 * nscd/Makefile (otherlibs): Likewise.
50851 * posix/Makefile (otherlibs): Likewise.
50852 * pwd/Makefile (otherlibs): Likewise.
50853 * rt/Makefile (otherlibs): Likewise.
50854 * sunrpc/Makefile (otherlibs): Likewise.
50855 * nss/Makefile (otherlibs): Likewise.
50856 Add libnss_files to routines and static-only-routines.
50857 ($(objpfx)getent): Remove rule.
50858 * resolv/Makefile: Add libnss_dns and libresolv to routines and
50859 static-only-routines.
50861 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50864 * math/s_cexp.c: Include <float.h>.
50865 (__cexp): Handle exp result overflowing not necessarily
50866 overflowing both real and imaginary parts of result.
50867 * math/s_cexpf.c: Likewise.
50868 * math/s_cexpl.c: Likewise.
50869 * math/libm-test.inc (cexp_test): Add more tests.
50870 * sysdeps/i386/fpu/libm-test-ulps: Update.
50871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50873 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50875 * include/link.h (ELFW): New macro.
50876 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50877 Replace ELF64_R_TYPE with ELFW(R_TYPE).
50879 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50881 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50884 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50886 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50888 (struct La_x32_retval): Likewise.
50890 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50892 * sysdeps/x86_64/preconfigure.in: New file.
50893 * sysdeps/x86_64/preconfigure: New generated file.
50895 2012-03-22 Joseph Myers <joseph@codesourcery.com>
50898 * math/e_exp2l.c: Include <float.h>.
50899 (__ieee754_exp2l): Handle overflow and underflow cases
50900 separately. Only pass fractional part of argument to
50902 * math/libm-test.inc (exp2_test): Add more tests.
50904 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50905 negating x to take absolute value.
50906 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50908 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50911 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50912 computing low part if x was negated.
50913 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50915 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50917 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50918 la_x32_gnu_pltexit.
50919 (pltexit): Cast int_retval to ptrdiff_t.
50920 * elf/tst-auditmod3b.c: Likewise.
50921 * elf/tst-auditmod4b.c: Likewise.
50922 * elf/tst-auditmod5b.c: Likewise.
50923 * elf/tst-auditmod6b.c: Likewise.
50924 * elf/tst-auditmod6c.c: Likewise.
50925 * elf/tst-auditmod7b.c: Likewise.
50927 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50928 and x32_gnu_pltexit.
50930 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50931 __ELF_NATIVE_CLASS.
50932 (La_x32_regs): New macro.
50933 (La_x32_retval): Likewise.
50934 (la_x32_gnu_pltenter): New function prototype.
50935 (la_x32_gnu_pltexit): Likewise.
50937 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
50939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50944 * configure.in (libc_cv_cc_nofma): Check for option to disable
50945 generation of FMA instructions.
50946 * configure: Regenerate.
50947 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50948 * sysdeps/ieee754/dbl-64/Makefile: New file.
50949 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50950 Remove brandred-fma4.
50951 (CFLAGS-brandred-fma4.c): Remove.
50952 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50955 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50958 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50960 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50961 LLONG_MAX != LONG_MAX.
50962 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50963 (_fitoa_word): Likewise.
50964 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50965 LLONG_MAX != LONG_MAX.
50966 * stdio-common/_itowa.h: Include <_itoa.h>.
50967 (_itowa_word): Use _ITOA_WORD_TYPE on value.
50968 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
50969 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
50970 only if not defined.
50971 (_ITOA_WORD_TYPE): Likewise.
50972 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50973 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50975 2012-03-21 David S. Miller <davem@davemloft.net>
50977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50979 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
50981 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50982 of x86_64 when setting libc_cv_slibdir, libdir and
50984 * sysdeps/unix/sysv/linux/configure: Regenerated.
50986 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50988 * manual/lang.texi (Old Varargs): Remove section.
50989 (How Variadic): Update menu.
50990 (va_start): Do not mention varargs.h.
50992 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
50993 Joseph Myers <joseph@codesourcery.com>
50995 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50997 * configure: Regenerated.
50999 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51001 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51002 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51005 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51008 * Makefile (files-for-dist): Remove NOTES.
51009 (NOTES): Remove rule.
51010 * README: Don't refer to NOTES.
51011 * manual/creature.texi: Don't include macros.texi.
51012 * manual/intro.texi (creature.texi): Remove comment referring to
51015 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51016 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51017 * configure: Regenerated.
51018 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51019 LIBC_TRY_CC_OPTION.
51020 (libc_cv_as_i686): Likewise.
51021 (libc_cv_cc_avx): Likewise.
51022 (libc_cv_cc_sse2avx): Likewise.
51023 (libc_cv_cc_fma4): Likewise.
51024 (libc_cv_cc_novzeroupper): Likewise.
51025 * sysdeps/i386/configure: Regenerated.
51028 * sysdeps/i386/fpu/s_cexp.S: Remove.
51029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51030 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51031 * math/libm-test.inc (cexp_test): Add more tests.
51032 * sysdeps/i386/fpu/libm-test-ulps: Update.
51033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51035 2012-03-21 Allan McRae <allan@archlinux.org>
51037 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51039 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51042 * math/w_exp2.c: Do not include <float.h>.
51043 (o_threshold, u_threshold): Remove.
51044 (__exp2): Calculate result before checking finiteness and calling
51046 * math/w_exp2f.c: Likewise.
51047 * math/w_exp2l.c: Likewise.
51048 * math/libm-test.inc (exp2_test): Require overflow exception for
51052 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51053 range of signed 64-bit integers before using fistpll. Remove
51054 checks for whether integers fit in mantissa bits.
51055 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51056 the range of signed 32-bit integers before using fistpl. Remove
51057 checks for whether integers fit in mantissa bits.
51058 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51059 (__ieee754_powl): Test for y outside the range of signed 64-bit
51060 integers before using fistpll. Reduce 64-bit values to 63-bit
51062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51063 divide-by-zero is raised for zero to large negative powers.
51064 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51065 (__ieee754_powl): Test for y outside the range of signed 64-bit
51066 integers before using fistpll. Reduce 64-bit values to 63-bit
51068 * math/libm-test.inc (pow_test): Add more tests.
51070 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51072 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51073 <stdio-common/_itoa.h>.
51074 * debug/segfault.c: Likewise.
51075 * elf/dl-cache.c: Likewise.
51076 * elf/dl-minimal.c: Likewise.
51077 * elf/dl-misc.c: Likewise.
51078 * elf/dl-sysdep.c: Likewise.
51079 * elf/dl-version.c: Likewise.
51080 * elf/rtld.c: Likewise.
51081 * hurd/hurdsock.c: Likewise.
51082 * hurd/lookup-retry.c: Likewise.
51083 * malloc/malloc.c: Likewise.
51084 * malloc/mtrace.c: Likewise.
51085 * nscd/nscd_getgr_r.c: Likewise.
51086 * nscd/nscd_getpw_r.c: Likewise.
51087 * nscd/nscd_getserv_r.c: Likewise.
51088 * posix/getopt_init.c: Likewise.
51089 * posix/wordexp.c: Likewise.
51090 * stdio-common/_itoa.c: Likewise.
51091 * stdio-common/printf_fphex.c: Likewise.
51092 * stdio-common/vfprintf.c: Likewise.
51093 * string/_strerror.c: Likewise.
51094 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51095 * sysdeps/i386/i686/hp-timing.h: Likewise.
51096 * sysdeps/mach/_strerror.c: Likewise.
51097 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51098 * sysdeps/mach/hurd/sethostid.c: Likewise.
51099 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51100 * sysdeps/mach/xpg-strerror.c: Likewise.
51101 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51103 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51104 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51105 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51106 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51108 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51109 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51110 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51111 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51112 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51113 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51114 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51115 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51116 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51117 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51118 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51119 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51120 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51121 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51123 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51125 * stdio-common/_itoa.h: Moved to ...
51126 * sysdeps/generic/_itoa.h: Here.
51128 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51130 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51131 instead of "_itoa.h" and "_itowa.h".
51132 * stdio-common/vfprintf.: Likewise.
51134 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51136 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51138 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51139 (__signbit): Likwise.
51140 (llrintf): Likwise.
51143 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51145 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51148 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51150 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51151 OVERFLOW_EXCEPTION_OK.
51152 * math/libm-test.inc ("Philosophy"): Update comment about
51154 (OVERFLOW_EXCEPTION): Define.
51155 (OVERFLOW_EXCEPTION_OK): Likewise.
51156 (INVALID_EXCEPTION_OK): Renumber.
51157 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51158 (IGNORE_ZERO_INF_SIGN): Likewise.
51159 (test_exceptions): Handle FE_OVERFLOW.
51160 (exp10_test): Expect overflow exceptions.
51161 (exp2_test): Likewise.
51162 (expm1_test): Likewise.
51163 (nextafter_test): Likewise.
51164 (pow_test): Likewise.
51165 (scalbn_test): Likewise.
51166 (scalbln_test): Likewise.
51168 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51170 * sysdeps/x86_64/bits/atomic.h
51171 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51173 (atomic_exchange_acq): Likewise.
51174 (__arch_exchange_and_add_body): Likewise.
51175 (__arch_add_body): Likewise.
51176 (atomic_add_negative): Likewise.
51177 (atomic_add_zero): Likewise.
51179 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51181 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51182 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51186 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51187 Check __x86_64__ instead of __WORDSIZE.
51189 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51191 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51193 2012-03-19 David S. Miller <davem@davemloft.net>
51195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51197 * sysdeps/sparc/fpu/fenv_private.h: New file.
51198 * sysdeps/sparc/fpu/math_private.h: Use it.
51199 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51201 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51202 (libc_feholdexcept_setroundl): Remove.
51203 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51205 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51206 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51208 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51210 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51211 int64_t instead of long int.
51212 (INSERT_WORDS64): Likwise.
51214 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51216 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51217 _Unwind_GetCFA return to _Unwind_Ptr first.
51219 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51222 * math/s_clog.c: Include <float.h>.
51223 (__clog): Scale large or subnormal inputs.
51224 * math/s_clogf.c: Likewise.
51225 * math/s_clogl.c: Likewise.
51226 * math/s_clog10.c: Include <float.h>.
51227 (M_LOG10_2): Define.
51228 (__clog10): Scale large or subnormal inputs.
51229 * math/s_clog10f.c: Likewise.
51230 * math/s_clog10l.c: Likewise.
51231 * math/libm-test.inc (clog_test): Add more tests.
51232 (clog10_test): Likewise.
51233 * sysdeps/i386/fpu/libm-test-ulps: Update.
51234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51237 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51239 * math/libm-test.inc (atan2_test): Add another test.
51241 * Makerules (common-objdir-compile): Remove.
51242 * sysdeps/unix/Makefile (config-generated): Do not add
51243 $(unix-generated) to variable.
51244 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51245 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51247 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51249 [generic bits/local_lim.h] (before-compile): Do not append to
51251 [generic bits/local_lim.h] (common-generated): Likewise.
51252 [generic sys/param.h] (before-compile): Do not append to variable.
51253 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51254 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51255 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51256 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51258 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51259 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51260 [generic sys/param.h] ($(addprefix
51261 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51262 [generic sys/param.h] (common-generated): Do not append to
51264 [generic sys/param.h] (sysdep_headers): Likewise.
51265 [generic bits/errno.h] (before-compile): Do not append to
51267 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51269 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51270 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51271 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51272 [generic bits/errno.h] (common-generated): Do not append to
51274 [generic bits/ioctls.h] (before-compile): Do not append to
51276 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51278 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51279 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51280 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51282 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51283 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51284 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51285 [generic bits/ioctls.h] (common-generated): Do not append to
51287 [generic sys/syscall.h] (syscall.h): Remove variable.
51288 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51290 [generic sys/syscall.h] (before-compile): Do not append to
51292 [generic sys/syscall.h] (common-generated): Likewise.
51293 * sysdeps/unix/errnos-tmpl.c: Remove file.
51294 * sysdeps/unix/errnos.awk: Likewise.
51295 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51296 * sysdeps/unix/ioctls.awk: Likewise.
51297 * sysdeps/unix/mk-local_lim.c: Likewise.
51298 * sysdeps/unix/snarf-ioctls: Likewise.
51300 2012-03-19 Richard Henderson <rth@twiddle.net>
51302 * sysdeps/i386/fpu/fenv_private.h: New file.
51303 * sysdeps/i386/fpu/math_private.h: Use it.
51304 (math_opt_barrier, math_force_eval): Remove.
51305 (libc_feholdexcept_setround_53bit): Remove.
51306 (libc_feupdateenv_53bit): Remove.
51307 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51308 (math_opt_barrier, math_force_eval): Remove.
51309 (libc_feholdexcept): Remove.
51310 (libc_feholdexcept_setround): Remove.
51311 (libc_fetestexcept, libc_fesetenv): Remove.
51312 (libc_feupdateenv_test): Remove.
51313 (libc_feupdateenv, libc_feholdsetround): Remove.
51314 (libc_feresetround): Remove.
51316 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51317 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51319 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51320 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51321 (libc_feupdateenv_testl): New.
51322 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51323 (libc_feupdateenv_testf): New.
51324 (libc_feupdateenv): Use libc_feupdateenv_test.
51325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51326 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51328 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51329 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51330 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51331 (libc_feresetround_noex): New.
51332 (libc_feresetround_noexf): New.
51333 (libc_feresetround_noexl): New.
51334 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51335 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51336 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51337 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51342 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51343 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51344 SET_RESTORE_ROUND_NOEX.
51345 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51346 SET_RESTORE_ROUND_NOEXF.
51347 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51348 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51349 (libc_feholdsetroundf): New.
51350 (libc_feresetround, libc_feresetroundf): New.
51352 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51353 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51354 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51356 * sysdeps/generic/math_private.h: Include <fenv.h>.
51357 (default_libc_feholdexcept): New.
51358 (default_libc_feholdexcept_setround): New.
51359 (default_libc_fesetenv, default_libc_feupdateenv): New.
51360 (libc_feholdexcept): Only define if undefined.
51361 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51362 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51363 (libc_feholdexcept_setroundl): Likewise.
51364 (libc_feholdexcept_setround_53bit): Likewise.
51365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51366 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51367 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51368 (libc_feupdateenv_53bit): Likewise.
51369 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51370 (libc_feholdexcept): Convert from macro to inline function.
51371 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51372 (libc_fesetenv, libc_feupdateenv): Likewise.
51374 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51375 not previously defined.
51376 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51377 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51378 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51379 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51380 * sysdeps/ieee754/flt-32/math_private.h: New file.
51381 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51382 math_private.h below SET_FLOAT_WORD.
51383 (__isnan, __isinf_ns, __finite): Remove.
51384 (__isnanf, __isinf_nsf, __finitef): Remove.
51386 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51390 2012-03-17 David S. Miller <davem@davemloft.net>
51393 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51396 2012-03-16 David S. Miller <davem@davemloft.net>
51398 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51402 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51404 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51405 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51406 sysdep_routines when subdir is sysvipc.
51407 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51408 __getshmlba helper.
51410 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51412 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51414 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51417 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51419 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51420 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51421 (__lround): Renamed to ...
51422 (__llround): This. Replace long int with long long int.
51423 Define lround functions as aliases of llround functions.
51424 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51426 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51428 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51429 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51430 adresses to uintptr_t. Replace "long int" and "unsigned long
51431 int" with "greg_t" on va_arg.
51433 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51435 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51436 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51438 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51439 Move e_machine check before EI_CLASS check. Handle x32
51440 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51441 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51442 SKIP_EM_IA_64 and include
51443 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51445 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51446 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51447 (add_system_dir): New macro.
51449 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51450 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51452 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51463 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51465 * math/w_j0f.c (j0f): Likewise.
51467 * math/w_j0l.c (__j0l): Likewise.
51469 * math/w_j1.c (j1): Likewise.
51471 * math/w_j1f.c (j1f): Likewise.
51473 * math/w_j1l.c (__j1l): Likewise.
51475 * math/w_jn.c (jn): Likewise.
51477 * math/w_jnf.c (jnf): Likewise.
51479 * math/w_jnl.c (__jnl): Likewise.
51481 * math/libm-test.inc (j0_test): Add more tests.
51482 (j1_test): Likewise.
51483 (jn_test): Likewise. Add trailing semicolon to existing test.
51484 (y0_test): Likewise.
51485 (y1_test): Likewise.
51486 * sysdeps/i386/fpu/libm-test-ulps: Update.
51487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51491 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51492 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51493 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51494 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51495 (__tanl): Set errno for infinite argument.
51496 * sysdeps/i386/fpu/mptan.c: Remove.
51497 * sysdeps/i386/fpu/s_tan.S: Likewise.
51498 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51499 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51500 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51501 * math/libm-test.inc (tan_test): Add more tests and enable more
51502 tests for double and long double.
51503 * sysdeps/i386/fpu/libm-test-ulps: Update.
51504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51506 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51508 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51509 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51511 2012-03-16 Roland McGrath <roland@hack.frob.com>
51513 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51514 * configure.in: Use it for both main tree and add-ons.
51515 * configure: Regenerated.
51517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51519 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51521 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51523 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51527 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51528 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51529 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51530 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51531 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51533 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51535 != 0 for prec == 2.
51536 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51537 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51538 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51539 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51540 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51541 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51542 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51543 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51544 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51545 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51546 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51547 * math/libm-test.inc (cos_test): Add more tests and enable more
51548 tests for long double.
51549 (sin_test): Likewise.
51550 (sincos_test): Likewise.
51551 * sysdeps/i386/fpu/libm-test-ulps: Update.
51552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51554 2012-03-16 David S. Miller <davem@davemloft.net>
51556 * sysdeps/sparc/fpu/math_private.h: New file.
51558 2012-03-15 David S. Miller <davem@davemloft.net>
51560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51574 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51575 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51577 * sysdeps/sparc/sparc-ifunc.h: New file.
51578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51605 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51623 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51625 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51629 2012-03-15 Andreas Jaeger <aj@suse.de>
51632 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51633 ieee754/flt-32 implementation for sin, cos and sincos.
51634 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51635 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51636 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51637 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51638 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51639 ieee754/flt-32 implementation for tan.
51641 * math/libm-test.inc (cos_test): Enable some large input tests for
51643 (sin_test): Likewise.
51644 (sincos_test): Likewise.
51645 (tan_test): Add tests for large input.
51647 * sysdeps/i386/fpu/libm-test-ulps: Update.
51649 2012-03-15 Andreas Jaeger <aj@suse.de>
51652 * math/libm-test.inc (cos_test): Add more test cases.
51653 (sin_test): Likewise.
51654 (sincos_test): Likewise.
51656 2012-03-15 Andreas Jaeger <aj@suse.de>
51659 * math/libm-test.inc (cos_test): Add a test case for large input
51661 (sin_test): Likewise.
51662 (sincos_test): Likewise.
51664 2012-03-15 Andreas Jaeger <aj@suse.de>
51665 Joseph Myers <joseph@codesourcery.com>
51668 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51669 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51670 * sysdeps/i386/fpu/branred.c: Likewise.
51671 * sysdeps/i386/fpu/dosincos.c: Likewise.
51672 * sysdeps/i386/fpu/mpa.c: Likewise.
51673 * sysdeps/i386/fpu/s_cos.S: Likewise.
51674 * sysdeps/i386/fpu/s_sin.S: Likewise.
51675 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51676 * sysdeps/i386/fpu/sincos32.c: Likewise.
51678 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51680 (libc_feupdateenv_53bit): Define.
51681 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51683 (libc_feupdateenv_53bit): Define.
51685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51686 53 bit (without extend i386 double precision).
51688 * math/libm-test.inc (sincos_test): Add tests for large input.
51692 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51694 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51698 2012-03-15 David S. Miller <davem@davemloft.net>
51700 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51701 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51702 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51703 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51728 fmin/fmax sysdep routines.
51729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51731 2012-03-14 David S. Miller <davem@davemloft.net>
51733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51737 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51738 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51739 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51745 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51746 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51753 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51756 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51805 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51810 * sysdeps/sparc/configure.in: New file.
51811 * sysdeps/sparc/configure: Generate.
51812 * configure.in (libc_cv_sparc_as_vis3): Substitute.
51813 * configure: Regenerate.
51814 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51815 * config.make.in (have-as-vis3): New.
51816 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51817 available use -Av9d instead of -Av9a.
51818 * sysdeps/sparc/sparc64/Makefile: Likewise.
51819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51828 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51830 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51831 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51832 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51834 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51835 fzeros/fnegs to load 0x80000000 into a float register instead of
51837 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51839 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51843 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51844 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51845 ($(inst_includedir)/bits/syscall.h): Remove rule.
51846 ($(objpfx)bits/syscall.d): Include instead of
51847 $(objpfx)syscall-list.d.
51848 (generated): Change syscall-list.h and syscall-list.d to
51849 bits/syscall.h and bits/syscall.d.
51851 2012-03-14 Roland McGrath <roland@hack.frob.com>
51854 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51856 2012-03-14 Joseph Myers <joseph@codesourcery.com>
51859 * math/s_csqrt.c: Include <float.h>.
51860 (__csqrt): Scale large or subnormal inputs.
51861 * math/s_csqrtf.c: Likewise.
51862 * math/s_csqrtl.c: Likewise.
51863 * math/libm-test.inc (csqrt_test): Add more tests.
51864 * sysdeps/i386/fpu/libm-test-ulps: Update.
51865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51868 * math/libm-test.inc (hypot_test): Add more tests.
51870 2012-03-13 David S. Miller <davem@davemloft.net>
51873 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51874 double-precision for the calculation instead of scaling.
51876 2012-03-13 Joseph Myers <joseph@codesourcery.com>
51878 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51879 manipulate bits before adding and subtracting TWO52[sx].
51880 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51881 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51883 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51885 2012-03-13 David S. Miller <davem@davemloft.net>
51887 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51888 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51890 rtld-global-offsets.h
51891 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51893 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51896 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51898 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51899 'err' in the ifdef scope in which it is actually used.
51901 * nss/nss_db/db-init.c: Include string.h
51903 2012-03-12 David S. Miller <davem@davemloft.net>
51905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51906 masking out of the most significant byte of random value used.
51907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51908 Fix coding style in previous change.
51910 * sysdeps/unix/sysv/linux/kernel-features.h
51911 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51912 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51914 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51917 2012-03-11 David S. Miller <davem@davemloft.net>
51919 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51920 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51922 for 'resultvar' otherwise things get truncated on 64-bit.
51924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51925 Fix masking out of the most significant byte of random value used.
51927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51929 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
51931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51933 2012-03-09 David S. Miller <davem@davemloft.net>
51935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51936 variables with appropriate CPP guards.
51937 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51938 from the frame pointer, not the stack pointer. Correct layout
51939 comments. Fix test on resulting framesize and the management of
51940 the outregs buffer for pltexit. Preserve floating point return
51941 values across _dl_call_pltexit call.
51942 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51943 framesize and the management of the outregs buffer for pltexit.
51944 Preserve floating point return values across _dl_call_pltexit
51946 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51947 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51948 (la_sparc64_gnu_pltexit): New functions.
51949 (print_exit): Fix format string for return register value.
51951 2012-03-10 Joseph Myers <joseph@codesourcery.com>
51953 * sunrpc/Makefile (others): Add rpcgen.
51954 ($(objpfx)rpcgen): Remove special build rule and dependency on
51956 * sunrpc/rpcgen.c: New file.
51958 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
51961 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51962 * stdio-common/bug-vfprintf-nargs.c: Likewise.
51963 * sysdeps/i386/crti.S: Likewise.
51964 * sysdeps/i386/crtn.S: Likewise.
51965 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51966 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51967 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51968 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51969 * sysdeps/sh/crti.S: Likewise.
51970 * sysdeps/sh/crtn.S: Likewise.
51971 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51974 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51976 * locale/programs/locfile-kw.gperf: Likewise.
51977 * locale/programs/charmap-kw.h: Regenerated.
51978 * locale/programs/locfile-kw.h: Likewise.
51981 * intl/plural.y: Replace FSF snail mail address with URL.
51982 * intl/plural.c: Regenerated.
51984 2012-03-09 Richard Henderson <rth@twiddle.net>
51986 * include/math_private.h: Remove file.
51987 * math/math_private.h: Move file ...
51988 * sysdeps/generic/math_private.h: ... here.
51990 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51991 * sysdeps/powerpc/fpu/math_private.h: Likewise.
51992 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51994 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51995 and <math_private.h>.
51996 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51997 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51998 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51999 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52000 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52001 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52002 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52004 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52005 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52007 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52008 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52010 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52011 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52012 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52013 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52014 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52015 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52017 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52020 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52021 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52026 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52028 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52029 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52030 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52031 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52032 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52033 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52034 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52036 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52037 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52038 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52039 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52040 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52041 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52042 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52043 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52044 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52045 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52046 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52047 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52048 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52049 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52050 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52051 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52052 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52053 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52054 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52055 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52056 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52057 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52060 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52061 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52062 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52063 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52064 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52065 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52066 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52067 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52068 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52070 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52073 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52074 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52075 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52076 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52078 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52080 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52083 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52084 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52085 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52086 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52087 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52089 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52090 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52091 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52092 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52093 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52094 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52095 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52096 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52097 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52098 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52099 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52100 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52101 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52102 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52103 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52104 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52105 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52106 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52107 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52109 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52110 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52111 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52112 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52113 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52114 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52115 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52116 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52117 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52118 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52119 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52122 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52123 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52124 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52125 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52126 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52127 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52128 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52129 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52130 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52131 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52132 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52133 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52134 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52135 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52136 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52137 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52138 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52139 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52140 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52141 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52142 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52143 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52144 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52145 * sysdeps/ieee754/k_standard.c: Likewise.
52146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52153 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52154 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52155 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52156 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52157 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52158 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52159 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52160 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52161 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52162 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52165 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52166 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52167 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52168 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52169 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52170 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52171 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52172 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52196 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52197 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52198 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52200 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52201 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52202 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52203 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52207 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52210 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52211 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52213 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52214 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52216 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52218 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52219 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52220 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52222 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52223 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52225 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52226 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52227 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52228 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52229 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52230 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52231 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52232 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52233 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52234 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52236 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52237 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52238 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52239 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52240 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52242 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52243 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52244 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52245 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52247 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52248 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52249 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52250 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52251 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52252 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52253 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52254 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52255 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52256 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52257 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52258 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52259 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52260 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52261 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52262 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52263 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52264 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52265 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52266 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52267 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52268 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52269 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52270 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52271 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52272 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52273 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52274 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52275 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52276 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52277 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52278 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52279 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52280 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52281 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52282 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52283 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52284 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52285 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52286 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52287 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52288 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52289 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52290 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52291 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52292 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52293 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52294 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52295 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52296 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52297 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52298 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52300 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52301 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52302 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52303 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52305 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52306 * sysdeps/ieee754/s_lib_version.c: Likewise.
52307 * sysdeps/ieee754/s_matherr.c: Likewise.
52308 * sysdeps/ieee754/s_signgam.c: Likewise.
52309 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52310 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52311 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52312 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52313 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52314 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52315 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52316 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52317 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52318 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52319 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52320 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52321 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52322 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52323 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52324 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52325 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52326 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52327 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52328 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52331 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52333 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52334 * sunrpc/rpc_main.c: Likewise.
52335 * sunrpc/rpc_svcout.c: Likewise.
52337 2012-03-09 David S. Miller <davem@davemloft.net>
52339 * include/math_private.h: New file.
52341 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52343 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52344 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52345 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52346 from <bits/socket_type.h>.
52347 (enum __socket_type): Don't define here.
52348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52350 bits/socket_type.h.
52353 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52354 checking __USE_GNU.
52356 * Makerules ($(inst_includedir)/%.h): New rule.
52357 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52358 (install-others): Remove variable setting.
52359 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52361 2012-03-08 Richard Henderson <rth@twiddle.net>
52363 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52364 from macro to inline function; merge with the
52365 !__LIBC_INTERNAL_MATH_INLINES version.
52366 (__ieee754_sqrtf): Likewise.
52368 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52369 to inline function.
52370 (__rintf, __floor, __floorf): Likewise.
52372 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52373 macro to inline function.
52374 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52376 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52377 not <math/math_private.h>.
52379 2012-03-08 David S. Miller <davem@davemloft.net>
52381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52383 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52385 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52387 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52389 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52390 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52392 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52394 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52395 be defined individually, they must be defined as a block. Define
52396 S for printing a string instead of hidint the different by using a
52397 macro for adding the 'l'.
52398 * stdio-common/tst-fphex-wide.c: Adjust.
52400 2012-03-07 Marek Polacek <polacek@redhat.com>
52402 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52404 2012-03-08 Marek Polacek <polacek@redhat.com>
52407 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52408 * stdio-common/tst-fphex.c: Define a few macros to make the
52409 test reusable. Use them.
52410 * stdio-common/tst-fphex-wide.c: New file.
52412 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52415 * manual/macros.texi (gnusystems): New macro.
52416 (nongnusystems): Likewise.
52417 (gnulinuxhurdsystems): Likewise.
52418 (gnuhurdsystems): Likewise..
52419 (gnulinuxsystems): Likewise.
52420 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52421 variants of the GNU system, not "GNU system".
52422 * manual/conf.texi: Likewise.
52423 * manual/errno.texi: Likewise. Update example of errno macro
52425 * manual/filesys.texi: Likewise.
52426 (getumask): Document as specific to GNU/Hurd.
52427 * manual/install.texi: Likewise. Reword some references to
52429 * manual/intro.texi: Likewise.
52430 * manual/io.texi: Likewise.
52431 (File Name Portability): Detail which constraints are inapplicable
52432 to all GNU systems and which are only inapplicable to GNU/Hurd.
52433 * manual/job.texi: Likewise.
52434 * manual/llio.texi: Likewise.
52435 (O_NOCTTY): Document as present on GNU/Linux.
52436 * manual/maint.texi: Likewise.
52437 * manual/memory.texi: Likewise.
52438 * manual/pattern.texi: Likewise.
52439 * manual/pipe.texi: Likewise.
52440 * manual/process.texi: Likewise.
52441 * manual/resource.texi: Likewise.
52442 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52444 * manual/setjmp.texi: Likewise.
52445 * manual/signal.texi: Likewise.
52446 * manual/startup.texi: Likewise.
52447 * manual/stdio.texi: Likewise.
52448 * manual/terminal.texi: Likewise.
52449 (ONLCR): Document as POSIX.
52450 (OXTABS): Document availability on GNU/Linux as XTABS.
52451 (ONOEOT): Document availability separately from other bits.
52452 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52453 * manual/time.texi: Likewise.
52454 * manual/users.texi: Likewise.
52455 * INSTALL: Regenerated.
52456 * sysdeps/gnu/errlist.c: Regenerated.
52458 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52459 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52460 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52462 * configure: Regenerated.
52464 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52466 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52467 default includes instead of AC_HEADER_CHECK.
52468 * sysdeps/i386/configure: Regenerated.
52471 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52472 * math/s_cacoshf.c (__cacoshf): Likewise.
52473 * math/s_cacoshl.c (__cacoshl): Likewise.
52474 * math/s_casinh.c (__casinh): Set signs of result from argument.
52475 * math/s_casinhf.c (__casinhf): Likewise.
52476 * math/s_casinhl.c (__casinhl): Likewise.
52477 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52478 (casinh_test): Add more tests.
52479 * sysdeps/i386/fpu/libm-test-ulps: Update.
52480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52482 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52484 * po/zh_TW.po: Update from translation team.
52486 * login/Makefile (distribute): Remove variable.
52487 * catgets/Makefile: Likewise.
52488 * mach/Makefile: Likewise.
52489 * malloc/Makefile: Likewise.
52490 * misc/Makefile: Likewise.
52491 * iconv/Makefile: Likewise.
52492 * nscd/Makefile: Likewise.
52493 * hurd/Makefile: Likewise.
52494 * manual/Makefile: Likewise.
52495 * locale/Makefile: Likewise.
52496 * intl/Makefile: Likewise.
52497 * conform/Makefile: Likewise.
52498 * nss/Makefile: Likewise.
52499 * time/Makefile: Likewise.
52500 * soft-fp/Makefile: Likewise.
52501 * dirent/Makefile: Likewise.
52502 * gmon/Makefile: Likewise.
52503 * po/Makefile: Likewise.
52504 * rt/Makefile: Likewise.
52505 * socket/Makefile: Likewise.
52506 * math/Makefile: Likewise.
52507 * signal/Makefile: Likewise.
52508 * debug/Makefile: Likewise.
52509 * elf/Makefile: Likewise.
52510 * timezone/Makefile: Likewise.
52511 * stdlib/Makefile: Likewise.
52512 * iconvdata/Makefile: Likewise.
52513 * sunrpc/Makefile: Likewise.
52514 * io/Makefile: Likewise.
52515 * argp/Makefile: Likewise.
52516 * inet/Makefile: Likewise.
52517 * hesiod/Makefile: Likewise.
52518 * grp/Makefile: Likewise.
52519 * csu/Makefile: Likewise.
52520 * wctype/Makefile: Likewise.
52521 * crypt/Makefile: Likewise.
52522 * libio/Makefile: Likewise.
52523 * string/Makefile: Likewise.
52524 * nis/Makefile: Likewise.
52525 * resolv/Makefile: Likewise.
52526 * stdio-common/Makefile: Likewise.
52527 * wcsmbs/Makefile: Likewise.
52528 * dlfcn/Makefile: Likewise.
52529 * posix/Makefile: Likewise.
52532 * timezone/Makefile: Don't install timezone files, just the programs
52535 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52537 * nss/databases.def: Add missing gshadow entry.
52539 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52541 2012-03-06 Marek Polacek <polacek@redhat.com>
52544 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52545 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52546 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52547 * stdio-common/tst-long-dbl-fphex.c: New file.
52549 2012-03-06 David S. Miller <davem@davemloft.net>
52551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52552 (set_obp_int): New function.
52553 (get_obp_int): New function.
52554 (__get_clockfreq_via_dev_openprom): Likewise.
52555 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52556 Avoid unused variable warnings on 'val' and use builtin_expect.
52557 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52559 (INLINE_CLONE_SYSCALL): Likewise.
52561 2012-03-05 David S. Miller <davem@davemloft.net>
52563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52565 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52570 only for |x| >= 40.
52571 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52573 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52576 Replace gettimeofday with __vdso_gettimeofday.
52578 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52579 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52580 __vdso_clock_gettime and __vdso_getcpu.
52582 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52583 time with __vdso_time.
52585 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52587 * manual/lang.texi (size_t): Note types to which size_t may be
52588 equivalent with the GNU C Library, but do not describe when
52589 differences between them are significant.
52591 2012-03-05 Andreas Jaeger <aj@suse.de>
52593 * sysdeps/i386/fpu/libm-test-ulps: Update.
52595 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52598 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52599 (__ieee754_pow): Save and restore rounding mode and use
52600 round-to-nearest for main computations.
52601 * math/libm-test.inc (pow_test_tonearest): New function.
52602 (pow_test_towardzero): Likewise.
52603 (pow_test_downward): Likewise.
52604 (pow_test_upward): Likewise.
52605 (main): Call the new functions.
52606 * sysdeps/i386/fpu/libm-test-ulps: Update.
52607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52610 * math/libm-test.inc (cosh_test_tonearest): New function.
52611 (cosh_test_towardzero): Likewise.
52612 (cosh_test_downward): Likewise.
52613 (cosh_test_upward): Likewise.
52614 (sinh_test_tonearest): Likewise.
52615 (sinh_test_towardzero): Likewise.
52616 (sinh_test_downward): Likewise.
52617 (sinh_test_upward): Likewise.
52618 (main): Call the new functions.
52619 * sysdeps/i386/fpu/libm-test-ulps: Update.
52620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52622 2012-03-05 Tom de Vries <tom@codesourcery.com>
52624 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52625 default stack guard is set in last bytes.
52626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52628 2012-03-05 Kees Cook <keescook@chromium.org>
52630 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52633 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52634 possibly allocate from heap instead of stack.
52635 * stdio-common/bug-vfprintf-nargs.c: New file.
52636 * stdio-common/Makefile (tests): Add nargs overflow test.
52638 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52642 2012-03-03 Marek Polacek <polacek@redhat.com>
52644 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52645 * math/math_private.h: Likewise.
52646 * stdlib/tst-strtod.c: Likewise.
52647 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52648 * sysdeps/x86_64/bits/atomic.h: Likewise.
52650 2012-03-02 David S. Miller <davem@davemloft.net>
52652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52656 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52657 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52658 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52659 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52661 2012-03-02 Roland McGrath <roland@hack.frob.com>
52664 * manual/examples/README: New file, says the example source files
52665 can be used under GPL>=2.
52666 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52667 line containing just "*/".
52668 * manual/examples/add.c: Add copyright header (GPL>=2).
52669 * manual/examples/argp-ex1.c: Likewise.
52670 * manual/examples/argp-ex2.c: Likewise.
52671 * manual/examples/argp-ex3.c: Likewise.
52672 * manual/examples/argp-ex4.c: Likewise.
52673 * manual/examples/atexit.c: Likewise.
52674 * manual/examples/db.c: Likewise.
52675 * manual/examples/dir.c: Likewise.
52676 * manual/examples/dir2.c: Likewise.
52677 * manual/examples/execinfo.c: Likewise.
52678 * manual/examples/filecli.c: Likewise.
52679 * manual/examples/filesrv.c: Likewise.
52680 * manual/examples/fmtmsgexpl.c: Likewise.
52681 * manual/examples/genpass.c: Likewise.
52682 * manual/examples/inetcli.c: Likewise.
52683 * manual/examples/inetsrv.c: Likewise.
52684 * manual/examples/isockad.c: Likewise.
52685 * manual/examples/longopt.c: Likewise.
52686 * manual/examples/memopen.c: Likewise.
52687 * manual/examples/memstrm.c: Likewise.
52688 * manual/examples/mkfsock.c: Likewise.
52689 * manual/examples/mkisock.c: Likewise.
52690 * manual/examples/mygetpass.c: Likewise.
52691 * manual/examples/pipe.c: Likewise.
52692 * manual/examples/popen.c: Likewise.
52693 * manual/examples/rprintf.c: Likewise.
52694 * manual/examples/search.c: Likewise.
52695 * manual/examples/select.c: Likewise.
52696 * manual/examples/setjmp.c: Likewise.
52697 * manual/examples/sigh1.c: Likewise.
52698 * manual/examples/sigusr.c: Likewise.
52699 * manual/examples/stpcpy.c: Likewise.
52700 * manual/examples/strdupa.c: Likewise.
52701 * manual/examples/strftim.c: Likewise.
52702 * manual/examples/strncat.c: Likewise.
52703 * manual/examples/subopt.c: Likewise.
52704 * manual/examples/swapcontext.c: Likewise.
52705 * manual/examples/termios.c: Likewise.
52706 * manual/examples/testopt.c: Likewise.
52707 * manual/examples/testpass.c: Likewise.
52708 * manual/examples/timeval_subtract.c: Likewise.
52711 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52713 * manual/timeval_subtract.c.texi: ... here, new file.
52715 2012-03-02 David S. Miller <davem@davemloft.net>
52717 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52719 2012-03-02 Joseph Myers <joseph@codesourcery.com>
52722 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52723 (__sin): Save and restore rounding mode and use round-to-nearest
52724 for all computations.
52725 (__cos): Save and restore rounding mode and use round-to-nearest
52726 for all computations.
52727 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52729 (tan): Save and restore rounding mode and use round-to-nearest for
52731 * math/libm-test.inc (cos_test_tonearest): New function.
52732 (cos_test_towardzero): Likewise.
52733 (cos_test_downward): Likewise.
52734 (cos_test_upward): Likewise.
52735 (sin_test_tonearest): Likewise.
52736 (sin_test_towardzero): Likewise.
52737 (sin_test_downward): Likewise.
52738 (sin_test_upward): Likewise.
52739 (tan_test_tonearest): Likewise.
52740 (tan_test_towardzero): Likewise.
52741 (tan_test_downward): Likewise.
52742 (tan_test_upward): Likewise.
52743 (main): Call the new functions.
52744 * sysdeps/i386/fpu/libm-test-ulps: Update.
52745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52748 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52749 small n, then large n, before computing and testing k+n.
52750 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52755 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52756 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52757 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52758 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52762 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52763 * math/libm-test.inc (scalbn_test): Add more tests.
52764 (scalbln_test): Likewise.
52766 * manual/filesys.texi (mode_t): Describe constraints on size and
52767 signedness, not exact equivalence to a particular type.
52769 (ino64_t): Likewise.
52771 (nlink_t): Likewise.
52772 (blkcnt_t): Likewise.
52773 (blkcnt64_t): Likewise.
52774 * manual/llio.texi (off_t): Likewise.
52777 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52778 (__ieee754_exp): Save and restore rounding mode and use
52779 round-to-nearest for all computations.
52780 * math/libm-test.inc (exp_test_tonearest): New function.
52781 (exp_test_towardzero): Likewise.
52782 (exp_test_downward): Likewise.
52783 (exp_test_upward): Likewise.
52784 (main): Call the new functions.
52785 * sysdeps/i386/fpu/libm-test-ulps: Update.
52786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52788 2012-03-01 Chris Demetriou <cgd@google.com>
52790 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52791 have predictable order.
52793 2012-03-01 David S. Miller <davem@davemloft.net>
52795 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52797 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52798 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52799 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52800 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52802 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52803 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52804 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52806 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52807 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52808 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52809 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52810 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52814 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52815 * sysdeps/sparc/fpu/libm-test-ulps: to here.
52816 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52818 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52819 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52820 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52821 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52822 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52824 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52825 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52826 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52827 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52828 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52830 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52831 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52832 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52834 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52835 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52836 * sysdeps/sparc/elf/configure: Regenerated.
52838 2012-03-01 Joseph Myers <joseph@codesourcery.com>
52840 * configure.in (AS, LD): Require binutils 2.20 or later.
52841 * configure: Regenerated.
52842 * manual/install.texi (Tools for Compilation): Give binutils 2.20
52843 as required minimum version.
52844 * INSTALL: Regenerated.
52848 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52849 before squaring exponent.
52850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52851 bottom long double and 27 bits of top long double before squaring
52853 * math/libm-test.inc (erfc_test): Add more tests.
52854 * sysdeps/i386/fpu/libm-test-ulps: Update.
52855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52858 2012-03-01 Kai Tietz <ktietz@redhat.com>
52860 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52861 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52862 containing bit-fields.
52863 * soft-fp/extended.h (_FP_UNION_E): Likewise.
52864 * soft-fp/single.h (_FP_UNION_S): Likewise.
52865 * soft-fp/double.h (_FP_UNION_D): Likewise.
52867 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52870 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52871 not include ../strcmp.S.
52872 [USE_AS_STRNCASECMP_L]: Likewise.
52873 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52874 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52875 * sysdeps/i386/i686/multiarch/strncase_l-c.c
52876 (__strncasecmp_l_ia32): Define as alias to
52877 __strncasecmp_l_nonascii.
52880 * math/libm-test.inc (expm1_test): Add test for bug 5794.
52881 * sysdeps/i386/fpu/libm-test-ulps: Update.
52882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52884 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52887 2012-02-29 Jeff Law <law@redhat.com>
52889 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52890 out of bounds read.
52892 2012-02-29 Marek Polacek <polacek@redhat.com>
52895 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52896 * elf/Makefile: Add rules to run tst-unused-dep.out.
52898 2012-02-28 David S. Miller <davem@davemloft.net>
52900 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52901 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52902 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52904 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52905 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52907 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52909 * math/libm-test.inc (llround_test): Move one test from
52910 lround_test. Use TEST_f_L in moved test.
52911 (lround_test): Move misplaced test to llround_test. Add testcase
52914 2012-02-28 Ulrich Drepper <drepper@gmail.com>
52916 * sysdeps/x86_64/fpu/e_expf.S: New file.
52917 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52919 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
52922 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52923 of remain_len that may cause incomplete multi-byte character and
52925 * posix/bug-regex33.c: New file.
52926 * posix/Makefile (tests): Add bug-regex33.
52928 2012-02-28 Joseph Myers <joseph@codesourcery.com>
52930 * manual/macros.texi: New file.
52931 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52932 * manual/libc.texinfo: Include macros.texi.
52933 * manual/creatute.texi: Likewise.
52934 * manual/install.texi: Likewise.
52935 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52936 @glibcadj{} in references to the GNU C Library.
52937 * manual/charset.texi: Likewise.
52938 * manual/conf.texi: Likewise.
52939 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
52940 when not using those macros.
52941 * manual/creature.texi: Likewise.
52942 * manual/crypt.texi: Likewise.
52943 * manual/errno.texi: Likewise.
52944 * manual/filesys.texi: Likewise.
52945 * manual/header.texi: Likewise.
52946 * manual/install.texi: Likewise.
52947 * manual/intro.texi: Likewise.
52948 * manual/io.texi: Likewise.
52949 * manual/job.texi: Likewise.
52950 * manual/lang.texi: Likewise.
52951 * manual/libc.texiinfo: Likewise.
52952 * manual/llio.texi: Likewise.
52953 * manual/locale.texi: Likewise.
52954 * manual/maint.texi: Likewise.
52955 * manual/math.texi: Likewise.
52956 * manual/memory.texi: Likewise.
52957 * manual/message.texi: Likewise.
52958 * manual/nss.texi: Likewise.
52959 * manual/pattern.texi: Likewise.
52960 * manual/process.texi: Likewise.
52961 * manual/resource.texi: Likewise.
52962 * manual/search.texi: Likewise.
52963 * manual/setjmp.texi: Likewise.
52964 * manual/signal.texi: Likewise.
52965 * manual/socket.texi: Likewise.
52966 * manual/startup.texi: Likewise.
52967 * manual/stdio.texi: Likewise.
52968 * manual/string.texi: Likewise.
52969 * manual/sysinfo.texi: Likewise.
52970 * manual/syslog.texi: Likewise.
52971 * manual/terminal.texi: Likewise.
52972 * manual/time.texi: Likewise.
52973 * manual/users.texi: Likewise.
52974 * INSTALL: Regenerated.
52975 * NOTES: Regenerated.
52976 * sysdeps/gnu/errlist.c: Regenerated.
52978 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
52980 * include/dirent.h: Include <dirstream.h> before
52983 2012-02-28 David S. Miller <davem@davemloft.net>
52985 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52986 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52987 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52988 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52990 2012-02-27 David S. Miller <davem@davemloft.net>
52992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52994 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52995 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52998 frame pointer instead of stack pointer relative arg slot.
52999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53000 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53001 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53003 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53006 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53008 2012-02-27 David S. Miller <davem@davemloft.net>
53010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53016 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53019 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53021 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53022 later. Allow versions 5-9.
53023 * configure: Regenerated.
53024 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53025 required minimum version and 4.6 as recommended version. Do not
53026 mention bugs in GCC 2.7 and 2.8.
53027 * INSTALL: Regenerated.
53029 2012-02-27 David S. Miller <davem@davemloft.net>
53031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53037 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53038 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53041 manipulate bits before adding and subtracting TWO112[sx].
53042 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53044 2012-02-27 Roland McGrath <roland@hack.frob.com>
53047 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53048 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53049 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53050 being in POSIX, because they are in 1003.1-2008.
53052 * rt/tst-aio.c: Include <fcntl.h>.
53053 * rt/tst-aio7.c: Likewise.
53054 * rt/tst-aio64.c: Likewise.
53056 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53058 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53060 * manual/install.texi (--with-headers): Describe headers as
53061 interface headers, not private headers.
53062 (Specific advice for GNU/Linux systems): Describe use of headers
53063 from "make headers_install", not private headers from older
53065 * INSTALL: Regenerated.
53066 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53068 * sysdeps/unix/sysv/linux/configure: Regenerated.
53070 * manual/llio.texi (fclean): Remove documentation.
53072 * manual/Makefile (libc-texi-generated): New variable. Include
53074 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53075 $(libc-texi-generated), not duplicated list of files.
53076 (version.texi, stamp-version): New rules.
53077 (realclean): Remove $(libc-texi-generated), not individual files
53078 from that list. Do not remove dir-add.texinfo.
53079 * manual/libc.texinfo: Comment out uses of edition numbers and
53080 references to printed manual. Remove last-updated dates.
53081 (EDITION): Comment out.
53083 (VERSION, UPDATED): Remove.
53084 (version.texi): Include.
53086 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53088 * sysdeps/posix/spawni.c: Include <signal.h>.
53089 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53090 * sysdeps/pthread/aio_fsync.c: Likewise.
53092 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53094 * conform/Makefile (tests): Run only when not cross-compiling and
53095 when fast-check is not defined.
53097 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53098 * conform/data/limits.h-data: Fixes for POSIX2008.
53099 * conform/run-conformtest.sh: Run all tests.
53100 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53102 * include/bits/dlfcn.h: Likewise.
53103 * include/langinfo.h: Likewise.
53104 * include/monetary.h: Likewise.
53105 * include/sys/poll.h: Likewise.
53107 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53109 * posix/spawn.h: Define __need_sigset_t.
53110 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53111 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53112 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53113 to get sigevent_t only.
53114 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53115 only for __USE_GNU.
53116 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53117 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53118 process_vm_writev only for __USE_GNU.
53119 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53121 * conform/Makefile: For now ignore errors from run-conformtest.
53122 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53123 POSIX to avoid namespace pollution. Don't prepend headers.
53124 * conform/data/aio.h-data: Fixes for POSIX testing.
53125 * conform/data/fcntl.h-data: Likewise.
53126 * conform/data/glob.h-data: Likewise.
53127 * conform/data/grp.h-data: Likewise.
53128 * conform/data/pthread.h-data: Likewise.
53129 * conform/data/pwd.h-data: Likewise.
53130 * conform/data/signal.h-data: Likewise.
53131 * conform/data/spawn.h-data: Likewise.
53132 * conform/data/stdio.h-data: Likewise.
53133 * conform/data/stdlib.h-data: Likewise.
53134 * conform/data/stropts.h-data: Likewise.
53135 * conform/data/sys/mman.h-data: Likewise.
53136 * conform/data/sys/stat.h-data: Likewise.
53137 * conform/data/sys/types.h-data: Likewise.
53138 * conform/data/sys/wait.h-data: Likewise.
53139 * conform/data/time.h-data: Likewise.
53140 * conform/data/unistd.h-data: Likewise.
53141 * conform/data/utime.h-data: Likewise.
53143 * io/sys/stat.h: fchmod was always in POSIX.
53144 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53145 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53146 * rt/aio.h: Define __need_timespec before including <time.h>.
53147 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53148 struct. Add forward declaration of pthread_attr_t and use it in
53150 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53151 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53152 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53153 always remove CLK_TCK definition.
53155 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53157 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53159 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53161 * conform/run-conformtest.sh: New file.
53162 * conform/Makefile: Run run-conformtest for tests.
53163 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53166 * conform/data/uchar.h-data: New file.
53167 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53168 * conform/data/arpa/inet.h-data: Likewise.
53169 * conform/data/assert.h-data: Likewise.
53170 * conform/data/complex.h-data: Likewise.
53171 * conform/data/cpio.h-data: Likewise.
53172 * conform/data/ctype.h-data: Likewise.
53173 * conform/data/dirent.h-data: Likewise.
53174 * conform/data/dlfcn.h-data: Likewise.
53175 * conform/data/errno.h-data: Likewise.
53176 * conform/data/fcntl.h-data: Likewise.
53177 * conform/data/float.h-data: Likewise.
53178 * conform/data/fmtmsg.h-data: Likewise.
53179 * conform/data/fnmatch.h-data: Likewise.
53180 * conform/data/ftw.h-data: Likewise.
53181 * conform/data/glob.h-data: Likewise.
53182 * conform/data/grp.h-data: Likewise.
53183 * conform/data/iconv.h-data: Likewise.
53184 * conform/data/inttypes.h-data: Likewise.
53185 * conform/data/langinfo.h-data: Likewise.
53186 * conform/data/libgen.h-data: Likewise.
53187 * conform/data/limits.h-data: Likewise.
53188 * conform/data/locale.h-data: Likewise.
53189 * conform/data/math.h-data: Likewise.
53190 * conform/data/monetary.h-data: Likewise.
53191 * conform/data/mqueue.h-data: Likewise.
53192 * conform/data/ndbm.h-data: Likewise.
53193 * conform/data/net/if.h-data: Likewise.
53194 * conform/data/netdb.h-data: Likewise.
53195 * conform/data/netinet/in.h-data: Likewise.
53196 * conform/data/nl_types.h-data: Likewise.
53197 * conform/data/poll.h-data: Likewise.
53198 * conform/data/pthread.h-data: Likewise.
53199 * conform/data/pwd.h-data: Likewise.
53200 * conform/data/regex.h-data: Likewise.
53201 * conform/data/sched.h-data: Likewise.
53202 * conform/data/search.h-data: Likewise.
53203 * conform/data/semaphore.h-data: Likewise.
53204 * conform/data/setjmp.h-data: Likewise.
53205 * conform/data/signal.h-data: Likewise.
53206 * conform/data/spawn.h-data: Likewise.
53207 * conform/data/stdarg.h-data: Likewise.
53208 * conform/data/stdio.h-data: Likewise.
53209 * conform/data/stdlib.h-data: Likewise.
53210 * conform/data/string.h-data: Likewise.
53211 * conform/data/strings.h-data: Likewise.
53212 * conform/data/stropts.h-data: Likewise.
53213 * conform/data/sys/ipc.h-data: Likewise.
53214 * conform/data/sys/mman.h-data: Likewise.
53215 * conform/data/sys/msg.h-data: Likewise.
53216 * conform/data/sys/resource.h-data: Likewise.
53217 * conform/data/sys/select.h-data: Likewise.
53218 * conform/data/sys/sem.h-data: Likewise.
53219 * conform/data/sys/shm.h-data: Likewise.
53220 * conform/data/sys/socket.h-data: Likewise.
53221 * conform/data/sys/stat.h-data: Likewise.
53222 * conform/data/sys/statvfs.h-data: Likewise.
53223 * conform/data/sys/time.h-data: Likewise.
53224 * conform/data/sys/timeb.h-data: Likewise.
53225 * conform/data/sys/times.h-data: Likewise.
53226 * conform/data/sys/types.h-data: Likewise.
53227 * conform/data/sys/uio.h-data: Likewise.
53228 * conform/data/sys/un.h-data: Likewise.
53229 * conform/data/sys/utsname.h-data: Likewise.
53230 * conform/data/sys/wait.h-data: Likewise.
53231 * conform/data/syslog.h-data: Likewise.
53232 * conform/data/tar.h-data: Likewise.
53233 * conform/data/termios.h-data: Likewise.
53234 * conform/data/utime.h-data: Likewise.
53235 * conform/data/utmpx.h-data: Likewise.
53236 * conform/data/varargs.h-data: Likewise.
53237 * conform/data/wchar.h-data: Likewise.
53238 * conform/data/wctype.h-data: Likewise.
53239 * conform/data/wordexp.h-data: Likewise.
53241 * include/stropts.h: New file.
53242 * include/uchar.h: New file.
53243 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53244 * include/assert.h: Likewise.
53245 * include/ctype.h: Likewise.
53246 * include/dirent.h: Likewise.
53247 * include/dlfcn.h: Likewise.
53248 * include/fcntl.h: Likewise.
53249 * include/fnmatch.h: Likewise.
53250 * include/glob.h: Likewise.
53251 * include/grp.h: Likewise.
53252 * include/libio.h: Likewise.
53253 * include/locale.h: Likewise.
53254 * include/math.h: Likewise.
53255 * include/net/if.h: Likewise.
53256 * include/netdb.h: Likewise.
53257 * include/netinet/in.h: Likewise.
53258 * include/pthread.h: Likewise.
53259 * include/pwd.h: Likewise.
53260 * include/regex.h: Likewise.
53261 * include/sched.h: Likewise.
53262 * include/search.h: Likewise.
53263 * include/setjmp.h: Likewise.
53264 * include/signal.h: Likewise.
53265 * include/stdio.h: Likewise.
53266 * include/stdlib.h: Likewise.
53267 * include/string.h: Likewise.
53268 * include/sys/cdefs.h: Likewise.
53269 * include/sys/mman.h: Likewise.
53270 * include/sys/msg.h: Likewise.
53271 * include/sys/resource.h: Likewise.
53272 * include/sys/select.h: Likewise.
53273 * include/sys/socket.h: Likewise.
53274 * include/sys/stat.h: Likewise.
53275 * include/sys/statvfs.h: Likewise.
53276 * include/sys/time.h: Likewise.
53277 * include/sys/times.h: Likewise.
53278 * include/sys/uio.h: Likewise.
53279 * include/sys/utsname.h: Likewise.
53280 * include/sys/wait.h: Likewise.
53281 * include/termios.h: Likewise.
53282 * include/time.h: Likewise.
53283 * include/ulimit.h: Likewise.
53284 * include/unistd.h: Likewise.
53285 * include/utime.h: Likewise.
53286 * include/wchar.h: Likewise.
53287 * include/wctype.h: Likewise.
53288 * include/wordexp.h: Likewise.
53290 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53292 * time/time.h: TIME_UTC must be a macro.
53293 Make timespec_get available for ISO C11 only as well.
53295 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53297 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53298 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53300 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53302 * configure.in: Use -o not -a in test for unsupported multi-arch.
53304 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53306 * manual/texinfo.tex: Update to version 2012-01-19.16.
53308 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53310 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53312 2012-02-24 Roland McGrath <roland@hack.frob.com>
53315 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53316 * manual/fdl-1.3.texi: New file.
53317 * manual/fdl-1.1.texi: File removed.
53320 * manual/libc.texinfo (FDL_VERSION): New @set.
53321 Use it for mention of FDL in cover text.
53322 (Documentation License): Use it in @include file name.
53324 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53325 Roland McGrath <roland@hack.frob.com>
53328 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53329 (not LONG_LONG_MAX and LONG_LONG_MIN.
53330 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53331 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53333 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53335 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53339 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53340 manipulate bits before adding and subtracting TWO23[sx].
53341 * math/libm-test.inc (nearbyint_test): Add more tests.
53343 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53346 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53347 bits before adding and subtracting TWO23[sx].
53348 * math/libm-test.inc (rint_test): Add more tests.
53349 (rint_test_tonearest): Likewise.
53350 (rint_test_towardzero): Likewise.
53351 (rint_test_downward): Likewise.
53352 (rint_test_upward: Likewise.
53354 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53357 * include/stdc-predef.h: New file. Extracted from features.h.
53358 * include/features.h: Include stdc-predef.h.
53359 * Makefile (headers): Add stdc-predef.h.
53360 * CONFORMANCE (Compiler limitations): Update.
53362 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53364 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53366 2012-02-21 David S. Miller <davem@davemloft.net>
53368 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53369 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53371 2012-02-20 David S. Miller <davem@davemloft.net>
53373 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53374 using a normal save/restore sequence, rather than allocating a
53375 dummy stack frame just to store a frame pointer and restore.
53376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53378 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53380 * manual/install.texi: Fix stray word in line-wrapped comment.
53382 2012-02-20 David S. Miller <davem@davemloft.net>
53384 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53385 both binutils and gcc support GOTDATA.
53387 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53388 "rd %pc" in the PIC register setup sequences.
53390 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53391 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53392 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53393 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53394 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53399 (SYSCALL_ERROR_HANDLER): Likewise.
53400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53403 (SYSCALL_ERROR_HANDLER): Likewise.
53405 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53406 (HAVE_GCC_GOTDATA): New.
53407 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53408 relocation support in both binutils and gcc.
53409 * sysdeps/sparc/elf/configure: Regenerate.
53411 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53412 * sysdeps/sparc/sparc32/elf/configure: Delete.
53413 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53414 * sysdeps/sparc/sparc64/elf/configure: Delete.
53415 * sysdeps/sparc/elf/configure.in: New file.
53416 * sysdeps/sparc/elf/configure: Generate.
53418 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53419 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53420 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53421 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53422 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53424 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53426 * manual/install.texi: Do not mention specific glibc version
53428 * manual/libc.texinfo (VERSION, UPDATED): Update.
53429 (@copying): Use @copyright{} and range of years.
53431 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53434 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53435 [crti.S not in sysdirs] (generated): Do not append.
53436 [crti.S not in sysdirs] (omit-deps): Likewise.
53437 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53438 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53439 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53440 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53441 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53443 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53444 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53445 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53446 * csu/defs.awk: Remove file.
53447 * sysdeps/generic/initfini.c: Likewise.
53448 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53450 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53453 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53455 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53456 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53457 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53458 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53459 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53460 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53462 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53463 (__EPOLL_PACKED): Define to empty if not defined by
53465 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53469 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53471 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53472 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53473 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53474 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53476 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53480 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53482 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53484 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53485 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53489 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53491 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53492 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53494 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53496 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53497 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53499 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53501 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53504 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53506 * math/w_acos.c: Use non-signaling floating-point comparisons.
53507 * math/w_acosf.c: Likewise.
53508 * math/w_acosh.c: Likewise.
53509 * math/w_acoshf.c: Likewise.
53510 * math/w_acoshl.c: Likewise.
53511 * math/w_acosl.c: Likewise.
53512 * math/w_asin.c: Likewise.
53513 * math/w_asinf.c: Likewise.
53514 * math/w_asinl.c: Likewise.
53515 * math/w_atanh.c: Likewise.
53516 * math/w_atanhf.c: Likewise.
53517 * math/w_atanhl.c: Likewise.
53518 * math/w_exp2.c: Likewise.
53519 * math/w_exp2f.c: Likewise.
53520 * math/w_exp2l.c: Likewise.
53521 * math/w_j0.c: Likewise.
53522 * math/w_j0f.c: Likewise.
53523 * math/w_j0l.c: Likewise.
53524 * math/w_j1.c: Likewise.
53525 * math/w_j1f.c: Likewise.
53526 * math/w_j1l.c: Likewise.
53527 * math/w_jn.c: Likewise.
53528 * math/w_jnf.c: Likewise.
53529 * math/w_log.c: Likewise.
53530 * math/w_log10.c: Likewise.
53531 * math/w_log10f.c: Likewise.
53532 * math/w_log10l.c: Likewise.
53533 * math/w_log2.c: Likewise.
53534 * math/w_log2f.c: Likewise.
53535 * math/w_log2l.c: Likewise.
53536 * math/w_logf.c: Likewise.
53537 * math/w_logl.c: Likewise.
53538 * math/w_sqrt.c: Likewise.
53539 * math/w_sqrtf.c: Likewise.
53540 * math/w_sqrtl.c: Likewise.
53541 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53542 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53544 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53545 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53547 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53550 * manual/string.texi (strnlen): Use correct parameter name in
53551 equivalent expression.
53553 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53556 * manual/users.texi (seteuid): Consistently use neweuid for
53559 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53562 * manual/nss.texi (Services in the NSS configuration): Correct
53563 list of services in example configuration file.
53565 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53568 * manual/arith.texi: Remove statements about negative zero
53569 behaving identically to zero.
53571 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53574 * manual/install.texi: Do not document upgrading from libc5.
53576 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53579 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53581 2012-02-18 David S. Miller <davem@davemloft.net>
53583 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53584 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53585 %o7 across the call.
53586 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53589 SETUP_PIC_REG_LEAF.
53590 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53591 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53592 * sysdeps/sparc/crtn.S: Likewise.
53594 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53596 * aout/Makefile: Remove.
53598 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53601 * manual/examples/argp-ex1.c (main): Format definition in GNU
53603 * manual/examples/argp-ex2.c (main): Likewise.
53604 * manual/examples/argp-ex3.c (main): Likewise.
53605 * manual/examples/argp-ex4.c (main): Likewise.
53606 * manual/examples/longopt.c (main): Use new-style prototype
53608 * manual/examples/strncat.c (main): Specify return type and use
53609 (void) for arguments.
53610 * manual/examples/subopt.c (main): Use char **argv argument.
53612 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53615 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53618 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53621 * manual/string.texi (strchr): Change when strchrnul is
53624 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53627 * manual/locale.texi (setlocale): Document LOCPATH.
53629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53632 * manual/process.texi (execle): Move @dots{} before last argument.
53634 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53637 * manual/charset.texi (Generic Charset Conversion): Fix typo
53638 (LC_TYPE -> LC_CTYPE).
53640 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53643 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53644 (scalbnf): Likewise.
53645 (scalbnl): Likewise.
53646 (scalbln): Likewise.
53647 (scalblnf): Likewise.
53648 (scalblnl): Likewise.
53649 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53650 (vwarnx): Likewise.
53653 * manual/filesys.texi (telldir): Use braces around return type.
53654 * manual/llio.texi (mmap): Add space after comma.
53655 (mmap64): Likewise.
53656 * manual/math.texi (jn): Use @var{} on parameter names.
53662 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53664 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53666 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53667 (sched_get_priority_max): Likewise.
53668 * manual/signal.texi (sigvec): Add space after comma.
53669 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53671 (if_indextoname): Likewise.
53672 (if_freenameindex): Likewise.
53673 (sendto): Use ',' instead of '.' in prototype.
53674 * manual/startup.texi (syscall): Use @dots{} instead of literal
53676 * manual/stdio.texi (__fpending): Separate initial words of
53677 paragraph from @deftypefun line.
53678 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53680 (vsyslog): Use @var{} on parameter names.
53681 * manual/terminal.texi (stty): Use @var{} on parameter names.
53682 * manual/users.texi (getutmp): Use @var{} on parameter names.
53683 (getutmpx): Likewise.
53685 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53688 * manual/stdio.texi (fopen): Fix typos in description of
53691 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53694 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53695 get clock_id definition.
53697 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
53700 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53701 (madvise): Cast every argument to void on its own.
53703 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53706 * manual/startup.texi (Exit Status): Fix typo.
53708 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53711 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53712 * manual/examples/argp-ex2.c: Likewise.
53713 * manual/examples/argp-ex3.c: Likewise.
53715 2012-02-16 Richard Henderson <rth@redhat.com>
53717 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53718 * sysdeps/s390/s390-32/initfini.c: Remove.
53719 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53720 * sysdeps/s390/s390-64/initfini.c: Remove.
53722 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53724 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53725 compiler output for sysdeps/generic/initfini.c.
53726 * sysdeps/sh/elf/initfini.c: Remove file.
53728 2012-02-16 David S. Miller <davem@davemloft.net>
53731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53733 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53734 * sysdeps/sparc/crti.S: New file.
53735 * sysdeps/sparc/crtn.S: New file.
53736 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53737 * sysdeps/sparc/sparc64/Makefile: Likewise.
53739 2012-02-15 Mike Frysinger <vapier@gentoo.org>
53742 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53744 2012-02-15 Roland McGrath <roland@hack.frob.com>
53747 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53749 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53750 (write, read, close): Likewise.
53751 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53753 2012-02-15 Joseph Myers <joseph@codesourcery.com>
53755 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53756 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53757 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53758 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53760 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53764 2012-02-14 Marek Polacek <polacek@redhat.com>
53766 * sysdeps/x86_64/crti.S: New file.
53767 * sysdeps/x86_64/crtn.S: New file.
53768 * sysdeps/x86_64/elf/initfini.c: Remove file.
53770 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53772 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53773 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53774 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53775 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53777 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53781 2012-02-13 Joseph Myers <joseph@codesourcery.com>
53783 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53784 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53785 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53786 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53788 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53792 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
53794 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53795 __feraiseexcept instead of feraiseexcept.
53797 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53798 nanosleep invocations.
53799 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53800 strings, and add error checking for a nanosleep invocations.
53802 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
53804 Replace FSF snail mail address with URLs, as per GNU coding standards.
53805 Most of the snail mail addresses were wrong anyway, and omitting
53806 them makes the source code easier to maintain. Almost all of the
53807 changes are to license notices and to locale LC_IDENTIFICATION
53808 addresses, except for this one:
53809 * manual/libc.texinfo: In "Published by", give the FSF's URL,
53810 not its snail mail address.
53812 2012-02-09 Richard Henderson <rth@twiddle.net>
53814 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53815 of kernel-features.h.
53817 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53819 2012-02-08 Marek Polacek <polacek@redhat.com>
53821 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53822 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53823 * sysdeps/gnu/_G_config.h: Likewise.
53824 * sysdeps/generic/_G_config.h: Likewise.
53826 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
53828 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53832 * sysdeps/powerpc/powerpc32/crti.S: New file.
53833 * sysdeps/powerpc/powerpc32/crtn.S: New file.
53834 * sysdeps/powerpc/powerpc64/crti.S: New file.
53835 * sysdeps/powerpc/powerpc64/crtn.S: New file.
53837 * Makeconfig (have-initfini): Don't set.
53838 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53839 * configure.in (nopic_initfini): Don't substitute.
53840 * config.h.in (HAVE_INITFINI): Don't #undef.
53841 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53842 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53844 2012-02-08 Joseph Myers <joseph@codesourcery.com>
53846 Support crti.S and crtn.S provided directly by architectures.
53847 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53848 [crti.S in sysdirs] (omit-deps): Likewise.
53849 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53850 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53851 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53852 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53853 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53854 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53855 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53856 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53857 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53858 compiler output for sysdeps/generic/initfini.c.
53859 * sysdeps/i386/elf/Makefile: Remove file.
53860 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53862 2012-02-07 Marek Polacek <polacek@redhat.com>
53864 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53865 * sysdeps/gnu/_G_config.h: Likewise.
53866 * sysdeps/mach/hurd/_G_config.h: Likewise.
53868 2012-02-07 Marek Polacek <polacek@redhat.com>
53870 * math/Makefile (tests): Add tst-CMPLX2.
53871 * math/tst-CMPLX2.c: New file.
53873 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
53875 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53877 * math/libm-test.inc (jn_test): Add missing L suffix.
53879 2012-02-06 Marek Polacek <polacek@redhat.com>
53881 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53882 * sysdeps/i386/fpu/e_powf.S: Likewise.
53883 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53884 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53885 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53886 * sysdeps/i386/fpu/e_pow.S: Likewise.
53887 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53888 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53889 * sysdeps/i386/fpu/s_expm1.S: Likewise.
53890 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53891 * sysdeps/i386/fpu/e_log2.S: Likewise.
53892 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53893 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53894 * sysdeps/i386/fpu/e_powl.S: Likewise.
53895 * sysdeps/i386/fpu/s_log1p.S: Likewise.
53896 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53897 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53898 * sysdeps/i386/fpu/e_logl.S: Likewise.
53899 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53900 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53901 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53902 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53903 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53904 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53905 * sysdeps/i386/fpu/e_log.S: Likewise.
53906 * sysdeps/i386/fpu/s_cexp.S: Likewise.
53907 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53908 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53909 * sysdeps/i386/fpu/e_logf.S: Likewise.
53910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53912 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53913 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53914 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53915 * sysdeps/i386/fpu/e_log10.S: Likewise.
53916 * sysdeps/i386/fpu/s_frexp.S: Likewise.
53917 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53918 * sysdeps/i386/fpu/s_asinh.S: Likewise.
53919 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53920 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53921 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53922 * sysdeps/i386/asm-syntax.h: Likewise.
53923 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53924 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53925 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53926 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53927 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53928 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53929 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53930 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53931 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53932 * sysdeps/powerpc/sysdep.h: Likewise.
53933 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53934 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53936 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53939 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53941 2012-02-06 Joseph Myers <joseph@codesourcery.com>
53943 * sysdeps/i386/sysdep.h: Include <features.h>.
53944 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53947 2012-02-05 Joseph Myers <joseph@codesourcery.com>
53949 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53951 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53954 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53956 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53957 (SETUP_PIC_REG): Use GET_PC_THUNK.
53958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53961 2012-02-03 Joseph Myers <joseph@codesourcery.com>
53963 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53964 for non-PIC compilation.
53965 (SETUP_PIC_REG): Add .p2align directive.
53966 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53967 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53968 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53969 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53970 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53971 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53972 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53973 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53974 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53975 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53976 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53977 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53978 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53979 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53980 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53981 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53982 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53983 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53984 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53985 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53986 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53987 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53988 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53989 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53992 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53993 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53994 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53995 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53996 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53997 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53998 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53999 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54000 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54001 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54002 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54003 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54004 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54005 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54006 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54008 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54010 * math/tst-CMPLX.c: Include <stdio.h>.
54012 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54014 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54016 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54017 * sysdeps/sparc/bits/mathdef.h: Likewise.
54019 2012-01-31 Marek Polacek <polacek@redhat.com>
54021 * libio/libio.h: Don't define _PARAMS.
54022 * locale/programs/config.h: Don't define PARAMS.
54023 * stdlib/strtol_l.c: Likewise.
54024 (__strtol_l): Remove PARAMS from the prototype.
54026 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54028 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54029 names. Just use the correct names. Remove unnecessary wrapper
54031 * malloc/arena.c: Likewise.
54032 * malloc/hooks.c: Likewise.
54034 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54035 ARENA_TEST says not to. Simplify test for creation of a new arena.
54036 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54038 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54040 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54042 (update_get_addr): New function.
54043 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54044 GET_ADDR_MODULE parameter.
54046 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54048 * crypt/cert.c: Remove __STDC__ conditionals.
54049 * crypt/crypt-entry.c: Likewise.
54050 * crypt/crypt_util.c: Likewise.
54051 * libio/filedoalloc.c: Likewise.
54052 * libio/fileops.c: Likewise.
54053 * libio/genops.c: Likewise.
54054 * libio/iofclose.c: Likewise.
54055 * libio/iofdopen.c: Likewise.
54056 * libio/iofopen.c: Likewise.
54057 * libio/iofopen64.c: Likewise.
54058 * libio/iogetdelim.c: Likewise.
54059 * libio/iopopen.c: Likewise.
54060 * libio/obprintf.c: Likewise.
54061 * libio/oldfileops.c: Likewise.
54062 * libio/oldiofclose.c: Likewise.
54063 * libio/oldiofdopen.c: Likewise.
54064 * libio/oldiofopen.c: Likewise.
54065 * libio/oldiopopen.c: Likewise.
54066 * libio/wfiledoalloc.c: Likewise.
54067 * libio/wgenops.c: Likewise.
54068 * locale/programs/xmalloc.c: Likewise.
54069 * misc/syslog.c: Likewise.
54070 * stdio-common/xbug.c: Likewise.
54071 * string/memchr.c: Likewise.
54072 * string/memcmp.c: Likewise.
54073 * string/memrchr.c: Likewise.
54074 * string/rawmemchr.c: Likewise.
54075 * sysdeps/posix/getcwd.c: Likewise.
54076 * time/strftime_l.c: Likewise.
54078 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54080 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54081 * config.make.in (config-cflags-sse2avx): Define.
54082 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54085 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54087 * scripts/config.guess: Update from upstream config git repository.
54088 * scripts/config.sub: Likewise.
54090 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54092 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54094 (R_TILEPRO_*, R_TILEGX_*): New macros.
54096 * scripts/firstversions.awk: Fix bug in version range handling.
54098 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54100 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54102 * include/sys/epoll.h: New file.
54103 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54106 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54108 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54109 Avoid unnecessary __WORDSIZE == 64 test.
54110 (fmaxf): Use VEX format if possible.
54115 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54116 * math/math_private.h: Remove libc_fegetround* and
54118 * sysdeps/i386/configure.in: Check for -msse2avx.
54119 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54120 also if SSE2AVX is defined.
54121 Remove libc_fegetround* and libc_fesetround*.
54122 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54123 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54132 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54134 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54136 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54138 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54140 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54143 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54145 * Makeconfig (libm): Define.
54146 * elf/Makefile: Add rules to build and run tst-relsort1.
54147 * elf/tst-relsort1.c: New file.
54148 * elf/tst-relsort1mod1.c: New file.
54149 * elf/tst-relsort1mod2.c: New file.
54151 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54153 * math/s_ldexp.c: Remove __STDC__ conditionals.
54154 * math/s_ldexpf.c: Likewise.
54155 * math/s_ldexpl.c: Likewise.
54156 * math/s_nextafter.c: Likewise.
54157 * math/s_nexttowardf.c: Likewise.
54158 * math/s_significand.c: Likewise.
54159 * math/s_significandf.c: Likewise.
54160 * math/s_significandl.c: Likewise.
54161 * math/w_jnl.c: Likewise.
54162 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54163 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54164 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54165 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54166 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54167 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54168 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54169 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54170 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54171 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54172 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54174 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54175 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54176 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54177 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54178 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54179 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54181 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54182 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54183 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54184 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54186 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54187 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54188 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54189 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54190 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54191 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54192 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54193 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54194 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54195 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54196 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54197 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54198 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54199 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54200 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54201 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54202 * sysdeps/ieee754/k_standard.c: Likewise.
54203 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54204 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54205 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54206 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54207 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54208 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54209 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54210 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54211 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54212 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54213 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54214 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54215 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54216 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54217 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54219 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54221 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54223 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54224 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54225 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54226 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54227 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54228 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54230 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54232 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54234 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54235 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54236 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54237 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54238 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54239 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54240 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54241 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54242 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54243 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54245 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54246 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54247 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54248 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54249 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54250 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54251 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54252 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54253 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54256 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54257 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54258 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54259 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54260 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54261 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54262 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54263 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54264 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54265 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54266 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54267 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54268 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54269 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54270 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54271 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54272 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54273 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54274 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54275 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54276 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54277 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54278 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54279 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54280 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54281 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54282 * sysdeps/ieee754/s_matherr.c: Likewise.
54283 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54284 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54288 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54290 * crypt/md5.h: Remove __STDC__ conditionals.
54291 * libio/libioP.h: Likewise.
54292 * locale/programs/config.h: Likewise.
54293 * sysdeps/generic/sysdep.h: Likewise.
54294 * sysdeps/i386/asm-syntax.h: Likewise.
54295 * sysdeps/s390/asm-syntax.h: Likewise.
54296 * sysdeps/unix/sysdep.h: Likewise.
54297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54300 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54302 * libio/libio.h: Remove __STDC__ conditionals.
54303 * malloc/obstack.h: Likewise.
54304 * math/complex.h: Likewise.
54305 * math/math.h: Likewise.
54306 * sysdeps/generic/_G_config.h: Likewise.
54307 * sysdeps/gnu/_G_config.h: Likewise.
54308 * sysdeps/mach/hurd/_G_config.h: Likewise.
54309 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54310 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54311 * sysdeps/sparc/bits/mathdef.h: Likewise.
54313 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54316 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54317 Clean up HAS_* macros.
54318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54319 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54329 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54331 * elf/tst-unique3.cc (gets): Remove declaration.
54332 * elf/tst-unique3lib.cc (gets): Likewise.
54333 * elf/tst-unique3lib2.cc (gets): Likewise.
54334 * elf/tst-unique4.cc (gets): Likewise.
54336 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54338 * include/stdio.h: Add C++ protection. Add gets declarations and
54340 * debug/tst-chk1.c: Don't declare gets here.
54341 * stdio-common/tst-gets.c: Likewise.
54343 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54345 * posix/glob: Remove directory.
54347 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54349 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54351 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54353 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54354 of the non-standard EPFNOSUPPORT.
54356 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54358 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54359 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54360 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54362 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54364 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54366 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54368 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54370 * nscd/grpcache.c (cache_addgr): Likewise.
54371 * nscd/hstcache.c (cache_addhst): Likewise.
54372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54373 * nscd/pwdcache.c (cache_addpw): Likewise.
54374 * nscd/servicescache.c (cache_addserv): Likewise.
54376 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54378 * malloc/malloc.c: Various cleanups.
54379 * malloc/hooks.c: Likewise.
54381 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54382 * stdlib/bug-fmtmsg1.c: New file.
54384 * stdlib/fmtmsg.c (init): Add missing unlock.
54385 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54387 2012-01-12 Marek Polacek <polacek@redhat.com>
54389 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54392 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54394 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54395 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54396 macro to ensure uniqueness of label name.
54397 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54398 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54400 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54402 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54404 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54405 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54409 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54413 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54414 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54415 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54417 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54419 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54420 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54421 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54424 * math/bits/math-finite.h: Add ldexp support.
54426 2012-01-10 Marek Polacek <polacek@redhat.com>
54428 * locale/programs/localedef.h (show_archive_content): Add noreturn
54431 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54433 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54435 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54437 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54439 * io/Makefile (headers): Add bits/poll2.h.
54441 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54444 typo #include statement.
54446 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54448 * include/sys/cdefs.h: Define __attribute_alloc_size.
54449 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54450 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54451 * elf/pldd.c: Likewise.
54452 * iconv/iconv_charmap.c: Likewise.
54453 * iconv/iconvconfig.c: Likewise.
54454 * iconv/strtab.c: Likewise.
54455 * locale/programs/locale.c: Likewise.
54456 * locale/programs/localedef.h: Likewise.
54457 * locale/programs/simple-hash.c: Likewise.
54458 * nscd/nscd.h: Likewise.
54459 * nss/makedb.c: Likewise.
54460 * sysdeps/generic/ldconfig.h: Likewise.
54461 * locale/programs/localedef.c: Remove xmalloc prototype.
54462 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54464 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54466 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54469 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54471 * math/Makefile (tests): Add tst-CMPLX.
54472 * math/tst-CMPLX.c: New file.
54474 * math/complex.h (CMPLXL): Fix typo.
54476 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54477 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54479 * debug/tst-chk1.c: Add poll and ppoll tests.
54480 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54481 * include/sys/poll.h: Add hidden proto for ppoll.
54482 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54483 * sysdeps/mach/hurd/ppoll.c: Likewise.
54484 * io/ppoll.c: Likewise.
54485 * debug/poll_chk.c: New file.
54486 * debug/ppoll_chk.c: New file.
54487 * include/bits/poll2.h: New file.
54488 * io/bits/poll2.h: New file.
54491 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54493 * configure.in: static is always set to yes. Remove.
54494 * config.make.in: Don't set build-static.
54495 * Makeconfig: Remove use of build-static.
54496 * dlfcn/Makefile: Likewise.
54497 * elf/Makefile: Likewise.
54498 * math/Makefile: Likewise.
54499 * misc/Makefile: Likewise.
54500 * nptl/Makefile: Likewise.
54501 * sysdeps/mach/hurd/Makefile: Likewise.
54503 * configure.in: PWD_P is not used anymore.
54504 * config.make.in: Remove PWD_P entry.
54506 * configure.in: Remove last remnants of RANLIB.
54507 No need to check for signed size_t anymore.
54508 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54510 Remove __builtin_expect test because we require at least gcc 3.4.
54511 * aclocal.m4: Likewise.
54513 * wcsmbs/mbrtoc16.c: Implement using towc function.
54514 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54515 * wcsmbs/wcsmbsload.c: Likewise.
54516 * iconv/gconv_simple.c: Likewise.
54517 * iconv/gconv_int.h: Likewise.
54518 * iconv/gconv_builtin.h: Likewise.
54519 * iconv/iconv_prog.c: Remove CHAR16 handling.
54521 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54523 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54525 * configure.in: Remove --with-elf and --enable-bounded options.
54526 Dont set base_machine for ia64. More non-ELF conditions removed.
54527 Remove testing and setting of leading underscore information.
54528 * config.make.in (build-bounded): Set to no.
54529 * config.h.in: Remove NO_UNDERSCORES entry.
54530 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54532 * csu/start.c: Remove !NO_UNDERSCORE code.
54533 * locale/localeinfo.h: Likewise.
54534 * sysdeps/generic/machine-gmon.h: Likewise.
54535 * sysdeps/generic/sysdep.h: Likewise.
54536 * sysdeps/i386/sysdep.h: Likewise.
54537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54538 * sysdeps/mach/sysdep.h: Likewise.
54539 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54540 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54541 * sysdeps/sh/sysdep.h: Likewise.
54542 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54543 * sysdeps/unix/i386/sysdep.S: Likewise.
54544 * sysdeps/unix/sparc/start.c: Likewise.
54545 * sysdeps/unix/sparc/sysdep.S: Likewise.
54546 * sysdeps/unix/sparc/sysdep.h: Likewise.
54547 * sysdeps/unix/start.c: Likewise.
54548 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54549 * sysdeps/x86_64/sysdep.h: Likewise.
54551 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54554 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54556 * argp/argp-fmtstream.h: Use const instead __const.
54557 * argp/argp.h: Likewise.
54558 * assert/assert.h: Likewise.
54559 * bits/fenv.h: Likewise.
54560 * bits/sched.h: Likewise.
54561 * bits/sigset.h: Likewise.
54562 * bits/sigthread.h: Likewise.
54563 * catgets/nl_types.h: Likewise.
54564 * conform/data/pthread.h-data: Likewise.
54565 * crypt/crypt-private.h: Likewise.
54566 * crypt/crypt.h: Likewise.
54567 * crypt/crypt_util.c: Likewise.
54568 * ctype/ctype.h: Likewise.
54569 * debug/execinfo.h: Likewise.
54570 * debug/mbsnrtowcs_chk.c: Likewise.
54571 * debug/mbsrtowcs_chk.c: Likewise.
54572 * debug/wcsnrtombs_chk.c: Likewise.
54573 * debug/wcsrtombs_chk.c: Likewise.
54574 * debug/wcstombs_chk.c: Likewise.
54575 * dirent/dirent.h: Likewise.
54576 * dlfcn/dlfcn.h: Likewise.
54577 * elf/neededtest4.c: Likewise.
54578 * grp/grp.h: Likewise.
54579 * gshadow/gshadow.h: Likewise.
54580 * iconv/gconv.h: Likewise.
54581 * iconv/gconv_int.h: Likewise.
54582 * iconv/gconv_simple.c: Likewise.
54583 * iconv/iconv.h: Likewise.
54584 * iconv/loop.c: Likewise.
54585 * iconv/skeleton.c: Likewise.
54586 * include/aio.h: Likewise.
54587 * include/aliases.h: Likewise.
54588 * include/argz.h: Likewise.
54589 * include/arpa/inet.h: Likewise.
54590 * include/assert.h: Likewise.
54591 * include/dirent.h: Likewise.
54592 * include/dlfcn.h: Likewise.
54593 * include/execinfo.h: Likewise.
54594 * include/fcntl.h: Likewise.
54595 * include/fenv.h: Likewise.
54596 * include/glob.h: Likewise.
54597 * include/grp.h: Likewise.
54598 * include/libintl.h: Likewise.
54599 * include/mntent.h: Likewise.
54600 * include/netdb.h: Likewise.
54601 * include/pwd.h: Likewise.
54602 * include/rpc/netdb.h: Likewise.
54603 * include/sched.h: Likewise.
54604 * include/search.h: Likewise.
54605 * include/shadow.h: Likewise.
54606 * include/signal.h: Likewise.
54607 * include/stdio.h: Likewise.
54608 * include/stdlib.h: Likewise.
54609 * include/string.h: Likewise.
54610 * include/sys/socket.h: Likewise.
54611 * include/sys/stat.h: Likewise.
54612 * include/sys/statfs.h: Likewise.
54613 * include/sys/statvfs.h: Likewise.
54614 * include/sys/syslog.h: Likewise.
54615 * include/sys/time.h: Likewise.
54616 * include/sys/uio.h: Likewise.
54617 * include/time.h: Likewise.
54618 * include/unistd.h: Likewise.
54619 * include/utmp.h: Likewise.
54620 * include/wchar.h: Likewise.
54621 * include/wctype.h: Likewise.
54622 * inet/aliases.h: Likewise.
54623 * inet/arpa/inet.h: Likewise.
54624 * inet/netinet/ether.h: Likewise.
54625 * inet/netinet/in.h: Likewise.
54626 * intl/libintl.h: Likewise.
54627 * io/bits/fcntl2.h: Likewise.
54628 * io/fcntl.h: Likewise.
54629 * io/ftw.h: Likewise.
54630 * io/sys/poll.h: Likewise.
54631 * io/sys/stat.h: Likewise.
54632 * io/sys/statfs.h: Likewise.
54633 * io/sys/statvfs.h: Likewise.
54634 * io/utime.h: Likewise.
54635 * libio/bits/stdio.h: Likewise.
54636 * libio/bits/stdio2.h: Likewise.
54637 * libio/libio.h: Likewise.
54638 * libio/libioP.h: Likewise.
54639 * libio/stdio.h: Likewise.
54640 * locale/lc-ctype.c: Likewise.
54641 * locale/locale.h: Likewise.
54642 * login/utmp.h: Likewise.
54643 * malloc/arena.c: Likewise.
54644 * malloc/malloc.c: Likewise.
54645 * malloc/malloc.h: Likewise.
54646 * malloc/mcheck.c: Likewise.
54647 * malloc/mtrace.c: Likewise.
54648 * math/bits/mathcalls.h: Likewise.
54649 * math/fenv.h: Likewise.
54650 * math/math_private.h: Likewise.
54651 * misc/bits/error.h: Likewise.
54652 * misc/bits/syslog.h: Likewise.
54653 * misc/err.h: Likewise.
54654 * misc/error.h: Likewise.
54655 * misc/fstab.h: Likewise.
54656 * misc/mntent.h: Likewise.
54657 * misc/regexp.h: Likewise.
54658 * misc/search.h: Likewise.
54659 * misc/sgtty.h: Likewise.
54660 * misc/sys/mman.h: Likewise.
54661 * misc/sys/syslog.h: Likewise.
54662 * misc/sys/uio.h: Likewise.
54663 * misc/sys/xattr.h: Likewise.
54664 * misc/ttyent.h: Likewise.
54665 * nis/rpcsvc/ypclnt.h: Likewise.
54666 * nss/nss.h: Likewise.
54667 * posix/bits/unistd.h: Likewise.
54668 * posix/fnmatch.h: Likewise.
54669 * posix/glob.h: Likewise.
54670 * posix/sched.h: Likewise.
54671 * posix/spawn.h: Likewise.
54672 * posix/sys/wait.h: Likewise.
54673 * posix/unistd.h: Likewise.
54674 * posix/wordexp.h: Likewise.
54675 * pwd/pwd.h: Likewise.
54676 * resolv/netdb.h: Likewise.
54677 * resource/sys/resource.h: Likewise.
54678 * rt/aio.h: Likewise.
54679 * rt/bits/mqueue2.h: Likewise.
54680 * rt/mqueue.h: Likewise.
54681 * shadow/shadow.h: Likewise.
54682 * signal/signal.h: Likewise.
54683 * socket/send.c: Likewise.
54684 * socket/sendto.c: Likewise.
54685 * socket/sys/socket.h: Likewise.
54686 * stdio-common/printf.h: Likewise.
54687 * stdlib/bits/stdlib.h: Likewise.
54688 * stdlib/fmtmsg.h: Likewise.
54689 * stdlib/monetary.h: Likewise.
54690 * stdlib/stdlib.h: Likewise.
54691 * stdlib/ucontext.h: Likewise.
54692 * streams/stropts.h: Likewise.
54693 * string/argz.h: Likewise.
54694 * string/bits/string2.h: Likewise.
54695 * string/string.h: Likewise.
54696 * string/strings.h: Likewise.
54697 * sunrpc/rpc/auth.h: Likewise.
54698 * sunrpc/rpc/auth_des.h: Likewise.
54699 * sunrpc/rpc/clnt.h: Likewise.
54700 * sunrpc/rpc/netdb.h: Likewise.
54701 * sunrpc/rpc/pmap_clnt.h: Likewise.
54702 * sunrpc/rpc/xdr.h: Likewise.
54703 * sysdeps/generic/inttypes.h: Likewise.
54704 * sysdeps/generic/net/if.h: Likewise.
54705 * sysdeps/generic/sys/swap.h: Likewise.
54706 * sysdeps/gnu/net/if.h: Likewise.
54707 * sysdeps/gnu/utmpx.h: Likewise.
54708 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54709 * sysdeps/i386/i486/bits/string.h: Likewise.
54710 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54711 * sysdeps/s390/bits/string.h: Likewise.
54712 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54713 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54714 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54715 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54716 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54717 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54718 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54719 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54720 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54721 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54722 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54723 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54724 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54725 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54726 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54727 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54728 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54730 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54733 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54734 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54735 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54736 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54737 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54738 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54740 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54741 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54742 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54743 * sysvipc/sys/ipc.h: Likewise.
54744 * sysvipc/sys/msg.h: Likewise.
54745 * sysvipc/sys/sem.h: Likewise.
54746 * sysvipc/sys/shm.h: Likewise.
54747 * termios/termios.h: Likewise.
54748 * time/sys/time.h: Likewise.
54749 * time/time.h: Likewise.
54750 * wcsmbs/bits/wchar2.h: Likewise.
54751 * wcsmbs/uchar.h: Likewise.
54752 * wcsmbs/wchar.h: Likewise.
54753 * wctype/wctype.h: Likewise.
54756 * Makeconfig: Remove all but ELF support including AIX support.
54757 * Makerules: Likewise.
54758 * config.h.in: Likewise.
54759 * config.make.in: Likewise.
54760 * configure: Likewise.
54761 * configure.in: Likewise.
54762 * csu/Makefile: Likewise.
54763 * csu/version.c: Likewise.
54764 * debug/Makefile: Likewise.
54765 * dlfcn/Makefile: Likewise.
54766 * elf/Makefile: Likewise.
54767 * extra-lib.mk: Likewise.
54768 * iconv/Makefile: Likewise.
54769 * include/libc-symbols.h: Likewise.
54770 * include/shlib-compat.h: Likewise.
54771 * resolv/Makefile: Likewise.
54772 * resolv/res_libc.c: Likewise.
54773 * rt/Makefile: Likewise.
54774 * sysdeps/i386/asm-syntax.h: Likewise.
54775 * sysdeps/i386/sysdep.h: Likewise.
54776 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54777 * sysdeps/mach/sysdep.h: Likewise.
54778 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54779 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54780 * sysdeps/s390/asm-syntax.h: Likewise.
54781 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54782 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54783 * sysdeps/sh/sysdep.h: Likewise.
54784 * sysdeps/unix/sparc/sysdep.h: Likewise.
54785 * sysdeps/wordsize-32/divdi3.c: Likewise.
54786 * sysdeps/x86_64/sysdep.h: Likewise.
54788 * argp/Versions: Remove _argp_unlock_xxx.
54791 * abilist/ld.abilist: Update. Adjust for removal of tls option.
54792 * abilist/libBrokenLocale.abilist: Likewise.
54793 * abilist/libanl.abilist: Likewise.
54794 * abilist/libc.abilist: Likewise.
54795 * abilist/libcrypt.abilist: Likewise.
54796 * abilist/libdl.abilist: Likewise.
54797 * abilist/libm.abilist: Likewise.
54798 * abilist/libnsl.abilist: Likewise.
54799 * abilist/libpthread.abilist: Likewise.
54800 * abilist/libresolv.abilist: Likewise.
54801 * abilist/librt.abilist: Likewise.
54802 * abilist/libthread_db.abilist: Likewise.
54803 * abilist/libutil.abilist: Likewise.
54804 * abilist/libnss_db.abilist: New file.
54806 * scripts/abilist.awk: Add support for indirect functions.
54808 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54810 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54812 * shlib-versions: Remove entries for ports architectures.
54814 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
54816 * elf/stackguard-macros.h: Remove support for IA-64.
54817 * elf/tst-auditmod1.c: Likewise.
54818 * sysdeps/generic/ldsodefs.h: Likewise.
54820 * sysdeps/unix/sysv/linux/configure.in: Ports should define
54821 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54825 * configure.in: Remove --enable-omitfp support.
54827 * config.make.in: Likewise.
54828 * Makeconfig: Likewise.
54829 * manual/install.texi: Likewise.
54831 In case anyone cares, the IA-64 architecture could move to ports.
54832 * sysdeps/ia64/*: Removed.
54833 * sysdeps/unix/sysv/linux/ia64/*: Removed.
54834 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54837 * configure.in: Remove entries for unsupported architectures.
54840 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54841 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
54843 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54844 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54845 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
54846 fall back to using wcrtomb.
54847 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54848 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
54850 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54851 * wcsmbs/tst-c16c32-1.c: New file.
54853 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54856 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54858 * elf/tst-unique3.cc: Add explicit declaration of gets.
54859 * elf/tst-unique3lib.cc: Likewise.
54860 * elf/tst-unique3lib2.cc: Likewise.
54861 * elf/tst-unique4.cc: Likewise.
54863 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54865 2012-01-06 Joseph Myers <joseph@codesourcery.com>
54868 * assert/assert.h (static_assert): Don't define for C++.
54869 * libio/stdio.h (gets): Do declare for C++ <= C++11.
54870 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54872 2012-01-03 Ulrich Drepper <drepper@gmail.com>
54874 * iconv/loop.c (single loop): Fix assertion in storing of
54877 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54879 2012-01-01 Ulrich Drepper <drepper@gmail.com>
54881 * posix/getconf.c: Update copyright year.
54882 * nss/getent.c: Likewise.
54883 * nss/makedb.c: Likewise.
54884 * iconv/iconvconfig.c: Likewise.
54885 * iconv/iconv_prog.c: Likewise.
54886 * elf/ldconfig.c: Likewise.
54887 * elf/pldd.c: Likewise.
54888 * elf/sotruss.ksh: Likewise.
54889 * catgets/gencat.c: Likewise.
54890 * csu/version.c: Likewise.
54891 * elf/ldd.bash.in: Likewise.
54892 * elf/sprof.c (print_version): Likewise.
54893 * locale/programs/locale.c: Likewise.
54894 * locale/programs/localedef.c: Likewise.
54895 * login/programs/pt_chown.c: Likewise.
54896 * nscd/nscd.c (print_version): Likewise.
54897 * debug/xtrace.sh: Likewise.
54898 * malloc/memusage.sh: Likewise.
54899 * malloc/mtrace.pl: Likewise.
54900 * debug/catchsegv.sh: Likewise.
54902 2011-12-30 Jakub Jelinek <jakub@redhat.com>
54904 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54907 2011-12-24 Ulrich Drepper <drepper@gmail.com>
54910 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54911 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54913 * iconv/gconv_int.h: Likewise.
54914 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54915 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54916 from libc for GLIBC_2.16.
54917 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54918 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54919 * wcsmbs/uchar.h: Really define mbstate_t.
54920 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54921 * wcsmbs/c16rtomb.c: New file.
54922 * wcsmbs/mbrtoc16.c: New file.
54923 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54924 for C/POSIX locale.
54925 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54926 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54928 * wcsmbs/wchar.h: Add missing __restrict.
54930 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54933 * time/Makefile (routines): Add timespec_get.
54934 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54935 * time/time.h: Define TIME_UTC and declare timespec_get. Define
54936 timespec for ISO C11.
54937 * time/timespec_get.c: New file.
54938 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54939 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54942 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54943 * stdlib/stdlib.h: Declare aligned_alloc.
54944 * Versions.def: Add GLIBC_2.16 for libc.
54945 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54948 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54951 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54955 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54958 * assert/assert.h (static_assert): Define.
54960 * version.h: Update for 2.16 development version.
54963 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54966 * version.h (RELEASE): Bump for 2.15 release.
54967 * include/features.h (__GLIBC_MINOR__): Bump to 15.
54969 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54970 Patch by Marek Polacek <mpolacek@redhat.com>.
54972 * bits/byteswap.h: Protect long long constants with __extension__.
54973 * sysdeps/i386/bits/byteswap.h: Likewise.
54974 * sysdeps/ia64/bits/byteswap.h: Likewise.
54975 * sysdeps/s390/bits/byteswap.h: Likewise.
54976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54978 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54981 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54982 destination buffer.
54983 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54985 2011-12-23 Marek Polacek <polacek@redhat.com>
54987 * elf/dl-addr.c (determine_info): Add inline keyword.
54988 * elf/tst-auditmod4b.c (check_avx): Likewise.
54989 * elf/tst-auditmod6b.c (check_avx): Likewise.
54990 * elf/tst-auditmod6c.c (check_avx): Likewise.
54991 * elf/tst-auditmod7b.c (check_avx): Likewise.
54993 2011-12-23 Ulrich Drepper <drepper@gmail.com>
54995 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54998 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55001 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55002 processing for last bytes.
55004 2011-08-06 Bruno Haible <bruno@clisp.org>
55007 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55008 U+0385, not to U+1FEE.
55011 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55012 entry for U+00A5 U+0301.
55014 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55017 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55018 buffer for the output is too small.
55020 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55024 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55025 SSE flags if possible.
55027 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55031 processing for last bytes.
55033 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55035 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55036 (syscall-list-default-options, syscall-list-default-condition)
55037 (syscall-list-includes): Define.
55038 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55039 list of ABIs and options and #if conditions for each ABI. Do not
55040 handle common syscalls between ABIs specially.
55041 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55043 (syscall-list-variants, syscall-list-32bit-options)
55044 (syscall-list-32bit-condition, syscall-list-64bit-options)
55045 (syscall-list-64bit-condition): Define.
55046 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55047 (syscall-list-variants, syscall-list-32bit-options)
55048 (syscall-list-32bit-condition, syscall-list-64bit-options)
55049 (syscall-list-64bit-condition): Define.
55050 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55052 (syscall-list-variants, syscall-list-32bit-options)
55053 (syscall-list-32bit-condition, syscall-list-64bit-options)
55054 (syscall-list-64bit-condition): Define.
55055 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55057 (syscall-list-variants, syscall-list-32bit-options)
55058 (syscall-list-32bit-condition, syscall-list-64bit-options)
55059 (syscall-list-64bit-condition): Define.
55061 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55063 * locale/iso-639.def: Add brx entry.
55066 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55067 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55069 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55070 __feraiseexcept_renamed.
55072 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55075 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55076 EPOLLET with unsigned values.
55077 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55078 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55080 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55081 to large cancellation.
55082 * math/s_cacoshf.c: Likewise.
55083 * math/s_cacoshl.c: Likewise.
55085 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55089 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55090 * math/s_cacoshf.c: Likewise.
55091 * math/s_cacoshl.c: Likewise.
55093 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55096 * iconv/gconv.h: Define __GCONV_SWAP.
55097 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55098 * iconvdata/utf-16.c: Likewise.
55099 * iconvdata/utf-32.c: Likewise.
55101 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55105 numerator after shifting it by one limb.
55107 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55109 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55110 under [__USE_EXTERN_INLINES].
55112 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55115 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55117 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55119 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55120 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55122 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55123 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55124 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55125 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55126 for strncasecmp/strncasecmp_l compilation.
55127 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55128 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55130 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55133 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55136 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55139 * time/tzfile.c (__tzfile_read): Check values from file header.
55141 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55143 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55144 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55145 * powerpc/powerpc32/dl-start.S: Likewise.
55146 * powerpc/powerpc32/elf/start.S: Likewise.
55147 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55148 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55149 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55150 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55151 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55152 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55153 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55154 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55155 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55156 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55157 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55158 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55159 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55160 * powerpc/powerpc32/memset.S: Likewise.
55161 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55162 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55163 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55164 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55165 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55166 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55167 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55168 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55169 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55170 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55171 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55172 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55173 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55175 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55177 * math/libm-test.inc: Added more nearbyint tests.
55178 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55183 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55185 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55188 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55190 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55191 Add wcscpy-ssse3 wcscpy-c.
55192 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55193 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55194 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55195 * sysdeps/x86_64/wcschr.S: New file.
55196 * sysdeps/x86_64/wcsrchr.S: New file.
55197 * string/test-strcmp.c: Remove checking of wcscmp function for
55199 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55200 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55201 wcsrchr-sse2 wcsrchr-c.
55202 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55203 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55204 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55205 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55206 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55207 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55208 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55209 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55210 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55211 * wcsmbc/wcschr.c (WCSCHR): New macro.
55213 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55215 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55216 * wcsmbs/test-wcsrchr.c: New file.
55217 * string/test-strrchr.c: Add wcsrchr support.
55219 * wcsmbs/test-wcscpy.c: New file.
55220 * string/test-strcpy.c: Add wcscpy support.
55223 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55228 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55231 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55233 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55235 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55236 Minor optimizations.
55238 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55239 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55240 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55242 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55244 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55245 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55246 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55247 for gcc to avoid warnings.
55248 * inet/Makefile (tests): Add tst-checks.
55249 * inet/tst-checks.c: New file.
55251 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55254 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55257 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55258 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55260 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55262 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55264 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55267 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55269 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55271 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55272 conditional on GCC version.
55273 (__arch_compare_and_exchange_val_8_acq)
55274 (__arch_compare_and_exchange_val_16_acq)
55275 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55276 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55277 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55279 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55281 * sysdeps/sh/backtrace.c: New file.
55283 2011-12-02 Andreas Schwab <schwab@redhat.com>
55285 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55288 2011-12-01 Andreas Schwab <schwab@redhat.com>
55290 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55291 falling back to utime.
55293 2011-11-30 Andreas Schwab <schwab@redhat.com>
55295 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55296 expectations for float.
55298 2011-11-29 Andreas Schwab <schwab@redhat.com>
55300 * locale/weight.h (findidx): Add parameter len.
55301 * locale/weightwc.h (findidx): Likewise.
55302 * posix/fnmatch_loop.c (FCT): Adjust caller.
55303 * posix/regcomp.c (build_equiv_class): Likewise.
55304 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55305 * posix/regexec.c (check_node_accept_bytes): Likewise.
55306 * string/strcoll_l.c (STRCOLL): Likewise.
55307 * string/strxfrm_l.c (STRXFRM): Likewise.
55309 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55311 * Makefile.in: Remove CVSOPT handling.
55312 * configure.in: Remove use of AC_REVISION.
55313 * iconvdata/Makefile (distribute): No need to filter out CVS.
55314 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55317 2011-11-16 Andreas Schwab <schwab@redhat.com>
55319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55320 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55321 [USE_AS_STRNCASECMP_L]: Likewise.
55322 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55323 NO_TLS_DIRECT_SEG_REFS.
55324 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55325 Fix argument offsets for non-PIC.
55326 [USE_AS_STRNCASECMP_L]: Likewise.
55327 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55328 NO_TLS_DIRECT_SEG_REFS.
55330 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55332 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55334 * locale/loadlocale.c (_nl_load_locale): Likewise.
55336 2011-11-15 Andreas Schwab <schwab@redhat.com>
55338 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55339 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55340 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55341 (SYSCALL_GETTIME): Set errno on error.
55343 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55344 count references to noai6ai_cached.
55346 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55348 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55350 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55351 FD_CLOEXEC for /proc/self/maps.
55353 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55354 FD_CLOEXEC for /proc/meminfo.
55356 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55359 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55360 FD_CLOEXEC for given file.
55362 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55364 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55365 FD_CLOEXEC for /etc/hosts.
55366 (_gethtent): Likewise.
55368 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55370 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55371 cancellation and set FD_CLOEXEC for /etc/netgroup.
55373 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55374 reading /etc/publickey.
55376 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55377 allow cancellation when reading /etc/group.
55379 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55381 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55383 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55384 when using data file.
55386 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55388 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55389 (write_nis_obj): Use "c" and "e" in fopen.
55391 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55393 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55395 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55397 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55399 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55402 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55404 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55406 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55408 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55409 file parsing and set FD_CLOEXEC.
55411 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55413 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55415 2011-11-14 Andreas Schwab <schwab@redhat.com>
55417 * malloc/arena.c (arena_get2): Don't call reused_arena when
55418 _int_new_arena failed.
55420 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55422 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55423 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55425 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55426 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55427 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55428 to compile strcasecmp and strncasecmp.
55429 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55430 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55434 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55436 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55437 locale-defines.sym to gen-as-const-headers.
55438 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55439 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55440 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55441 to compile strcasecmp and strncasecmp.
55442 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55443 strcasecmp_l and strncasecmp_l.
55444 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55445 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55446 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55447 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55448 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55449 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55450 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55451 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55452 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55453 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55454 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55456 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55458 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55459 result of SYSDEP_GETTIME_CPU to retval.
55460 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55461 parameter list to macro. Remove trailing semicolon. Adjust users.
55463 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55466 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55468 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55470 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55471 from unused variable.
55473 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55475 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55478 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55481 * sunrpc/rpc_prot.c (rejected): Fix case value.
55483 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55484 unsigned long long int to avoid warnings in shift.
55486 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55488 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55491 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55492 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55493 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55495 * nis/nis_table.c (nis_list): Use variable of correct type for
55496 result of __follow_path call.
55498 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55500 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55501 of math functions ceil, trunc, floor, round, and sqrt, when
55502 avaliable on the platform.
55503 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55505 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55506 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55507 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55509 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55511 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55514 2011-11-11 Roland McGrath <roland@hack.frob.com>
55516 * include/unistd.h: Fix __readlink return type.
55517 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55519 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55521 * stdlib/ucontext.h: Undo last change for makecontext.
55523 2011-11-11 Andreas Schwab <schwab@redhat.com>
55525 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55527 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55528 * setjmp/setjmp.h: Mark functions as non-leaf.
55529 * setjmp/bits/setjmp2.h: Likewise.
55530 * stdlib/ucontext.h: Likewise.
55532 2011-11-10 Andreas Schwab <schwab@redhat.com>
55534 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55535 (reused_arena): Don't check arena limit.
55536 (arena_get2): Atomically check arena limit.
55538 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55540 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55541 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55546 2011-11-07 Andreas Schwab <schwab@redhat.com>
55548 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55549 handler when locking.
55551 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55552 Fix size of allocated buffer.
55554 2011-11-04 Andreas Schwab <schwab@redhat.com>
55557 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55558 declarations for long double functions.
55559 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55561 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55563 2011-11-03 Andreas Schwab <schwab@redhat.com>
55565 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55568 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55571 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55573 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55575 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55577 * include/alloca.h (stackinfo_alloca_round): Define.
55578 (extend_alloca): Use it.
55579 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55580 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55583 * scripts/check-local-headers.sh: Ignore libaudit.h.
55585 * nscd/Makefile (extra-objs): Make recursively expanded.
55587 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55589 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55590 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55592 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55593 * posix/tst-rfc3484-2.c: Likewise.
55594 * posix/tst-rfc3484-3.c: Likewise.
55596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55598 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55600 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55601 process_vm_writev from libc using GLIBC_2.15 version.
55603 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55605 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55607 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55610 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55613 * nss/getent.c (initgroups_keys): Show error message in case no group
55616 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55617 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55618 __bump_nl_timestamp.
55619 * nscd/connections (nscd_init): When host database is served open
55620 netlink socket and request notification about configuration changes.
55621 (main_loop_poll): Track netlink file descriptor and bump timestamp
55622 in case data becomes available.
55623 (main_loop_epoll): Likewise.
55624 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55625 (database_pers_head): Add extra_data fileds.
55626 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55627 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55628 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55630 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55631 in6ai data, call __free_in6ai.
55632 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55633 Add -DHAVE_NETLINK.
55634 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55635 interface information. Reuse previous data if netlink timestamp
55637 (__bump_nl_timestamp): New function.
55638 (__free_in6ai): New function.
55640 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55642 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55643 close_not_cancel_no_status here.
55644 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55646 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55649 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55652 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55653 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55654 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55656 2011-07-03 Andreas Jaeger <aj@suse.de>
55659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55660 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55661 * math/libm-test.inc (sin_test): Add test case.
55663 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55666 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55667 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55669 * elf/chroot_canon.c (chroot_canon): Cleanups.
55671 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55674 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55675 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55677 * string/test-strchr.c: Make usable for strchrnul testing.
55678 * string/test-strchrnul.c: New file.
55679 * string/Makefile (strop-tests): Add strchrnul.
55681 * po/it.po: Update from translation team.
55682 * po/es.po: Likewise.
55684 2011-10-28 Ulrich Drepper <drepper@gmail.com>
55686 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55687 the three constants needed as parameters. Drop the others.
55688 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55689 __m128i_strloadu_tolower.
55690 Create and initialize variable zero and use it in all the places
55691 where _mm_setzero_si128 was used.
55693 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55694 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55695 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55698 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55699 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55700 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55701 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55702 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55703 __mpranred, __mptan.
55704 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55705 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55706 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55707 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55708 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55709 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55711 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55712 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55714 2011-10-28 Andreas Schwab <schwab@redhat.com>
55716 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55717 redefine if SHARED.
55718 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55721 wide char related routines to wcsmbs subdir.
55723 2011-10-27 Andreas Schwab <schwab@redhat.com>
55726 * misc/sys/cdefs.h (__THROWNL): Define.
55727 * posix/unistd.h: Use __THREADNL instead of __THREAD
55728 for memory synchronization functions.
55730 2011-10-26 Roland McGrath <roland@hack.frob.com>
55733 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55735 * manual/stdio.texi (Obstack Streams): Node removed.
55737 2011-10-26 Andreas Schwab <schwab@redhat.com>
55739 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55740 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55741 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55743 * math/math_private.h (math_force_eval): Allow non-addressable
55745 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55747 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55749 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55750 file is not needed.
55752 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55755 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55759 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55761 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55762 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55763 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55764 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55765 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55766 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55767 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55768 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55769 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55770 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55771 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55772 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55773 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55774 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55775 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55776 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55777 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55778 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55779 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55781 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55782 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
55784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55785 place. Use VEX encoding when compiling for AVX.
55787 2011-10-25 Andreas Schwab <schwab@redhat.com>
55789 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55790 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55792 * string/test-strchr.c (do_test): Don't generate NUL bytes.
55794 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55796 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55797 useless if() expression.
55798 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55799 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55800 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55802 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55803 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55804 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55806 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55807 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55808 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55810 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55811 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55812 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55813 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55814 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55815 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55816 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55818 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55820 2011-10-25 Andreas Schwab <schwab@redhat.com>
55822 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55824 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55826 2011-10-25 Ulrich Drepper <drepper@gmail.com>
55828 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55829 .text section. Avoid duplicate constants.
55830 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55838 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55839 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55840 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55841 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55842 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55843 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55844 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55845 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55846 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55847 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55849 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55850 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55851 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55852 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55853 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55854 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55855 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55856 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55857 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55858 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55859 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55860 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55861 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55862 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55863 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55864 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55865 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55866 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55867 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55868 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55869 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55870 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55871 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55872 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55873 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55874 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55876 2011-10-24 Ulrich Drepper <drepper@gmail.com>
55878 * sysdeps/x86_64/dla.h: Move to ...
55879 * sysdeps/x86_64/fpu/dla.h: ...here.
55880 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55881 situations. Use __builtin_fma only for gcc 4.6 and up.
55883 * config.make.in: Add have-mfma4 entry.
55884 * configure.in: Substitute libc_cv_cc_fma4.
55885 * math/Makefile (dbl-only-routines): Add sincostab.
55886 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55887 Use __sincostab not sincos.
55888 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55891 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55892 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55893 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
55895 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
55896 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
55897 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55898 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55900 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55901 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55903 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
55904 define aliases when function name is a macro.
55905 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55906 sysdeps/ieee754/dbl-64/sincos.tbl.
55907 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55908 fma4-enabled routines.
55909 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55910 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55911 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55912 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55913 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55914 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55915 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55916 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55917 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55918 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55919 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55920 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55921 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55922 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55923 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55924 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55925 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55926 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55927 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55929 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55930 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55932 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55933 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55934 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55936 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55937 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55938 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55940 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55943 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55951 2011-10-24 Andreas Schwab <schwab@redhat.com>
55953 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55955 2011-10-23 Ulrich Drepper <drepper@gmail.com>
55957 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55959 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55961 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55963 * string/strnlen.c: Don't define STRNLEN, reverse logic.
55964 Remove unused variable magic_bits.
55965 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55967 * string/strnlen.c: Define and use STRNLEN macro.
55968 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55969 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55970 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55971 * wcsmbs/wcslen.c: Define and use WCSLEN.
55972 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55973 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55974 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55975 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55976 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55977 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55978 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55980 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55983 strnlen-sse2-no-bsf.
55984 Rename strlen-no-bsf to strlen-sse2-no-bsf.
55985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55986 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55987 Add strnlen support.
55988 (USE_AS_STRNLEN): New macro.
55989 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55990 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55991 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55992 * sysdeps/x86_64/wcslen.S: New file.
55994 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
55996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55997 XMM-moves are used for copying on small sizes.
55999 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56001 * wcsmbs/Makefile (strop-tests): Add wcschr.
56002 * wcsmbs/test-wcschr.c: New file.
56003 * string/test-strchr.c: Update.
56004 Add wcschr support.
56007 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56009 * wcsmbs/Makefile (strop-tests): Add wcslen.
56010 * wcsmbs/test-wcslen.c: New file.
56011 * string/test-strlen.c: Update.
56012 Add wcslen support.
56015 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56017 * po/it.po: Update from translation team.
56019 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56021 * sysdeps/x86_64/wcscmp.S: Update.
56022 Fix wrong comparison semantics.
56023 wcscmp shall use signed comparison not unsigned.
56024 Don't use substraction to avoid overflow bug.
56025 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56026 * wcsmbc/wcscmp.c: Likewise.
56027 * string/test-strcmp.c: Likewise.
56028 Add new tests to check cases with negative values.
56030 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56032 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56033 * sysdeps/x86_64/dla.h: ...here. New file.
56034 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56037 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56041 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56042 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56044 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56047 __ynl_finite aliases.
56049 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56053 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56055 [DLA_FMA] (EMULV): Use DLA_FMA.
56056 [DLA_FMA] (MUL12): Use EMULV.
56057 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56058 that are not needed.
56059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56067 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56069 * math/s_nan.c: Undef __nan.
56070 * math/s_nanf.c: Undef __nanf.
56071 * math/s_nanl.c: Undef __nanl.
56072 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56075 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56077 * math/s_catan.c: Add branch predictions.
56078 * math/s_catanf.c: Likewise.
56079 * math/s_catanh.c: Likewise.
56080 * math/s_catanhf.c: Likewise.
56081 * math/s_catanhl.c: Likewise.
56082 * math/s_catanl.c: Likewise.
56083 * math/s_cexp.c: Likewise.
56084 * math/s_cexpf.c: Likewise.
56085 * math/s_cexpl.c: Likewise.
56086 * math/s_clog.c: Likewise.
56087 * math/s_clog10.c: Likewise.
56088 * math/s_clog10f.c: Likewise.
56089 * math/s_clog10l.c: Likewise.
56090 * math/s_clogf.c: Likewise.
56091 * math/s_clogl.c: Likewise.
56092 * math/s_csqrt.c: Likewise.
56093 * math/s_csqrtf.c: Likewise.
56094 * math/s_csqrtl.c: Likewise.
56095 * math/s_ctanf.c: Likewise.
56096 * math/s_ctanh.c: Likewise.
56097 * math/s_ctanhf.c: Likewise.
56098 * math/s_ctanhl.c: Likewise.
56099 * math/s_ctanl.c: Likewise.
56101 * math/math_private.h: Define __nan, __nanf, __nanl.
56102 * math/s_cacosh.c: Include <math_private.h>.
56103 * math/s_cacoshl.c: Likewise.
56104 * math/s_casinh.c: Likewise.
56105 * math/s_casinhf.c: Likewise.
56106 * math/s_casinhl.c: Likewise.
56107 * math/s_ccos.c: Rely entire on ccosh.
56108 * math/s_ccosf.c: Rely entire on ccoshf.
56109 * math/s_ccosl.c: Rely entirely on ccoshl.
56110 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56111 Remove tests for FE_INVALID.
56112 * math/s_ccoshf.c: Likewise.
56113 * math/s_ccoshl.c: Likewise.
56114 * math/s_csin.c: Likewise.
56115 * math/s_csinf.c: Likewise.
56116 * math/s_csinh.c Likewise.
56117 * math/s_csinhf.c: Likewise.
56118 * math/s_csinhl.c: Likewise.
56119 * math/s_csinl.c: Likewise.
56120 * math/s_ctan.c: Likewise.
56121 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56122 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56123 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56125 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56128 compilation problems.
56130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56133 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56135 * sysdeps/i386/configure.in: Test for -mfma4 option.
56136 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56137 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56138 COMMON_CPUID_INDEX_80000001.
56139 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56140 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56141 use it if FMA3 is not supported.
56142 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56144 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56145 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56147 2011-10-20 Andreas Schwab <schwab@redhat.com>
56150 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56151 it would create a cycle with a link time dependency.
56153 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56155 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56157 * string/Makefile (strop-tests): Add rawmemchr.
56158 * string/test-rawmemchr.c: New file.
56160 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56161 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56162 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56163 when compiling str{,n}casecmp and when AVX is available. Hook up
56164 new optimized code in initializers.
56166 2011-10-19 Andreas Schwab <schwab@redhat.com>
56168 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56169 __feraiseexcept instead of feraiseexcept.
56171 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56173 * math/math_private.h: Define defaults for libc_fetestexcept and
56175 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56176 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56177 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56178 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56179 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56180 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56181 libc_fetestexcept and libc_feupdateenv.
56183 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56184 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56185 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56186 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56187 libc_feholdexcept_setround.
56189 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56190 Add s_nearbyint-c and s_nearbyintf-c.
56191 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56192 nearbyintf inlines.
56193 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56194 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56195 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56196 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56198 * math/math_private.h: Define defaults for libc_fegetround,
56199 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56200 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56201 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56202 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56203 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56204 standard functions.
56205 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56206 Remove comments and hacks for old compiler versions.
56207 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56208 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56209 libc_feholdexceptl.
56211 2011-10-18 Andreas Schwab <schwab@redhat.com>
56213 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56214 (__feraiseexcept_renamed): Add __NTH.
56215 (feraiseexcept): Add __NTH. Rename local variables to fix
56216 namespace violations.
56218 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56220 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56222 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56224 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56225 recently added interfaces.
56226 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56228 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56229 about macro parameter expansion.
56231 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56232 __NO_MATH_INLINES is defined. Cleanups.
56234 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56235 and __floorf is target has SSE4.1.
56236 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56237 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56238 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56239 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56241 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56243 (floorf): Likewise.
56245 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56247 2011-10-17 Andreas Schwab <schwab@redhat.com>
56249 * misc/sys/cdefs.h: Fix last change.
56251 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56254 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56256 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56258 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56260 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56261 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56262 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56263 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56264 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56265 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56266 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56267 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56268 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56269 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56270 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56271 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56272 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56273 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56274 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56275 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56276 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56277 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56278 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56279 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56281 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56282 ceil, ceilf, floor, floorf.
56284 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56285 Perform IRELATIVE relocations last.
56287 * elf/do-rel.h: Add another parameter nrelative, replacing the
56288 local variable with the same name. Change name of the function
56289 to end in Rel or Rela (uppercase).
56290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56291 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56292 elf_dynamic_do_##reloc function.
56294 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56296 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56297 is sufficient, at least on modern CPUs.
56299 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56301 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56302 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56304 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56306 * math/bits/math-finite.h: Add entries for exp.
56307 * math/e_expl.c: Add __*_finite alias.
56308 * sysdeps/i386/fpu/e_exp.S: Likewise.
56309 * sysdeps/i386/fpu/e_expf.S: Likewise.
56310 * sysdeps/i386/fpu/e_expl.c: Likewise.
56311 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56312 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56313 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56314 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56315 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56316 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56317 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56319 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56320 is sufficient, at least on modern CPUs.
56322 * ctype/ctype-info.c (__ctype_init): Define.
56323 * include/ctype.h (__ctype_init): Declare.
56324 (__ctype_b_loc): The variable is always initialized.
56325 (__ctype_toupper_loc): Likewise.
56326 (__ctype_tolower_loc): Likewise.
56327 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56328 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56330 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56332 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56334 * configure.in: Also look in $cxxmachine/include for C++ system
56337 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56339 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56340 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56341 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56342 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56343 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56344 (USE_AS_WMEMCMP): New macro.
56346 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56347 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56348 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56349 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56351 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56352 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56353 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56354 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56355 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56356 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56357 (USE_AS_WMEMCMP): New macro.
56358 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56359 * sysdeps/string/test-memcmp.c: Update.
56360 Fix simple_wmemcmp.
56362 * wcsmbs/wmemcmp.c: Update.
56363 (WMEMCMP): New macro.
56366 2011-10-12 Andreas Jaeger <aj@suse.de>
56369 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56371 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56373 * libio/iofwide.c (do_length): Avoid warning.
56375 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56377 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56379 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56381 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56382 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56383 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56384 * sysdeps/i386/i686/fpu/e_log.S: New file.
56385 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56386 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56388 * ctype/ctype.h: Add support for inlined isXXX functions when
56389 compiling C++ code.
56391 2011-10-14 Andreas Schwab <schwab@redhat.com>
56393 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56395 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56397 2011-10-13 Roland McGrath <roland@hack.frob.com>
56400 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56402 2011-10-13 Andreas Schwab <schwab@redhat.com>
56404 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56405 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56408 * sysdeps/x86_64/memrchr.S: Check for zero size.
56410 * string/stratcliff.c: Add memrchr tests.
56412 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56415 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56416 rawmemchr-sse2 rawmemchr-sse2-bsf.
56417 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56418 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56419 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56420 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56421 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56422 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56423 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56424 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56425 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56426 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56427 * string/memrchr.c (MEMRCHR): New macro.
56429 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56431 Add integration with gcc's -ffinite-math-only and optimize wrapper
56433 * Versions.def: Define GLIBC_2.15 version for libm.
56434 * math/Makefile (headers): Add bits/math-finite.h.
56435 * math/bits/math-finite.h: New file.
56436 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56437 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56438 * math/e_acoshl.c: Add __*_finite alias.
56439 * math/e_acosl.c: Likewise.
56440 * math/e_asinl.c: Likewise.
56441 * math/e_atan2l.c: Likewise.
56442 * math/e_atanhl.c: Likewise.
56443 * math/e_coshl.c: Likewise.
56444 * math/e_exp10.c: Likewise.
56445 * math/e_exp10f.c: Likewise.
56446 * math/e_exp10l.c: Likewise.
56447 * math/e_exp2l.c: Likewise.
56448 * math/e_fmodl.c: Likewise.
56449 * math/e_gammal_r.c: Likewise.
56450 * math/e_hypotl.c: Likewise.
56451 * math/e_j0l.c: Likewise.
56452 * math/e_j1l.c: Likewise.
56453 * math/e_jnl.c: Likewise.
56454 * math/e_lgammal_r.c: Likewise.
56455 * math/e_log10l.c: Likewise.
56456 * math/e_log2l.c: Likewise.
56457 * math/e_logl.c: Likewise.
56458 * math/e_powl.c: Likewise.
56459 * math/e_sinhl.c: Likewise.
56460 * math/e_sqrtl.c: Likewise.
56461 * math/e_scalb.c: Completely rewritten and optimized.
56462 * math/e_scalbf.c: Likewise.
56463 * math/e_scalbl.c: Likewise.
56464 * math/w_acos.c: Likewise.
56465 * math/w_acosf.c: Likewise.
56466 * math/w_acosl.c: Likewise.
56467 * math/w_acosh.c: Likewise.
56468 * math/w_acoshf.c: Likewise.
56469 * math/w_acoshl.c: Likewise.
56470 * math/w_asin.c: Likewise.
56471 * math/w_asinf.c: Likewise.
56472 * math/w_asinl.c: Likewise.
56473 * math/w_atan2.c: Likewise.
56474 * math/w_atan2f.c: Likewise.
56475 * math/w_atan2l.c: Likewise.
56476 * math/w_atanh.c: Likewise.
56477 * math/w_atanhf.c: Likewise.
56478 * math/w_atanhl.c: Likewise.
56479 * math/w_exp10.c: Likewise.
56480 * math/w_exp10f.c: Likewise.
56481 * math/w_exp10l.c: Likewise.
56482 * math/w_fmod.c: Likewise.
56483 * math/w_fmodf.c: Likewise.
56484 * math/w_fmodl.c: Likewise.
56485 * math/w_j0.c: Likewise.
56486 * math/w_j0f.c: Likewise.
56487 * math/w_j0l.c: Likewise.
56488 * math/w_j1.c: Likewise.
56489 * math/w_j1f.c: Likewise.
56490 * math/w_j1l.c: Likewise.
56491 * math/w_jn.c: Likewise.
56492 * math/w_jnf.c: Likewise.
56493 * math/w_log.c: Likewise.
56494 * math/w_logf.c: Likewise.
56495 * math/w_logl.c: Likewise.
56496 * math/w_log10.c: Likewise.
56497 * math/w_log10f.c: Likewise.
56498 * math/w_log10l.c: Likewise.
56499 * math/w_log2.c: Likewise.
56500 * math/w_log2f.c: Likewise.
56501 * math/w_log2l.c: Likewise.
56502 * math/w_pow.c: Likewise.
56503 * math/w_powf.c: Likewise.
56504 * math/w_powl.c: Likewise.
56505 * math/w_remainder.c: Likewise.
56506 * math/w_remainderf.c: Likewise.
56507 * math/w_remainderl.c: Likewise.
56508 * math/w_scalb.c: Likewise.
56509 * math/w_scalbf.c: Likewise.
56510 * math/w_scalbl.c: Likewise.
56511 * math/w_sqrt.c: Likewise.
56512 * math/w_sqrtf.c: Likewise.
56513 * math/w_sqrtl.c: Likewise.
56514 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56515 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56517 * math/math_private.h: Declare __kernel_standard_f.
56518 * math/w_cosh.c: Remove cruft and optimize a bit.
56519 * math/w_coshf.c: Likewise.
56520 * math/w_coshl.c: Likewise.
56521 * math/w_exp2.c: Likewise.
56522 * math/w_exp2f.c: Likewise.
56523 * math/w_exp2l.c: Likewise.
56524 * math/w_hypot.c: Likewise.
56525 * math/w_hypotf.c: Likewise.
56526 * math/w_hypotl.c: Likewise.
56527 * math/w_lgamma.c: Likewise.
56528 * math/w_lgamma_r.c: Likewise.
56529 * math/w_lgammaf.c: Likewise.
56530 * math/w_lgammaf_r.c: Likewise.
56531 * math/w_lgammal.c: Likewise.
56532 * math/w_lgammal_r.c: Likewise.
56533 * math/w_sinh.c: Likewise.
56534 * math/w_sinhf.c: Likewise.
56535 * math/w_sinhl.c: Likewise.
56536 * math/w_tgamma.c: Likewise.
56537 * math/w_tgammaf.c: Likewise.
56538 * math/w_tgammal.c: Likewise.
56539 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56540 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56541 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56542 Minor optimizations. Pretty printing. Remove cruft.
56543 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56544 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56545 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56546 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56547 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56548 * sysdeps/i386/fpu/e_asin.S: Likewise.
56549 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56550 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56551 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56552 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56553 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56554 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56555 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56556 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56557 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56558 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56559 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56560 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56561 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56562 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56563 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56564 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56565 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56566 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56567 * sysdeps/i386/fpu/e_log.S: Likewise.
56568 * sysdeps/i386/fpu/e_log10.S: Likewise.
56569 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56570 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56571 * sysdeps/i386/fpu/e_log2.S: Likewise.
56572 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56573 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56574 * sysdeps/i386/fpu/e_logf.S: Likewise.
56575 * sysdeps/i386/fpu/e_logl.S: Likewise.
56576 * sysdeps/i386/fpu/e_pow.S: Likewise.
56577 * sysdeps/i386/fpu/e_powf.S: Likewise.
56578 * sysdeps/i386/fpu/e_powl.S: Likewise.
56579 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56580 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56581 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56583 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56584 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56585 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56586 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56587 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56591 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56592 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56593 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56594 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56595 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56602 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56604 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56605 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56606 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56608 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56609 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56610 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56611 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56612 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56613 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56614 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56615 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56616 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56617 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56619 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56622 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56623 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56624 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56625 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56626 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56627 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56628 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56629 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56630 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56631 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56632 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56633 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56634 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56635 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56636 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56637 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56638 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56639 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56640 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56642 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56643 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56644 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56645 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56646 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56647 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56648 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56656 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56658 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56659 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56660 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56662 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56663 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56664 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56665 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56666 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56667 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56668 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56669 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56670 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56671 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56672 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56673 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56674 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56675 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56676 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56677 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56678 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56679 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56680 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56681 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56682 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56683 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56684 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56685 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56686 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56687 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56688 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56689 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56690 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56691 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56692 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56694 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56696 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56697 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56698 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56699 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56700 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56701 (__isnanf): Likewise.
56702 (__isinf_ns): Likewise.
56703 (__isinf_nsf): Likewise.
56704 (__finite): Likewise.
56705 (__finitef): Likewise.
56706 (__ieee754_sqrt): Define as macro.
56707 (__ieee754_sqrtf): Define as macro.
56708 (__ieee754_sqrtl): Define as macro.
56709 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56711 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56712 __FINITE_MATH_ONLY__ consistent.
56713 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56715 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56717 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56720 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56722 2011-10-09 Ulrich Drepper <drepper@gmail.com>
56724 * po/ja.po: Update from translation team.
56726 2011-10-08 Roland McGrath <roland@hack.frob.com>
56728 * locale/programs/locarchive.c (prepare_address_space): New function.
56729 (create_archive, enlarge_archive, open_archive): Use it.
56731 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56732 inside [SHARED], where it is used.
56734 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56736 * nss/getent.c (netgroup_keys): Remove unused variable.
56737 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56739 2011-10-08 Ulrich Drepper <drepper@gmail.com>
56741 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56742 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56745 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56746 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56747 * math/Makefile (libm-calls): Add s_isinf_ns.
56748 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56749 * math/multc3.c: Likewise.
56750 * math/s_casin.c: Likewise.
56751 * math/s_casinf.c: Likewise.
56752 * math/s_casinl.c: Likewise.
56753 * math/s_ccos.c: Likewise.
56754 * math/s_ccosf.c: Likewise.
56755 * math/s_ccosl.c: Likewise.
56756 * math/s_ctan.c: Likewise.
56757 * math/s_ctanf.c: Likewise.
56758 * math/s_ctanh.c: Likewise.
56759 * math/s_ctanhf.c: Likewise.
56760 * math/s_ctanhl.c: Likewise.
56761 * math/s_ctanl.c: Likewise.
56762 * math/w_fmod.c: Likewise.
56763 * math/w_fmodf.c: Likewise.
56764 * math/w_fmodl.c: Likewise.
56765 * math/w_remainder.c: Likewise.
56766 * math/w_remainderf.c: Likewise.
56767 * math/w_remainderl.c: Likewise.
56768 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56769 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56770 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56772 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56773 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56774 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56775 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56777 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56779 * stdio-common/printf_fphex.c: Likewise.
56780 * stdio-common/printf_size.c: Likewise.
56782 * math/e_exp10.c: Include math_private.h using <...> not "...".
56783 * math/e_exp10f.c: Likewise.
56784 * math/e_exp10l.c: Likewise.
56785 * math/e_exp2l.c: Likewise.
56786 * math/e_j0l.c: Likewise.
56787 * math/e_j1l.c: Likewise.
56788 * math/e_jnl.c: Likewise.
56789 * math/e_lgammal_r.c: Likewise.
56790 * math/e_rem_pio2l.c: Likewise.
56791 * math/e_scalb.c: Likewise.
56792 * math/e_scalbf.c: Likewise.
56793 * math/e_scalbl.c: Likewise.
56794 * math/k_cosl.c: Likewise.
56795 * math/k_sinl.c: Likewise.
56796 * math/k_tanl.c: Likewise.
56797 * math/s_cacoshf.c: Likewise.
56798 * math/s_catan.c: Likewise.
56799 * math/s_catanf.c: Likewise.
56800 * math/s_catanh.c: Likewise.
56801 * math/s_catanhf.c: Likewise.
56802 * math/s_catanhl.c: Likewise.
56803 * math/s_catanl.c: Likewise.
56804 * math/s_ccosh.c: Likewise.
56805 * math/s_ccoshf.c: Likewise.
56806 * math/s_ccoshl.c: Likewise.
56807 * math/s_cexp.c: Likewise.
56808 * math/s_cexpf.c: Likewise.
56809 * math/s_cexpl.c: Likewise.
56810 * math/s_clog.c: Likewise.
56811 * math/s_clog10.c: Likewise.
56812 * math/s_clog10f.c: Likewise.
56813 * math/s_clog10l.c: Likewise.
56814 * math/s_clogf.c: Likewise.
56815 * math/s_clogl.c: Likewise.
56816 * math/s_csin.c: Likewise.
56817 * math/s_csinf.c: Likewise.
56818 * math/s_csinh.c: Likewise.
56819 * math/s_csinhf.c: Likewise.
56820 * math/s_csinhl.c: Likewise.
56821 * math/s_csinl.c: Likewise.
56822 * math/s_csqrt.c: Likewise.
56823 * math/s_csqrtf.c: Likewise.
56824 * math/s_csqrtl.c: Likewise.
56825 * math/s_ctan.c: Likewise.
56826 * math/s_ctanf.c: Likewise.
56827 * math/s_ctanh.c: Likewise.
56828 * math/s_ctanhf.c: Likewise.
56829 * math/s_ctanhl.c: Likewise.
56830 * math/s_ctanl.c: Likewise.
56831 * math/s_ldexp.c: Likewise.
56832 * math/s_ldexpf.c: Likewise.
56833 * math/s_ldexpl.c: Likewise.
56834 * math/s_significand.c: Likewise.
56835 * math/s_significandf.c: Likewise.
56836 * math/s_significandl.c: Likewise.
56837 * math/w_acos.c: Likewise.
56838 * math/w_acosf.c: Likewise.
56839 * math/w_acosh.c: Likewise.
56840 * math/w_acoshf.c: Likewise.
56841 * math/w_acoshl.c: Likewise.
56842 * math/w_acosl.c: Likewise.
56843 * math/w_asin.c: Likewise.
56844 * math/w_asinf.c: Likewise.
56845 * math/w_asinl.c: Likewise.
56846 * math/w_atan2.c: Likewise.
56847 * math/w_atan2f.c: Likewise.
56848 * math/w_atan2l.c: Likewise.
56849 * math/w_atanh.c: Likewise.
56850 * math/w_atanhf.c: Likewise.
56851 * math/w_atanhl.c: Likewise.
56852 * math/w_cosh.c: Likewise.
56853 * math/w_coshf.c: Likewise.
56854 * math/w_coshl.c: Likewise.
56855 * math/w_dremf.c: Likewise.
56856 * math/w_exp10.c: Likewise.
56857 * math/w_exp10f.c: Likewise.
56858 * math/w_exp10l.c: Likewise.
56859 * math/w_exp2.c: Likewise.
56860 * math/w_exp2f.c: Likewise.
56861 * math/w_fmod.c: Likewise.
56862 * math/w_fmodf.c: Likewise.
56863 * math/w_fmodl.c: Likewise.
56864 * math/w_hypot.c: Likewise.
56865 * math/w_hypotf.c: Likewise.
56866 * math/w_hypotl.c: Likewise.
56867 * math/w_j0.c: Likewise.
56868 * math/w_j0f.c: Likewise.
56869 * math/w_j0l.c: Likewise.
56870 * math/w_j1.c: Likewise.
56871 * math/w_j1f.c: Likewise.
56872 * math/w_j1l.c: Likewise.
56873 * math/w_jn.c: Likewise.
56874 * math/w_jnf.c: Likewise.
56875 * math/w_jnl.c: Likewise.
56876 * math/w_lgamma.c: Likewise.
56877 * math/w_lgamma_r.c: Likewise.
56878 * math/w_lgammaf.c: Likewise.
56879 * math/w_lgammaf_r.c: Likewise.
56880 * math/w_lgammal.c: Likewise.
56881 * math/w_lgammal_r.c: Likewise.
56882 * math/w_log.c: Likewise.
56883 * math/w_log10.c: Likewise.
56884 * math/w_log10f.c: Likewise.
56885 * math/w_log10l.c: Likewise.
56886 * math/w_log2.c: Likewise.
56887 * math/w_log2f.c: Likewise.
56888 * math/w_log2l.c: Likewise.
56889 * math/w_logf.c: Likewise.
56890 * math/w_logl.c: Likewise.
56891 * math/w_pow.c: Likewise.
56892 * math/w_powf.c: Likewise.
56893 * math/w_powl.c: Likewise.
56894 * math/w_remainder.c: Likewise.
56895 * math/w_remainderf.c: Likewise.
56896 * math/w_remainderl.c: Likewise.
56897 * math/w_scalb.c: Likewise.
56898 * math/w_scalbf.c: Likewise.
56899 * math/w_scalbl.c: Likewise.
56900 * math/w_sinh.c: Likewise.
56901 * math/w_sinhf.c: Likewise.
56902 * math/w_sinhl.c: Likewise.
56903 * math/w_sqrt.c: Likewise.
56904 * math/w_sqrtf.c: Likewise.
56905 * math/w_sqrtl.c: Likewise.
56906 * math/w_tgamma.c: Likewise.
56907 * math/w_tgammaf.c: Likewise.
56908 * math/w_tgammal.c: Likewise.
56910 * po/ja.po: Update from translation team.
56912 2011-09-29 Andreas Jaeger <aj@suse.de>
56915 * sunrpc/netname.c (netname2host): Fix logic.
56919 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56921 * math/w_remainder.c (__remainder): Likewise.
56922 * math/w_remainderf.c (__remainderf): Likewise.
56923 * math/libm-test.inc (remainder_test): Add test cases.
56925 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56927 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
56930 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56932 * string/test-memcmp.c: Avoid unncessary #defines.
56933 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56935 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56937 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56938 Use new sse2 version for core i3 - i7 as it's faster
56939 than sse42 version.
56940 (bit_Prefer_PMINUB_for_stringop): New.
56941 * sysdeps/x86_64/rawmemchr.S: Update.
56942 Replace with faster SSE2 version.
56943 * sysdeps/x86_64/memrchr.S: New file.
56944 * sysdeps/x86_64/memchr.S: Update.
56945 Replace with faster SSE2 version.
56947 2011-09-12 Marek Polacek <mpolacek@redhat.com>
56949 * elf/dl-load.c (lose): Add cast to avoid warning.
56951 2011-10-07 Ulrich Drepper <drepper@gmail.com>
56953 * po/ca.po: Update from translation team.
56955 * inet/getnetgrent_r.c: Hook up nscd.
56956 * nscd/Makefile (routines): Add nscd_netgroup.
56957 (nscd-modules): Add netgroupcache.
56958 (CFLAGS-netgroupcache.c): Define.
56959 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56960 (cache_search): Add const to second parameter.
56961 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56963 (dbs): Add netgrdb entry.
56964 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56965 (verify_persistent_db): Handle netgrdb.
56966 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56967 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56969 (netgroup_response_header): Define.
56970 (innetgroup_response_header): Define.
56971 (datahead): Add netgroup_response_header and innetgroup_response_header
56973 * nscd/nscd.conf: Add entries for netgroup cache.
56974 * nscd/nscd.h (dbtype): Add netgrdb.
56975 (_PATH_NSCD_NETGROUP_DB): Define.
56976 (netgroup_iov_disabled): Declare.
56977 (xmalloc, xcalloc, xrealloc): Move declarations here.
56978 (cache_search): Adjust prototype.
56979 Add netgroup-related prototypes.
56980 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56981 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56982 (__nscd_innetgr): Declare.
56983 * nscd/selinux.c (perms): Use access_vector_t as element type and
56984 add netgroup-related initializers.
56985 * nscd/netgroupcache.c: New file.
56986 * nscd/nscd_netgroup.c: New file.
56987 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56988 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56989 For four parameters use innetgr.
56990 * nss/nss_files/files-init.c: Add definition and callback for netgr.
56991 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56992 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56993 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56995 * nscd/connections.c (register_traced_file): Don't register file
56996 for disabled databases.
56998 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57000 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57002 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57003 from tree and freeing node.
57005 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57007 * nss/nsswitch.c (__nss_database_lookup): Handle
57008 nss_parse_service_list out of memory case.
57010 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57012 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57013 out of memory case.
57015 2011-10-04 Andreas Schwab <schwab@redhat.com>
57017 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57018 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57020 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57021 elf_machine_rela, elf_machine_lazy_rel.
57022 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57023 (ELF_DYNAMIC_DO_REL): Likewise.
57024 (ELF_DYNAMIC_DO_RELA): Likewise.
57025 (ELF_DYNAMIC_RELOCATE): Likewise.
57026 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57027 to ELF_DYNAMIC_DO_REL.
57028 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57029 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57030 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57032 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57033 skip_ifunc, don't call ifunc function if non-zero.
57034 (elf_machine_rela): Likewise.
57035 (elf_machine_lazy_rel): Likewise.
57036 (elf_machine_lazy_rela): Likewise.
57037 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57038 (elf_machine_lazy_rel): Likewise.
57039 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57041 (elf_machine_lazy_rel): Likewise.
57042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57044 (elf_machine_lazy_rel): Likewise.
57045 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57046 (elf_machine_lazy_rel): Likewise.
57047 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57048 (elf_machine_lazy_rel): Likewise.
57049 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57050 (elf_machine_lazy_rel): Likewise.
57051 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57052 (elf_machine_lazy_rel): Likewise.
57053 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57054 (elf_machine_lazy_rel): Likewise.
57055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57056 (elf_machine_lazy_rel): Likewise.
57058 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57060 * nss/nss_files/files-init.c (_nss_files_init): Use static
57061 initialization for all the *_traced_file variables.
57063 2011-09-28 Andreas Schwab <schwab@redhat.com>
57065 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57067 2011-09-27 Roland McGrath <roland@hack.frob.com>
57070 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57072 2011-09-27 Andreas Schwab <schwab@redhat.com>
57074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57075 Reread the line before reparsing it.
57077 2011-09-26 Andreas Schwab <schwab@redhat.com>
57079 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57081 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57082 Maxim Kuvyrkov <maxim@codesourcery.com>
57083 Joseph Myers <joseph@codesourcery.com>
57085 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57086 if needed for __stack_chk_guard.
57088 2011-09-19 Roland McGrath <roland@hack.frob.com>
57090 * sysdeps/posix/spawni.c (script_execute): Always define it.
57091 It will be optimized away if unused.
57092 (maybe_script_execute): New function.
57093 (__spawni): Call it.
57095 * Makerules: Don't include tls.make.
57096 (config-tls): Always set to thread.
57097 * tls.make.c: File removed.
57099 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57101 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57102 * config.make.in (CPPFLAGS-config): New substituted variable.
57104 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57109 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57110 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57112 2011-09-15 Roland McGrath <roland@hack.frob.com>
57114 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57115 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57117 (CALL_FAIL): Likewise.
57118 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57119 (CALL_FAIL): Macro removed.
57120 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57122 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57124 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57125 for __FINITE_MATH_ONLY__ == 1.
57127 2011-09-15 Andreas Schwab <schwab@redhat.com>
57129 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57130 __ieee754_sqrt instead of sqrt.
57131 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57132 __ieee754_sqrtf instead of sqrtf.
57133 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57134 __floorf instead of floorf.
57135 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57136 __floorf, __truncf instead of floorf, truncf.
57138 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57140 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57142 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57143 __extern_always_inline.
57144 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57147 2011-09-14 Andreas Schwab <schwab@redhat.com>
57149 * elf/rtld.c (dl_main): Also relocate in dependency order when
57150 doing symbol dependency testing.
57152 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57154 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57155 Always define `refsym'.
57157 2011-09-13 Andreas Schwab <schwab@redhat.com>
57159 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57160 (__FD_ELT): Renamed from __FDELT.
57161 * misc/bits/select2.h (__FD_ELT): Likewise.
57162 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57163 __FD_MASK instead of __FDELT, __FDMASK.
57164 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57166 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57169 * elf/Makefile (gen-ldd): Fix pattern.
57171 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57172 (init_tls): Likewise.
57174 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57176 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57178 2011-09-12 Andreas Schwab <schwab@redhat.com>
57180 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57181 `struct cmsghdr *' instead of `void *'.
57182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57185 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57187 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57189 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57190 ldd_rewrite_script.
57192 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57194 * configure.in: Remove --with-tls option.
57195 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57196 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57197 out in case it is missing.
57198 * sysdeps/ia64/elf/configure.in: Likewise.
57199 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57200 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57201 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57202 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57203 * sysdeps/sh/elf/configure.in: Likewise.
57204 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57205 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57206 * sysdeps/x86_64/elf/configure.in: Likewise.
57207 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57208 * sysdeps/mach/hurd/tls.h: Likewise.
57211 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57214 * configure.in: Fix use of AC_INIT.
57216 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57218 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57220 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57222 * malloc/hooks.c: Likewise.
57225 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57226 variables statically.
57227 (narenas): Initialize.
57228 (list_lock): Initialize.
57229 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57230 initializtion of main_arena and list_lock. Small cleanups.
57231 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57232 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57233 Add initializers to main_arena and mp_.
57234 (malloc_state): Remove pagesize member. Change all users to use
57237 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57238 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57239 is always initialized.
57241 * malloc/malloc.c: Removed unused configurations and dead code.
57242 * malloc/arena.c: Likewise.
57243 * malloc/hooks.c: Likewise.
57244 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57246 * include/tls.h: Removed. USE___THREAD must always be defined.
57247 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57248 * elf/dl-libc.c: Likewise.
57249 * elf/dl-tsd.c: Likewise.
57250 * include/errno.h: Likewise.
57251 * include/netdb.h: Likewise.
57252 * include/resolv.h: Likewise.
57253 * inet/herrno-loc.c: Likewise.
57254 * inet/herrno.c: Likewise.
57255 * malloc/arena.c: Likewise.
57256 * malloc/hooks.c: Likewise.
57257 * malloc/malloc.c: Likewise.
57258 * resolv/res-state.c: Likewise.
57259 * resolv/res_libc.c: Likewise.
57260 * sysdeps/i386/dl-machine.h: Likewise.
57261 * sysdeps/ia64/dl-machine.h: Likewise.
57262 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57263 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57264 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57265 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57266 * sysdeps/sh/dl-machine.h: Likewise.
57267 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57268 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57269 * sysdeps/unix/i386/sysdep.S: Likewise.
57270 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57271 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57274 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57276 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57280 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57281 * sysdeps/x86_64/dl-machine.h: Likewise.
57282 * tls.make.c: Likewise.
57284 * configure.in: Remove --with-__thread option. Make tests for
57285 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57286 tls_model attribute fail if no support is available. Remove
57288 * Makeconfig: Adjust for dropped configure option. All features are
57290 * Makerules: Likewise.
57291 * Versions.def: Likewise.
57292 * argp/argp-fmtstream.c: Likewise.
57293 * argp/argp-fmtstream.h: Likewise.
57294 * argp/argp-help.c: Likewise.
57295 * assert/assert.c: Likewise.
57296 * config.h.in: Likewise.
57297 * config.make.in: Likewise.
57298 * configure: Likewise.
57299 * configure.in: Likewise.
57300 * csu/Versions: Likewise.
57301 * csu/init.c: Likewise.
57302 * elf/tst-audit2.c: Likewise.
57303 * elf/tst-tls10.c: Likewise.
57304 * elf/tst-tls10.h: Likewise.
57305 * elf/tst-tls11.c: Likewise.
57306 * elf/tst-tls12.c: Likewise.
57307 * elf/tst-tls14.c: Likewise.
57308 * elf/tst-tlsmod11.c: Likewise.
57309 * elf/tst-tlsmod12.c: Likewise.
57310 * elf/tst-tlsmod13.c: Likewise.
57311 * elf/tst-tlsmod13a.c: Likewise.
57312 * elf/tst-tlsmod14a.c: Likewise.
57313 * elf/tst-tlsmod15b.c: Likewise.
57314 * elf/tst-tlsmod16a.c: Likewise.
57315 * elf/tst-tlsmod16b.c: Likewise.
57316 * elf/tst-tlsmod7.c: Likewise.
57317 * elf/tst-tlsmod8.c: Likewise.
57318 * elf/tst-tlsmod9.c: Likewise.
57319 * gmon/gmon.c: Likewise.
57320 * grp/fgetgrent_r.c: Likewise.
57321 * grp/putgrent.c: Likewise.
57322 * hurd/fopenport.c: Likewise.
57323 * include/libc-symbols.h: Likewise.
57324 * include/tls.h: Likewise.
57325 * intl/gettextP.h: Likewise.
57326 * intl/loadinfo.h: Likewise.
57327 * locale/global-locale.c: Likewise.
57328 * locale/localeinfo.h: Likewise.
57329 * mach/devstream.c: Likewise.
57330 * malloc/arena.c: Likewise.
57331 * malloc/set-freeres.c: Likewise.
57332 * misc/err.c: Likewise.
57333 * misc/getttyent.c: Likewise.
57334 * misc/mntent_r.c: Likewise.
57335 * posix/getopt.c: Likewise.
57336 * posix/wordexp.c: Likewise.
57337 * pwd/fgetpwent_r.c: Likewise.
57338 * resolv/Versions: Likewise.
57339 * resolv/res_hconf.c: Likewise.
57340 * shadow/fgetspent_r.c: Likewise.
57341 * shadow/putspent.c: Likewise.
57342 * stdio-common/printf_fphex.c: Likewise.
57343 * stdio-common/tmpfile.c: Likewise.
57344 * stdlib/abort.c: Likewise.
57345 * stdlib/fmtmsg.c: Likewise.
57346 * sunrpc/auth_unix.c: Likewise.
57347 * sunrpc/clnt_perr.c: Likewise.
57348 * sunrpc/clnt_tcp.c: Likewise.
57349 * sunrpc/clnt_udp.c: Likewise.
57350 * sunrpc/clnt_unix.c: Likewise.
57351 * sunrpc/openchild.c: Likewise.
57352 * sunrpc/svc_simple.c: Likewise.
57353 * sunrpc/svc_tcp.c: Likewise.
57354 * sunrpc/svc_udp.c: Likewise.
57355 * sunrpc/svc_unix.c: Likewise.
57356 * sunrpc/xdr.c: Likewise.
57357 * sunrpc/xdr_array.c: Likewise.
57358 * sunrpc/xdr_rec.c: Likewise.
57359 * sunrpc/xdr_ref.c: Likewise.
57360 * sunrpc/xdr_stdio.c: Likewise.
57362 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57364 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57366 2011-07-03 Andreas Jaeger <aj@suse.de>
57368 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57369 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57370 regenerate with gen-libm-tests.pl.
57372 2010-05-12 Petr Baudis <pasky@suse.cz>
57375 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57376 around j0() zero points by switching to j1().
57377 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57378 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57382 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57384 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57386 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57389 Patch in part by Pavel Roskin <proski@gnu.org>.
57392 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57394 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57395 Free memory block if necessary.
57398 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57399 be NULL. Don't lock in this case.
57401 2011-09-09 Roland McGrath <roland@hack.frob.com>
57403 * elf/elf.h (ELFOSABI_GNU): New macro.
57404 (ELFOSABI_LINUX): Define to that.
57406 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57408 * string/strncat.c (strncat): Undef the symbol in case it has been
57409 defined in bits/string.h.
57411 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57413 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57415 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57418 2011-08-17 Andreas Jaeger <aj@suse.de>
57420 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57422 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57423 Ian Lance Taylor <iant@google.com>
57425 * math/libm-test.inc (lround_test): New testcase.
57426 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57428 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57430 * Makefile: Remove support for automatic cvs check-ins.
57431 * Makerules: Likewise.
57432 * config.make.in: Likewise.
57433 * configure.in: Likewise.
57434 * intl/Makefile: Likewise.
57435 * locale/Makefile: Likewise.
57436 * po/Makefile: Likewise.
57437 * posix/Makefile: Likewise.
57438 * sysdeps/gnu/Makefile: Likewise.
57439 * sysdeps/mach/hurd/Makefile: Likewise.
57440 * sysdeps/sparc/sparc32/Makefile: Likewise.
57443 * posix/Makefile (bug-regex32-ENV): Define.
57444 Patch by John Stanley <jpsinthemix@verizon.net>.
57446 * misc/Makefile (headers): Add bits/select2.h.
57447 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57448 * misc/bits/select2.h: New file.
57449 * include/bits/select2.h: New file.
57450 * debug/Makefile (routines): Add fdelt_chk.
57451 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57452 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57454 * debug/fdelt_chk.c: New file.
57456 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57457 * wcsmbs/test-wmemcmp.c: Likewise.
57458 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57459 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57461 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57463 * string/Makefile (strop-tests): Add memcmp.
57464 * string/test-wmemcmp.c: New file.
57465 * string/test-memcmp.c: Add wmemcmp support.
57467 2011-09-08 Roland McGrath <roland@hack.frob.com>
57470 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57473 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57474 garbage value in a __mach_port_mod_refs call in the cases of the
57475 task-self and thread-self ports.
57477 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57479 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57481 2011-09-08 Andreas Schwab <schwab@redhat.com>
57483 * elf/dl-load.c (lose): Check for non-null L.
57485 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57487 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57489 * elf/dl-libc.c (dlerror_run): Pass back error code from
57493 * elf/dl-load.c (lose): Free l_origin if it is valid.
57495 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57497 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57498 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57499 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57501 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57502 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57504 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57506 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57507 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57508 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57509 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57510 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57511 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57512 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57513 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57514 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57515 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57517 2011-08-15 Alan Modra <amodra@gmail.com>
57520 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57521 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57522 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57523 ppc_mcount to static-only-routines.
57524 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57526 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57527 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57529 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57531 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57532 for finite and infinity parameters.
57534 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57537 and add nop instructions for throughput optimization.
57538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57540 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57542 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57543 aligned copy for power7 with vector-scalar instructions.
57544 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57546 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57551 2011-09-07 Andreas Schwab <schwab@redhat.com>
57554 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57557 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57559 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57560 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57561 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57565 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57568 Forgot to demangle the pointer.
57570 * sysdeps/i386/sysdep.h: Define atom_text_section.
57571 * sysdeps/x86_64/sysdep.h: Likewise.
57572 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57573 section with atom_text_section.
57574 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57575 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57576 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57578 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57580 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57581 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57582 already be defined. Change to take two parameters and don't assign
57583 result to variable. Adjust all users.
57584 Define INTERNAL_GETTIME if not already defined.
57585 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57588 HAVE_CLOCK_GETTIME_VSYSCALL.
57589 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57592 gettimeofday vsyscall, just use time.
57594 2011-09-06 Andreas Schwab <schwab@redhat.com>
57596 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57599 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57601 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57605 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57606 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57607 syscall if possible.
57609 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57611 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57612 e_ident. Don't pass to find_mapsXX.
57613 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57615 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57618 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57619 * sysdeps/x86_64/multiarch/strchr.S: Update.
57620 Check bit_slow_BSF bit.
57621 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57622 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57623 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57625 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57628 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57630 (tryshell): Define.
57631 (__spawni): Change last parameter to be flag. Test
57632 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57633 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57634 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57635 * posix/spawni.c: Likewise.
57636 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57637 * posix/spawnp.c: Likewise. Change normal version to use
57638 SPAWN_XFLAGS_USE_PATH.
57639 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57640 SPAWN_XFLAGS_TRY_SHELL.
57643 * posix/glob.h: Remove gcc 1.x support.
57646 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57648 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57651 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57653 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57654 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57655 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57656 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57657 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57658 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57660 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57662 * sysdeps/x86_64/wcscmp.S: New file.
57664 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57665 wcscmp-c wcscmp-sse2
57666 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57667 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57668 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57669 * wcsmbs/wcscmp.c: Allow renaming.
57671 2011-09-05 David S. Miller <davem@davemloft.net>
57673 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57674 stack slot, rather than the struct return pointer slot.
57675 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57676 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57678 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57680 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57682 * po/ja.po: Update from translation team.
57685 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57686 kernel in 64-bit binaries.
57688 2011-09-01 David S. Miller <davem@davemloft.net>
57690 * elf/elf.h (HWCAP_SPARC_*): Move to..
57691 * sysdeps/sparc/sysdep.h: this new file and add new values.
57692 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57693 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57694 _DL_HWCAP_COUNT to 24.
57695 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57697 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57698 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57699 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57701 instead of magic constants.
57702 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57704 2011-08-31 David S. Miller <davem@davemloft.net>
57706 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57708 Reimplement to do errno handling inline.
57709 (SYSCALL_ERROR_HANDLER): New macro.
57710 (__SYSCALL_STRING): Do not do errno handling in asm.
57711 (__CLONE_SYSCALL_STRING): Delete.
57712 (__INTERNAL_SYSCALL_STRING): Delete.
57713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57714 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57715 (PSEUDO): Reimplement to do errno handling inline.
57716 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57717 (SYSCALL_ERROR_HANDLER): New macro.
57718 (__SYSCALL_STRING): Do not do errno handling in asm.
57719 (__CLONE_SYSCALL_STRING): Delete.
57720 (__INTERNAL_SYSCALL_STRING): Delete.
57721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57722 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57724 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57725 (inline_syscall*): Add 'err' argument.
57726 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57727 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57728 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57729 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57731 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57732 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57734 2011-08-30 Andreas Schwab <schwab@redhat.com>
57736 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57738 2011-08-29 Jiri Olsa <jolsa@redhat.com>
57740 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57743 2011-08-24 David S. Miller <davem@davemloft.net>
57745 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57747 2011-08-24 Andreas Schwab <schwab@redhat.com>
57749 * elf/Makefile: Add rules to build and run unload8 test.
57750 * elf/unload8.c: New file.
57751 * elf/unload8mod1.c: New file.
57752 * elf/unload8mod1x.c: New file.
57753 * elf/unload8mod2.c: New file.
57754 * elf/unload8mod3.c: New file.
57756 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57759 2011-08-23 David S. Miller <davem@davemloft.net>
57761 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57762 subtract stack bias.
57763 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57764 %sp not %fp in calculations.
57765 (_JMPBUF_UNWINDS_ADJ): Likewise.
57767 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57768 (aio_suspend): Call it to force an exception region around the
57769 AIO_MISC_WAIT() invocation.
57771 2011-08-23 Andreas Schwab <schwab@redhat.com>
57773 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57776 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
57778 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57780 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57781 and <dl-machine.h>.
57782 (Elf64_FuncDesc): Remove.
57784 2011-08-22 David S. Miller <davem@davemloft.net>
57786 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57787 sigaltstack check, add missing cfi directives.
57788 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57789 missing cfi directives, and sigaltstack handling.
57791 2011-08-16 Andreas Schwab <schwab@redhat.com>
57794 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57795 object is seen twice.
57796 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57798 * elf/Makefile (distribute): Add tst-initorder2.c.
57799 (tests): Add tst-initorder2.
57800 (modules-names): Add tst-initorder2a tst-initorder2b
57801 tst-initorder2c tst-initorder2d. Add rules to build them.
57802 ($(objpfx)tst-initorder2.out): New rule.
57803 * elf/tst-initorder2.c: New file.
57804 * elf/tst-initorder2.exp: New file.
57806 2011-08-22 Andreas Schwab <schwab@redhat.com>
57808 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57810 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57811 dependencies back to end of function.
57813 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57814 $(elfobjdir)/ld.so.
57816 2011-08-21 Ulrich Drepper <drepper@gmail.com>
57818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57819 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57820 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57821 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57822 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57823 of __vdso_gettimeofday.
57824 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57825 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
57827 (_libc_vdso_platform_setup): Remove initialization of
57828 __vdso_gettimeofday and __vdso_time.
57830 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57832 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57833 and fgetc_unlocked.
57834 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57837 * elf/dl-open.c (add_to_global): Report additions to the global scope
57838 for LD_DEBUG=scopes.
57839 (dl_open_worker): Also print scope of newly loaded dependencies.
57840 (_dl_show_scope): Indicate if there is no scope.
57843 * stdio-common/Makefile (tests): Add bug24.
57844 * stdio-common/bug24.c: New file.
57846 2011-08-19 Andreas Jaeger <aj@suse.de>
57849 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57850 non-existant file when using close-on-exec mode.
57852 2011-08-20 Ulrich Drepper <drepper@gmail.com>
57854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57855 the very first instruction.
57857 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57858 the CFI state in the end.
57859 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57860 inclusion of dl-trampoline.h.
57861 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57863 2011-08-19 Andreas Schwab <schwab@redhat.com>
57865 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57866 expectations for long double.
57868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57869 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57871 2011-08-14 David S. Miller <davem@davemloft.net>
57873 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57874 artificual limit depends upon the system page size.
57876 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57878 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57879 * resolv/Makefile: Define CFLAGS-libresolv.
57881 2011-08-17 Andreas Schwab <schwab@redhat.com>
57883 * nss/makedb.c (compute_tables): Make variables used in nested
57886 2011-08-17 Ulrich Drepper <drepper@gmail.com>
57888 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57889 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57890 if buffer was too small.
57892 * elf/pldd.c (main): Attach to all threads in the process.
57893 Rewrite /proc handling to use *at functions.
57895 2011-08-16 Ulrich Drepper <drepper@gmail.com>
57897 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57898 specifies first scope to show.
57899 (dl_open_worker): Update callers. Move printing scope of new
57900 object to before the relocation.
57901 * elf/rtld.c (dl_main): Update _dl_show_scope call.
57902 * sysdeps/generic/ldsodefs.h: Update declaration.
57904 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57905 string for the scope number.
57907 2011-08-14 Ulrich Drepper <drepper@gmail.com>
57909 * nscd/servicescache.c (cache_addserv): Make sure written is always
57912 2011-08-14 Roland McGrath <roland@hack.frob.com>
57914 * sysdeps/i386/i486/bits/atomic.h
57915 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57916 statement expression, so as to suppress "set but not used" warning.
57917 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57919 * string/strncat.c (STRNCAT): Use prototype definition.
57921 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57922 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57924 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57925 (localedef-modules): Add localedef.
57926 (locale-modules): Add locale.
57928 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57929 * elf/rtld.c (dl_main): Invert order of assignment in last change,
57930 to avoid a warning.
57932 2011-08-14 David S. Miller <davem@davemloft.net>
57934 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57935 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57937 2011-08-13 Ulrich Drepper <drepper@gmail.com>
57939 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57940 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57941 * elf/rtld.c (dl_main): Set l_name of vDSO.
57942 Call _dl_show_scope when DL_DEBUG_SCOPES.
57943 (process_dl_debug): Recognize scopes flag and also set it for all.
57944 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57945 Declare _dl_show_scope.
57947 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57948 (do_dlopen): Pass caller_dlopen to dl_open.
57949 (__libc_dlopen_mode): Initialize caller_dlopen.
57951 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57952 of libc. Make tolower call locale-independent. Optimize a bit by
57953 using isdigit instead of isalnum.
57954 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57956 2011-08-12 Ulrich Drepper <drepper@gmail.com>
57958 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57959 was a dependency or dynamically loaded.
57961 2011-08-11 Ulrich Drepper <drepper@gmail.com>
57963 * intl/l10nflist.c: Allow architecture-specific pop function.
57964 * sysdeps/x86_64/l10nflist.c: New file.
57966 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57969 2011-08-10 Andreas Schwab <schwab@redhat.com>
57971 * include/dirent.h: Add libc_hidden_proto for scandirat and
57972 scandirat64. Don't declare __scandirat64.
57973 * dirent/scandirat.c: Add libc_hidden_def.
57974 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57975 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57977 2011-08-10 David S. Miller <davem@davemloft.net>
57979 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57982 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57983 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57985 2011-08-09 Ulrich Drepper <drepper@gmail.com>
57987 * Versions.def [libc]: Add GLIBC_2.15.
57988 * dirent/Makefile (routines): Add scandirat and scandirat64.
57989 * dirent/Versions [libc]: Export scandirat and scandirat64 for
57991 * dirent/dirent.h: Declare scandirat and scandirat64.
57992 * dirent/scandirat.c: New file.
57993 * dirent/scandirat64.c: New file.
57994 * sysdeps/wordsize-64/scandirat.c: New file.
57995 * sysdeps/wordsize-64/scandirat64.c: New file.
57996 * dirent/opendir.c: Define opendirat.
57997 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
57999 * dirent/scandir64.c: Adjust for scandir.c change.
58000 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58001 __scandirat64, and __scandir_cancel_handler.
58002 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58003 additional parameter and use openat instead of open (outside of ld.so).
58004 Add new __opendir as wrapper around __opendirat.
58005 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58006 here without requiring old scandirat implementation.
58008 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58010 * dirent/scandir.c (cancel_handler): Renamed to
58011 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58012 defined. Adjust users.
58013 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58014 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58016 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58018 * string/test-string.h (IMPL): Use __STRING to expand name and then
58021 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58024 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58026 * string/Makefile: Update.
58027 (strop-tests): Append strncat.
58028 * string/test-wcscmp.c: New file.
58029 New comprehensive test for wcscmp.
58030 * string/test-strcmp.c: Update.
58031 (WIDE): New define.
58033 2011-07-22 Andreas Schwab <schwab@redhat.com>
58035 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58038 2011-07-26 Andreas Schwab <schwab@redhat.com>
58040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58041 encoding to ACE if AI_IDN.
58043 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58046 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58048 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58051 Fix overflow bug in strncat.
58052 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58054 * string/test-strncat.c: Update.
58055 Add new tests for checking overflow bugs.
58057 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58060 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58061 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58062 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58063 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58064 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58065 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58066 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58067 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58069 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58070 (USE_AS_STRCAT): Define.
58071 Add strcat and strncat support.
58072 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58074 2011-07-25 Andreas Schwab <schwab@redhat.com>
58076 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58077 __n bigger than INT_MAX+1.
58078 (__strncmp_g): Likewise.
58080 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58082 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58083 * libio/stido.h: Likewise.
58085 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58090 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58092 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58093 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58097 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58102 (_dl_x86_64_save_sse): Likewise.
58104 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58108 (_dl_x86_64_save_sse): Likewise.
58110 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58112 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58114 2011-07-21 Andreas Schwab <schwab@redhat.com>
58116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58118 (_dl_x86_64_save_sse): Use correct AVX check.
58120 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58122 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58123 bug in strncpy/strncat.
58124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58126 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58128 * string/tester.c (test_strcat): Add tests for different alignments
58129 of source and destination.
58130 (test_strncat): Likewise.
58132 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58135 * posix/glob.c (glob): Check passed in values before using them in
58136 expressions to avoid some overflows.
58137 (glob_in_dir): Likewise.
58140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58141 check for AVX enablement so that we don't crash with old kernels and
58143 * elf/tst-audit4.c: Add same checks here.
58144 * elf/tst-audit6.c: Likewise.
58146 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58148 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58150 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58152 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58154 * po/cs.po: Update from translation team.
58155 * po/bg.po: Likewise.
58157 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58159 * misc/sys/cdefs.h: Add support for const attribute.
58160 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58161 to gnu_dev_{major,minor,makedev} functions.
58163 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58165 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58167 2011-07-20 Andreas Schwab <schwab@redhat.com>
58169 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58172 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58175 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58176 register in order to avoid conflicts with the soft frame pointer
58177 being held in r11 when necessary.
58178 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58179 (INTERNAL_VSYSCALL_NCS): Likewise.
58181 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58183 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58184 * elf/dl-fini.c (_dl_fini): Adjust caller.
58185 * elf/dl-close.c (_dl_close_worker): Likewise.
58186 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58188 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58190 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58191 "aux_cache->nlibs < 0".
58193 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58194 in the reload-count case.
58196 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58199 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58200 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58201 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58202 * sysdeps/x86_64/multiarch/strcat.S: New file.
58203 * sysdeps/x86_64/multiarch/strncat.S: New file.
58204 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58206 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58207 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58208 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58209 (USE_AS_STRCAT): Define.
58210 Add strcat and strncat support.
58211 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58212 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58213 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58214 * string/strncat.c: Update.
58215 (USE_AS_STRNCAT): Define.
58216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58217 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58219 * sysdeps/x86_64/multiarch/init-arch.h
58220 (bit_Prefer_PMINUB_for_stringop): New.
58221 (index_Prefer_PMINUB_for_stringop): Likewise.
58222 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58223 bit_Prefer_PMINUB_for_stringop.
58225 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58227 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58229 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58230 of casting of buffer.
58231 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58232 buffer32 and buffer64.
58233 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58234 writes instead of casting of buffer.
58235 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58237 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58240 2011-07-19 Andreas Schwab <schwab@redhat.com>
58242 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58244 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58246 * nscd/nscd.c (termination_handler): Don't do anything for a database
58247 if it has not yet been initialized.
58249 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58251 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58253 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58255 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58257 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58259 * po/nl.po: Update from translation team.
58260 * po/sv.po: Likewise.
58262 2011-07-16 Roland McGrath <roland@hack.frob.com>
58264 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58265 now disallowed by GCC.
58267 * configure.in (use-default-link): Default to yes if a test -shared
58268 link meets our qualifications.
58269 * configure: Regenerated.
58271 * config.make.in (output-format): New variable.
58272 * configure.in: Check for ld --print-output-format support.
58273 * configure: Regenerated.
58274 * Makerules ($(common-objpfx)format.lds)
58275 [$(output-format) != unknown]: Just use $(output-format),
58276 instead of the linker-script munging.
58278 2011-07-14 Roland McGrath <roland@hack.frob.com>
58280 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58281 of $(common-objpfx)shlib.lds.
58282 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58284 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58285 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58287 * configure.in (-z relro check): Adjust test code to add a large
58288 writable data section after it.
58289 * configure: Regenerated.
58291 2011-07-11 Roland McGrath <roland@hack.frob.com>
58293 * configure.in (-z relro check): Fix test code to make the variable
58295 * configure: Regenerated.
58297 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58299 * nscd/nscd.h (struct traced_file): Define.
58300 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58301 elements. Add traced_files.
58302 (inotify_fd): Declare.
58303 (register_traced_file): Declare.
58304 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58305 (inotify_fd): Export.
58306 (resolv_conf_descr): Remove.
58307 (nscd_init): Move inotify descriptor creation to main.
58308 Don't register files for notification here.
58309 (register_traced_file): New function.
58310 (invalidate_cache): Don't use reset_res to determine whether to call
58311 res_init, go through the list of registered files.
58312 (main_loop_poll): The inotify descriptors are now stored in the
58313 structures for the traced files.
58314 (main_loop_epoll): Likewise
58315 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58316 to __nss_disable_nscd.
58317 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58318 for a database anymore. Check the records for all the registered
58320 * nss/Makefile (libnss_files-routines): Add files-init.
58321 (libnss_db-routines): Add db-init.
58322 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58323 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58324 * nss/nss_db/db-init.c: New file.
58325 * nss/nss_files/files-init.c: New file.
58326 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58327 __nss_lookup_function.
58328 (__nss_lookup_function): Call nss_load_library.
58329 (nss_load_all_libraries): New function.
58330 (__nss_disable_nscd): Take parameter with callback function for files
58331 to register. Set is_nscd. Load all the DSOs for the NSS modules
58332 used for the cached services.
58333 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58334 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58335 options for features to all the files in nscd.
58337 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58339 2011-07-10 Roland McGrath <roland@hack.frob.com>
58341 * csu/elf-init.c (__libc_csu_init): Comment typo.
58343 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58345 * po/pl.po: Update from translation team.
58346 * po/ja.po: Likewise.
58347 * po/ru.po: Likewise.
58348 * po/ko.po: Likewise.
58349 * po/fr.po: Likewise.
58351 2011-07-09 Roland McGrath <roland@hack.frob.com>
58353 * configure.in (.ctors/.dtors header and trailer check):
58354 Use an empirical test on a built program.
58355 * configure: Regenerated.
58357 * configure.in (-z relro check): Use an empirical test on a built DSO.
58358 Detect, but do not require, on ia64.
58359 * configure: Regenerated.
58361 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58362 Update tests that use readelf to use $READELF instead.
58363 * configure: Regenerated.
58365 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58367 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58368 if the result is not used.
58370 2011-07-05 Andreas Jaeger <aj@suse.de>
58373 * stdlib/tst-strtod.c: Add testcase.
58375 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58377 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58378 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58379 The latter has a higher limit. Take additional parameter to pass to
58381 (__pathconf): Pass file to __statfs_link_max.
58382 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58384 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58388 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58391 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58392 (__statfs_filesize_max): Likewise.
58393 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58395 2011-07-05 Andreas Jaeger <aj@suse.de>
58397 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58399 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58401 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58403 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58406 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58408 * Makefile (strop-tests): Add strncat.
58409 * string/test-strncat.c: New file.
58411 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58413 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58415 2011-06-21 Andreas Jaeger <aj@suse.de>
58417 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58418 Copy rule from iconvdata/Makefile.
58420 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58423 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58424 but no long options are defined, just return 'W'.
58426 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58429 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58431 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58433 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58435 (innetgr): Likewise.
58437 2011-07-05 Roland McGrath <roland@hack.frob.com>
58439 * config.make.in (install_root): Default to $(DESTDIR).
58441 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58445 2011-07-02 Roland McGrath <roland@hack.frob.com>
58447 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58449 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58450 containing directory rather than embedding absolute directory names.
58452 * scripts/check-local-headers.sh: Rewritten using awk.
58453 Match by word, not by line. Print error messages for matches.
58454 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58456 * Makerules [shlib-lds-flags empty]:
58457 ($(common-objpfx)libc_pic.opts): New target.
58458 ($(common-objpfx)libc_pic.os.clean): New target.
58459 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58461 * config.make.in (OBJCOPY): New variable.
58462 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58463 * configure: Regenerated.
58465 * config.make.in (use-default-link): New variable.
58466 * configure.in (use_default_link): Grok --with-default-link to set it.
58467 * configure: Regenerated.
58468 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58469 (shlib-lds, shlib-lds-flags): Define to empty.
58471 * Makerules (shlib-lds): New variable.
58472 (shlib-lds-flags): New variable.
58473 (build-shlib, build-moduile, build-module-asneeded): Use it.
58474 ($(common-objpfx)libc.so): Use $(shlib-lds).
58475 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58476 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58478 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58479 DT_FLAGS/DT_FLAGS_1 with zero flags.
58481 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58482 linker script munging.
58484 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58486 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58488 * crypt/sha512.c (sha512_process_block): Perform total addition using
58489 128-bit if possible.
58490 (__sha512_finish_ctx): Likewise.
58491 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58493 * crypt/sha256.c (SWAP64): Define.
58494 (sha256_process_block): Perform total addition using 64-bit if
58496 (__sha256_finish_ctx): Likewise.
58498 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58500 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58502 * nscd/hstcache.c (cache_addhst): Likewise.
58503 * nscd/grpcache.c (cache_addgr): Likewise.
58504 * nscd/aicache.c (addhstaiX): Likewise
58505 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58507 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58509 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58511 * nscd/hstcache.c (cache_addhst): Likewise.
58512 * nscd/grpcache.c (cache_addgr): Likewise.
58513 * nscd/aicache.c (addhstaiX): Likewise
58515 2011-07-01 Andreas Schwab <schwab@redhat.com>
58517 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58518 domain only when needed.
58520 2011-06-30 Andreas Schwab <schwab@redhat.com>
58522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58523 is always restored.
58525 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58527 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58528 are re-adding the entry.
58529 * nscd/servicescache.c (cache_addserv): Likewise.
58531 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58533 * sysdeps/generic/dl-irel.h: fix protection against multiple
58535 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58537 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58540 * malloc/memusage.sh: Fix quoting in message.
58541 * debug/xtrace.sh: Likewise.
58543 * configure.in: Remove support for --experimental-malloc option, make
58545 * config.make.in: Likewise.
58546 * malloc/Makefile: Likewise.
58548 2011-06-27 Andreas Schwab <schwab@redhat.com>
58550 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58551 two-byte characters.
58553 2011-06-27 Roland McGrath <roland@hack.frob.com>
58555 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58556 AC_CACHE_CHECK invocation.
58557 * configure: Regenerated.
58559 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58561 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58564 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58565 bit from old_res_options.
58567 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58569 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58570 value type for setfct.
58572 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58575 __gettimeofday instead of gettimeofday.
58577 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58579 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58581 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58583 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58588 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58591 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58592 strcpy-sse2-unaligned strncpy-sse2-unaligned
58593 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58594 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58595 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58596 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58597 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58598 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58599 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58600 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58601 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58602 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58603 (STRCPY): Support SSE2 and SSSE3 versions.
58605 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58609 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58610 kernels which artificially limit size of requests.
58612 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58615 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58616 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58617 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58618 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58619 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58620 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58621 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58622 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58623 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58624 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58625 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58626 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58627 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58628 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58630 Enable unaligned load optimization for Intel Core i3, i5 and i7
58632 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58634 (index_Fast_Unaligned_Load): Define.
58635 (HAS_FAST_UNALIGNED_LOAD): Define.
58637 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58639 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58641 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58645 until it is clear that the information is realy needed.
58646 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58648 2011-06-22 Andreas Schwab <schwab@redhat.com>
58650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58652 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58655 /sys/devices/system/cpu/online if it is usable.
58657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58658 reading the information from the /proc filesystem to once a second.
58660 2011-06-21 Andreas Jaeger <aj@suse.de>
58662 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58663 NULL after inclusion of kernel headers.
58665 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58667 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58668 calls to internal_setent.
58671 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58672 addresses using gethostbyname4_r ignore IPv4 addresses.
58674 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58675 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58677 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58679 2011-06-20 David S. Miller <davem@davemloft.net>
58681 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58683 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58685 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58686 (elf_irel): Use it.
58687 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58688 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58689 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58690 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58691 * sysdeps/x86_64/dl-irel.h: Likewise.
58693 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58694 * elf/dl-sym.c: Likewise.
58696 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58698 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58699 need to dereference resplen2.
58701 2011-06-14 Andreas Schwab <schwab@redhat.com>
58703 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58705 2011-06-15 Ulrich Drepper <drepper@gmail.com>
58707 * Makeconfig: Define vardbdir and inst_vardbdir.
58708 * nss/Makefile: Add rules to install db-Makefile.
58710 * nss/nss_db/db-XXX.c: Cleanup.
58712 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58713 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58715 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58716 * nss/makedb.c: Implement -g option to specify that value strings
58717 are generated and should not be added to table iterated over for
58719 * nss/nss_db/db-initgroups.c: New file.
58721 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58724 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58725 (internal_getgrouplist): Adjust to name change.
58726 Update use_initgroups_entry if this is not the first call.
58727 * nss/databases.def: Add initgroups entry.
58729 * nss/makedb.c (compute_tables): Check result of multiple hash table
58730 sizes to minimize maximum chain length.
58732 2011-06-14 Ulrich Drepper <drepper@gmail.com>
58734 * Versions.def: Add entry for libnss_db.
58735 * shlib-versions: Likewise.
58736 * nss/Makefile: Add rules to build libnss_db.
58737 * nss/Versions: Add libnss_db information. Organize libnss_files
58739 * nss/db-Makefile: Add gshadow support. Change rules for the new
58740 makedb progra. Some minor improvements to generate smaller files.
58741 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58743 * nss/makedb.c: ...here.
58744 Improve database format to be smaller and require less memory at
58746 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58748 * nss/nss_db/db-netgrp.c: Likewise.
58749 * nss/nss_db/db-open.c: Likewise.
58750 * nss/nss_files/flies-XXX.x: Adjust comments.
58751 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58752 * nss/nss_files/files-grp.c: Likewise.
58753 * nss/nss_files/files-hosts.c: Likewise.
58754 * nss/nss_files/files-network.c: Likewise.
58755 * nss/nss_files/files-proto.c: Likewise.
58756 * nss/nss_files/files-pwd.c: Likewise.
58757 * nss/nss_files/files-rpc.c: Likewise.
58758 * nss/nss_files/files-service.c: Likewise.
58759 * nss/nss_files/files-sgrp.c: Likewise.
58760 * nss/nss_files/files-spwd.c: Likewise.
58761 * nss/nss_db/db-alias.c: Removed.
58762 * nss/nss_db/dummy-db.h: Removed.
58764 2011-06-02 Ulrich Drepper <drepper@gmail.com>
58766 * nss/makedb.c: Rewritten to not use database library.
58767 * nss/Makefile: Update to build new makedb program.
58769 2011-06-14 Andreas Jaeger <aj@suse.de>
58771 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58772 memset declaration.
58774 2011-06-10 Andreas Schwab <schwab@redhat.com>
58776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58779 2011-06-10 Roland McGrath <roland@hack.frob.com>
58781 * Makerules (shlib.lds): Fail if the linker script comes out empty.
58782 * elf/Makefile ($(objpfx)ld.so): Likewise.
58784 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58785 Don't list ld.so twice in dependencies.
58787 * posix/bug-regex31.c: Include <stdlib.h>.
58789 * nscd/hstcache.c (cache_addhst): Remove unused variable.
58791 * nis/nss_compat/compat-spwd.c
58792 (getspent_next_nss_netgr): Remove unused variable.
58793 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58795 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58796 nonmembers" output to use the right array.
58798 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58800 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58802 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58803 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58804 * catgets/gencat.c (read_input_file): Likewise.
58805 * locale/programs/locarchive.c (enlarge_archive): Likewise.
58807 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58808 variable definition inside #if's controlling its use.
58810 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58812 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58814 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58816 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58819 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58821 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58822 * configure: Regenerated.
58824 * Makerules: Revert last change.
58825 * elf/Makefile: Likewise.
58827 2011-06-09 Roland McGrath <roland@hack.frob.com>
58829 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58830 * elf/Makefile ($(objpfx)librtld.os): Likewise.
58831 (reloc-link): Likewise.
58833 2011-06-09 Ulrich Drepper <drepper@gmail.com>
58835 * elf/Makefile: Add rules to build pldd.
58836 * elf/pldd.c: New file.
58837 * elf/pldd-xx.c: New file.
58839 2011-06-07 Ulrich Drepper <drepper@gmail.com>
58841 * version.h: Update for 2.15 development version.
58843 2011-06-07 David S. Miller <davem@davemloft.net>
58845 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58847 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58848 elf_machine_lazy_rel): Likewise.
58849 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58851 elf_machine_lazy_rel): Likewise.
58852 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58853 dl_hwcap via passed in argument.
58854 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58857 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58859 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
58861 2011-06-06 Roland McGrath <roland@hack.frob.com>
58864 * manual/fdl-1.1.texi: New file, verbatim from:
58865 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58866 * manual/lgpl-2.1.texi: New file, verbatim from:
58867 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58868 * manual/Makefile (licenses): New variable, list those new file names.
58870 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58872 * manual/fdl.texi: File removed.
58873 * manual/lesser.texi: File removed.
58874 * manual/libc.texinfo (Copying, Documentation License):
58875 Use new @include file names, put @appendix directive before @include.
58877 2011-06-04 Jakub Jelinek <jakub@redhat.com>
58880 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58881 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58882 (mq_open): Add __NTH.
58884 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
58886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58887 Assume Intel Core i3/i5/i7 processor if AVX is available.
58889 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58894 2011-05-31 Andreas Schwab <schwab@redhat.com>
58896 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58897 memory. Use alloca_account. Fix memory leak when retrying.
58899 2011-05-31 Ulrich Drepper <drepper@gmail.com>
58901 * version.h (RELEASE): Bump for 2.14 release.
58902 * include/features.h (__GLIBC_MINOR__): Bump to 14.
58904 * config.make.in (RANLIB): Remove entry.
58906 2011-05-30 Ulrich Drepper <drepper@gmail.com>
58908 * po/Makefile (po-sed-cmd): Add ksh to extensions.
58909 (libc.pot): Work around missing support for .ksh extension in xgettext.
58912 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58913 if both request failed.
58914 (send_dg): In case of server errors clear resplen or *resplen2.
58917 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58918 when there are multiple maps.
58919 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58920 (_dl_fini): Remove test here.
58922 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58924 2011-05-29 Ulrich Drepper <drepper@gmail.com>
58927 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58928 bit from old_res_options.
58929 (gaih_inet): Likewise.
58932 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58935 * resolv/res_init.c (res_setoptions): Make the code more compact.
58938 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58942 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58944 * malloc/malloc.h: Mark malloc hook variables as deprecated.
58947 * malloc/malloc.h: Declare malloc hook variables as volatile.
58949 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58953 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58954 raise in the comment.
58955 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58957 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58959 2011-05-28 Ulrich Drepper <drepper@gmail.com>
58962 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58963 grow the buffers more if it already has to be sufficient.
58964 (build_wcs_upper_buffer): Likewise.
58965 * posix/regexec.c (check_matching): Likewise.
58966 (clean_state_log_if_needed): Likewise.
58967 (extend_buffers): Don't enlarge buffers beyond size of the input
58969 Patches mostly by Emil Wojak <emil@wojak.eu>.
58970 * posix/bug-regex32.c: New file.
58971 * posix/Makefile (tests): Add bug-regex32.
58973 * locale/findlocale.c (_nl_find_locale): Return right away if
58974 _nl_explode_name failed.
58975 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58977 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58979 * debug/xtrace.sh: Unify messages.
58980 * malloc/memusage.sh: Likewise.
58983 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58984 time symbol from vDSO. Substitute with vsyscall if not available.
58985 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58988 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58989 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58990 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58991 Add sendmmsg and internal_sendmmsg.
58992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58993 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58996 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58997 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59000 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59003 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59004 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59006 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59010 * iconvdata/Makefile (tests): Add bug-iconv9.
59011 * iconvdata/bug-iconv9.c: New file.
59013 2011-05-27 Andreas Schwab <schwab@redhat.com>
59016 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59018 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59020 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59021 (struct user_regs_struct): Change intcs field back to cs.
59023 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59025 * po/ja.po: Update from translation team.
59027 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59030 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59031 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59033 2011-05-20 Andreas Schwab <schwab@redhat.com>
59035 * stdlib/longlong.h: Update from GCC.
59037 2011-05-23 Andreas Schwab <schwab@redhat.com>
59039 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59041 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59042 Add parameter name.
59043 (__sysconf): Pass it down.
59045 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59048 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59051 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59052 add in in __libc_use_alloca calls. Adjust callers.
59053 (glob): Use malloc in some situations.
59055 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59056 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59059 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59061 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59062 and CLOCK_BOOTTIME_ALARM.
59065 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59068 * string/_strerror.c (__strerror_r): Print negative errors as signed
59072 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59073 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59074 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59076 * configure.in: Fix typo in redirection and correct removal of test
59077 files in two cases.
59080 * locale/setlocale.c (new_composite_name): Fix test to check for
59081 identical name of all categories.
59084 * libio/filedoalloc.c (local_isatty): New function.
59085 (_IO_file_doallocate): Use local_isatty.
59086 * stdio-common/perror.c (perror): In case a new stream is used
59087 forward the stream error.
59088 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59091 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59096 * include/alloca.h (extend_alloca_account): Define.
59099 * posix/regex.h: Fix comments with documentation of user-accessible
59100 fields after compilation and describe correct free'ing of pattern
59101 after re_compile_pattern.
59102 Patch by Reuben Thomas <rrt@sc3d.org>.
59104 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59106 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59107 and -mno-altivec to prevent the compiler from using Altivec and/or
59108 VSX instructions when the corresponding registers are not available.
59110 2011-05-19 Andreas Schwab <schwab@redhat.com>
59112 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59114 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59116 * libio/freopen.c (freopen): Use __dup2, not dup2.
59117 * libio/freopen64.c (freopen64): Likewise.
59119 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59122 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59123 * math/Makefile (tests): Add test-powl.
59124 (CFLAGS-test-powl.c): Define.
59125 * math/test-powl.c: New file.
59127 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59129 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59131 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59134 * iconvdata/gb18030.c: Update to GB18020-2005.
59136 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59138 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59139 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59140 Patch by Aharon Robbins <arnold@skeeve.com>.
59143 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59147 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59148 through underflows.
59151 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59152 point to strings before performing equality test for error_one_per_line
59156 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59160 (struct user_fpregs_struct): Avoid __uint*_t types.
59163 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59164 symbol info. Use it instead of calling _dl_addr locally.
59165 (lock_and_info): New function.
59166 (tr_freehook): Call lock_and_info and pass symbol info as additional
59167 parameter to tr_where.
59168 (tr_mallochook): Likewise.
59169 (tr_reallochook): Likewise.
59170 (tr_memalignhook): Likewise.
59172 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59173 used and couldn't be at all thread-safe.
59175 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59177 * libio/freopen.c (freopen): Don't close old file descriptor
59178 before the new one is opened. Instead dup the new file descriptor
59179 to the old one after the new stream is created.
59180 * libio/freopen64.c (freopen64): Likewise.
59181 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59182 * libio/fileops.c (_IO_new_file_close_it): Handle new
59183 _IO_FLAGS2_NOCLOSE flag.
59184 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59185 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59186 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59187 _IO_FLAGS2_NOCLOSE flag.
59188 * include/unistd.h: Add hidden_proto for dup3.
59189 Define __have_dup3.
59190 * io/dup3.c: Define hidden symbol.
59191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59194 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59195 when an incomplete long option is used.
59196 * posix/tst-getopt_long1.c: New file.
59197 * posix/Makefile (tests): Add tst-getopt_long1.
59200 * scripts/config.guess: Update from autoconf-2.68.
59201 * scripts/config.sub: Likewise.
59204 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59206 (has_cpuclock): ...this. New function.
59207 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59208 macro here based on has_cpuclock code.
59211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59212 First byte (not low byte) is now always NUL.
59213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59216 Use non-cancelable interfaces.
59219 * locale/iso-639.def: Add entry for Sorani.
59222 * include/stdlib.h: Move include protection to the right place.
59223 Define abort_msg_s. Declare __abort_msg with it.
59224 * stdlib/abort.c (__abort_msg): Adjust type.
59225 * assert/assert.c (__assert_fail_base): New function. Majority
59226 of code from __assert_fail. Allocate memory for __abort_msg with
59228 (__assert_fail): Now call __assert_fail_base.
59229 * assert/assert-perr.c: Remove bulk of implementation. Use
59230 __assert_fail_base.
59231 * include/assert.hL Declare __assert_fail_base.
59232 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59234 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59236 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59240 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59241 until all modules are registered in the DTV.
59242 * elf/Makefile: Add rules to build and run tst-tls19.
59243 * elf/tst-tls19.c: New file.
59244 * elf/tst-tls19mod1.c: New file.
59245 * elf/tst-tls19mod2.c: New file.
59246 * elf/tst-tls19mod3.c: New file.
59247 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59250 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59254 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59255 two-byte sequence errors.
59256 * iconvdata/Makefile (tests): Add bug-iconv8.
59257 * iconvdata/bug-iconv8.c: New file.
59260 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59263 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59266 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59267 (dummy_getcfa): New function.
59268 (init): Get _Unwind_GetCFA address, use dummy if not found.
59269 (backtrace_helper): In recursion check, also check whether CFA changes.
59270 (__backtrace): Completely initialize arg.
59272 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59273 storing incomplete byte sequence in state object. Avoid testing for
59274 guaranteed too small input if we know there is enough data available.
59276 2011-05-11 Andreas Schwab <schwab@redhat.com>
59278 * Makeconfig (+link-pie): Indent.
59279 * Rules (binaries-pie): Define if $(have-fpie) and
59281 (binaries-shared): Also filter out $(binaries-pie).
59282 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59283 * nscd/Makefile (others-pie): Add nscd.
59284 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59285 ($(objpfx)nscd): Remove command override.
59286 * login/Makefile (others-pie): Add pt_chown.
59287 ($(objpfx)pt_chown): Remove command override.
59288 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59289 remove command overrides.
59291 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59293 * libio/tst_putwc.c: Fix error messages.
59296 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59297 currently writing and seek to current position when not.
59298 * libio/Makefile (tests): Add bug-fclose1.
59299 * libio/bug-fclose1.c: New file.
59301 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59304 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59305 don't set DF_1_NODELETE here.
59306 (do_lookup_x): When entering new entry test for copy relocation
59307 and if necessary set DF_1_NODELETE flag.
59308 * elf/tst-unique4.cc: New file.
59309 * elf/tst-unique4.h: New file.
59310 * elf/tst-unique4lib.cc: New file.
59311 * elf/Makefile: Add rules to build and run tst-unique4.
59312 Patch by Piotr Bury <pbury@goahead.com>.
59314 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59317 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59320 * misc/mntent_r.c (addmntent): Flush the stream after the output
59323 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59324 (is_trusted_path_normalize): Skip initial colon. Append slash
59325 to empty buffer. Duplicate is_trusted_path code but allow
59326 constructed patch to be prefix.
59327 (is_dst): Allow $ORIGIN followed by /.
59328 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59329 Correct testing of result of is_trusted_path_normalize
59330 (decompose_rpath): Fix warning.
59332 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59335 * grp/initgroups.c (internal_getgrouplist): When we found the service
59336 list through the initgroups entry in nsswitch.conf do not always
59337 continue on a successful lookup. Don't always use the
59338 __nss_group_database value if it is set.
59339 * nss/nsswitch.conf (initgroups): Change action for successful db
59340 lookup to continue for compatibility.
59342 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59345 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59347 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59349 * iconvdata/tst-tables.sh: Likewise.
59350 * iconvdata/cp770.c: New file.
59351 * iconvdata/cp771.c: New file.
59352 * iconvdata/cp772.c: New file.
59353 * iconvdata/cp773.c: New file.
59354 * iconvdata/cp774.c: New file.
59355 * iconvdata/testdata/CP770: New file.
59356 * iconvdata/testdata/CP770..UTF8: New file.
59357 * iconvdata/testdata/CP771: New file.
59358 * iconvdata/testdata/CP771..UTF8: New file.
59359 * iconvdata/testdata/CP772: New file.
59360 * iconvdata/testdata/CP772..UTF8: New file.
59361 * iconvdata/testdata/CP773: New file.
59362 * iconvdata/testdata/CP773..UTF8: New file.
59363 * iconvdata/testdata/CP774: New file.
59364 * iconvdata/testdata/CP774..UTF8: New file.
59366 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59368 * iconvdata/gen-8bit-gap.sh: Likewise.
59369 * iconvdata/gen-8bit.sh: Likewise.
59371 * locale/iso-639.def: Add ary entry.
59374 * locale/C-translit.h.in: Add U20A1 transliteration.
59377 * locale/iso-639.def: Add wae entry.
59378 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59381 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59385 * locale/C-translit.h.in: Add entry for U20B9.
59386 Patch by pravin.d.s@gmail.com.
59388 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59391 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59392 ENAMETOOLONG use generic getcwd.
59393 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59394 in rtld. Use *stat64.
59395 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59396 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59397 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59398 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59399 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59400 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59401 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59402 __fstatat64 macros.
59403 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59404 * dirent/rewinddir.c: Add libc_hidden_def.
59405 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59406 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59408 * include/dirent.h (__alloc_dir): Add flags parameter.
59409 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59410 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59412 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59413 from fdopendir if O_CLOEXEC is already set.
59415 2011-03-15 Alan Modra <amodra@gmail.com>
59417 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59418 l_tls_firstbyte_offset non-zero. Save padding offset in
59419 l_tls_firstbyte_offset for later use.
59420 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59421 freeing static tls block.
59423 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59425 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59426 where #ifdef was intended. The intent is to prevent ARG_MAX from
59427 being defined by the kernel headers.
59429 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59432 * resolv/resolv.h: Define RES_NOTLDQUERY.
59433 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59434 no-tld-query and set RES_NOTLDQUERY.
59435 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59436 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59437 modern BIND to search name as TLD unless forbidden.
59439 2011-05-07 Petr Baudis <pasky@suse.cz>
59440 Ulrich Drepper <drepper@gmail.com>
59443 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59444 (is_trusted_path): ...to here.
59445 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59446 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59447 using is_trusted_path_normalize() in setuid scripts.
59449 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59451 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59452 __BEGIN/__END_DECLS.
59454 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59457 NSS_STATUS_NOTFOUND if no record was found.
59459 2011-05-05 Andreas Schwab <schwab@redhat.com>
59461 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59462 (headers-not-in-tirpc): Remove rpc/netdb.h
59463 * resolv/netdb.h: Revert last change.
59465 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59467 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59468 circular dependency between libgcc.a and libc.a.
59470 2011-05-05 Andreas Schwab <schwab@redhat.com>
59472 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59473 * nis/Makefile: Don't install rpcsvc/*.
59474 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59475 instead of <rpc/types.h>.
59476 (MAXHOSTNAMELEN): Define.
59478 2011-05-03 Andreas Schwab <schwab@redhat.com>
59480 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59482 2011-04-28 Maciej Babinski <mbabinski@google.com>
59485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59486 gethostbyname4_r when IPv6 results are possible.
59488 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59491 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59492 _PC_PIPE_BUF handling.
59494 2011-04-30 Bruno Haible <bruno@clisp.org>
59497 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59498 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59500 * inet/getnameinfo.c (getnameinfo): Likewise.
59502 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59504 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59505 to groups setting in database lookup.
59506 * nss/nsswitch.conf: Add initgroups entry.
59508 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59511 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59513 Patch by Eric Blake <eblake@redhat.com>.
59515 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59517 * sunrpc/Makefile (need-export-routines): Add svc_run.
59518 (routines): Remove svc_run.
59519 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59520 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59521 * sunrpc/svc_run.c (svc_run): Likewise.
59522 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59524 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59527 problem in reallocation in last patch.
59529 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59531 * sunrpc/Makefile: Move inclusion of Rules.
59533 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59535 * nss/nss_files/files-initgroups.c: New file.
59536 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59537 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59538 _nss_files_initgroups_dyn.
59540 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59542 * elf/elf.h (R_ARM_IRELATIVE): Define.
59544 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59546 * po/ru.po: Update from translation team.
59548 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59550 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59553 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59556 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59557 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59562 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59564 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59566 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59568 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59570 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59573 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59575 * stdlib/bug-getcontext.c: New file.
59576 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59578 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59580 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59581 instructions into .machine "z9-109".
59582 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59583 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59585 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59587 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59588 between environment variables and auxiliary vector.
59590 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59592 * Makefile: Add rules to build linkobj/libc.so.
59593 * include/libc-symbols.h: Define libc_hidden_nolink.
59594 * include/rpc/auth.h: Mark functions which are to be hidden.
59595 * include/rpc/auth_des.h: Likewise.
59596 * include/rpc/auth_unix.h: Likewise.
59597 * include/rpc/clnt.h: Likewise.
59598 * include/rpc/des_crypt.h: Likewise.
59599 * include/rpc/key_prot.h: Likewise.
59600 * include/rpc/pmap_clnt.h: Likewise.
59601 * include/rpc/pmap_prot.h: Likewise.
59602 * include/rpc/pmap_rmt.h: Likewise.
59603 * include/rpc/rpc_msg.h: Likewise.
59604 * include/rpc/svc.h: Likewise.
59605 * include/rpc/svc_auth.h: Likewise.
59606 * include/rpc/xdr.h: Likewise.
59607 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59608 * nss/Makefile: Likewise.
59609 * sunrpc/Makefile: Don't install headers. Build library with normal
59610 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59611 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59612 for the compat linking library. Remove use of INTDEF/INTUSE.
59613 * sunrpc/auth_none.c: Likewise.
59614 * sunrpc/auth_unix.c: Likewise.
59615 * sunrpc/authdes_prot.c: Likewise.
59616 * sunrpc/authuxprot.c: Likewise.
59617 * sunrpc/clnt_gen.c: Likewise.
59618 * sunrpc/clnt_perr.c: Likewise.
59619 * sunrpc/clnt_raw.c: Likewise.
59620 * sunrpc/clnt_simp.c: Likewise.
59621 * sunrpc/clnt_tcp.c: Likewise.
59622 * sunrpc/clnt_udp.c: Likewise.
59623 * sunrpc/clnt_unix.c: Likewise.
59624 * sunrpc/des_crypt.c: Likewise.
59625 * sunrpc/des_soft.c: Likewise.
59626 * sunrpc/get_myaddr.c: Likewise.
59627 * sunrpc/key_call.c: Likewise.
59628 * sunrpc/key_prot.c: Likewise.
59629 * sunrpc/netname.c: Likewise.
59630 * sunrpc/pm_getmaps.c: Likewise.
59631 * sunrpc/pm_getport.c: Likewise.
59632 * sunrpc/pmap_clnt.c: Likewise.
59633 * sunrpc/pmap_prot.c: Likewise.
59634 * sunrpc/pmap_prot2.c: Likewise.
59635 * sunrpc/pmap_rmt.c: Likewise.
59636 * sunrpc/publickey.c: Likewise.
59637 * sunrpc/rpc_cmsg.c: Likewise.
59638 * sunrpc/rpc_common.c: Likewise.
59639 * sunrpc/rpc_dtable.c: Likewise.
59640 * sunrpc/rpc_prot.c: Likewise.
59641 * sunrpc/rpc_thread.c: Likewise.
59642 * sunrpc/rtime.c: Likewise.
59643 * sunrpc/svc.c: Likewise.
59644 * sunrpc/svc_auth.c: Likewise.
59645 * sunrpc/svc_authux.c: Likewise.
59646 * sunrpc/svc_raw.c: Likewise.
59647 * sunrpc/svc_run.c: Likewise.
59648 * sunrpc/svc_simple.c: Likewise.
59649 * sunrpc/svc_tcp.c: Likewise.
59650 * sunrpc/svc_udp.c: Likewise.
59651 * sunrpc/svc_unix.c: Likewise.
59652 * sunrpc/svcauth_des.c: Likewise.
59653 * sunrpc/xcrypt.c: Likewise.
59654 * sunrpc/xdr.c: Likewise.
59655 * sunrpc/xdr_array.c: Likewise.
59656 * sunrpc/xdr_float.c: Likewise.
59657 * sunrpc/xdr_intXX_t.c: Likewise.
59658 * sunrpc/xdr_mem.c: Likewise.
59659 * sunrpc/xdr_rec.c: Likewise.
59660 * sunrpc/xdr_ref.c: Likewise.
59661 * sunrpc/xdr_sizeof.c: Likewise.
59662 * sunrpc/xdr_stdio.c: Likewise.
59664 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59667 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59668 * sysdeps/ia64/dl-tls.h: Likewise.
59669 * sysdeps/powerpc/dl-tls.h: Likewise.
59670 * sysdeps/s390/dl-tls.h: Likewise.
59671 * sysdeps/sh/dl-tls.h: Likewise.
59672 * sysdeps/sparc/dl-tls.h: Likewise.
59673 * sysdeps/x86_64/dl-tls.h: Likewise.
59674 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59676 2011-03-14 Andreas Schwab <schwab@redhat.com>
59678 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59679 rpath element also skip the following colon.
59680 (expand_dynamic_string_token): Add is_path parameter and pass
59681 down to DL_DST_REQUIRED and _dl_dst_substitute.
59682 (decompose_rpath): Call expand_dynamic_string_token with
59683 non-zero is_path. Ignore empty rpaths.
59684 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59687 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59692 2011-04-09 Ulrich Drepper <drepper@gmail.com>
59695 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59696 Patch by Filipe David Manana <fdmanana@apache.org>.
59698 2011-04-07 Andreas Schwab <schwab@redhat.com>
59700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59701 Maintain aligned stack.
59702 (CHECK_RSP): Remove unused macro.
59704 2011-04-03 Ulrich Drepper <drepper@gmail.com>
59706 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59707 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59709 2011-04-02 Ulrich Drepper <drepper@gmail.com>
59711 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59713 * include/features.h: Mention __USE_XOPEN2K8 in comment.
59715 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59718 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59719 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59720 * sysdeps/x86_64/memmove.c: New file.
59721 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59722 (memcpy): Renamed to ...
59723 (__new_memcpy): This.
59724 (memcpy): Provide GLIBC_2_14 memcpy.
59725 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59726 (memcpy): Provide GLIBC_2_2_5 memcpy.
59728 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59731 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59733 2011-03-30 Andreas Schwab <schwab@redhat.com>
59735 * misc/syncfs.c: New file.
59736 * misc/Makefile (routines): Add syncfs.
59737 * posix/unistd.h: Declare syncfs.
59738 * sysdeps/unix/syscalls.list: Add syncfs.
59740 2011-04-01 Andreas Schwab <schwab@redhat.com>
59742 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59744 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59749 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59752 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59756 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59758 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59762 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59763 sync_file_range.c with -fexceptions.
59764 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59765 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59766 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59767 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59768 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59769 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59771 sync_file_range as cancellation point
59772 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59773 now a wrapper around __call_sync_file_range with cancellation handling.
59774 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59775 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
59776 function name to __call_sync_file_range.
59777 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59778 Add call_sync_file_range.
59780 2011-04-01 Andreas Schwab <schwab@redhat.com>
59782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59785 2011-04-01 Ulrich Drepper <drepper@gmail.com>
59787 * iconv/iconv.h: Fix typo in comment.
59788 * io/fcntl.h: Likewise.
59789 * libio/stdio.h: Likewise.
59790 * posix/spawn.h: Likewise.
59791 * posix/unistd.h: Likewise.
59792 * stdlib/stdlib.h: Likewise.
59793 * time/time.h: Likewise.
59794 * wcsmbs/wchar.h: Likewise.
59796 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59797 open_by_handle): Add.
59798 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59799 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
59800 Augment a few comments.
59801 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59802 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59803 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59806 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59809 * io/fcntl.h (AT_EMPTY_PATH): Define.
59811 2011-03-30 Ulrich Drepper <drepper@gmail.com>
59813 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59814 * sysdeps/unix/sysv/linux/bits/time.h: New file.
59815 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59817 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
59818 * Versions.def: Add GLIBC_2.14.
59819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59822 2011-03-22 Ulrich Drepper <drepper@gmail.com>
59824 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59826 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59828 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
59831 * string/test-strncmp.c (do_page_test): New function.
59832 (check2): Likewise.
59833 (test_main): Call check2.
59834 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59836 2011-03-20 Ulrich Drepper <drepper@gmail.com>
59839 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59840 Handle cache information in CPU leaf 4.
59841 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59843 2011-03-18 Ulrich Drepper <drepper@gmail.com>
59846 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59847 character representation.
59848 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59850 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
59852 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59853 END(__isnan) to END(__isnanf) to match function entry point/label
59854 EALIGN(__isnanf,...).
59856 2011-03-10 Jakub Jelinek <jakub@redhat.com>
59858 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59860 2011-03-10 Ulrich Drepper <drepper@gmail.com>
59863 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59864 copy from the symbol referenced in the relocation to initialize the
59866 Patch by Piotr Bury <pbury@goahead.com>.
59867 * elf/Makefile: Add rules to build and tst-unique3.
59868 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59869 * elf/tst-unique3.cc: New file.
59870 * elf/tst-unique3.h: New file.
59871 * elf/tst-unique3lib.cc: New file.
59872 * elf/tst-unique3lib2.cc: New file.
59874 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59876 2011-03-10 Mike Frysinger <vapier@gentoo.org>
59878 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59879 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
59882 2011-03-06 Ulrich Drepper <drepper@gmail.com>
59884 * elf/dl-load.c (_dl_map_object): If we are looking for the first
59885 to-be-loaded object along a path to loader is ld.so.
59887 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59888 Ulrich Drepper <drepper@gmail.com>
59890 * sysdeps/x86_64/memset.S: After aligning destination, code
59891 branches to different locations depending on the value of
59892 misalignment, when multiarch is enabled. Fix this.
59894 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
59896 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59897 Set _x86_64_preferred_memory_instruction for AMD processsors.
59898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59899 Set bit_Prefer_SSE_for_memop for AMD processors.
59901 2011-03-04 Ulrich Drepper <drepper@gmail.com>
59903 * libio/fmemopen.c (fmemopen): Optimize a bit.
59905 2011-03-03 Andreas Schwab <schwab@redhat.com>
59907 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59909 2011-03-03 Roland McGrath <roland@redhat.com>
59911 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59913 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
59915 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59916 __bzero_ultra1 instead of __memset_ultra1.
59918 2011-02-23 Andreas Schwab <schwab@redhat.com>
59919 Ulrich Drepper <drepper@gmail.com>
59922 * include/link.h (struct link_map): Add l_orig_initfini.
59923 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59924 returning unsuccessfully.
59925 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59926 close of a file loaded at startup, restore the original l_initfini
59928 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59929 list, store the pointer.
59930 * elf/Makefile ($(objpfx)noload-mem): New rule.
59931 (noload-ENV): Define.
59932 (tests): Add $(objpfx)noload-mem.
59933 * elf/noload.c: Include <memcheck.h>.
59934 (main): Call mtrace. Close all opened handles.
59936 2011-02-17 Andreas Schwab <schwab@redhat.com>
59939 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59940 dependencies are missing.
59942 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
59944 Fix __if_freereq crash: Unlike the generic version which uses free,
59946 * sysdeps/mach/hurd/ifreq.h: New file.
59948 2011-01-27 Petr Baudis <pasky@suse.cz>
59949 Ulrich Drepper <drepper@gmail.com>
59952 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59953 to extend_alloca().
59954 * stdio-common/bug23.c: New file.
59955 * stdio-common/Makefile (tests): Add bug23.
59957 2010-09-28 Andreas Schwab <schwab@redhat.com>
59958 Ulrich Drepper <drepper@gmail.com>
59961 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59962 before performing relro protection. At old place add assertion
59963 to make sure nothing changed.
59965 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
59966 Glauber de Oliveira Costa <glommer@gmail.com>
59968 * elf/elf.h: Add new ARM TLS relocs.
59970 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
59972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59973 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59975 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
59977 * sysdeps/wordsize-64/tst-writev.c: New file.
59979 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
59981 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59982 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59983 insns in _dl_start to prevent a TOC reference before relocs are
59986 2011-02-15 Ulrich Drepper <drepper@gmail.com>
59989 * Makeconfig: Remove RANLIB definition.
59990 * Makerules: Don't use RANLIB.
59991 * aclocal.m4: Remove ranlib test.
59992 * configure.in: No need to check for ranlib.
59993 * elf/rtld-Rules: Don't use RANLIB.
59995 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
59997 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59999 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60000 inclusion protection macro.
60002 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60003 SIGRTMIN and SIGRTMAX and print information in that case only when
60004 SIGRTMIN is defined.
60006 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60008 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60009 arginfo fn returning -1.
60011 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60012 and thousands string is zero terminated.
60014 2011-02-03 Andreas Schwab <schwab@redhat.com>
60016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60017 sysdeps/unix/sysv/linux/bits/socket.h.
60019 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60021 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60022 (__CPU_COUNT): Remove old macros.
60023 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60024 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60025 (__CPU_ALLOC, __CPU_FREE): Add macros.
60026 (__sched_cpualloc, __sched_cpufree): Add declarations.
60028 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60030 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60031 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60032 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60033 (readdhstai): Return value of addhstaiX call.
60034 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60035 (addgrbyX): Return value returned by cache_addgr.
60036 (readdgrbyname): Return value returned by addgrbyX.
60037 (readdgrbygid): Likewise.
60038 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60039 (addpwbyX): Return value returned by cache_addpw.
60040 (readdpwbyname): Return value returned by addhstbyX.
60041 (readdpwbyuid): Likewise.
60042 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60043 (addservbyX): Return value returned by cache_addserv.
60044 (readdservbyname): Return value returned by addservbyX:
60045 (readdservbyport): Likewise.
60046 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60047 (addhstbyX): Return value returned by cache_addhst.
60048 (readdhstbyname): Return value returned by addhstbyX.
60049 (readdhstbyaddr): Likewise.
60050 (readdhstbynamev6): Likewise.
60051 (readdhstbyaddrv6): Likewise.
60052 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60053 (readdinitgroups): Return value returned by addinitgroupsX.
60054 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60055 (prune_cache): Keep track of timeout value of re-added entries.
60056 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60057 * nscd/nscd.h: Adjust prototypes of readd* functions.
60059 2011-02-04 Roland McGrath <roland@redhat.com>
60061 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60062 (nis_stats): Likewise.
60063 * nis/nis_modify.c (nis_modify): Likewise.
60064 * nis/nis_remove.c (nis_remove): Likewise.
60065 * nis/nis_add.c (nis_add): Likewise.
60067 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60069 * posix/fnmatch_loop.c: Add some consts.
60071 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60073 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60076 * config.make.in (config-cflags-novzeroupper): Define.
60077 * configure.in: Substitute libc_cv_cc_novzeroupper.
60078 * elf/Makefile (AVX-CFLAGS): Define.
60079 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60080 (CFLAGS-tst-auditmod4a.c): Likewise.
60081 (CFLAGS-tst-auditmod4b.c): Likewise.
60082 (CFLAGS-tst-auditmod6b.c): Likewise.
60083 (CFLAGS-tst-auditmod6c.c): Likewise.
60084 (CFLAGS-tst-auditmod7b.c): Likewise.
60085 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60087 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60089 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60090 function to the callback.
60091 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60093 2011-02-02 Andreas Schwab <schwab@redhat.com>
60095 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60098 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60101 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60103 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60105 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60108 * elf/Makefile: Add rules to build and run new test.
60109 * elf/tst-initorder.c: New file.
60110 * elf/tst-initorder.exp: New file.
60111 * elf/tst-initordera1.c: New file.
60112 * elf/tst-initordera2.c: New file.
60113 * elf/tst-initordera3.c: New file.
60114 * elf/tst-initordera4.c: New file.
60115 * elf/tst-initorderb1.c: New file.
60116 * elf/tst-initorderb2.c: New file.
60117 * elf/tst-order-a1.c: New file.
60118 * elf/tst-order-a2.c: New file.
60119 * elf/tst-order-a3.c: New file.
60120 * elf/tst-order-a4.c: New file.
60121 * elf/tst-order-b1.c: New file.
60122 * elf/tst-order-b2.c: New file.
60123 * elf/tst-order-main.c: New file.
60124 New test case by George Gensure <werkt0@gmail.com>.
60126 2010-10-01 Andreas Schwab <schwab@redhat.com>
60128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60129 decoding ACE if AI_CANONIDN.
60131 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60133 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60135 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60137 * version.h (RELEASE): Bump for 2.13 release.
60138 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60140 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60142 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60144 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60145 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60147 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60151 * posix/getconf.c: Update copyright year.
60152 * catgets/gencat.c: Likewise.
60153 * csu/version.c: Likewise.
60154 * debug/catchsegv.sh: Likewise.
60155 * debug/xtrace.sh: Likewise.
60156 * elf/ldconfig.c: Likewise.
60157 * elf/ldd.bash.in: Likewise.
60158 * elf/sprof.c (print_version): Likewise.
60159 * iconv/iconv_prog.c: Likewise.
60160 * iconv/iconvconfig.c: Likewise.
60161 * locale/programs/locale.c: Likewise.
60162 * locale/programs/localedef.c: Likewise.
60163 * malloc/memusage.sh: Likewise.
60164 * malloc/mtrace.pl: Likewise.
60165 * nscd/nscd.c (print_version): Likewise.
60166 * nss/getent.c: Likewise.
60168 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60169 PF_CAIF, and PF_ALG.
60170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60172 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60174 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60175 (modules-names): Use them.
60176 (ifunc-test-modules, ifunc-pie-tests): Define.
60177 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60178 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60179 (test-extras): Likewise.
60180 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60181 $(compile-command.c).
60182 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60183 (all-built-dso): Define.
60184 (check-textrel.out, check-execstack.out): Depend on it.
60186 * configure.in: Don't override --enable-multi-arch.
60188 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60191 * nscd/hstcache.c (tryagain): Define.
60192 (cache_addhst): Return tryagain not notfound for temporary errors.
60193 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60196 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60199 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60200 to make the syscall.
60201 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60204 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60205 and fall back to matching as normal character if the string ends before
60206 the matching ']' is found. This is what POSIX requires.
60207 * posix/testfnm.c: Adjust test result.
60208 * posix/globtest.sh: Adjust test result. Add new test.
60209 * posix/tst-fnmatch.input: Likewise.
60210 * posix/tst-fnmatch2.c: Add new test.
60212 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60214 * elf/Makefile (check-execstack): Revert last change. Depend on
60216 (check-execstack.h): New target.
60217 (generated): Add check-execstack.h.
60218 * elf/check-execstack.c: Include "check-execstack.h".
60219 (main): Revert last change.
60220 (handle_file): Return zero if GNU_STACK is absent and
60221 DEFAULT_STACK_PERMS doesn't include PF_X.
60223 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60225 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60226 in child fails because the descriptor is already closed.
60227 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60228 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60229 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60232 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60236 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60237 temporary buffer used to handle multi lookups locally.
60238 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60240 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60242 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60245 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60247 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60248 alignment for SSE2.
60250 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60253 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60254 characters. When rounding increased number of integer digits recompute
60256 * stdio-common/tst-grouping.c: New file.
60257 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60259 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60261 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60262 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60264 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60266 * bits/select.h: Likewise.
60268 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60270 * po/ja.po: Update from translation team.
60272 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60275 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60276 implementation just like for lxstat, fxstatat, et al.
60278 2010-12-27 Jim Meyering <meyering@redhat.com>
60281 * posix/regexec.c (build_trtable): Return failure indication upon
60282 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60284 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60287 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60288 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60289 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60290 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60293 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60296 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60297 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60299 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60301 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60302 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60303 script has SORT_BY_INIT_PRIORITY.
60304 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60305 NO_CTORS_DTORS_SECTIONS is defined.
60306 * elf/soinit.c: Likewise.
60307 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60308 NO_CTORS_DTORS_SECTIONS is defined.
60309 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60310 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60311 * sysdeps/sh/init-first.c: Likewise.
60312 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60314 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60316 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60317 always use the slow path.
60319 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60321 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60322 similar rule which adds the sysdep directories to the header search in
60323 order to pick up the correct platform stackinfo.h.
60324 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60325 perform test if it is, otherwise return successfully without testing.
60326 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60327 DEFAULT_STACK_PERMS define in stackinfo.h.
60328 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60329 defined in stackinfo.h.
60330 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60331 DEFAULT_STACK_PERMS defined in stackinfo.h.
60332 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60333 * sysdeps/ia64/stackinfo.h: Likewise.
60334 * sysdeps/s390/stackinfo.h: Likewise.
60335 * sysdeps/sh/stackinfo.h: Likewise.
60336 * sysdeps/sparc/stackinfo.h: Likewise.
60337 * sysdeps/x86_64/stackinfo.h: Likewise.
60338 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60339 PF_X for powerpc64. Retain PF_X for powerpc32.
60341 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60343 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60345 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60346 GETDENTS_64BIT_ALIGNED.
60348 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60350 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60352 2010-12-10 Andreas Schwab <schwab@redhat.com>
60354 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60358 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60360 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60361 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60363 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60366 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60369 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60371 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60373 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60375 * po/it.po: Update from translation team.
60377 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60379 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60382 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60384 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60386 2010-11-24 Andreas Schwab <schwab@redhat.com>
60388 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60390 (gaih_getanswer_slice): Likewise.
60392 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60396 2010-05-31 Petr Baudis <pasky@suse.cz>
60399 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60400 silently even in the chroot mode.
60402 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60404 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60405 last patch a bit. Pretty printing
60407 2010-05-31 Petr Baudis <pasky@suse.cz>
60410 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60411 initialization of skip_initgroups_dyn.
60413 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60415 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60416 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60418 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60420 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60422 2010-11-11 Andreas Schwab <schwab@redhat.com>
60424 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60425 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60426 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60427 ($(objpfx)tst-fnmatch-mem): New rule.
60428 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60429 * posix/tst-fnmatch.c (main): Call mtrace.
60431 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60434 Support Intel processor model 6 and model 0x2c.
60436 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60438 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60441 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60444 * string/test-strncasecmp.c (check_result): New function.
60445 (do_one_test): Use it.
60446 (check1): New function.
60447 (test_main): Use it.
60448 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60449 Support strcasecmp and strncasecmp.
60451 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60454 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60457 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60459 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60463 * sysdeps/x86_64/multiarch/bzero.S: New file.
60464 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60465 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60466 * sysdeps/x86_64/multiarch/memset.S: New file.
60467 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60469 Set bit_Prefer_SSE_for_memop for Intel processors.
60470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60472 (index_Prefer_SSE_for_memop): Define.
60473 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60475 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60477 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60480 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60483 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60484 (__x86_64_raw_data_cache_size_half): Likewise.
60485 (__x86_64_raw_shared_cache_size): Likewise.
60486 (__x86_64_raw_shared_cache_size_half): Likewise.
60488 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60489 (__x86_64_raw_data_cache_size_half): Likewise.
60490 (__x86_64_raw_shared_cache_size): Likewise.
60491 (__x86_64_raw_shared_cache_size_half): Likewise.
60492 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60493 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60494 and __x86_64_raw_shared_cache_size_half. Round
60495 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60496 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60497 to multiple of 256 bytes.
60499 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60502 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60503 of inacessible symlinks. Verify result of symlink before returning it.
60504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60505 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60507 2010-10-28 Erich Ritz <erichritz@gmail.com>
60509 * math/math.h (isinf): Fix typo in comment.
60511 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60513 * po/da.po: Update from translation team.
60515 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60517 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60518 is added to the list.
60520 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60521 Ulrich Drepper <drepper@gmail.com>
60523 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60524 the global list here. Move code to...
60525 (_dl_add_to_namespace_list): ...here. New function.
60526 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60527 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60528 * elf/dl-load.c (lose): Don't remove the element from the list.
60529 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60530 (_dl_map_object): Likewise.
60532 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60535 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60536 into all bytes of SSE register.
60537 Patch by Richard Li <richardpku@gmail.com>.
60539 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60542 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60545 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60547 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60548 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60549 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60550 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60555 2010-10-22 Andreas Schwab <schwab@redhat.com>
60557 * include/dlfcn.h (__RTLD_SECURE): Define.
60558 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60559 mode & __RTLD_SECURE instead.
60560 (open_path): Rename preloaded parameter to secure.
60561 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60562 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60563 * elf/dl-deps.c (openaux): Likewise.
60564 * elf/rtld.c (struct map_args): Remove is_preloaded.
60565 (map_doit): Don't use it.
60566 (dl_main): Likewise.
60567 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60568 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60570 2010-09-09 Andreas Schwab <schwab@redhat.com>
60572 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60573 (sysd-rules-targets): Remove duplicates.
60574 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60575 rtld-%.$o dependency.
60577 2010-10-18 Andreas Schwab <schwab@redhat.com>
60579 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60580 _dl_map_object do it.
60582 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60584 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60585 fast fma builtins, define the macros in the C99 standard.
60586 (FP_FAST_FMAF): Likewise.
60587 (FP_FAST_FMAL): Likewise.
60588 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60590 * bits/mathdef.h: Update copyright year.
60591 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60593 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60595 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60596 builtins, define the macros in the C99 standard.
60597 (FP_FAST_FMAF): Likewise.
60598 (FP_FAST_FMAL): Likewise.
60599 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60601 (FP_FAST_FMAF): Likewise.
60603 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60606 * math/libm-test.inc (fma_test): Some new testcases.
60607 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60608 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60609 y and infinite z. Do multiplication by C already in long double.
60610 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60612 y and infinite z. Do bitwise or of inexact bit into u.d.
60613 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60614 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60615 * sysdeps/i386/fpu/s_fma.S: Removed.
60616 * sysdeps/i386/fpu/s_fmal.S: Removed.
60618 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60621 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60623 computation is not scheduled after fetestexcept. Fix value
60624 of minimum denormal long double.
60626 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60629 * math/libm-test.inc (fma_test): Add some more tests.
60630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60633 2010-10-15 Andreas Schwab <schwab@redhat.com>
60635 * scripts/data/localplt-s390-linux-gnu.data: New file.
60636 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60638 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60641 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60642 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60644 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60646 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60648 if one of x and y is very large and the other is subnormal.
60649 * sysdeps/s390/fpu/s_fmaf.c: New file.
60650 * sysdeps/s390/fpu/s_fma.c: New file.
60651 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60652 * sysdeps/powerpc/fpu/s_fma.S: New file.
60653 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60654 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60655 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60657 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60660 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60662 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60663 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60664 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60665 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60666 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60667 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60668 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60670 2010-10-12 Ulrich Drepper <drepper@redhat.com>
60673 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60674 * posix/bug-regex31.input: Add test case.
60676 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60678 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60679 * posix/bug-regex31.input: New file.
60682 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60683 (parse_sub_exp): Fix last change, use postorder.
60685 * posix/bug-regex31.c: New file.
60686 * posix/Makefile: Add rules to build and run bug-regex31.
60688 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60691 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60694 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60695 to have entries in sys_siglist.
60698 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60701 2010-10-07 Jakub Jelinek <jakub@redhat.com>
60704 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60705 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60706 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60707 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60708 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60709 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60710 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60711 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60712 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60713 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60714 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60715 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60716 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60717 * math/ftestexcept.c (fetestexcept): Likewise.
60718 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60719 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60720 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60721 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60722 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60723 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60724 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60726 2010-10-11 Ulrich Drepper <drepper@gmail.com>
60729 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60732 2010-10-06 Ulrich Drepper <drepper@gmail.com>
60734 * string/bug-strstr1.c: New file.
60735 * string/Makefile: Add rules to build and run bug-strstr1.
60737 2010-10-05 Eric Blake <eblake@redhat.com>
60740 * string/str-two-way.h (two_way_long_needle): Always clear memory
60741 when skipping input due to the shift table.
60743 2010-10-03 Ulrich Drepper <drepper@gmail.com>
60746 * malloc/mcheck.c: Handle large requests.
60749 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60750 for strncmp and strncasecmp.
60751 * string/stratcliff.c: Add tests for strcmp and strncmp.
60752 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60754 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60756 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60759 2010-09-30 Andreas Jaeger <aj@suse.de>
60761 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60762 (CGROUP_SUPER_MAGIC): Define.
60763 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60764 Handle btrfs and cgroup file systems.
60765 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60768 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
60770 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60771 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60773 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60776 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60777 trying to locate the ELF header.
60779 2010-09-27 Andreas Schwab <schwab@redhat.com>
60782 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60783 Mask out sign-bit copies when constructing f_fsid.
60785 2010-09-24 Petr Baudis <pasky@suse.cz>
60787 * debug/stack_chk_fail_local.c: Add missing licence exception.
60788 * debug/warning-nop.c: Likewise.
60790 2010-09-15 Joseph Myers <joseph@codesourcery.com>
60792 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60793 implementing getdents64 using getdents syscall, set d_type if
60794 __ASSUME_GETDENTS32_D_TYPE.
60796 2010-09-16 Andreas Schwab <schwab@redhat.com>
60798 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60799 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60801 2010-09-21 Ulrich Drepper <drepper@redhat.com>
60804 * posix/unistd.h: Undo change of feature selection for ftruncate from
60807 2010-09-20 Ulrich Drepper <drepper@redhat.com>
60809 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60812 2010-09-20 Andreas Schwab <schwab@redhat.com>
60814 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60816 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60818 2010-09-14 Andreas Schwab <schwab@redhat.com>
60820 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60821 variables after CHECK_SP call.
60822 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60824 2010-09-13 Andreas Schwab <schwab@redhat.com>
60825 Ulrich Drepper <drepper@redhat.com>
60827 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60828 re-relocationg ld.so.
60829 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60830 _dl_init_paths call.
60831 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
60834 2010-09-14 Ulrich Drepper <drepper@redhat.com>
60836 * resolv/res_init.c (__res_vinit): Count the default server we added.
60838 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
60839 Ulrich Drepper <drepper@redhat.com>
60842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60843 (____longjmp_chk): Use %ebx for saving value across system call.
60846 2010-09-06 Andreas Schwab <schwab@redhat.com>
60848 * manual/Makefile: Don't mix pattern rules with normal rules.
60850 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
60852 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60854 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60855 * libio/iofopncook.c (_IO_cookie_init): Likewise.
60856 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60857 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60861 2010-09-04 Ulrich Drepper <drepper@redhat.com>
60864 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60865 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60867 2010-09-02 Ulrich Drepper <drepper@redhat.com>
60869 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60870 * sysdeps/x86_64/addmul_1.S: Likewise.
60871 * sysdeps/x86_64/lshift.S: Likewise.
60872 * sysdeps/x86_64/mul_1.S: Likewise.
60873 * sysdeps/x86_64/rshift.S: Likewise.
60874 * sysdeps/x86_64/sub_n.S: Likewise.
60875 * sysdeps/x86_64/submul_1.S: Likewise.
60877 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
60879 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60880 Define __sched_param instead of SCHED_* and sched_param when
60881 <bits/sched.h> is included with __need_schedparam defined.
60882 * bits/sched.h [__need_schedparam]
60883 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60884 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60885 (__defined_schedparam): Define to 1.
60886 (__sched_param): New structure, identical to sched_param.
60887 (__need_schedparam): Undefine.
60889 2010-08-31 Mike Frysinger <vapier@gentoo.org>
60891 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60892 (epoll_create1): Declare.
60894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60896 2010-08-31 Andreas Schwab <schwab@redhat.com>
60899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60900 shifting retval into place.
60902 2010-09-01 Ulrich Drepper <drepper@redhat.com>
60904 * nis/rpcsvc/nis.h: Update copyright notice.
60905 * nis/rpcsvc/nis.x: Likewise.
60906 * nis/rpcsvc/nis_callback.h: Likewise.
60907 * nis/rpcsvc/nis_callback.x: Likewise.
60908 * nis/rpcsvc/nis_object.x: Likewise.
60909 * nis/rpcsvc/nis_tags.h: Likewise.
60910 * nis/rpcsvc/yp.h: Likewise.
60911 * nis/rpcsvc/yp.x: Likewise.
60912 * nis/rpcsvc/ypupd.h: Likewise.
60913 * nis/yp_xdr.c: Likewise.
60914 * nis/ypupdate_xdr.c: Likewise.
60916 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
60917 mainly the body of pmap_getport. Add parameters to specify timeouts.
60918 (pmap_getport): Use __libc_rpc_getport.
60919 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60920 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60921 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60923 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
60925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60928 2010-08-27 Roland McGrath <roland@redhat.com>
60930 * sysdeps/i386/i686/multiarch/Makefile
60931 (CFLAGS-varshift.c): New variable.
60933 2010-08-27 Ulrich Drepper <drepper@redhat.com>
60935 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60936 * sysdeps/i386/i686/multiarch/varshift.c: New file.
60938 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60940 * sysdeps/x86_64/strlen.S: Minimal code improvement.
60942 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
60944 * sysdeps/x86_64/strlen.S: Unroll the loop.
60945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60946 strlen-sse2 strlen-sse2-bsf.
60947 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60948 __strlen_no_bsf if bit_Slow_BSF is set.
60949 (__strlen_sse42): Removed.
60950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60951 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60953 2010-08-25 Roland McGrath <roland@redhat.com>
60955 * sysdeps/x86_64/multiarch/varshift.S: File removed.
60956 * sysdeps/x86_64/multiarch/varshift.c: New file.
60957 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60958 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60959 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60960 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60962 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
60964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60965 strlen-sse2 strlen-sse2-bsf.
60966 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60967 __strlen_sse2_bsf if bit_Slow_BSF is unset.
60968 (__strlen_sse2): Removed.
60969 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60970 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60972 bit_Slow_BSF for Atom.
60973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60974 (index_Slow_BSF): Define.
60975 (HAS_SLOW_BSF): Define.
60977 2010-08-25 Ulrich Drepper <drepper@redhat.com>
60980 * resolv/res_init.c (__res_vinit): When no server address at all
60981 is given default to loopback.
60983 2010-08-24 Roland McGrath <roland@redhat.com>
60985 * configure.in: Remove config-name.h generation.
60986 * configure: Regenerated.
60987 * config-name.in: File removed.
60988 * scripts/config-uname.sh: New file.
60989 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60990 ($(objdir)config-name.h): New target.
60992 * sunrpc/rpc_parse.h: Avoid nested comment.
60994 2010-08-24 Richard Henderson <rth@redhat.com>
60995 Ulrich Drepper <drepper@redhat.com>
60996 H.J. Lu <hongjiu.lu@intel.com>
60998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61000 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61001 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61002 _mm_alignr_epi8 with _mm_loadu_si128.
61003 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61004 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61005 (__m128i_shift_right): Removed.
61006 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61007 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61008 * sysdeps/x86_64/multiarch/varshift.h: New file.
61009 * sysdeps/x86_64/multiarch/varshift.S: New file.
61011 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61013 * configure.in: Move assembler checks to before sysdep dir checking.
61015 2010-08-20 Petr Baudis <pasky@suse.cz>
61017 * LICENSES: Sync the sunrpc license.
61019 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61021 * sunrpc/auth_des.c: Update copyright notice once again.
61022 * sunrpc/auth_none.c: Likewise.
61023 * sunrpc/auth_unix.c: Likewise.
61024 * sunrpc/authdes_prot.c: Likewise.
61025 * sunrpc/authuxprot.c: Likewise.
61026 * sunrpc/bindrsvprt.c: Likewise.
61027 * sunrpc/clnt_gen.c: Likewise.
61028 * sunrpc/clnt_perr.c: Likewise.
61029 * sunrpc/clnt_raw.c: Likewise.
61030 * sunrpc/clnt_simp.c: Likewise.
61031 * sunrpc/clnt_tcp.c: Likewise.
61032 * sunrpc/clnt_udp.c: Likewise.
61033 * sunrpc/clnt_unix.c: Likewise.
61034 * sunrpc/des_crypt.c: Likewise.
61035 * sunrpc/des_soft.c: Likewise.
61036 * sunrpc/get_myaddr.c: Likewise.
61037 * sunrpc/getrpcport.c: Likewise.
61038 * sunrpc/key_call.c: Likewise.
61039 * sunrpc/key_prot.c: Likewise.
61040 * sunrpc/openchild.c: Likewise.
61041 * sunrpc/pm_getmaps.c: Likewise.
61042 * sunrpc/pm_getport.c: Likewise.
61043 * sunrpc/pmap_clnt.c: Likewise.
61044 * sunrpc/pmap_prot.c: Likewise.
61045 * sunrpc/pmap_prot2.c: Likewise.
61046 * sunrpc/pmap_rmt.c: Likewise.
61047 * sunrpc/rpc/auth.h: Likewise.
61048 * sunrpc/rpc/auth_unix.h: Likewise.
61049 * sunrpc/rpc/clnt.h: Likewise.
61050 * sunrpc/rpc/des_crypt.h: Likewise.
61051 * sunrpc/rpc/key_prot.h: Likewise.
61052 * sunrpc/rpc/netdb.h: Likewise.
61053 * sunrpc/rpc/pmap_clnt.h: Likewise.
61054 * sunrpc/rpc/pmap_prot.h: Likewise.
61055 * sunrpc/rpc/pmap_rmt.h: Likewise.
61056 * sunrpc/rpc/rpc.h: Likewise.
61057 * sunrpc/rpc/rpc_des.h: Likewise.
61058 * sunrpc/rpc/rpc_msg.h: Likewise.
61059 * sunrpc/rpc/svc.h: Likewise.
61060 * sunrpc/rpc/svc_auth.h: Likewise.
61061 * sunrpc/rpc/types.h: Likewise.
61062 * sunrpc/rpc/xdr.h: Likewise.
61063 * sunrpc/rpc_clntout.c: Likewise.
61064 * sunrpc/rpc_cmsg.c: Likewise.
61065 * sunrpc/rpc_common.c: Likewise.
61066 * sunrpc/rpc_cout.c: Likewise.
61067 * sunrpc/rpc_dtable.c: Likewise.
61068 * sunrpc/rpc_hout.c: Likewise.
61069 * sunrpc/rpc_main.c: Likewise.
61070 * sunrpc/rpc_parse.c: Likewise.
61071 * sunrpc/rpc_parse.h: Likewise.
61072 * sunrpc/rpc_prot.c: Likewise.
61073 * sunrpc/rpc_sample.c: Likewise.
61074 * sunrpc/rpc_scan.c: Likewise.
61075 * sunrpc/rpc_scan.h: Likewise.
61076 * sunrpc/rpc_svcout.c: Likewise.
61077 * sunrpc/rpc_tblout.c: Likewise.
61078 * sunrpc/rpc_util.c: Likewise.
61079 * sunrpc/rpc_util.h: Likewise.
61080 * sunrpc/rpcinfo.c: Likewise.
61081 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61082 * sunrpc/rpcsvc/key_prot.x: Likewise.
61083 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61084 * sunrpc/rpcsvc/mount.x: Likewise.
61085 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61086 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61087 * sunrpc/rpcsvc/rex.x: Likewise.
61088 * sunrpc/rpcsvc/rstat.x: Likewise.
61089 * sunrpc/rpcsvc/rusers.x: Likewise.
61090 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61091 * sunrpc/rpcsvc/spray.x: Likewise.
61092 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61093 * sunrpc/rtime.c: Likewise.
61094 * sunrpc/svc.c: Likewise.
61095 * sunrpc/svc_auth.c: Likewise.
61096 * sunrpc/svc_authux.c: Likewise.
61097 * sunrpc/svc_raw.c: Likewise.
61098 * sunrpc/svc_run.c: Likewise.
61099 * sunrpc/svc_simple.c: Likewise.
61100 * sunrpc/svc_tcp.c: Likewise.
61101 * sunrpc/svc_udp.c: Likewise.
61102 * sunrpc/svc_unix.c: Likewise.
61103 * sunrpc/svcauth_des.c: Likewise.
61104 * sunrpc/xcrypt.c: Likewise.
61105 * sunrpc/xdr.c: Likewise.
61106 * sunrpc/xdr_array.c: Likewise.
61107 * sunrpc/xdr_float.c: Likewise.
61108 * sunrpc/xdr_mem.c: Likewise.
61109 * sunrpc/xdr_rec.c: Likewise.
61110 * sunrpc/xdr_ref.c: Likewise.
61111 * sunrpc/xdr_sizeof.c: Likewise.
61112 * sunrpc/xdr_stdio.c: Likewise.
61114 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61117 2010-08-19 Andreas Schwab <schwab@redhat.com>
61119 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61121 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61123 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61124 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61126 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61127 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61128 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61130 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61131 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61132 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61133 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61134 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61135 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61136 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61138 2010-07-26 Anton Blanchard <anton@samba.org>
61140 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61141 * malloc/arena.c (heap_trim): Likewise.
61143 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61145 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61147 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61148 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61150 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61152 * sysdeps/i386/elf/Makefile: New file.
61154 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61156 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61157 from fanotify_init.
61158 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61161 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61163 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61165 * sysdeps/multiarch/strcmp.S: Likewise.
61167 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61169 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61170 strncase_l-nonascii.
61171 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61172 Add strncase_l-ssse3.
61173 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61174 * sysdeps/x86_64/strcmp.S: Likewise.
61175 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61176 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61177 * sysdeps/x86_64/strncase.S: New file.
61178 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61179 * sysdeps/x86_64/strncase_l.S: New file.
61180 * string/Makefile (strop-tests): Add strncasecmp.
61181 * string/test-strncasecmp.c: New file.
61183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61186 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61187 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61189 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61191 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61193 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61195 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61196 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61197 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61199 2010-05-01 Alan Modra <amodra@gmail.com>
61201 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61202 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61203 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61204 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61205 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61206 tidying. Don't tail-call __sigjmp_save for static lib.
61207 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61209 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61210 (CALL_MCOUNT): Add eh info, and nop after bl.
61211 (TAIL_CALL_SYSCALL_ERROR): New macro.
61212 (PSEUDO_RET): Use it.
61213 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61214 Correct save location of integer regs and cr.
61215 (_dl_profile_resolve): Correct cr save location. Delete nops
61216 after bl when SHARED. Reduce cfi size a little by better
61217 placement of cfi directives.
61218 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61219 make a stack frame. Instead use parm save area as a temp.
61220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61221 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61223 Don't make a stack frame for parent, use parm save area.
61224 Increase child stack frame to 112 bytes. Don't save unused reg,
61225 and adjust reg usage. Set up cfi on error recovery and
61226 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61228 (__makecontext): Add dummy nop after jump to exit.
61229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61230 Use correct parm save area and cr save, reduce stack frame.
61231 Correct cfi for possible PSEUDO_RET frame setup.
61232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61233 Branch to local label emitted by PSEUDO_RET rather than
61236 2010-08-12 Andreas Schwab <schwab@redhat.com>
61239 * locale/programs/locale.c (print_assignment): New function.
61240 (show_locale_vars): Use it.
61242 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61244 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61246 (struct statfs64): Likewise.
61247 (_STATFS_F_FLAGS): Define.
61248 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61249 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61250 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61251 (ST_VALID): Define locally.
61252 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61253 __statvfs_getflags, use the provided value.
61254 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61255 __ASSUME_STATFS_F_FLAGS.
61257 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61259 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61260 Add sys/fanotify.h.
61261 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61262 fanotify_mask for GLIBC_2.13.
61263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61264 fanotify_init and fanotify_mark.
61265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61266 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61268 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61270 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61271 prlimit64 for GLIBC_2.13.
61272 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61274 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61278 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61279 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61282 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61285 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61286 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61288 * nss/Makefile: Add rules to build and run tst-nss-test1.
61289 * shlib-versions: Add entry for libnss_test1.
61290 * nss/nss_test1.c: New file.
61291 * nss/tst-nss-test1.c: New file.
61293 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61294 (__nss_configure_lookup): Set appropriate entry in
61295 __nss_configure_lookup to true.
61296 * nss/nsswitch.h: Define enum with indeces of databases in
61297 databases and __nss_database_custom arrays. Declare
61298 __nss_database_custom.
61299 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61300 to avoid using nscd when custom rules are installed.
61301 * nss/getXXbyYY_r.c: Likewise.
61302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61304 * nss/nss_files/files-parse.c: Whitespace fixes.
61306 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61309 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61310 * posix/fnmatch_loop.c: Likewise.
61312 2010-07-17 Andi Kleen <ak@linux.intel.com>
61314 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61315 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61316 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61317 * Versions.def [GLIBC_2.13]: Add.
61319 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61321 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61322 Also fail if tpwd after pwuid call is NULL.
61324 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61326 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61327 when converting to ms.
61329 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61331 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61332 EOPNOTSUPP errors with ENOTTY.
61333 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61334 EOPNOTSUPP errors with ENOTTY.
61336 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61338 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61339 Add strcasecmp_l-ssse3.
61340 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61342 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61343 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61344 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61346 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61348 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61350 * string/Makefile (strop-tests): Add strcasecmp.
61351 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61352 strcasecmp_l-nonascii.
61353 (gen-as-const-headers): Add locale-defines.sym.
61354 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61355 * sysdeps/x86_64/strcasecmp.S: New file.
61356 * sysdeps/x86_64/strcasecmp_l.S: New file.
61357 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61358 * sysdeps/x86_64/locale-defines.sym: New file.
61359 * string/test-strcasecmp.c: New file.
61361 * string/test-strcasestr.c: Test both ends of the range of characters.
61362 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61364 2010-07-29 Roland McGrath <roland@redhat.com>
61367 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61369 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61371 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61374 2010-07-27 Andreas Schwab <schwab@redhat.com>
61376 * manual/memory.texi (Malloc Tunable Parameters): Document
61379 2010-07-26 Roland McGrath <roland@redhat.com>
61382 * configure.in (-fgnu89-inline check): Set and substitute
61383 gnu89_inline, not libc_cv_gnu89_inline.
61384 * configure: Regenerated.
61385 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61387 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61389 * string/test-strnlen.c: New file.
61390 * string/Makefile (strop-tests): Add strnlen.
61391 * string/tester.c (test_strnlen): Add a few more test cases.
61392 * string/tst-strlen.c: Better error reporting.
61394 * sysdeps/x86_64/strnlen.S: New file.
61396 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61399 lower-latency instructions.
61401 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61403 * string/test-strcasestr.c: New file.
61404 * string/test-strstr.c: New file.
61405 * string/Makefile (strop-tests): Add strstr and strcasestr.
61406 * string/str-two-way.h: Don't undefine MAX.
61407 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61409 2010-07-21 Andreas Schwab <schwab@redhat.com>
61411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61412 strcasestr-nonascii.
61413 (CFLAGS-strcasestr-nonascii.c): Define.
61414 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61416 Remove unused attribute.
61418 2010-07-20 Roland McGrath <roland@redhat.com>
61420 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61421 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61422 ld.so.cache was broken. With it, there is no way to disable dsocaps
61423 like LD_HWCAP_MASK can disable hwcaps.
61425 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61427 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61429 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61431 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61432 call in strcasestr.
61433 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61434 __strcasestr_sse42_nonascii.
61435 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61436 strcasestr-nonascii.c.
61437 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61439 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61441 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61442 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61443 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61444 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61446 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61448 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61451 2010-07-06 Andreas Schwab <schwab@redhat.com>
61454 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61457 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61459 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61460 _PC_PIPE_BUF using F_GETPIPE_SZ.
61462 2010-07-05 Roland McGrath <roland@redhat.com>
61464 * manual/arith.texi (Rounding Functions): Fix rint description
61465 implicit in round description.
61467 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61469 * elf/Makefile: Fix linking for a few tests to make recent linker
61472 2010-06-30 Andreas Schwab <schwab@redhat.com>
61474 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61475 $(common-objpfx)libc_nonshared.a.
61477 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61479 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61480 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61481 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61482 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61483 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61484 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61485 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61486 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61501 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61502 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61503 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61504 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61505 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61506 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61507 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61508 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61509 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61510 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61511 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61512 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61528 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61530 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61531 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61532 * string/memmove.c (memmove): Renamed to ...
61533 (MEMMOVE): ...this. Default to memmove.
61534 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61535 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61538 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61539 mempcpy-ssse3-back memmove-ssse3-back.
61540 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61543 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61544 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61545 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61546 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61547 * sysdeps/x86_64/multiarch/memmove.c: New file.
61548 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61549 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61550 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61551 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61552 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61555 (index_Fast_Copy_Backward): Define.
61556 (HAS_ARCH_FEATURE): Define.
61557 (HAS_FAST_REP_STRING): Define.
61558 (HAS_FAST_COPY_BACKWARD): Define.
61560 2010-06-21 Andreas Schwab <schwab@redhat.com>
61562 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61563 Restore proper fallback handling.
61565 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61568 * posix/group_member.c (__group_member): Correct checking loop.
61570 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61571 OOM in getpwuid_r correctly. Return error number when the caller
61572 should return, otherwise -1.
61573 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61574 call returning > 0 value.
61575 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61577 2010-06-07 Andreas Schwab <schwab@redhat.com>
61579 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61580 libc_nonshared.a from targets in modules-names.
61582 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61584 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61587 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61589 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61590 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61594 2010-06-02 Andreas Schwab <schwab@redhat.com>
61596 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61598 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61600 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61602 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61606 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61609 2010-06-14 Roland McGrath <roland@redhat.com>
61611 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61613 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61615 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61616 __REDIRECT followed by __THROW.
61617 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61618 * posix/getopt.h (getopt): Likewise.
61620 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61622 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61623 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61624 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61626 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61627 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61629 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61631 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61633 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61637 Properly check family and model.
61639 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61641 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61643 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61645 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61647 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61649 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61652 2010-05-19 Andreas Schwab <schwab@redhat.com>
61654 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61657 2010-05-21 Andreas Schwab <schwab@redhat.com>
61659 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61660 and internal_recvmmsg.
61661 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61662 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61663 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61664 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61666 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61667 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61668 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61670 2010-05-20 Andreas Schwab <schwab@redhat.com>
61672 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61674 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
61676 POWER7 optimizations.
61677 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61678 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61680 2010-05-19 Ulrich Drepper <drepper@redhat.com>
61682 * version.h: Update for 2.13 development version.
61684 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
61686 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61687 exceptions. Return 0.
61689 2010-05-07 Roland McGrath <roland@redhat.com>
61691 * elf/ldconfig.c (main): Add a const.
61693 2010-05-06 Ulrich Drepper <drepper@redhat.com>
61695 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61696 (args_options): Add no-idn option.
61697 (ahosts_keys_int): Add idn_flags to ai_flags.
61698 (parse_option): Handle 'i' option to clear idn_flags.
61700 * malloc/malloc.c (_int_free): Possible race in the most recently
61701 added check. Only act on the data if no current modification
61704 See ChangeLog.17 for earlier changes.